yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 Q&A, Help & Troubleshooting] tublah:
Interesting. So using Heimdall you were able to go from a Touchwiz-based ROM to the I9505G? What all did you flash?
[Galaxy S 4 Q&A, Help & Troubleshooting] donovanbrock:
The only way I could system dump was with root. So I figured I'd leave root intact.
[Galaxy S 4 Q&A, Help & Troubleshooting] Firon:
Thanks for the dumps!

I got stuck in a recovery when I used cf-autoroot, and reflashing your recovery/bootloader got me out of it.

I guess there's no way to do custom kernels right now, since the bootloader is seemingly write-locked?

BTW, I believe you can chain flashes together in heimdall by just appending the various commands.

heimdall flash --BOOT thing.img --RECOVERY thing2.img --SYSTEM thing3.img
[Galaxy S 4 Q&A, Help & Troubleshooting] Cozmo85:
Yes, using Heimdall, followed the directions in the first post exactly. Did not alter or change anything.

I had been running TWRP with a custom rom but I don't think this should really matter? I just tried It cause i figured if it didn't work I could always boot to odin and restore to stock.

Finished the steps, booted to the stock recovery fine, did the wipe data option. It rebooted right into stock android. Wallet activated fine, LTE, wifi, bluetooth. Phone identifies as i9505g. Baseband is still M919UVUAMDL.

Partition sizes are the same as stock, they did not change to the google version partitions.

When i did the steps the odin/download status screen (on the s4 itself) had a number of different messages in red (dont know if this is normal when using Heimdall) but i pushed through and its all good.
[Galaxy S 4 Q&A, Help & Troubleshooting] tublah:
That is REALLY interesting for those of us who are hoping to be able to switch between Touchwiz and Google. Thanks for trying it out!
[Galaxy S 4 Q&A, Help & Troubleshooting] bindoser:
Thanks for the instructions. It may be noob's questions, but what should the status of "Current Binary" in download mode be, I have it as "Custom"? Also, although I am unrooted, I still have SuperSu installed and linked to the play store (I did Wipe the data/factory reset)
[Galaxy S 4 Q&A, Help & Troubleshooting] SamuriHL:
I'm not new to the Android world, but, I am new to the Samsung world. I have an I9505G (awesome phone) and have TWRP installed. Can I use just the recovery part of this to restore stock recovery while skipping boot and system (since mine are still stock)? I'm just thinking if and when an OTA comes it'd be nice to restore stock recovery so it can install. Thanks!
[Galaxy S 4 Q&A, Help & Troubleshooting] albazeuro:
thank you for your easy to follow steps

thank you for your easy to follow steps you helped solving a problem i spent 2 full days trying ti solve and i here too thank the OP for this great solution . i have been lost with odin and fastboot trying every rom and recovery .

just a correction , when you plug your galaxy s4 gpe to replace the driver you have to be in the downloading mode not boot loader , volume down + power button .

and replace the driver that pops last in list -you can know that s you said by repluging the device-

all the best
[Galaxy S 4 Q&A, Help & Troubleshooting] WhiteSRT69:
okay bare with me..

i usually get all of this but for some reason this has me stumped...

follow all instructions from OP

extracted files to heimdall no problem

heimdall is not recognizing device.

im totally stumped

:confused::confused::confused:

still getting this error

C:\Users\Brian\Downloads\heimdall-suite-1.4.0-win32\Heimdall Suite>heimdall flas

h --SYSTEM mmcblk0p16_system.img --no-reboot

Heimdall v1.4.0

Copyright (c) 2010-2013, Benjamin Dobell, Glass Echidna

http://www.glassechidna.com.au/

This software is provided free of charge. Copying and redistribution is

encouraged.

If you appreciate this software and you would like to support future

development please consider donating:

http://www.glassechidna.com.au/donate/

Initialising connection...

Detecting device...

libusbx: error [init_device] device '\\.\USB#VID_045E&PID_0773&MI_01#6&9B6ADE&0&

0001' is no longer connected!

ERROR: Failed to access device. libusb error: -12

C:\Users\Brian\Downloads\heimdall-suite-1.4.0-win32\Heimdall Suite>

edit: got it. wrong drivers were installed!!!!!! grrrrr

thanks for the write up guys!!!
[Galaxy S 4 Q&A, Help & Troubleshooting] epiderm:
command line problems heimdall file

I am able to start front end but I am not able to get to the command line in Win 7. I went to the command prompt and the command prompt blinks in then out. The installed drivers are winUSB(v6.0.1.0), thus I can detect my device (MSM8960). Is there a work around to use frontend? How do I get the command line window to stay open? Thus, I get no error messages. thanks
[Galaxy S 4 Q&A, Help & Troubleshooting] Chris334:
Is there an OFFICIAL factory image for the i9505g? Tried searching but couldn't find one.

This method works:good: but ODIN still says custom binary and there is a "SuperSU installer" app installed.
[Galaxy S 4 Q&A, Help & Troubleshooting] maconsultant:
Yes i also was curious about the su binary being in the "stock" image file. Also the recovery seems different than the stock version. Can anyone shed some light on this.? After reverting to "stock" with this method i have yet to receive the OTA. we need a truly "stock" solution.
[Galaxy S 4 Q&A, Help & Troubleshooting] ChaoticUnreality:
I actually just came here to see if this was the stock recovery since I wanted the OTA update so ++ to wanting to know if this is the "stock" recovery
[Galaxy S 4 Q&A, Help & Troubleshooting] SamuriHL:
It's the one I used to install the 4.3 ota. I extracted the recovery img from the zip, turned it into an odin flashable file, flashed it, and installed the ota. Then I put twrp back on. :)
[Galaxy S 4 Q&A, Help & Troubleshooting] illogic6:
I believe the only official Odin firmware packages are the 4.3 leaks. I wouldn't recommend flashing either at this point. All the other packages were put together by the community here.

Hopefully we'll get an official Odin MH1 leak soon.
[Galaxy S 4 Q&A, Help & Troubleshooting] matthemattix:
command prompt help

epiderm,

Please refer to the "readme.txt" in your heimdall installation directory. There you will find a step-by-step on how tpo use heimdall from command prompt. It is helpful to install heimdall suite into your root or C:\ directory.

First, open a command prompt window. Then navigate to the directory you installed heimdall into from command prompt. After that you can effectively execute the commands and steps to restore your phone to factory state.

good luck
[Galaxy S 4 Q&A, Help & Troubleshooting] Cal3b:
Hey great write up. I am on Linux and kept getting:

The problem was the Heimdall version I was using. I used:

that installed version 1.4RC1 I went to the Heimdall website and downloaded version 1.4.0 from this page. I installed it and ran

Everything flashed and now I have a working phone again. I hope this helps someone if they are having the same problem.
[Galaxy S 4 Q&A, Help & Troubleshooting] jyashin:
Serious problem with my smartphone

Hi friend, you have helped me a lot.

Now I have another problem, as may be noted I am totally new to this, after having done all this process my phone is working again. But now I can not make / receive calls.

I need your help to correct this, I'm in Mexico and my carrier is telcel.

Greetings and I hope you can help me.
[Galaxy S 4 Q&A, Help & Troubleshooting] UlixesTNT:
Hi, may I ask what Android version this image is? 4.2.2 or 4.3?

Further, where did you get this from? Is it totally stock?

Thanks for you time!
[Galaxy S 4 Q&A, Help & Troubleshooting] ChaoticUnreality:
If I remember correctly this was pulped froma 4.2.2 phone the only difference from stock is this is rooted.
[Galaxy S 4 Q&A, Help & Troubleshooting] UlixesTNT:
Any idea on how to extract the stock images from my unrooted S4 GE?
[Galaxy S 4 Q&A, Help & Troubleshooting] ChaoticUnreality:
I don't think you can with an unrooted phone.

http://xdaforums.com/showthread.php?t=2368121

This will tell you how to dump your room but I believe you need to be rooted since you need to run su commands
[Galaxy S 4 Q&A, Help & Troubleshooting] aniel300:
I can t get heimdall to work on windows 8 it said msvcp/r110.dll is missing? I istalled vcredist 64/86. I downloaded dll from dll website and stell not workin please help ?
[Galaxy S 4 Q&A, Help & Troubleshooting] mpcookson:
Has this been released yet? I managed to brick my phone trying to get to 4.4 rooted with these instructions (so that I could my SD card with Podcast Addict):

http://xdaforums.com/showthread.php?t=2544056

because it fails when it tries to write the modem.bin. I have a GPE 9505G, so I don't know what I did wrong, but perhaps because I don't know what this means:

"OTA zip (must be flashed in stock recovery)"

I just followed the instructions at the end of the post writing I9505GUEUBMKG_FULL_ROOTED.tar.md5 with ODIN -- that's what failed at the modem.bin section. Is there something that I should have done before I tried to use ODIN?

So I followed these instructions to unbrick the phone (thank you very much!) but now I'm at 4.2.2 and I can't apply the OTA update to get to 4.3 or sideload it (I9505GUEUAMFD-to-UBMH1_Update_FWD.zip). It fails with this error:

Installing update…

Verifying current system...

assert failed: apply_patch_check("EMMC:/dev/block/platform/msm_sdcc.1/by-name/apnhlos:9018112:de2de0523a88ce0781eb125b563ac0bb176bcb7e:9181952:c15e52d975b0b46478798a43c3feca3d4b755d7", "c15e52d975b0b46478798a436c3feca3d4b755d7", "de2de0523a88ce0781eb125

E:Error in /tmp/update.zip

(Status 7)

Installation aborted.

Is there any way to undo whatever mayhem I have inflicted on myself? I've been reading threads for the past day and nothing will let me get to 4.3 and none of the 9505G ODIN files will get past the modem.bin part. I would love to get to something that returns me to complete stock, or something very close to it so that OTA updates work.

Thank you in advance!
[Galaxy S 4 Q&A, Help & Troubleshooting] albazeuro:
same problem , i am now on 4.2.2 but cant install OTA

cant install OTA updates even by side load ADB , getting error status 7 . android recovery system 3e.

tried to install CWM but wont install .

your help is highly appreciated . if you can upload an image of 4.4 instead of 4.2.2 , that you would be great .

all the best
[Galaxy S 4 Q&A, Help & Troubleshooting] mpcookson:
Working now!

Posting this here because I can't reply to the Flashing 4.4 with Heimdall thread...

I used these instructions to get to 4.4:

http://xdaforums.com/showthread.php?t=2550551

which wipes the phone (since I was running 4.2.2 I wiped the phone, just to be sure). And then these to unlock the boot loader:

http://xdaforums.com/showthread.php?t=2363025

which wipes the phone for a second time, so don't bother to download apps before this. Then at this point I went into adb shell and became root (su) and then remount /system read/write (mount -o remount,rw /system) so that I can edit (I used vi) /etc/permissions/platform.xml to add:

<group gid="media_rw" />

in the android.permission.WRITE_EXTERNAL_STORAGE section.

I didn't need to install a custom recovery image, just root (which the 4.4 image already had installed) and unlock the boot loader to be able to edit the platform.xml file.

I'm now at 4.4, so I don't know about OTA updates working or not (I'm assuming "not" since I modified platform.xml), but I have working SD card access, so that's all I care about!

Thanks everyone!
[Galaxy S 4 Q&A, Help & Troubleshooting] Joyrex:
I've used these instructions in the past to restore to stock and RMA back phones, but it looks like after the 4.4 update something has changed (maybe a radio update?).

Does anyone know how I can get the i9505g back to stock after running 4.4 ?
[Galaxy S 4 Q&A, Help & Troubleshooting] Sirfearoth:
I've restore my S4 back to stock but have unable to apply updates. I had to go back to stock unrooted to be able to use for my work phone.
[Galaxy S 4 Q&A, Help & Troubleshooting] zorgon8:
Worked!

Thanks so much -- this was the only thing that worked for my soft-bricked GT-I9505G. Kies and Odin were useless... at least I couldn't find stock packages that would play nicely with them. Also, I used Heimdall with OS-X and the OP's commands worked fine.

And just updated to 4.4.3! Now just need to get the ext. SD card writeable from the phone.

Note: if you're on OS-X or Linux and get a hold on "I9505GUEUBMKG_FULL_ROOTED.tar.md5", it's really just a standard .tar.gz archive, so you can do:

tar -xzvf I9505GUEUBMKG_FULL_ROOTED.tar.md5

...to extract the files.
[Galaxy S 4 Q&A, Help & Troubleshooting] C1rcu17:
Dead Links

These links are dead. Can anybody provide me the archive on this post? Thanks
[Galaxy S 4 Q&A, Help & Troubleshooting] zluishenry:
Same here !
[Galaxy S 4 Q&A, Help & Troubleshooting] SamuriHL:
You can just grab the odin images I've been creating and extract them to use with heimdall.
[One (M7) Q&A, Help & Troubleshooting] Rustyspoon:
Hey All,

I have an issue with using Widget Lockscreen and the HTC One (or could be my launcher?)

I had GO Locker and was able to disable home key press on the lock screen so it didnt unlock the phone. I enabled the home screen options in widget lockscreen, but currently, the phone is trying to draw the home screen then quickly snaps back to the lock screen again, which is rather annoying.

I am using Holo Launcher HD and I tried on Apex as well, same thing.

Anyone else experiencing this problem or know how to fix it?

Thanks
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] DarknessWarrior:
Hello, i just acquired an used 2011 Sony LwW that comes with locked bootloader, and it says allowed to unlock no, i always thought it could be unlocked via the pinpoint method, but now i read it cant be done even with that method?

I'm a bit confused, i wanted to jelly bean it because it comes with Ginger 2.3.4 lol
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Someguyfromhell:
If your phone's manufacturing date is after 12W11 (11th week of 2012), then you can not unlock it indeed. Unless there are some new methods, that we are not aware of yet

To find your phone's manufacturing date, look under the battery, written in the shape [2 numbers]W[2 numbers].
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] DarknessWarrior:
11W51

but it says unlock allowable: no, can i still unlock it via the pinpoint?
[Samsung Galaxy Nexus] Neo3D:
http://www.democracynow.org/2013/7/11/headlines/nsa_writes_code_used_in_google_phone#.Ud9OIJLPBzk

NSA Writes Code Used in Google Phone

The tech giant Google has confirmed the National Security Agency furnished some of the code installed in its new Android phone. The NSA says the code is intended to enhance security against hackers and marketers, but will not confirm whether it also aids the agency’s PRISM program monitoring the global Internet.

Is it possible for custom ROM developers to remove this code?
[Samsung Galaxy Nexus] beekay201:
Should be on AOSP, if so it should be easy to revert the related commits.

a maguro wrote this.
[Samsung Galaxy Nexus] bodh:
For those who want to know more: http://www.businessweek.com/articles/2013-07-03/security-enhanced-android-nsa-edition
[Samsung Galaxy Nexus] Neo3D:
Since it's "open source" can we see what the NSA code put in there and what their intentions are?
[Samsung Galaxy Nexus] Neo3D:
crap, I hate to say this but...

way to go Apple!
[Samsung Galaxy Nexus] bodh:
I'll bet some flames are a-comin'! I'd be treating that apple remark as PR, plus they run unix, rather than linux, correct? The part that most reassures me is, 'Jeff Zemlin, the executive director of the Linux Foundation, says the NSA didn’t add any obvious means of eavesdropping. “This code was peer-reviewed by a lot of people," he says.' Essentially, I view this as the upcoming SELinux additions, at least at this present moment.
[Samsung Galaxy Nexus] fahadsul3man:
yes but their devices 'accidentally' leak personal info , btw even if NSA looks at the data then so what ? i never did any thing wrong so why should i be worried ?
[Samsung Galaxy Nexus] Neo3D:
That's like saying, "I'm not gay, so why should I care about DOMA and gay rights?"
[Samsung Galaxy Nexus] Spicyryan:
This is exactly the wrong sort of logic to apply to this sort of thing. Think about it, and I mean really think about it and do you really think it is fine to have your data scrutinized.

Not doing anything wrong should be even more of a reason to you to have that mystical unicorn called privacy. :confused:
[Samsung Galaxy Nexus] Semantics:
Would you mind if the police kicked your door down and tossed your house without a warrant? You didn't do anything wrong, so you wouldn't have to worry about getting into trouble.
[Samsung Galaxy Nexus] fahadsul3man:
but if you put it this way ; its the government agency that looks at the data to avoid major incidents like the boston bombing, i mean if a parent spied on their kids data to keep them safe and what be your reaction when the kid started complaining about privacy stuff ?
[Samsung Galaxy Nexus] Semantics:
Parents have a right and duty to keep a watchful eye on their kids. The Government does not have that same right. We are supposedly guaranteed freedom, and it keeps get less and less because (No offense intended) too many people have the attitude that they don't care, it won't effect them. Keep giving away freedoms and not holding the Government accountable for their actions and nobody is going to like where it is going. History has shown us this several times, and its never, ever, ended well for the citizens.
[Samsung Galaxy Nexus] Deleted member 4841967:
yawn.

Do people really think the government has any interest in looking at their selfies, twitters posts, useless texts? or that people who transmit legitimately sensitive information do it by phone? Or that people actually sit and read every single thing, instead of having software filters out only the small fractions of data that they're interested in?

If that's the case then I have tinfoil hats for sale.
[Samsung Galaxy Nexus] Semantics:
I work for the Government, and yes, yes we do. In fact, there are people who make a whole lot of money to comb over all the hits on Facebook pages, and Twitter reading hits that are returned on a zillion different keywords. Nothing to see here, the Government always has your best interest at heart, and values your freedom.
[Samsung Galaxy Nexus] Deleted member 4841967:
Yes, and I'm sure the people you work for are completely okay with employees making aware the existence of such programs publicly. That's why they get free vacations to Hong Kong right?

Let me guess, you're going to say, "wake up" next. lmfao.
[Samsung Galaxy Nexus] crachel:
Be careful giving Apple too much credit. It's already been shown that these companies are playing a semantics game and what reads like an outright denial is probably carefully chosen legalese
[Samsung Galaxy Nexus] beekay201:
How can you be sure that apple doesn't accept code from NSA or any other gov agency? Lol is it open source so that you (and everybody else) can see what's going on?

paranoid.

a manta wrote this.
[Samsung Galaxy Nexus] sof006:
Again like I say to every post about the "NSA". I don't see why people are acting so surprised, if the NSA want your information they'll get it. Whether you go against it or not, they'll get your information. Posting about it on forums isn't going to change it. Even if you DIDN'T have a smartphone, they'd still manage to get information on you. There are CCTV cameras everywhere, there is personal information stored about you at your personal bank... Hell your zip/post code tells the government where you live.

If you want anything done about it go live in the jungle. As there will always be a government observing your every move as long as you live in a world where everything is connected.
[Samsung Galaxy Nexus] IRX120:
Well what I'm worried about is the government seeing my "iv got the weed for the party" text and knowing where I am and then coming and searching my house without a warrent. lol

Sent from my Nexus 4 @1.728 GHz on Stock 4.2.2
[Samsung Galaxy Nexus] Spicyryan:
So you see yourself as a child and the government as your loving parent..? :confused:

It also does not take snooping through your children's underwear drawer to know what is going on or keep them safe. It is also impossible to protect them or anyone from everything by being their shadow and it harms your relationship with them. Trust is a foundation of any relationship.
[Samsung Galaxy Nexus] pfmiller:
Yeah, this seems like much ado about nothing. Almost every modern Linux system contains NSA code as part of SELinux, this is basically the same thing. As long as we can see the changes being made, it doesn't matter who they are coming from.
[Samsung Galaxy Nexus] Neo3D:
Yea, that really helped to prevent the Boston bombing.
[Samsung Galaxy Nexus] armada786:
Unless you're giving weed to suspected terrorists I doubt they care.

This thread is a big disinfo scare since we can all easily look at what the NSA added to Android and scrutinize it. The good thing about open source projects is you can check to make sure no one is doing anything malicious or suspicious. I try to compile from source when I can for that reason. As for Apple's supposed denial, well, we can't check that. There is little doubt in my mind that they're more than willing to comply with secret orders polite nonpublic requests from the US government to hand over any data, though.
[Samsung Galaxy Nexus] jordanishere:
Wasn't there a program used by the carriers which recorded texts and calls a few years ago? Carrier IQ right?

People were more angry about carrier IQ than they are about this.

Sent from my Xiaomi Mi2s
[Samsung Galaxy Nexus] madd0g:
Carrier IQ wasn't open source like SE linux lol.

Any more scare mongering "articles" by fags who don't know anything about IT ?
[Samsung Galaxy Nexus] :
Believe me man, unless you're moving tons a day into the country under the Mexican border, they don't even care. I know people who served

weight

over their phones and literally lived across the street from a DEA building. You're more likely to get caught in a 1000 other ways.
[Samsung Galaxy Nexus] IRX120:
That's good to know, I move grams lol

Sent from my Nexus 4 @1.728 GHz on Stock 4.2.2
[Samsung Galaxy Nexus] teambestyrandy:
Does cm10.1.2 have this covered? I would think so cause the cm team has been amping up their security but can anyone with data confirm?
[Samsung Galaxy Nexus] iLeopard:
As long as they pay for the damaged door, trouble and hassle I could give two rats as to what the police do. This is old people, seriously. All these privacy advocates need to get their panties out of a bunch and find something else to allocate their time to. It might be the wrong kind of thinking, but so what if they snoop through my text messages, calls and records. Anyone who has a physical hold of my phone could do that in front of me and I would not be bothered whatsoever though I couldn't help to think why.
[Samsung Galaxy Nexus] djsubterrain:
LOL! Suuuuuuure they don't!
[Samsung Galaxy Nexus] dispatch:
You sir, have a very dangerous attitude.
[Samsung Galaxy Nexus] killerofsix:
More digging; nothing to see here

http://www.androidauthority.com/nsa-android-code-239118/
[Samsung Galaxy Nexus] t1n0m3n:
I don't see the big deal. NSA code is in most every computing device that people have.

The NSA regularly contributes to code security on a lot of products.

That Apple refuses NSA code makes me want to stop using them.

Realistically, speaking, they have NSA code in their product just like everyone else so Apple's statement is actually a lie.

For example: Anything that supports DES has NSA code in it.

Besides. It is open source. It would be political suicide to *try to* contribute backdoors into AOSP.
[Samsung Galaxy Nexus] mrphil101:
I bet that is how that UAV has been able to track me so well...........
[Samsung Galaxy Nexus] tokuzumi:
This.

237 years ago, we fought for our freedom. We've had to fight to keep it. It's not a "one and done" type of event. The gov't can barely do anything right. I want their hands in as little as possible.