[Verizon Samsung Galaxy S 4] xdaahmedaiwy:
This script unlocked the note 4 ,S5 ,and more..the devoloper says if you want to use it on other Samsung devices...read below...

ELF(*4ѕV4 ( 444ЯЯхх``.`.░┤ђђ.ђ.**QтtdRтtd``.`.аа/system/bin/linker

!',18?GMSZ`gnt{ЂєІњЮцф»Хй─2ы*╦2ы*О2ы*__libc_init__cxa_atexitmemsetioctlopenreadsscanfprintfputcharclosefopenfwritefreadfclosefilenofsynccallocfseekfreeputsstrstrstrcasecmpfflushscanf__sFgetuidmemcmpreboot_edata__bss_start_endlibc.solibdl.so 

  

p/t/x/|/ђ/ё/ћ/ў/ю/а/ц/е/г/░/┤/	И/

╝/ └/ ─/

╚/╠/л/н/п/▄/Я/С/У/В/*/З/Э/Ч/Я-тЯЪтЯЈЯ*Йтї)кЈР╩їРїщ╝ткЈР╩їРёщ╝ткЈР╩їР|щ╝ткЈР╩їРtщ╝ткЈР╩їРlщ╝ткЈР╩їРdщ╝ткЈР╩їР\щ╝ткЈР╩їРTщ╝ткЈР╩їРLщ╝ткЈР╩їРDщ╝ткЈР╩їР<щ╝ткЈР╩їР4щ╝ткЈР╩їР,щ╝ткЈР╩їР$щ╝ткЈР╩їРщ╝ткЈР╩їРщ╝ткЈР╩їР щ╝ткЈР╩їРщ╝ткЈР╩їРЧЭ╝ткЈР╩їРЗЭ╝ткЈР╩їРВЭ╝ткЈР╩їРСЭ╝ткЈР╩їР▄Э╝ткЈР╩їРнЭ╝ткЈР╩їР╠Э╝ткЈР╩їР─Э╝ткЈР╩їР╝Э╝т@-ж0аслMР0Їт0Їт0Їт 0ЇтЬ**вPс

0ЪтЈЯ┌**влЇРђйУ┤вPсЪтЈЯм**вШ**ЖвPс

арЮвPс&║

арыв0ПтSс

пЪтЈЯ┬**вТ**Ж╠ЪтЈЯЙ**в─ЪтЈЯ╗**в▀**ЖИЪт

арЈЯЂР аск**вPс

юЪтЈЯ»**в╣вPс ѕЪтЈЯЕ**вђЪтЈЯд**вxЪт╣**в╚**ЖpЪтЈЯа**в─**ЖdЪтЈЯю**в└**ЖXЪтЈЯў**ввPсш**DЪтЈЯњ**в(ЪтЦ**в┤**ЖѕСЭ'pї└▄■!C╠л╠ЯPс@-жђй0*/рђйУ\└ЪтH-жX Ът░ЇРлMР └ЈЯL0Ът юуHЪт тD Ът0юу0 т<0Ътюу  т юу тІР юуас0KР,**влKРѕйУ|&У***В*******З***Э***ар Ът Ът ЈЯЈЯ!**Жљ(X***p@-жHлMРPар`ар

арасH ас**вBасЯас>└ас0асар

арЪт PЇт4@ЇтЯЇт└Їт 0Їт**вHлЇРpђйУ│H└@-жар@арЪтР**варЪт▀**вар Ът@йУ█**ЖВbг№P№Ь╠я*@-жPар└Ът@ас$лMРарЈЯ@Їт@Їт@Їт @Їт@Їт@Їт@Їт@Їты■*вPс║

ар ас№■*в

@ар PсlpЪт `ЇРpЈЯар арар@ёРу■*вTрPЁРэ**ас$лЇР*ђйУ8ЪтарЈЯО■*вPст**ф$ЪтарЈЯЛ■*вPс▀**╩Яс№**Жd░8p@-жHлMРPар`ар

арасH ас╗■*в@ас0асхЯас└асар

арRас$Ът@`Їт4PЇт0Їт(0Їт@Їт ЯЇт$└Їт«■*вHлЇРpђйУ│H└лт@Рoраар*/рp@-жPар4Ът4`ЪтЈЯг■*в@EР`ЈЯPЁРЗтард■*вTрЩ**

асp@йУц■*Ж░─@-жаслMРњ■*в@PР	┌,Ът

арі■*варџ■*вл═р0љр

лЇРђйУаслЇРђйУrђ*@-жпMРлMРас(ас

арu■*вЪтЪтЈЯЈЯѕ■*в

PарpPР3

УЪтУЪтЈЯЈЯђ■*в`PРJа,Ж~■*вPс

@TР

ас ас0арарx■*вас ас0арPсар№**арs■*варq■*вЯспЇРлЇР*ђйУарk■*варi■*вЯспЇРлЇР*ђйУарf■*вh■*вар`■*вар^■*варпЇРлЇР*ђйУЯсу**ЖарV■*вЯсс**Ж(8 00љтSсљт8@Р!Sсі(ђР*/рЯс*/рЯс*/рp@-жTAЪт@ЈЯарї**вPс2

асC■*вPPРG

0ЪтарЈЯ+■*в@PР<

ар(ас ас0ар*■*вPс+

0ЋтSсЯ

ар ас0■*в`PР▄ЪтасЈЯ ас0ар■*вPс

ар■*в■*вар■*вUс

ар ■*варpђйУЋт8AР!Sс(ЂњЯЃр**Ж|Ът`ЯсЈЯ■*вЬ**ЖlЪт`ЯсЈЯ■*вС**Ж\Ът`ЯсЈЯ

■*в▀**ЖLЪт`ЯсЈЯ■*в┌**Ж<Ът`ЯсЈЯ■*в▄**Ж,Ът`ЯсЈЯ■§*в┘**Ж ▄Я!Tгђљ@╚Ътp@-жЈЯ╠§*в╝PЪт╝`ЪтPЈЯLЁР`ЈЯ!^ЁРнСар├§*вTрЩ**

ас┬§*вљЪтасЈЯ▓§*вPPР║ъ■*в@PРpЪтарЈЯЂРя■*в@PРарpђйУPЪтарЈЯЕ§*варpђйУ<ЪтарЈЯБ§*варpђйУ(ЪтЈЯ┬§*варpђйУhл 8x ╠8@-ж

асасФ§*вPPР

XЪтXЪтЈЯЈЯњ§*в*асас0арарЊ§*в8ЪтарЈЯД§*в@араръ§*вар8ђйУЪтЈЯю§*вар8ђйУп`└t┤Ът@-жЈЯњ§*вр■*вpс@ар

Pс	љЪтЈЯЅ§*вѕЪтЈЯ0**в@PР арђйУpЪтЈЯ§*вhЪтЈЯ|§*в`ЪтЈЯy§*вв**ЖTЪтарЈЯP§*варђйУ@ЪтЈЯo§*в8ЪтЈЯl§*в0ЪтЈЯi§*варђйУђP8Уг ,Tl*O-ж╚PЪт лMР0ас0Їт0═тИљЪтU§*в┤ђЪтPЪу░pЪт░`Ът░аЪт	љЈЯђЈЯpЈЯ`ЈЯ

аЈЯTPЁР

@арЖM§*в░PР

ар

C§*варJ§*в	ар?§*варF§*варарF§*варар=§*варPсарЖ**ар:§*в░ас ар лЇР*ЈйУар4§*в ар лЇР*ЈйУВцг░░░(Ът@-жЈЯ§*вЪтЪуTђР#§*вЪт@йУЈЯИ**Ж╝Android/sys/devices/msm_sdcc.1/mmc_host/mmc0/mmc0:0001/cid/sys/devices/platform/msm_sdcc.1/mmc_host/mmc0/mmc0:0001/cid/sys/class/mmc_host/mmc0/mmc0:0001/cid%2hhx[+] CID at boot time is/was: %02x/dev/block/mmcblk0r/dev/block/mmcblk1r+/dev/block/platform/msm_sdcc.1/by-name/aboot[-] couldn't stat aboot partition[-] out of memory, wtf?[-] couldn't open aboot[-] can't read aboot[-] fseek[-] really bad time to fail. Don't reboot, try again[+] programming new CID [-] wtf[-] cid_backdoor failed %d

[-] program_cid failed %d

[-] wtf, can't get 4k???/proc/cmdlineamsung[+] backing up loaders, this will take a few minutes[-] you MUST have a 1GB or greater sd card inserted[-] 4GB or greater is recommended[-] do NOT patch this out of code![-] something went wrong backing up loaders[-] figure it out[+] loaders successfully backed up[-] dev sig fail, error %d

(Yes/No)%03syesnoType "Yes" or "No"

============================== samdunk unlock 0.0.1 ==============================

this application comes with NO WARRANTY (express or implied)

this binary may not be rehosted, repackaged, one-clicked, etc.

there is no support provided for this application

this application has been tested on the Verizon Galaxy S5 only

it may work on the AT&T Galaxy S5, and possibly other similar Galaxy devices

there are no compatibility checks, do your research first

if run on an incompatible phone, it will likely permanently ruin the device

we STRONGLY advise against running any binary not obtained from the official source

official source is available at http://github.com/beaups/SamsungCID

SD card is required, all data on the SD card will be destroyed

changing to this developer CID may have other implications

the psn derived from the CID may be used for critical services

changing this psn may cause unexpected behavior or loss of services

continue at your own risk, you've been warned

aboot dev signature research credit to ryanbg

http://xdaforums.com/member.php?u=766721

eMMC vulnerability, exploit, and the code you are running by beaups (sean beaupre)

http://xdaforums.com/member.php?u=711482

Do you understand the implications of these warnings?

[-] you must be root to use this[-] sorry you can't agree to the terms :([-] this is for (some) Samsung devices only[-] it WILL kill other devices. go back to google[-] can't get current CID, find it and fix the code[-] don't try this on non-samsung eMMC, seriously.[+] device not yet dev CID, now changing to dev CID[+] success! powering off device, power back on and verify CID[+] then run this binary again to finish the process[-] fail[+] dev CID matching, proceding to unlock[+] success! powering off device, hopefully its not bricked!****************ѕ/пС0Щ**o( (

ь▄С`.h. x.!ч**ox.h.`.p.DВВВВВВВВВВВВВВВВВВВВВВВВВВВ┬ FoТrЭ├Ћу═Г2сЧ╗ђ║╔ДzЇ_*Ѓћь\вVu>ЖДЄй*

Pzpi7ЃрщПЩ,Ч│ЖЧЭzoТsu*(Й▄#╣╔Ї▀t,я╚K

,ѓ*А,)Фщцm┐бС'zOю▀Њ!7x9╣p*Рао└g─ }

{/љжP╩¤ф'.y╝ЇЌхв^ЮўЩ

цmф▓а^їІр"C╣4еD,A0єr▀Ы╔{┌_]и}С)Д«sІq┐ѓlNЊZнСЅњЅU,ьЁV|6Џх7@*││зъ»┬Ж2┐╔JЮ¤ђън:ГќsOldЃ└)ЈW\

X УЅSA§'N╩R218MAe~TЧGCC: (GNU) 4.8GCC: (GNU) 4.9 20140827 (prerelease)7С┐intЕн7XТІСЭ/¤.lR Ca7┼"lYbЎГЬ┼87┌H%ЄYб█ы9)┤╦*РЫ_╩і┐"<ЩИK@DL@юM%EpTl@	_pm@	_rn%	_wo%vtL JuL	_bfwmx%╔{Э|O ┤}n$я~Ї(Йи,Шѓ0	_upё@8	_urЁ%<*ѕй@▒Ѕ═C	_lbїDKЈ%LѕљP

%O Э@

%n Э Н %U

Ї Э  %t

%г Э г %▓ █Њ

E═ћ

EПћиЉF

█ЭћљH	Гч %о%~	arg~ Г+7 )7$ќ7(>7,Г70}74Е78P~</ Ѕ@

~йћ (7є87e97╝:7Љ;7 i<7c=

7"ћт─%_buf─Эi─%░┼7nк_йШє%ЂcidєН8A%ї	`юargA7fdA%,retB%XLCЭЉег	┬ЗRHQ0P}Я	▀R}QђТбѓ|PvўQ%В	<юЏfdQ%wretR%

ЂeQtPВ┼▒§~

ЂђQtP

P№

ЂQзPP Ь╠я \%(

Яю_cid\Н╣fd_%*i_%$buf`УЉHh

ЩQt|

R Q}е

4:RuQwPt~л

ЩNQtУ

ЩQts% lюЫfds%acidsНўrett%PLuЭЉе( ┬лRHQ0P}h ▀R}QђТбѓ|PзPet юu─ѕІѕ LюmcidІНтiї% а PИ P]Pv╠ fP:ќ%н Pю*!OќгhfdЌ%ЅfzўsЉpС Щ╩Q2PзPЭ ▀ЬR}QЫцљђxPt PtЦА%$ 4юl	retб%iб%infБl	Д"Бl	█iц7bufЦr	ЉУ*{@ ┬ЁR@<$Q0P} T ћ t ћ ѕ «г ┘кSwR1Q@<$Pu╠ §┌Pwн §ЬPvВ §	PwЗ §	Pv

*	Pv 

(

§G	Pw

§[	Pv@

§PwП

█Ѓ	#ћ**"X

4ю╣	2;$=Q%Hu%S;Лл%ї

ёюЂ sigлЭ»retЛ%л░Л%fмl	1bufМНЄ"iн,П&outё'"В

ыl

(=2ч)%H/%Sча

mђ

Pt░

=Њ

Q1╚

ћД

PtС

┘╠

StR1Q(PuWт

R0Pt(« StR1Q

8 Pt <(D§6 PtTvJ Pu ёЄ ўЄ гЄ └Є нЄ УЄ*x%*юe +fd%N+ret%ѓ+i%╠ PDPт PvTfЭ P:dЩ Q2p Puї_3 PuгPG Qt─P[ Qt пЄ*,%ѕю"

+f-l	-+buf.НK+ret/%=К Q1P

 ,ћ@┘* R

Q1PuPа

Pu\v

Pu pЄ*э>%ѕСю╗

+ret?%Ю ўЄ ю* ╝Є ╚╣	СЄ *Є ЧЄPЪ

Qt $Є 0Є <Є*{T%lВю╗,0Tг§-V╗ЉPїЄ	PзP ─║нЄ&Pz▄н:PuСЄNPyВнbPuЭж|QtPx║ќQwPtнфPu4нPu

█╦ћ*иp%X<ю hЄ xн.ѕ╗

/TЅDўюc,БЅ%,еЅc?0retі%0cidІi-бїiЉh d* xЄ ё╦ ўЄ аe ░ЏЪP}└│P} пЄ УЄ ЗЄ

уR@P} $Є (Ђ <Є HЄP)"P ▄■!C `Є pЄ ђЄ ё"

ўЄа)P ▄■!Cг

█yћ

Пё12┘ћy3юi2

█▒#ћ*3Ла04\Э▀ Э % ћ5в	ќ%Щ % %65F

I% г %65A	Ѕ4 % Э ,7ф%P г г65=э%f г68u ║% %5ч	Ё%ћ %5Юсl	« г г5▀№,м м , , l	п95У,§ Э , , l	5)П% l	7├>%( l	51	ў%= %5┬ ЭW , ,5Vь%v l	Г %:╩ !Є Э8 ц%а г5t

@Н║ г г5Ї

<%н г г57Я%ж l	5я■%* г6;	Mь5

)%) м м ,<i,% %% U$ > : ; I$ >  I  : ; 

: ; I8

: ; I8

'I I &I

I!I/ .?: ; 'I : ; I: ; I4: ; I.?: ; 'I@ЌB: ; I4: ; I4: ; IЅѓ1іѓЉBЅѓ14: ; IЅѓЋB14: ; I.1@ЌB1.?: ; '@ЌB Ѕѓ1!: ; I"4: ; I#!I/$1%41&

: ;'1RUX Y (1) U*.?: ;'I@ЌB+4: ;I,: ;I-4: ;I.ЅѓЋB1/.?: ;'@ЌB04: ;I1!24: ; I?<34: ; I?4.?'I4<5.?: ; 'I<67.?: ;'I<8.?: ; n'I<9&:.?: ; '<;.?: ; 'I<<.?: ; 'I<ї	а	Pа	У	UУ	В	зPЪї	ц	Qц	У	VУ	В	зQЪї	Я	0ЪЯ	В	PВ	Ч	PЧ	*	Q*	

T



Q

(

зPЪ(

4

P4

ћ

Uћ

└

зPЪ└

 Uh

{

P└

─

Pл

▄

PУ

*

Pћ

е

uзPЪе

░

uзP#Ъ░

И

uзPЪ  P D UD g Pg t зPЪ Q p Vp t зQЪt x Px ѕ зPЪѕ ћ Pћ г Uг ╚ uqЪ╚ н зPЪа г 0Ъг ░ tu#Ъ░ И tu#ЪИ ╚ tu#Ън с Pс $ зPЪС э Pэ TT d Pd 0

W0

4

P4

X

Wt ё Pё Є SЄ ─ V─ ╦ S╦ п VС 0

V8

<

P<

X

VX

h

Ph

|

зPЪ|

ђ

Pђ

ї

зPЪh

x

Px

|

pXЪё

ѕ

Pѕ

ї

sђђ<Ъї

ю

Pю

зPЪ0DVёѕ	*Ъўю	*Ъг░	*Ъ└─	*Ънп	*ЪУ	*Ъ╚

н

Pн

DT\tTѕ─T─╚P╚нTнп0Ъ░

└

P└

DU\tUѕпUп▄P▄УUУ0Ъа

»

PtxPВ

0U\tUѕюU░─U`lQltudoPo╠U╠лPлUpђPђїTїаPа┤T┤ИPИ╠T 80Ъ8<	t2Ъ<D

2 t"ЪDt	t2Ъ╠	t2Ъ8<P<?SPdUdhPhѕUTXPXdTц░P░╚T╚▄P▄TPTPlTlІPІXзPЪDcPc▄зPЪDcQc▄зQЪ$ї		DўВ

Ч

\tї	ћD▄ч

/home/ryan/Downloads/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9/include/home/ryan/Downloads/ndk/platforms/android-21/arch-arm/usr/include/home/ryan/Downloads/ndk/platforms/android-21/arch-arm/usr/include/asm-generic/home/ryan/Downloads/ndk/platforms/android-21/arch-arm/usr/include/sysunlock_n4.cstddef.hstdint.hint-ll64.hposix_types.htypes.hstdio.hioctl.hunistd.hfcntl.hmalloc.h<built-in>string.hreboot.hї	└JLё//00c+//001i1+1KgM+ѕO-*3Iз/Q╝ыj/tJЃKЃJ

║JLє-1/2wJ	.,y./3*0/21i/Ё.10,hЮM/-j1+1/KgKgF2ijёю1LЪ ѓzfKБa3)/KK

.vfKK6bJ/KK/gfNK║g/gGL014ЃPKPЃP^оJ./.цЩJ/LKLЙJ/K-

J/-!f/-Lq./-L./-Le./-yf/-0t+1hыMLЃO/OЪN/v.ЃOЃsJg<3gNЪI/KЪK/x.g

║+1K/-/4Ogghx.ggєt║ggg

t2*0j,2L33r.0033s.nO)3/qJKKhk)3)/K

.wf	J#-/fg/-

Dѕ1+1ёg3fQJgg1lЄLggr.gg.зggggKo.g.g2ggg"getuidresponse__builtin_putsprogram_cidflagsfsyncfflushpostsleep_min_usblockdevunsigned intversion_lbfsize_flagsdata_timeout_nsstrcasecmpcid_backdoorbackup_loaders_readputcharcalloc_cookiewrite_dev_signaturefind_signature_offsetwrite_flagnearly_useless_compat_checkfpos_tblkszdata_ptrmmc_movi_vendor_cmdidatalong long unsigned intreboot__sFILEprogram_dev_cid_offsetmmc_ioc_cmddev_cidputssize_toffsetprompt_userfilenofree__uint64_t__kernel_ssize_tioctlchar_extcloseopcodessize_t__u32_closeioc_blockdev_sizelong long intprintf_base_file__padfseekmemsetdunnosizeheader__builtin_putchar__kernel_off_tblocksfopenargcargvpostsleep_max_us_write__u64uid_tdev_sig__sFscanfshort intlong intdo_dev_loadersfreadget_cidoutfmemcmpuint64_tfclosequestion__uid_treadopen_blksizemainsizetypelong unsigned intstrstrquery_usertypeunsigned char__kernel_long_tcmd_timeout_ms__sbuf/home/ryan/Downloads/SamsungCIDfwritesigned charoff_tshort unsigned intimg_headerGNU C 4.9 20140827 (prerelease) -mbionic -march=armv5te -mfloat-abi=soft -mfpu=vfp -mtls-dialect=gnu -g -O2 -fPIEshow_cidmemaddress_sizeold_cidsscanf_nbufFILEwhoknows__kernel_uid32_tis_acmd_seekunlock_n4.c_ubufis_samsung_emmc ****|

ї	`BёЁєјBXhВ	<BёјT╬─$(

ЯBёЁєЄјH8@

B  lBёЁєјBXn t  ѕ LBёЁєј^╬к┼─ н PBёјDX

B D8$ 4BёЁєЄјBћђBўђX

B N

B T

B X

4ї

ёBёЁєј*DёЁєјѕBЃёЁјѕСDёј0lВB$ё	ЁєЄѕЅіІјD0X

$B H$X<DЃјP╬├DўBёјDV

B 	GNUgold 1.11A*aeabi 5TE	

ы*▄T	l	ё	`. h. 2x.

p. ы*ћ	%ћ	,ы*ї	У	В	

(

Э

 p t ╠ н  $ H

X

ВЯxѕDl@XѕDц0г

8▄Q*|Xl	_2lђ.*uѕ/ВІЌx.

Еh. И`. Кp. НDў┌уї	`чВ	<(

Я"'. l:t Jѕ LSZbн Ptz$ 4ЅЈќюБф░X

4кї

ё┌руВы*ѕ$ѕС3lВ>IPV[X<gnu|0ё2ї2ы*Њ2ы*Ъ2ы*crtbegin_dynamic.c$a$dcrtbrand.cabitagunlock_n4.c__atexit_handler_wrapper_startatexit__dso_handle_DYNAMIC_GLOBAL_OFFSET_TABLE___libc_init__PREINIT_ARRAY____INIT_ARRAY____FINI_ARRAY____CTOR_LIST__main__cxa_atexitmmc_movi_vendor_cmdmemsetioctlcid_backdoorget_cidopenreadsscanfprogram_cidis_samsung_emmcshow_cidprintfputcharioc_blockdev_sizeclosebackup_loadersfopenfwritefreadfclosefilenofsyncfind_signature_offsetwrite_dev_signaturecallocfseekfreeputsprogram_dev_cidnearly_useless_compat_checkstrstrdo_dev_loadersquery_userstrcasecmpfflushscanf__sFprompt_usergetuidmemcmprebootdev_sigdev_cid_edata__bss_start_end.preinit_array.init_array.fini_array.debug_abbrev.text.got.comment.note.android.ident.rel.plt.bss.ARM.attributes.debug_aranges.debug_ranges.dynstr.debug_str.interp.debug_info.rel.dyn.note.gnu.gold-version.dynsym.hash.debug_line.debug_frame.debug_loc.dynamic.shstrtab.strtab.symtab.rodata.dataгЯ ((Ў((ьУ╠└	СС0^	пbВВX6DDP Jћћ52гг	`.`h.hx.xђ.ђ*<p/pљ=0 g2"A0"5┤E";(ђ5SМ8`|3@(І[@0ЬІ@А0ЊDЩюI╔ИKlpнK+-Lа5%аRцDUC