[Heimdall][Odin][Stock][Root]UCKH7/KK6 Return/Unbrick to Stock (or Root) - AT&T Samsung Galaxy S II SGH-I777

Multiupload links removed - MU seems to be gone forever. I will repost an unrooted UCKH7 package in the next week along with a modem package - Until then, use the rooted package and then remove:
/system/xbin/su
/system/bin/su
/system/app/Superuser.apk
And then reboot
I have uploaded Heimdall/Odin flashable kernel ,rooted system, and modem images to dev-host. This should be sufficient to unbrick most hosed-up phones, as long as you didn't flash a bad .pit. Note that after flashing this, you might need to wipe data depending on what ROM you were coming from. If you bootloop or things behave wacky, enter 3e recovery (stock kernel means stock recovery) and do a Wipe Data/Factory Reset. If you are reverting from UCKK6 back to UCKH7 you MUST perform this step or wifi will not work. If you're coming from a 100% stock ROM and only using this to gain root, you should be able to keep all your data and not need to wipe.
The kernel is 100% bone stock, the system image is stock except that it is pre-rooted (su binary and Superuser.apk)
I am including the modem in a separate package since that goes in a separate modem slot, and I don't want to reupload a 200+ MB file if I don't have to.
The kernel + rooted UCKH7 system package is here: http://dev-host.org/UWm
Kernel + cache + rooted UCKK6 system package: http://dev-host.org/8LA
Download, extract the package using 7-Zip, which can be downloaded from http://www.7-zip.org/download.html, then either:
1) (Tested on Linux, should work on MacOS) - Extract the tar and flash the components with heimdall from the commandline as follows:
Code:
heimdall flash --kernel zImage --factoryfs factoryfs.img
for the kernel + system package, and:
Code:
heimdall flash --modem modem.bin
for the modem package
I've never had good results with the Heimdall Frontend GUI.
2) (Tested by Jivy26 for kernel + system, untested for modem) - Flash the .tar in Odin. I'm a Linux user, so I have only tested this with Heimdall so far.
Kernel + system package goes in PDA slot I believe, modem package in Phone slot.
If you are wondering why I used 7-Zip to compress the archive:
7-Zip provides better compression ratios than Zip
7-Zip is open source unlike RAR
If it were a zip file, some doofus would probably think it was CWM-flashable and complain that it didn't flash.
Also - great thanks goes to Jivy26 for providing a stock /system dump. Without that it would not have been possible to make the system image or get a kernel dump.
Coming in the next few days - stock unrooted /system package.
Also just added - a param.lfs backup from my device. This is NOT contained in an Odin-flashable .tar file yet, I'll work on cleaning up my packages when I'm feeling better. I came down with a nasty cold a few days ago.
UPDATE:
creepyncrawly has written an EXCELLENT step-by-step guide for flashing this with Odin. The guide is at:
http://forum.xda-developers.com/showthread.php?t=1313659
In addition, he posted an Odin-flashable tar package for just the stock kernel, for those who want to do a ! removal. I have mirrored the file (I don't trust Dropbox for long-term hosting) at http://www.multiupload.com/MD7SMMNG24 - his original post is at http://forum.xda-developers.com/showpost.php?p=18535109&postcount=174

Awesome, thanks. Downloading now.

*If it were a zip file, some doofus would probably think it was CWM-flashable and complain that it didn't flash.*
LOL! Enough said right there. Thanks Ent!

Worked great with odin, thanks.

If one was to add the correct pit file to your package would that fix a bad pit flash, as well as fix if one had messed up partitions?
They would be useful for flashing back from cm7 wouldn't it? Or am I completely off?
Sent from my SAMSUNG-SGH-I777 using XDA App

dayv said:
If one was to add the correct pit file to your package would that fix a bad pit flash, as well as fix if one had messed up partitions?
They would be useful for flashing back from cm7 wouldn't it? Or am I completely off?
Sent from my SAMSUNG-SGH-I777 using XDA App
Click to expand...
Click to collapse
Flashed from CM7 using just the PDA

jivy26 said:
Flashed from CM7 using just the PDA
Click to expand...
Click to collapse
Was that without or with a .pit file?
Sent from my SAMSUNG-SGH-I777 using XDA App

With a good .pit file, yes it could recover from a bad .pit flash.
As far as going back/forth to CM7 - I believe that differences in architecture between the original GS and the GSII (mainly no FSR/RFS proprietary modules) make going to/from CM7 much less painful.

dayv said:
Was that without or with a .pit file?
Sent from my SAMSUNG-SGH-I777 using XDA App
Click to expand...
Click to collapse
Yes without a .pit file

thank you for all your work and for educating me. I will make sure and hit the thanks button next time I'm on a PC.
Wish we could hit thanks button from xda app.
Sent from my SAMSUNG-SGH-I777 using XDA App

Flashed w/ Odin...stuck in a boot loop. Any other suggestion? I had CM7 on there but had no sound when making calls. Tried to go back to stock...SOL.
Had the phone 9 hours and haven't been able to make a single call yet.

Drew489 said:
Flashed w/ Odin...stuck in a boot loop. Any other suggestion? I had CM7 on there but had no sound when making calls. Tried to go back to stock...SOL.
Had the phone 9 hours and haven't been able to make a single call yet.
Click to expand...
Click to collapse
Enter recovery (this kernel has stock 3e recovery) and wipe data/factory reset.
Power off (may need to battery pull), then:
Hold VolUp+VolDn
Push Power until the screen turns on
Let go of Power, keep holding VolUp+VolDn until you're in recovery

Entropy512 said:
Enter recovery (this kernel has stock 3e recovery) and wipe data/factory reset.
Power off (may need to battery pull), then:
Hold VolUp+VolDn
Push Power until the screen turns on
Let go of Power, keep holding VolUp+VolDn until you're in recovery
Click to expand...
Click to collapse
thank you!!! worked

Thanks for the Kernel work!
Will it hurt anything if I'm already rooted and SU'd with other kernel method or should I factory reset? Also out of curiousity will sgs kernel flasher work?

not rooted
do u have a version for odin without the root ? im looking for 100% stock out the box rom ? (future warranty purposes ) thanks

drawde40599 said:
do u have a version for odin without the root ? im looking for 100% stock out the box rom ? (future warranty purposes ) thanks
Click to expand...
Click to collapse
+1 thanks
10char

Not able to access the download site, could you please attache here?

mjgspr95 said:
Thanks for the Kernel work!
Will it hurt anything if I'm already rooted and SU'd with other kernel method or should I factory reset? Also out of curiousity will sgs kernel flasher work?
Click to expand...
Click to collapse
No, shouldn't hurt anything. Should only need to wipe if coming from a significantly different ROM such as CM7 or an I9100 ROM.
drawde40599 said:
do u have a version for odin without the root ? im looking for 100% stock out the box rom ? (future warranty purposes ) thanks
Click to expand...
Click to collapse
Yes, but I figured this would be more popular and uploading one of these takes an hour. I'll put up the unrooted stock in a day or two as I'm doing kernel work. However it's easy enough to unroot, just remove the two following files:
Code:
/system/app/Superuser.apk
/system/xbin/su
keeploading said:
Not able to access the download site, could you please attache here?
Click to expand...
Click to collapse
It's WAY larger than XDA's attachment limit, sorry, no can do.

You end up getting the phone Entropy? Thanks for this btw.

Hey kids! Don't know if anyone here knows me, but I am an ex avid Captivate user. But I've been out of the game for so long (exploring webOS and BBOS7) that I am very behind. Anyone kidn enough to post a link to the newest Odin? Also, what slot do .tar files go into? The first one, PDA?
EDIT: Opened the file, definitely PDA Still, anyone have a good link to a working Odin? I remember at one time some Odin versions worked really badly, and I used the original 1.00 but I heard there is a 2 and I'd prefer to use that with this new phone.

Related

[Q] Help w/ unbricking Galaxy Tab 10.1 WiFi, HELP!

Yeah, I know there are threads similar to this one, but I have not found the answer on those, so here is my own.
I was running StarBurst ROM and I decided to flash a faster Kernel, so I used one of Pershoot's Kernels, "AnyKernel" or something like that. Well, afterwards, I rebooted and the boot animation has been replaying over and over again. I can still access Recovery and Download Mode, so I'm wondering if somebody can help me out from there? I think I have learned my lesson, lol... Somebody please respond to this.
if your able to get into the recovery, do you have a backup that you can restore?
joebob1 said:
if your able to get into the recovery, do you have a backup that you can restore?
Click to expand...
Click to collapse
No... This is where I think I messed up... I hope there is another way of doing this.
I'm not too experienced in this area, so wait for more reply's before you do anything, but have you tried flashing the rom again?
joebob1 said:
I'm not too experienced in this area, so wait for more reply's before you do anything, but have you tried flashing the rom again?
Click to expand...
Click to collapse
Understood, thanks for replying though, much appreciated and I would have, but I'm not sure if I can get access to the device's storage through recovery or any other way with it being soft-bricked, I haven't saved the ROM file in storage either.
Have you tried deleting cache and data in recovery mode? try installing a stock rom (basically a stock kernel) and reflash the startburst ROM.
1)FLash via odin (refer first thread for available stock ROMS in developer section)
power+volume down key > right icon
OR
2)Via CWM recovery(accessing internal memory):
If clockworkmod recovery is intact (else flash via ODIn, link first thread developer section)
try adb commandline:
c,d,e:\wherever is adb.exe\adb push firmware.zip /sdcard/
than install the firmware.zip(first thread developer section) by choosing the appropriate option in CWM recovery!
mughalgxt said:
Have you tried deleting cache and data in recovery mode? try installing a stock rom (basically a stock kernel) and reflash the startburst ROM.
Click to expand...
Click to collapse
Yes, I done that right after I realized I was bricked. & I would, but I do not know of a way to gain access to files via computer with my tablet being bricked, do you know of a way?
Sorry, did not see the rest of your post. Can you post that in simpler terms?
CORRECTION<easiest way>:
Download stock rom (search exactly for PDA_SIGNED_P7105.tar.md5)
Flash the ROM with ODIN (you probably know what odin is!)
>to flash with odin enter download mode in tab (power +volume down > left icon selected with left key and confirmed with right volume key)
HURRAY! now flash starburst as you did very first time.
mughalgxt said:
try adb commandline:
c,d,e:\wherever is adb.exe\adb push firmware.zip /sdcard/
than install the firmware.zip(first thread developer section) by choosing the appropriate option in CWM recovery!
Click to expand...
Click to collapse
I agree with Mug. if your familiar with adb this is the method i would try. You can push the 3.1 stock zip to your sd card and it will be there to flash with CWM.
mughalgxt said:
Go to the first thread in developer section (begins as "read/see this first")
Download stock rom with a smiley (first post)
Flash the ROM with ODIN (you probably know what odin is!)
>to flash with odin enter download mode in tab (power +volume down > left icon selected with left key and confirmed with right volume key)
HURRAY! now flash starburst as you did very first time.
Click to expand...
Click to collapse
Can you flash that .zip with Odin? I thought it was CWM only since its not a .tar
CORRECTED THE POST!i THOUGHT IT TO BE A ODIN FLASHABLE ROM
mughalgxt said:
CORRECTION:
Download stock rom (search for PDA_SIGNED_P7105.tar.md5)
Flash the ROM with ODIN (you probably know what odin is!)
>to flash with odin enter download mode in tab (power +volume down > left icon selected with left key and confirmed with right volume key)
HURRAY! now flash starburst as you did very first time.
Click to expand...
Click to collapse
Okay, I mostly understand now. I know what Odin is, but I'm not sure how to flash the ROM through it. I'm looking at it now, where do I put this at? PIT, BOOTLOADER, PDA, PHONE, CSC? & What options do I check?
recheck the rom to be downloaded, its NOT the zip one mentioned before. Once you get the referred rom(PDA_SIGNED_P7105.tar.md5) in corrected post, put it in pda, default selections of odin and start flashing.
Jardicel said:
Okay, I mostly understand now. I know what Odin is, but I'm not sure how to flash the ROM through it. I'm looking at it now, where do I put this at? PIT, BOOTLOADER, PDA, PHONE, CSC? & What options do I check?
Click to expand...
Click to collapse
Sorry my friend. There is no Odin flashable stock rom file yet. I know for a fact a dev by the name of IronHide is working on one. He told me himself it will be ready in a few days.
Are you familiar with adb? Do you have the android sdk on your computer?
There are three stock odin flashables,
1)PDA_SIGNED_P7105.tar.md5
2)STOCK euro (uploaded by me)
3)STOCK arabic (uploaded by me again)
I assert the OP to search and flash the first one as its non touchwiz and native US retail version. The numerical error (7105 for 7510) was made by the original poster who posted the rom.
mughalgxt said:
There are three stock odin flashables,
1)PDA_SIGNED_P7105.tar.md5
2)STOCK euro (uploaded by me)
3)STOCK arabic (uploaded by me again)
Click to expand...
Click to collapse
LOL, sorry, I'm pathetic. Google search PDA_SIGNED_P7105.tar.md5? I haven't found downloads, a link would be nice
FillTheVoid said:
Sorry my friend. There is no Odin flashable stock rom file yet. I know for a fact a dev by the name of IronHide is working on one. He told me himself it will be ready in a few days.
Are you familiar with adb? Do you have the android sdk on your computer?
Click to expand...
Click to collapse
I have heard of adb once, but no, I don't have any Android SDKs on my computer.
you are supposed to use xda search for xda related searches. Anyways,
http://forum.xda-developers.com/showthread.php?t=1119492
mughalgxt said:
you are supposed to use xda search for xda related searches. Anyways,
http://forum.xda-developers.com/showthread.php?t=1119492
Click to expand...
Click to collapse
Haha, sorry for my slowness, and thanks a bunch... I'll see if this works and post back

[STOCK ROM] Samsung Galaxy Player 4.0 (USA) (YP-G1CWY/XAA)

I made this because the existing rom (package_us2.3.5.tar.md5) being distributed around the fourms isn't working right for devices like mine.
Your phone should be rooted prior to doing this.
Make sure you have the same device info as mine before proceeding. I will not be responsible if you decide to flash this to a device that does not match my own. You have been warned.
DOWNLOAD HERE: http://www.sendspace.com/file/1y2ogi
This is for the Samsung Galaxy Player 4.0 (USA) (YP-G1CWYXAA)
Model Number: YP-G1
Firmware Version: 2.3.5
Kernel version: 2.6.35.7-G1UEKI8-CL562400 [email protected] #2
Build number: GINGERBREAD.UEKI8
Steps for flashing.
1.) Attach USB Cable and Put your device in Downloading mode (Hold Power + Vol Down)
2.) Download and run Odin 1.85
3.) Click on the button marked PDA and select the file named "yp-g1cwyxaa.tar" that you downloaded from the link above.
4.) Make sure that ONLY "Auto Reboot" and "F. Reset Time" are checked. (NO OTHER OPTION SHOULD BE CHECKED!!)
5.) Click on "Start" and wait for the process to finish. The process should take about a minute or two and finish with a green box saying "PASS!"
6.) When it has successfully finished, the device itself should reset. At this time you may unplug your USB cable.
7.) OPTIONAL: Press menu button > Settings > Privacy > Factory data reset (This will reboot your device, enter recovery mode, wipe all settings and reset everything to defaults, and then reboot your device once more automatically.)
8.) Enjoy your 100% working Samsung Galaxy Player 4.0 (YP-G1CWYXAA)
This is my first time doing something like this. I hope this works for all of you. Let me know if you have problems. Feel free to click the "Thanks" button if it works for you. =)
BTW. What would be the proper term for what I have created? Is this a "Stock ROM", "Recovery ROM", "Stock Firmware" I have heard it called many things.
I downloaded and installed your stock rom and it worked perfectly. The clock works find and the widgets that weren't working before are now working.
The only step I skipped was step 7 because I wanted to keep my apps/data. And I'm certainly following step 8.
Thanks a lot for your effort Kwipper (and the thanks button was clicked).
I am happy to see that this is working. I am actually quite surprised with myself that I was able to do this. About 10 days ago, I didn't even have an android device, or know anything about the platform. =)
Don't be so modest. You've solved a problem that I've had for over a month now.
I'm curious how you did this. Did you use adb from your PC to run the 'dd' command? I ran the 'dd' command using the Terminal Emulator app. Maybe this is why my factory.rfs didn't work.
I did a bit of searching around the fourms and came across this post.
http://forum.xda-developers.com/showpost.php?p=15804185&postcount=15
Then I used a program called Cygwin. Used it to navigate over to where my files were stored and typed in these commands.
tar -H ustar -c factoryfs.rfs zImage > package_name.tar
md5sum -t package_name.tar >> package_name.tar
mv package_name.tar package_name.tar.md5
Then I flashed it using odin.
I also noticed that if you were using the previous "package_us2.3.5.tar.md5" file to restore from, the MD5 of my file would not match up, and Odin would give off an error. So I removed the .MD5 from the extension of my filename and it worked.
I was wondering. Do you think I should include the .pit file as well? Mabye as a separate download?
Kwipper said:
I was wondering. Do you think I should include the .pit file as well? Mabye as a separate download?
Click to expand...
Click to collapse
They are all right here: http://forum.xda-developers.com/showthread.php?p=20259805
Important: if you are going to flash this ROM, make sure you do NOT choose repartition in Odin with the PIT file. This only contains the /system and the kernel, so repartioning the whole device will make your device unable to boot past recovery. Still waiting for a full stock recovery ROM with all the partitions and can use the PIT file...
Kwipper said:
...
BTW. What would be the proper term for what I have created? Is this a "Stock ROM", "Recovery ROM", "Stock Firmware" I have heard it called many things.
Click to expand...
Click to collapse
If I understand correctly, your ROM is rooted. If that's correct, you don't want to call that "STOCK ROM". Stock ROM usually refers to something exactly as it is shipped by manufacturer. I may call it "STOCK+ROOT" to indicate that things like superuser are already injected into the ROM.
EDIT: Reading your post again. I don't know why I had an impression that your ROM is rooted I suppose you did a dump using dd via adb shell, then it should be a STOCK ROM.
Hmmm... Is there anyway to confirm if it's rooted or not? I suppose that if I remove the root and then reflash it using odin, it should remain unrooted right?
WT Ho said:
If I understand correctly, your ROM is rooted. If that's correct, you don't want to call that "STOCK ROM". Stock ROM usually refers to something exactly as it is shipped by manufacturer. I may call it "STOCK+ROOT" to indicate that things like superuser are already injected into the ROM.
EDIT: Reading your post again. I don't know why I had an impression that your ROM is rooted I suppose you did a dump using dd via adb shell, then it should be a STOCK ROM.
Click to expand...
Click to collapse
You know, I managed to dump other files as well. I wonder if I should include them as well? Here are the files I managed to extract.
boot.bin
cache.rfs
dbdata.rfs
factoryfs.rfs
param.lfs
recovery.bin
Sbl.bin
zImage
yp-g1.pit
Kwipper said:
You know, I managed to dump other files as well. I wonder if I should include them as well? Here are the files I managed to extract.
boot.bin
cache.rfs
dbdata.rfs
factoryfs.rfs
param.lfs
recovery.bin
Sbl.bin
zImage
yp-g1.pit
Click to expand...
Click to collapse
Those files are very useful as well, particularly for someone who badly damaged their device's file system. e.g. the Froyo ROM here has everything (except pit file), but the Gingerbread only has zImage and factory.rfs.
Although they are useful, many stock roms only include zImage and factoryfs.rfs. One reason that I can think of is RISK. The more partitions you flash, the more likely you screw up in the process.
Actually, you can post both versions for people to choose.
WT Ho said:
Those files are very useful as well, particularly for someone who badly damaged their device's file system. e.g. the Froyo ROM here has everything (except pit file), but the Gingerbread only has zImage and factory.rfs.
Although they are useful, many stock roms only include zImage and factoryfs.rfs. One reason that I can think of is RISK. The more partitions you flash, the more likely you screw up in the process.
Actually, you can post both versions for people to choose.
Click to expand...
Click to collapse
Yeah, just imagine what it would be like to have your computer crash while you were flashing the bootloader!
Can you make a backup of that?
so i can test if it works, cause my device is bricked at the moment.
Woah there, careful what you post! unless you do a factory reset before dumping, the cache.rfs, dbdata.rfs, and data.rfs should NOT be included in a rom as they contain all your personal information!
I know... For that i need a clear one...
Sorry, but there is no other way i found out.
I know that there is all Private Data on it...
But for me, my device is bricked with an completly empty /data folder.
All other folders include the normal content.
Thanks,
if someone can post it.
Mike Leitner
Tecardo said:
I know... For that i need a clear one...
Sorry, but there is no other way i found out.
I know that there is all Private Data on it...
But for me, my device is bricked with an completly empty /data folder.
All other folders include the normal content.
Thanks,
if someone can post it.
Mike Leitner
Click to expand...
Click to collapse
I don't think you need data partition. In normal operation, you can format the /data partition clean and the system will recreate your new settings there.
For those of you that have used this, can you confirm that this removes root? I going to guess it does.
It's not really a problem since you can use super one click again, but I just wanted to be sure.
Thanks again for doing this, Kwipper.
hey i need to flash factoryrfs form odin. but im not sure how, any help?
minimeofctown said:
hey i need to flash factoryrfs form odin. but im not sure how, any help?
Click to expand...
Click to collapse
Tar it and then flash it with Odin just like how you flash a ROM.
Use terminal (or cygwin for Windows) :
cd (directory of factoryfs.rfs)
tar -H ustar -c factory.rfs > something.tar
Can you make such a ROM? I really think, it will work for me…
I don't know the Problem so i feed to flash the hole ROM

Flash Cwm with Odin

Hi guys I am having a lot of trouble, I am trying to get ICS on my phone, but I don't have CWM, first I did some stuff with odin, and got a soft brick, luckily I returned to stock and am back. I am root, I tried flashing cwm but it won't stick, and I can't flash the zip in the stock recovery. Is there a way I can flash this with Odin?
You have root? No need to use Odin then. Use Mobile Odin; it's much easier, and it won't trip the flash counter.
It wants me to get the pro version, can I have an apk for the free one because I can't find it on the market
It says the device is not supported =[
nsilverman15 said:
It wants me to get the pro version, can I have an apk for the free one because I can't find it on the market
Click to expand...
Click to collapse
It's attached in the first post of this thread
oahceasgnikgneas said:
It's attached in the first post of this thread
Click to expand...
Click to collapse
still giving me android system recovery and not clockworkmod.... =[
nsilverman15 said:
still giving me android system recovery and not clockworkmod.... =[
Click to expand...
Click to collapse
Can you link what exactly you are attempting to flash to get cwm.
On the i777 recovery is part of the kernel so to get cwm recovery you should be flashing a kernel with cwm.
Sent from my SGH-I777 using XDA Premium HD app
dayv said:
Can you link what exactly you are attempting to flash to get cwm.
On the i777 recovery is part of the kernel so to get cwm recovery you should be flashing a kernel with cwm.
Sent from my SGH-I777 using XDA Premium HD app
Click to expand...
Click to collapse
Ooh, can you please give me a link to an odin kernel with cwm?
I can't use a cwm flashable one because I don't have ics, so I am going to need a tar.
Read this: http://forum.xda-developers.com/showthread.php?t=1511838
http://forum.xda-developers.com/showthread.php?t=1289460
You can use any of these - you just have to use some kind of archive manager and extract the "zimage" file (the zimage is the kernel) from the zip you download from this thread. Put that zimage on your phones sdcard (note there is no file extension on the zimage file) and you can flash that with mobile Odin.
Also I have not read through the op in a while but I think entropy included at least one straight Odin flashable kernel download link, but like I said above you can extract the zimage from any one of his links and that can be flashed in mobile Odin.
Sent from my SGH-I777 using XDA Premium HD app
Flashed, now it is just blank, I guess i'll wait a bit
nsilverman15 said:
Flashed, now it is just blank, I guess i'll wait a bit
Click to expand...
Click to collapse
What did you flash? And what do you mean by "it is just blank"?
Sent from my SGH-I777 using XDA Premium HD app
Dayv, Can you flash any of Entropy512's DD on 2.3.4 KH7 stock with root to get CWM with no probs? I know to flash the Zimg in mobile odin. Is that the only way to get CWM on the phone by flashing another kernel? Just wondering how to back up my stock kernel with out flashing another kernel with CWM. So I guess Entropy512's kernel is a stock modified kernel? Just trying to get this all figured out. Thanks for any info you can provide!
Edit: N/M I need to back up my stock ROM with CWM not the "Kernel" I get it now.... Will Entropy512's DD work with 2.3.4 KH7 stock with root with no probs?
snipe2nite said:
Dayv, Can you flash any of Entropy512's DD on 2.3.4 KH7 stock with root to get CWM with no probs? I know to flash the Zimg in mobile odin. Is that the only way to get CWM on the phone by flashing another kernel? Just wondering how to back up my stock kernel with out flashing another kernel with CWM. So I guess Entropy512's kernel is a stock modified kernel? Just trying to get this all figured out. Thanks for any info you can provide!
Edit: N/M I need to back up my stock ROM with CWM not the "Kernel" I get it now.... Will Entropy512's DD work with 2.3.4 KH7 stock with root with no probs?
Click to expand...
Click to collapse
Yes, Entropy's DD will work with KH7.
So what you're trying to do is...what? Back up your stock ROM? If you're just talking about the stock system image and kernel, you don't need to back those up; you can always download them again from the Return to Stock thread.
If you're trying to do a nandroid backup (full system + data backup), you can't do that without flashing a kernel containing CWM Recovery. Entropy's kernel is one of these. Just flash that kernel using Mobile Odin.
It seems you've confused a couple things, I'll clarify.
On these phones, CWM is included with the custom Kernels provided by Entropy512, or Ktoon or Siyah, et al. CWM however, is not a Kernel, when you boot into CWM mode, your bypassing the loading of the Kernel. Think of it like this. When you press the power button (and only the power button) on your phone, it's hard wired into the phone to boot the Kernel, the Kernel sets up a hardware environment, loads the RAMDisk etc and does it's thing. IF you have a Kernel that includes CWM, you can bypass this by loading CWM INSTEAD of the Kernel. Note, you need to reboot into CWM or use a different set of buttons to get there, power alone, is hard wired to boot the Kernel.
If you came from a different manufacturer, say Motorola, the above process is different, as they lock their bootloaders and you cannot change the Kernel, you use a different process to load CWM, and boot to it instead of the Kernel. As Samsung has an unlocked bootloader, the process of getting CWM is much simpler.
And Mattdm is 100% correct, no need to flash your stock recovery, it's easy enough to download it. If you've got your phone all setup just the way you want it and want to make a backup of it, boot into CWM, scroll to backup and restore, press power, choose backup, use volume up/down to scroll to backup and press power. It will create a backup in a folder called Clockworkmod. It can easily be restored via CWM if you have the need too.
Hope this helped a lil.
Wink
Thanks Mattdm and Winklie I see now it's a full system + data backup not a Kernel back up... Any tips on what one of Entropy512's DD to flash? I see people in that thread saying 12/8/2011? I just don't want the battery problem people talk about. I prob should be asking these questions in that thread huh? Thanks again!! XDA and all (well most) the people on here are the BEST....
snipe2nite said:
Thanks Mattdm and Winklie I see now it's a full system + data backup not a Kernel back up... Any tips on what one of Entropy512's DD to flash? I see people in that thread saying 12/8/2011? I just don't want the battery problem people talk about. I prob should be asking these questions in that thread huh? Thanks again!! XDA and all (well most) the people on here are the BEST....
Click to expand...
Click to collapse
Yeah 12/8 is a good one. I've always been partial to 2/28 though, and I've also had good results with 3/4. Try a couple and see which one works better for you.
Kernels behave differently on different phones. I am using the NEAK Kernel with amazing performance and battery life. Others have had problems, with the exact same hardware, so it shows a lack of maturity in the fab process for these kinds of variances.
As for changing Kernels, use a Kernel cleaning script found here http://forum.xda-developers.com/showthread.php?t=1428530 before each change.
Barring a problem (lockup, reboots, etc) you need a give a Kernel 3 or so battery charges to 'settle in' before you can really access the battery life. Like I said, different Kernels behave differently on different peoples phones, so what works for me, might not work for you. However it's so simple to change Kernels, feel free to experiment to find what suits your needs best.
Hope this helped.
Wink
Winklie said:
As for changing Kernels, use a Kernel cleaning script found here http://forum.xda-developers.com/showthread.php?t=1428530 after each change.
Click to expand...
Click to collapse
Shouldn't you use the script before each change?

[GUIDE] So I've just got this stock i-777 what do I do?

So you've just gotten/inherited an I-777 and you need to get rid of the 2 year old UI and OS ASAP, but all the other guide threads are just as old and filled with old info, what to do?
DISCLAIMER: I am not responsible for phone bricks and the like. You follow this information at your own risk. This is just information I'm writing down as I update my wife's old bone stock phone
BACKUP your data from both cards, you are likely to lose the internal SD data in this operation
Let's get started:
Root the phone:
Go here: Framaroot.
Download the .apk, and put it on your phone.
Be sure to 1. Have install from unknown sources on. 2. Enable USB debugging.
Install the .apk and run it.
Choose SuperSU and then click on Aragorn (should automatically be detected).
Reboot the phone (power cycle is probably the only option in stock).
Congrats! You're now rooted!
​
Install a kernel
Go here: Mobile Odin.
Grab two apks; Mobile Odin Lite and the Flash kernel for i-777. (Flash kernel is many posts down from the top)
Extract the .apk from the Flash kernel .zip file, and plop both .apks on your phone.
Install the .apks
Go here: ShoStock and click on the 'older kernels + a tar version'
Download the .tar
Plop the .tar on your phone
EDIT: At this point you may want to also grab a rom and any other files you may need if you only have the internal sd available because you'll lose USB mount access past this point. So go ahead and transfer those files to the phone.
Open Mobile Odin Lite and select the .tar file
Flash it, the device will instantly reboot after flash.
The device won't fully boot now, but don't worry! Hold down POWER, VOL UP and VOL DOWN until the phone cycles and the logo appears, then let go of the buttons and you should be in CWM recovery which came with the jeboo kernel you flashed.
Install a ROM
You will have to wipe/factory reset first from the CWM menus.
Flash your rom, regardless, follow the instructions in the OP of the ROM thread you're interested in.
I flashed ShoStock first since it's likely more like an OTA update to bring partitions up to date before flashing anything else.​
Be sure to hit THANKS on the posts you visit from this guide.
Nice to see an updated guide.
For your fifth step of Kernel install, you lead users to a jeboo kernel, which is great if they plan to go ShoStock. I believe that the Jeboo kernel is a mic swap kernel, and may not be suitable for other very popular and common ROMS for the I777 (any AOSP or stock samsung, or COOKED).
Therefore I suggest adding such a note, and providing a link to at least one of the Siyah(based) Kernels.
These are available in several versions, and in .tar or .img format; both of which can be flashed via mobile ODIN (extract the .zip, flash the boot.img)
if flashing to an ICS Rom:SiyahKernel S2-v5.0.1
If flashing to a JB Rom: AJK BOSS (newest available)
Edit: props to @othermark for compiling this simple updated means to root & rom on the i777
cyril279 said:
Nice to see an updated guide.
For your fifth step of Kernel install, you lead users to a jeboo kernel, which is great if they plan to go ShoStock. I believe that the Jeboo kernel is a mic swap kernel, and may not be suitable for other very popular and common ROMS for the I777 (any AOSP or stock samsung, or COOKED).
Click to expand...
Click to collapse
Most, if not all, roms here will come with the appropriate kernel which will be flashed during the ROM install. They would have to reflash the jeboo kernel to get something incompatible. This is just to get them something that 1. has CWM and 2. is a .tar they can flash with Mobile Odin Lite.
That said, sometimes you have to flash a compatible kernel before you flash a particular ROM.
othermark said:
...This is just to get them something that 1. has CWM and 2. is a .tar they can flash with Mobile Odin Lite...
Click to expand...
Click to collapse
Mobile Odin Lite (and Pro) will recognize and flash a zImage. So one can pull the zImage from any CWM flashable zip and use it.
cyril279 said:
Nice to see an updated guide.
For your fifth step of Kernel install, you lead users to a jeboo kernel, which is great if they plan to go ShoStock. I believe that the Jeboo kernel is a mic swap kernel, and may not be suitable for other very popular and common ROMS for the I777 (any AOSP or stock samsung, or COOKED).
Therefore I suggest adding such a note, and providing a link to at least one of the Siyah(based) Kernels.
These are available in several versions, and in .tar or .img format; both of which can be flashed via mobile ODIN (extract the .zip, flash the boot.img)
if flashing to an ICS Rom:SiyahKernel S2-v5.0.1
If flashing to a JB Rom: AJK BOSS (newest available)
Edit: props to @othermark for compiling this simple updated means to root & rom on the i777
Click to expand...
Click to collapse
So if i wanted to Do Cyanogen Mod(10.2), would it be okay to use the jeboo tar? Or should i download AJK, unzip it, and install the boot.img instead of the jeboo .tar?
TreatnHerRight said:
So if i wanted to Do Cyanogen Mod(10.2), would it be okay to use the jeboo tar? Or should i download AJK, unzip it, and install the boot.img instead of the jeboo .tar?
Click to expand...
Click to collapse
It should not matter which version of CWM recovery you use, so Jebo will be fine. When you install it, your system may not boot up, but just turn the phone off, then use the button combination for recovery mode.
Edit: boot.img is a partition file that Mobile Odin will recognize, the same as zImage, so you can use it to install AJK if you prefer. Again, it shouldn't matter which one you use.
TreatnHerRight said:
So if i wanted to Do Cyanogen Mod(10.2), would it be okay to use the jeboo tar? Or should i download AJK, unzip it, and install the boot.img instead of the jeboo .tar?
Click to expand...
Click to collapse
I can't vouch for the jeboo approach, but I expect that it works.
I did use this guide with the latest ajk-extracted boot.IMG as you describe, and it works as well.
Fyi: If you're using mobile Odin pro, you don't need the i777- kernel download, the pro version does it for you.
9. Open Mobile Odin Lite and select the .tar file
What do i click at this point(To Flash the .tar)? I opened Mobile ODIN Lite, now do i click Kernel, System, Data, Cache...., or Open file...?
Just wanna make sure.
Also:
cyril279 said:
I can't vouch for the jeboo approach, but I expect that it works.
I did use this guide with the latest ajk-extracted boot.IMG as you describe, and it works as well.
Fyi: If you're using mobile Odin pro, you don't need the i777- kernel download, the pro version does it for you.
Click to expand...
Click to collapse
To Do The Boot.IMG Which Would i click?
Select [kernel], navigate to and select the boot.img.
Then scroll down to the bottom of mobile Odin and select [flash firmware]
cyril279 said:
Select [kernel], navigate to and select the boot.img.
Then scroll down to the bottom of mobile Odin and select [flash firmware]
Click to expand...
Click to collapse
Used This Guide, Followed Everything Until the .tar File, i Instead flashed the AJK boot.IMG file. It Successfully Brought up CMW Recovery. When Attempting to Flash Cyanogen Mod or Paranoid Android I Got Error Status 7 (getprop("ro.product.device") == "SGH-I777 || getprop("ro.build.product") == "SGH-I777") Same Error for Both.
Steps i took to Fix.
Opened Unzipped Cyanogen Mod.
Open Build.prop and Rename SGH-I777 to i777 In those Two Spots (ro.build.product and ro.product.device)
Opened Updater-Script and Removed the First 2(or 3) Lines Referencing the SGH-i777
Then Re zipped them using this method - [UltimateGUIDE][How-to]Create your Own Custom ROM an easy way
Flashed in Recovery and it Successfully Worked. (Tested it With the Cyanogen Mod Zip Only, Got Error Previously With Both CM and PA Zips)
Me Attempting To Help Anyone Else In This Situation.
nice, do you guys know if it's possible to use this phone without a data plan on att? i recently upgraded my phone and wanted to give this one to my dad, he can use it to watch youtube videos and videochat with my grandmother via wifi at home, there was a thread i read on how to unlock the phone and it had an option for network lock, is that what i need to do? any help is very much appreciated
baoweezie said:
nice, do you guys know if it's possible to use this phone without a data plan on att? i recently upgraded my phone and wanted to give this one to my dad, he can use it to watch youtube videos and videochat with my grandmother via wifi at home, there was a thread i read on how to unlock the phone and it had an option for network lock, is that what i need to do? any help is very much appreciated
Click to expand...
Click to collapse
I don't really understand... You simply take the Sim card out and put the thing in airplane mode.
I did that with mine and the battery lasts a week. BTW you can turn on WiFi while in airplane mode. You can also uncheck "use data" in the mobile network settings.
There's nothing complicated to do.
Sent from my Nexus 4 using xda app-developers app
Yes I know about airplane mode but im trying to have him use this phone as a actual phone that can make calls but didn't want att to tack on an additional data plan to it because he never uses any data while out and about. Basically I want to use this phone on my dads line without having to add a monthly data plan.
He was using a T-Mobile phone that I unlocked for him before and they didn't add the data plan on cause att doesn't recognise T-Mobile imei, I could be wrong but if I can change something in the phones build prop to make it seem like a non att branded phone, would it not be detected as a smartphone and not trigger the data add on?
Sent from my SGH-I337 using xda app-developers app
baoweezie said:
nice, do you guys know if it's possible to use this phone without a data plan on att? i recently upgraded my phone and wanted to give this one to my dad, he can use it to watch youtube videos and videochat with my grandmother via wifi at home, there was a thread i read on how to unlock the phone and it had an option for network lock, is that what i need to do? any help is very much appreciated
Click to expand...
Click to collapse
This question, and it's resulting discussion are better suited in a separate thread. That helps to both get you views and answers that are more focused on your issue, as well as keeping this [GUIDE] thread clean and on-topic.
-Cyril
Nevermind, I figured it out.
The key combo to get into my recovery is Vol Up + Vol Down + Power
Is not clear for me in conclusion how obtain CWM in the i777 rooted??
pepe100 said:
Is not clear for me in conclusion how obtain CWM in the i777 rooted??
Click to expand...
Click to collapse
This has been answered for you already, several times. CWM is included in our kernels - you DO NOT flash it separately. Just pick a kernel that matches the android version you're on (ICS, JB etc.), flash it and it'll install CWM for you!
Sent from the i777
OK bro thanks for your concrete answer.
Sent from my SGH-I777 using xda app-developers app
i cant find the 'older kernels + a tar version' in shos thread .. pls help me !
nathan_42594 said:
i cant find the 'older kernels + a tar version' in shos thread .. pls help me !
Click to expand...
Click to collapse
It's in post #3.
jeboo said:
** OLD VERSION DOWNLOADS INCLUDING A TAR VERSION **
Code:
http://d-h.st/users/jeboo/?fld_id=9729
In a bind and need a tar version, just extract zImage from the zip and do: tar -H ustar -c zImage >> jeboo_kernel.tar
Click to expand...
Click to collapse

[ROM][ODIN][OC] SM-G900P NI3 (Modem/Kernel/Bootloader/ROM - Full Restore - Unrooted)

First, thank you to the anonymous source who provided us with this build and thank you to @garwynn for posting it here.
This Odin One-Click.exe contains the Stock NI3 Bootloader, Kernel, Modem and ROM for the Sprint Samsung Galaxy S5 (SM-G900P). Yes, that means this comes with the full Knox Bootloader.
There has been no change to the ROM from the initial build released by Samsung.
This will NOT trigger the Yellow Triangle NOR will it increment the Odin flash count.
This one-click resets your whole phone to the stock NI3 experience, similar to a factory restore and it may wipe all data. It also contains the full bootloader and Knox.
Instructions:
1: Backup anything important and Disable any PINs.
During this process your phone's software will be returned to the Stock setup. All system data will be lost. To be safe, it is best to archive your backup off your phone, ie on your PC or Dropbox.
2: Install Samsung USB/Android drivers (if necessary).
Samsung Drivers Download Link
3: Download the NI3 Stock ROM One-Click.
http://www.rwilco12.com/forum/showthread.php?tid=938 (Resets user data)
4: Unzip One-Click ROM using 7zip (this package is a self-extracting exe you should just be able to double-click on it after download and it will do the rest).
5: Start the Odin One-Click.
Navigate to the location where the SM-G900P_NI3_Stock_Unrooted.exe was saved upon extract from the 7Zip archive.
Double-click on SM-G900P_NI3_Stock_Unrooted.exe. *On Vista or newer, you may need to right-click on the file and select Run as Administrator.
6: Place phone in Download Mode.
- Power phone completely off.
- Press and hold Volume Down, Home and Power buttons, all at the same time.
- Release the buttons only when the ‘Warning!!’ message appears.
- Press [Volume Up] to enter Download mode.
7: Connect USB cable to PC and phone.
Odin should show a yellow COM port in the second column. If you do not see a yellow COM port, you may need to run the Odin One-Click as Administrator and/or unplug/plugin the USB cable after starting Odin One-Click.
8: Start Odin flash process.
Press [Start].
9: Complete - PASS!
Status should change to green PASS! At this point your phone should automatically reboot.
The boot process will take slightly longer than usual during which time you'll see the Sprint 4G/Spark logo screen.
Congratulations! You've flashed the Factory Restore NI3 build!
XDA:DevDB Information
[ROM][ODIN][OC] SM-G900P NI3 (Modem/Kernel/Bootloader/ROM - Full Restore - Unrooted), ROM for the Sprint Samsung Galaxy S 5
Contributors
rwilco12
ROM OS Version: 4.4.x KitKat
Version Information
Status: Stable
Created 2015-02-10
Last Updated 2015-02-10
Download: http://www.rwilco12.com/forum/showthread.php?tid=938
Could you post just the bootloader tar
Sent from my SM-G900P using XDA Free mobile app
@rwilco12
Been doing a lot of reading/research as I'm new to the Samsung game. But I've been every else besides Sony. I read your unpack tutorial on your website, and jumped all over reading unpacking how-to's. Seems to me the recommended an easiest way to create a "no-wipe" package is via SplitFUS2. Most of what I've read is for older devices, and I was wondering if that's the way you recommend doing it, and if you know whether or not it works with S5 packages?
Will normal root process work on it. I'm tempted to do it only cause I want the modem
AOD_Corwin said:
Will normal root process work on it. I'm tempted to do it only cause I want the modem
Click to expand...
Click to collapse
+1
AOD_Corwin said:
Will normal root process work on it. I'm tempted to do it only cause I want the modem
Click to expand...
Click to collapse
rhyme187 said:
+1
Click to expand...
Click to collapse
Chainfire's autoroot does work but I don't believe Towelroot does.
gokart2 said:
@rwilco12
Been doing a lot of reading/research as I'm new to the Samsung game. But I've been every else besides Sony. I read your unpack tutorial on your website, and jumped all over reading unpacking how-to's. Seems to me the recommended an easiest way to create a "no-wipe" package is via SplitFUS2. Most of what I've read is for older devices, and I was wondering if that's the way you recommend doing it, and if you know whether or not it works with S5 packages?
Click to expand...
Click to collapse
My guess is you're referring to my tutorials on how to build your own flashable TAR?
Honestly I've never used the SplitFUS2 utility so I can't give you a 100% answer there. However, what I can tell you is that Samsung devices use one of two methods to wipe a device when flashing a TAR. Generally the method involves wiping a partition and overwriting it with a partition file included in the TAR. There are several different partitions and each of them governs a different aspect of the device's functionality. There is generally a specific file that governs the data partition, once you extract the TAR you would then recompile it without the data partition file and flash the final resulting TAR.
The other is script based and that area I'm not an expert on. My BFF @garwynn is pretty good though and might be able to walk you through fixing the scripts if necessary.
Now one other thing to keep in mind is that this thread is for a one-click not the actual TAR. There are ways to decompile an Odin one-click but I would recommend just using the original TAR which can be downloaded in @garwynn's original TAR thread at http://forum.xda-developers.com/showthread.php?goto=newpost&t=2885005
Good luck!
rwilco12 said:
My guess is you're referring to my tutorials on how to build your own flashable TAR?
Honestly I've never used the SplitFUS2 utility so I can't give you a 100% answer there. However, what I can tell you is that Samsung devices use one of two methods to wipe a device when flashing a TAR. Generally the method involves wiping a partition and overwriting it with a partition file included in the TAR. There are several different partitions and each of them governs a different aspect of the device's functionality. There is generally a specific file that governs the data partition, once you extract the TAR you would then recompile it without the data partition file and flash the final resulting TAR.
The other is script based and that area I'm not an expert on. My BFF @garwynn is pretty good though and might be able to walk you through fixing the scripts if necessary.
Now one other thing to keep in mind is that this thread is for a one-click not the actual TAR. There are ways to decompile an Odin one-click but I would recommend just using the original TAR which can be downloaded in @garwynn's original TAR thread at http://forum.xda-developers.com/showthread.php?goto=newpost&t=2885005
Good luck!
Click to expand...
Click to collapse
Thanks for the reply. I was talking about your "How-To" on your site, and I replied there too. It was very helpful and informative. I found Splitfus2 doesn't seem to work with KitKat, only JB and before. After getting everything ready to go to try your method, extracting the files from the TAR, etc. I found the Kitkat file names differ a bit from the JB ones, according to the TAR BALL flashing order you have listed on your site. Which shouldn't matter since all I need to make is a stock system and recovery TAR. Assuming I use the method you have posted, only making a separate system and recovery TAR, a data wipe shouldn't happen......correct? Only other thing I'm not sure of is after extracting the files from the original TAR, the system is in system.ext4.img...... I assume I leave that the way it is, correct? Only time I've seen it that way is when extracting a system.img and converting it to a flashable rom.
When is the script wipe used? I'm pretty good with scripts. Thanks for your time and help, it's greatly appreciated!
Unrooted/Rooted
rwilco12 said:
Chainfire's autoroot does work but I don't believe Towelroot does.
Click to expand...
Click to collapse
Just wondering if anyone has done this and then rerooted phone WITH NO REPERCUSSIONS ? And how is everything running with the rom?
localpagefirst said:
Just wondering if anyone has done this and then rerooted phone WITH NO REPERCUSSIONS ? And how is everything running with the rom?
Click to expand...
Click to collapse
I flashed, then rooted with cfroot. My Knox was already tripped before flashing this. Not sure what you mean by repercussions, but flashing this should not trip Knox, its the cfroot part that would.
localpagefirst said:
Just wondering if anyone has done this and then rerooted phone WITH NO REPERCUSSIONS ? And how is everything running with the rom?
Click to expand...
Click to collapse
When you say "no repercussions" what exactly are you looking for?
"no repercussions"
rwilco12 said:
When you say "no repercussions" what exactly are you looking for?
Click to expand...
Click to collapse
Meaning problems after the rom has settled Like System UI, Context Issues,ECT.
Rwilco12 I fully trust your work and thank you and all whom have helped . I am as one could say very apprehensive about changing complete systems. Roms and modems. I was in no way referencing this to and thing bad.
---------- Post added at 05:52 PM ---------- Previous post was at 05:47 PM ----------
Bottom line is I am going for it even though Android "L" will be here first week of November.
Been following you since the Epic Touch days..... anywho, any chance of getting some love for the S5 Sport? Thx!
For anyone that has installed this...Any noticeable difference in the radio?
Sent from my SM-G900P using XDA Free mobile app
Jay5583 said:
For anyone that has installed this...Any noticeable difference in the radio?
Sent from my SM-G900P using XDA Free mobile app
Click to expand...
Click to collapse
Service at my house literally went from 1 bar to 2, YMMV. I did switch to the bmfr cm11 build a day after flashing this, service has remained the same.
recovery
thanks so much for posting this - been trying to find an easy way to odin back to stock after trying a few ROMs.
Will this also take us back to stock recovery or does it only do the system/rom part? if not, do you know how to get back to stock recovery?
thanks so much!
hi is there a ni3 modem with out system i can flash?
Serious Problem
i downloaded this on my dads new s5, just an hour old.
Flashed in odin, now im getting the "firmware upgrade encountered an issue" error message.
i tried going on to sammobile and downloading sprint stock firmware and flashing that, but odin is rejecting it.
theres also a bunch of versions on sam mobiles site, so im downloading 2 more versions, 1 from april and 1 from june (NCD & NE5)
could it be because im running odin on windows xp vmware thats making odin not take the tar file?
also, i dont know what version im coming from, the only thing i remember seeing when i allowed it into developer mode is that it was on 4.4.2.
please help!!!!
XP under VMware. Yeah, probably asking for trouble.

Categories

Resources