Well, the story goes like this:
Bought a g1 and the second logical step was to put in cyanogen. After a while I thought that an unlocked phone would be even better. Went online and purchased the unlock code and tried to use it while running cyanogen. Did not work. Flashed to rc29, tried again, did not work. Then I went to another unlock provider and this guy, gave me the same code as the first, based on my IMEI ( I don't have a fake IMEI), he tried it as well and did not work. Then he searched for different version of the code based on the IMEI for different htc products ( it seems that they have some accounts with htc and for IMEI they receive the unlock code). We also tried it with a goldcard which only made my g1 scream that I don't have a simcard inside.
Bottom line, did cyanogen mood do something to the unlock procedure ( hard locked the phone on tmobile - on tmobile the phone works fine) ? Or I just happened to have a weird phone, Thank you.
Btw, my unlock code is 92179512. Feel free to try it. It would be funny as hell if it were to unlock someone elses phone, and if it does, let me know as well.
I unlocked my phone on a MUCH older version of CM, so I wouldnt be able to tell you if anything has changed to effect the process. However, if you're a TMO customer, you do know that after 90 days they will GIVE you the unlock code for free, right?
I also have unlocked it on Cyanogen mod, but I believe I was on 4.2.7.1 at the time.... not that long ago really.... but T-Mobile does indeed give away the unlock code for free, and it worked flawlessly.
Neither the ROM, SPL or radio can effect the simlock. It's not Cy's ROM that's causing the problem...
What do you mean 'it doesn't work'? Does the phone reject the code?
Thank you for the reply. Well the problem is that I don't have a contract with Tmobile since I don't have the money for it. I bought it off from someone and used Tmobile prepaid sim card, which works fine. And, because of that, Tmobile won't provide me with an unlock code .
Regarding the code, when I type in the code it says network unlock unsuccessful, so I can't do much about it. I'm trying to update to the latest stock donut and see what happens.
Ah that sucks :-( I really can't of any options for you, since any codes generated will always be the same...
nope -
cmcx_linux said:
Thank you for the reply. Well the problem is that I don't have a contract with Tmobile since I don't have the money for it. I bought it off from someone and used Tmobile prepaid sim card, which works fine. And, because of that, Tmobile won't provide me with an unlock code .
Regarding the code, when I type in the code it says network unlock unsuccessful, so I can't do much about it. I'm trying to update to the latest stock donut and see what happens.
Click to expand...
Click to collapse
notice in the replies above, that cyanogen nor spl, nor anything software related can change your unlock status.
you already have an unlock code, and since you've had it generated from two different sources, i believe that code is correct for THAT IMEI number. that being said, did you copy the imei number from the sticker on the inside, or from what the phone shows in "PHONE INFO" ? I'd make sure they both match.
i also have a phone that is flacky about SIMs. haven't found an explanation yet, I think some of the boards have bad solder joints, or there is another hardware problem that causes similar errors. no proof yet.
try a friends Tmo sim card, and if his is recognized, and allows data connection, you'll know it's your phone that is locked, and that all the hardware is working. i'll bet you entered the wrong code because the sticker inside was wrong, or you fat fingered it. just a guess.
good luck, please update the thread when/if you find a definite answer.
I would bet the IMEI on the sticker and on the board are different... where did you buy said phone and for how much? It could very well be a refurb, which will have bits and pieces from several different phones, and thus could have the SIM locked guts for phone 666 and the case from phone 888 type thing.
Yep, checked it 10 times the first time I bought the code online. The same imei in about this phone is on the sticker. After I saw it did not work, I went to a local unlock shop around my place and the guy there checked it again more than 6 times. So.. weird eh? And both guys got the same code from HTC based on that IMEI
Sounds like this may be a hardware error. If that is the unlock that is generated then it should just work. The unlock does not really pertain to the rom or anything else that people usually mod. Also, maybe ask that dude why he was giving up that phone, maybe there is really something wrong with it.
the only other thing left is get an turbo unlocker chip that sits between SIM and phone
pain in ass to install but I have done it with out cutting the SIM card
I am guessing someone had typed the code in incorectly .. they can be permiatly locked if wrong code has been entered
also just because it was another person does not mean their MEI source wasn't the same
I guess they worked out they work ,,, I payed $5 for mine .. now 4x the price
http://cgi.ebay.com.au/NEXT-SIM-TUR...wItemQQptZPDA_Accessories?hash=item4cec3cab8c
The unlock codes sources are all the same. I lost over 100$ trying to get unlock codes from them but 80% of them don't work (only the ones for htc phones). I use a turbo sim with my G1 and is really easy to install. just buy one and cut your sim where the CHIP from the turbo sim is located. It works flawlessly.
Im just throwing this out there to say that I was able to successfully unlock my g1 with CM 4.2.10.1
Other than that I would just be repeating what was already said if I was to give any advice.
Best of luck man.
If you live close to pasadena
cmcx_linux said:
Yep, checked it 10 times the first time I bought the code online. The same imei in about this phone is on the sticker. After I saw it did not work, I went to a local unlock shop around my place and the guy there checked it again more than 6 times. So.. weird eh? And both guys got the same code from HTC based on that IMEI
Click to expand...
Click to collapse
You're welcome to try it with my sim card. But you're probably far far away.
tmo will give out unlock code
kusotare said:
I unlocked my phone on a MUCH older version of CM, so I wouldnt be able to tell you if anything has changed to effect the process. However, if you're a TMO customer, you do know that after 90 days they will GIVE you the unlock code for free, right?
Click to expand...
Click to collapse
Actually, they will give you an unlock code after 90 days of being a customer and every 90 after the last time you got an unlock code. They will give you an unlock code the same day you buy the phone if you meet those requirements.
Sorry if this is irrelevant to the rest of the thread, but assuming I unlock on JF 1.5 (yea I'm behind) to ATT, and wipe everything to install a HeroUI ROM of some sort, will the unlock still be in effect or will I need to unlock the phone again?
Thanks.
dshyang50 said:
Sorry if this is irrelevant to the rest of the thread, but assuming I unlock on JF 1.5 (yea I'm behind) to ATT, and wipe everything to install a HeroUI ROM of some sort, will the unlock still be in effect or will I need to unlock the phone again?
Thanks.
Click to expand...
Click to collapse
You'll be ok.
I actually like JUST did it on a coworkers(I admit, going from WiMo to Android is a learning curve, but its easy), he got his from craigslist, had JF 1.5 on it. He used it for like a week, complained about sluggishness (he did have like 20 apps constantly running) Anyway, after a few beers and lurking here (it was when I was deciding what HTC to get) we decided to go to CM (latest build). Everything went fine step by step.
I cannot vouch for your particular ROM but for CM it was fine.
Related
Hi,
I just bought a MDA off ebay and the phone works great!
BUT the problem is IMEI numbers dont match ANYWHERE!!
Box, Back of phone and *#06# They are 3 different #'s
I can still make and recieve calls and go on the net.. phones works properly.
Is there anyway some1 could have changed the IMEI? Or is there a Rom flash that could have done this?
OR could a Unlock have altered the IMEI?
And is there a way i can change the IMEI to the same one as the one on the back of my phone?
The Seller has agreed to refund my money, but I want to exercise all my options b4 I return it. Bc the price was actually great!
Any help will be appreciated.
Thanks in Adv!
Brit.
:thumbup:
PS i did search for this issue and did come accross some good threads, but there was alot of "THIS IS ILLEGAL" i know this so please post somthing meaningful...
Your best bet is to get your money back. At best the phone was serviced and the guts placed inside the wrong case by accident (which would explain 3 different IMEI) but at worst there could be something hinky in the phone's history that will come back to bite you as the current owner.
I wouldn't worry about it.
1) The phone works
2) You know the phone's actual IMEI
That's all there is to it. Don't worry about it.
both of you bring up a good point.
I am leaning towards keeping theh thing b/c of the price i paid for it b/c of a mislabeling of the auction. It was a super low price..
I will check to see if the guts were changed, there probably will be a sign if the casing was opened.
Can you give signs to look for tampering?
Second, I read were some1's IMEI changed b.c of a Unlock could this have happend to my MDA?
Thanks for you replies agian!
HTC (or T-Mobile Warranty) might me able to confirm if any (or all) of the IMEIs you have are from serviced phones.
As for the Unlock changing the IMEI, I know one user reported it but I seriously the validity of their story.
I've CID unlocked 5 HTC Phones (3 BlueAngels, 2 Wizards) and SIM unlocked them also with the IMEI never being changed.
Just remember though, if there is something hinky and the phone is hot you can lose the phone and never see your money.
I would imagine that if the phone was put up for sale, sold, shipped, turned on and found to work and it is hot, the heat has probably cooled considerably. Or, in other words, if it was going to be banned by the network, I would think it would have already happened. As far as unlocking changing the IMEI, I second the above. Few things are impossible but a simple unlocking changing the IMEI has to be close. If it was my phone, I'd first look for some obvious sign of tampering. Crooks aren't very smart (they are crooks, after all) so it shouldn't be hard to find. If nothing jumped out at me, I'd shrug my shoulders and call it mine.
Cool, I will call HTC.
I just called Tmobile and they said that they dont BAN phones, they just ban simcards. but I doubt they would admit the truth.
the phone working is a Positive sign to me.
But I will call HTC and confirm. ALSO I will Call Paypal and see if i have any kind of warranty to buying a stolen item.
if all else fails i will return the phone to the seller.
Brittany
the IMEI should look exactly like the IMEI on the back of the phone rite? not shorter or longer?
i will reverify if its' shorter or something. b/c i read some where about a 17 and 15 digits are needed.
ALSO say if my MDA was stock right out of the box would the phone have these 4 lines on the top left corner in red with some numbers and stuff.. possibly rom info and model info?
Usually the stickers with IMEI numbers are difficult to forge since it requires a special paper (Nokia at least) and a special kind of file.
Although the theory of mixing boards, cases and boxes is very plausible there's still the chance that the IMEI on the back of the phone is the hot one. You can always try to change back to it (but taking note of the one stored presently in ROM for future use) and see if it gets barred/blocked or you get a visit from the authorities :twisted: In any case, this forum's posts could help to prove your innocence in court (just kidding :lol: )
As for the procedures to achieve it, get back to me via PM
cheers
Well i took it to a local Tmobile store and they exchanged the phone for me. WOOT! WOOT! this was a pure sealed one. so prob solved.. now i just have to do a CID and Sim Unlock and upgrade to the latest rom.
Any recomms? i will try to do my NEWBIE duties and search and learn, if anyone wants to make it easy for me. well hooka sista up!..lol
Brit
Wow! Not bad! If the 2.26 ROM is already on it (I got a new one a couple days ago on warrantee and that was the case), you may want to think twice before changing that. I've been real happy with 2.26 and it's gotten to where the ONLY thing I bother changing in the registry is the glyphcache and menu settings and I uninstall OZ, the DAT MailTrigger thing and the Hotspot login utility. And...bonus time....you don't void the warrantee that mayb prove handy in the future.
Moral of the story.. get 3 old phone, inter change their IMEI (e.g. stickers and box) .. go to different local store to get 3 new phones
So last night i did
1. Sim Unlock
2. CID Unlock
3. installed AIM (wifi friendly)
4. Upgraded the rom to 2.26
5. installed Agile Msnger beta verson
phone's running like butter! Thou after i installed AIM phone RAN really sluggish! but i think it was b/c i put my orig sim card with 150 entirees.
so i rebooted charged the phone to 100% and did the rom upgrade from Tmobile's webiste..
the phone runs like a charm now.. I just need to find a good Instant Messenger software, wiht profile and away msg so my friends to hit me up with a huge txt msg bill..
I came, i read, i learned, i conquered the mda!
I am recording my experience here for others to see.
I had an HTC HD2 Leo with WM6.5 locked to Orange. I had updated it to Pure Gingerbread gpc and then to BoyPPC. I then purchased (see * below) a code to unlock the phone so that I could use a 'three' 3GB SIM.
The code was accepted as "Network unlock successful", but I got no service, no networks, no APNs - nothing - and the phone reported "Error while searching for networks". Furthermore I had to enter the unlock code each time I booted from cold and when I switched airplane mode off.
Chris10230 suggested something was not being saved properly and I should restore the phone to its original state and try again.
However, I tried WP7 with similar results ie "PIN accepted" when entering the unlock code, when using the connection set up app I got "Warning There is no SIM card or PIN code has not been input". Again I had to repeat entering the code.
Eventually I put WM6.5 back on the phone entered the unlock code and everything appeared to work properly ie I had a service from 'three' and did not need to re-enter the code.
In summary with an Orange HTC HD2 there is a problem unlocking under Android and WP7 while WM6.5 works fine.
I hope these notes are useful to someone. Don't expect more from me on this as I have just strated learning about Android and SmartPhones.
* HTCimeiUnlock.com provided the unlock code for $25 through PayPal. When I contacted them about the problems I had above they responded promptly and provided an immediate refund even though the unlock code they provided eventually proved good and the problem lay in my phone.
Well I have never unlocked my phome but from what I have been told by others here on XDA you have to use Windows Mobile to SIM unlock your HD2 as it is the native OS and is the only OS that can properly SIM unlock the HD2. I do not know this for 100% truth but my assumption on this is to properly SIM unlock your HD2 the OS has to be able to interface with the boot partition of the NAND memory or more spacificaly the IPL of bootloader. Seeing that Android or WP7 really do not have a interface capobilities with the boot partition or IPL of the HD2 it can not reset the values in the IPL to make the unlock permanent. I could be totally wrong though I am just going on what I do know about how the HD2 works, if I am please chime in and straightin me out as I would like to know. For one to see if I am right and two to find out what the real reason is.
Cheers
Would like reiterate what Fuzz99 said here.
I have a Tmobile HD2 and when I tried entering the unlock code via Windows Phone 7 7720, it came pin accepted but the phone was *STILL* SIM locked. However, when I flashed the stock WM6.5 Tmobile rom (got from the Tmobile site) back into it, the moment I entered the unlock code it immediately unlocked with everything working
Heads up to any Tmobile user facing the same problem
hey guys.
After you unlocked it using the stock ROM, did you then re-flash to another ROM?
IF yes, did it still remain unlocked?
Thanks,
yes it will forever remain unlocked, no matter what you do to it.
It needs to be on WinMo to unlock it? But I was able to put in the unlock code from T-mobile on NAND Android and use a FarEasTone SIM card just fine though.
yea i saw you post that the other day and thought it was strange. could it already be unlocked?
samsamuel said:
yea i saw you post that the other day and thought it was strange. could it already be unlocked?
Click to expand...
Click to collapse
I don't think it was. I bought it on Craiglist here in the US and it was locked to T-mobile, so I asked the original owner to get the unlock code for me. I knew it was locked because when I put my FarEasTone SIM in, it prompted me for the unlock code. I put the code in [ I was on a Runnymede Sense ROM if that makes any difference], and I've tried it with my friend's AT&T SIM as well, and it works [ on 2G only of course, but still]. It's remained fine as well when changing from NAND Android to WM 6.5 to Mango.
Fuzz99 said:
I am recording my experience here for others to see.
I had an HTC HD2 Leo with WM6.5 locked to Orange. I had updated it to Pure Gingerbread gpc and then to BoyPPC. I then purchased (see * below) a code to unlock the phone so that I could use a 'three' 3GB SIM.
The code was accepted as "Network unlock successful", but I got no service, no networks, no APNs - nothing - and the phone reported "Error while searching for networks". Furthermore I had to enter the unlock code each time I booted from cold and when I switched airplane mode off.
Chris10230 suggested something was not being saved properly and I should restore the phone to its original state and try again.
However, I tried WP7 with similar results ie "PIN accepted" when entering the unlock code, when using the connection set up app I got "Warning There is no SIM card or PIN code has not been input". Again I had to repeat entering the code.
Eventually I put WM6.5 back on the phone entered the unlock code and everything appeared to work properly ie I had a service from 'three' and did not need to re-enter the code.
In summary with an Orange HTC HD2 there is a problem unlocking under Android and WP7 while WM6.5 works fine.
I hope these notes are useful to someone. Don't expect more from me on this as I have just strated learning about Android and SmartPhones.
* HTCimeiUnlock.com provided the unlock code for $25 through PayPal. When I contacted them about the problems I had above they responded promptly and provided an immediate refund even though the unlock code they provided eventually proved good and the problem lay in my phone.
Click to expand...
Click to collapse
thanks for this hepled me out . i had wp7 and it said password accepted then said pin required again. so did as you said and its all good now, back on wp7 with a unlocked htc hd2.
just want to say thanks to everyone on here i have found out so much and done so much to my phones and i couldnt have done it if it wasnt for this site
hope you all keep it up and thanks again
phil.bradf said:
thanks for this hepled me out . i had wp7 and it said password accepted then said pin required again. so did as you said and its all good now, back on wp7 with a unlocked htc hd2.
just want to say thanks to everyone on here i have found out so much and done so much to my phones and i couldnt have done it if it wasnt for this site
hope you all keep it up and thanks again
Click to expand...
Click to collapse
Hey guys, I have had this problem and just found this thread after the fact. I may have spammed the code a little bit in frustration...22 times...
Now that I have reflashed stock WM it says i have to wait until timeout. Any idea if it is permanently locked or if I just have to bunker down and wait it out? Thanks so much.
Patience
LFCRedman said:
Hey guys, I have had this problem and just found this thread after the fact. I may have spammed the code a little bit in frustration...22 times...
Now that I have reflashed stock WM it says i have to wait until timeout. Any idea if it is permanently locked or if I just have to bunker down and wait it out? Thanks so much.
Click to expand...
Click to collapse
Never encountered this personally, but as I heard, you should maintain it powered on and just have some patience...
Thinking it twice, you should be lucky to work after (just) 22 times!
Depends on the phone, some lock for a few hours after 5 attempts then accept another 5 then lock for longer, some take 10 then another ten a few hours later, but in most cases (never seen it, just what I've read) after so many tries they can only be unlocked by hardware cable.
No idea what the numbers and times are for the hd2 though.
You have tried 18 times,please wait until timeout..
I have an Htc Hd2..am i'm triyng to unlocked it..and i could'nt because my phone turn this screen with .."you have tried 18 times....."..i waited 24 hr..and for nothing..it's still the same..please help me..wait can i do?
---------- Post added at 12:13 PM ---------- Previous post was at 12:08 PM ----------
LFCRedman said:
Hey guys, I have had this problem and just found this thread after the fact. I may have spammed the code a little bit in frustration...22 times...
Now that I have reflashed stock WM it says i have to wait until timeout. Any idea if it is permanently locked or if I just have to bunker down and wait it out? Thanks so much.
Click to expand...
Click to collapse
please tell me if you find something...i have the same problem like you with my HTc hd2..18 times..thank you..
I have done an HD2 on 8 failed code attempts but not experienced beyond this.
If you can wait, give it 2 or 3 days, if in hurry or code input does not come available find a local cable & software unlock specialist.
i have the unlock code from att but i was like "nah i don't need the instruction emailed to me...youtube bro" little did i know...is there a way to do it without a non carrier sim?
I don't think...
zetsui said:
i have the unlock code from att but i was like "nah i don't need the instruction emailed to me...youtube bro" little did i know...is there a way to do it without a non carrier sim?
Click to expand...
Click to collapse
Just by coincidence I've been researching around lately to unlock my Motorola Bravo phone so that I can use it on any network I wish. I have already "rooted" it, which I remember was quite easy (I think what most people complain about is the amount of time it can take and the number of steps that can be involved), but, as you most likely know, rooting and unlocking are completely separate, independent functions on the phone. I searched Google, a bunch of message boards like this one here (this has always been my favorite...lots of extremely intelligent people), even some torrent files, but despite hours of searching, I unfortunately couldn't find any way to unlock the phone without just paying for the code. Yes, you can get it free from your carrier, but my account has been cancelled for months and I no longer have that option. Luckily paying for the code is very cheap and should cost you less dollars than the number of digits on your hands...if not keep looking b/c you're getting ripped off.
Theoretically, that is if my theory of how the phone functions is correct, there should be a way. I mean, if unlocking is done purely through software, there's gotta be a way to crack that part of the software and trick the phone into thinking the correct unlock code has been entered. I know the whole IMEI number to unlock code generation process uses an encrypted algorithm to work, so I don't know how difficult or impossible that would be, but that's one way I can think of doing it. Another way I thought of that seems like it should work, although I haven't heard anyone that has done this specifically say that it also unlocked their phone, is to totally wipe the phone and reflash it with a generic/unbranded version of Android. Would either of these options work anyone?
You might, MIGHT, be able to use the Defy Soft Sim Unlock, but its for a different baseband than what we use (not in /system/etc/motorola, but in /dev/block/mmcblk1p14 -- actual radio partition). I attempted to flash the Defy radio.img, but I ended up having to flash the sbf so don't flash the baseband zip on that page. Go to Defy General and go to the Stickied Wiki or Beginner's Guide and it'll have all the info you need on this.
'
While I'm hopeful for you, I doubt it will work but its worth trying. You can also try motofan.ru and see if they can provide an unlock code for your Bravo (its free). Its a 50\50 chance that they can or can't.
Your only other option is forking over the $$$ and buying the code. Don't try to randomly guess it -- you only have 10 tries and once you use them all you're (possibly) screwed.
I followed galaxys4root . com's tutorials on how to flash an i9505 (T-Mobile) rom onto your i337 (AT&T) and how to get around the bootloader and how to enable LTE bands on the phone. For the last step of making it truly a T-Mobile phone I tried inserting a T-Mobile SIM and unlocking the device. I called AT&T and got the unlock code but it won't work. I tried a few codes before that, thinking that it'd be my pin or last 4 of my social or whatever (stupid in hindsight). I've called back twice and the IMEI number I gave them was right and the unlock code they gave me was also correct. The last time I called back they said that if you enter the wrong Unlock code more than 5 times it permanently locks the phone to AT&T. I googled that but didn't come up with anything about that. The phone doesn't display anything about a "freeze" or anything, it simply shows an unlock/dismiss option when I put in a non AT&T SIM card. It works fine with an AT&T sim, I can make calls and send texts and browse the web, but when I insert the T-Mobile SIM I want to use it still asks for the unlock code. I've looked online and around this forum for hours and cannot find ANY method to get this thing unlocked. Any help?
Thanks in advance for your time...
What they are saying if you get the code wrong 5 times, it locks the phone permanently for ATT only. And I would call back to Att and say you are still having issues with the code, your in the system now with them, make them work. Get Em! My wife loves this kinda stuff, she is ruthless.
Really?
TheAxman said:
What they are saying if you get the code wrong 5 times, it locks the phone permanently for ATT only.
Click to expand...
Click to collapse
Wow....is that true? And is there absolutely no way around that?
hoodlum54 said:
Wow....is that true? And is there absolutely no way around that?
Click to expand...
Click to collapse
There probably is a way, but I would stay on them, I will look around and see if there is some info for you, and post it here.
Thank you
TheAxman said:
There probably is a way, but I would stay on them, I will look around and see if there is some info for you, and post it here.
Click to expand...
Click to collapse
Thank you so much...when the rep told me that, my heart sank...
hoodlum54 said:
Thank you so much...when the rep told me that, my heart sank...
Click to expand...
Click to collapse
i got hardware boxes that unlock samsung phones..pm maybe i can help you.
Hey there, first time poster , long time user of this site. I started using this site about four years ago when I needed help modifying a HTC one V, and from there on out I haven't been able to stop modding and rooting. This site has been so helpful, you have no idea
To date I haven't had many issues with the unlocking of boot loaders and rooting, installing roms and also network unlocking.....Until today.
I am currently trying to network unlock a Samsung s5 neo. I did indeed buy the unlock code from Koodo (the original service provider). However (heres where its going to get weird), no matter how many times I try putting the darn code in, it plain well just refuses to take it. I can sit here all day and nadda a thing will happen.. IN FACT I thought after 10 times it would hard lock its self, resulting in me having to buy a unfreeze code. But nupe.
I'v used 3 different sim cards to try to get this phone unlocked but nothing, Bell Mobility from my LG G5 phone, A PC mobile sim and a Eastlink sim (By the way I'm from Canada)
I tried flashing (odin) with koodo OEM roms, from the first one which i think was 5.1 up to 6.** not sure where it left off. Even went as far as flashing with Telus rom, as koodo is the sister of Telus, and still it sits there pretty much laughing at me.
Factory reset from both with in the OS and the recovery menu, used every code for the phone dialer and half refuse to work. Installed shortcut master (Yes I'm rooted) and keeps saying locked. Also been trying to sim unlock both unrooted and rooted.
I'm completely mind blowen, i even said what the heck and bought a code off line for kicks and sure enough as soon as it showed up in my inbox, same EXACT code Koodo gave me. So we know the code is right.
Any help would be great as I'm at a complete lost. this is the first phone iv had , i'v ever had this much troubles unlocking. OH and if it helps "KNOX" is disabled
P.S I have no idea if i posted this in the right forum , sorry if i didn't.
Thanks