yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Mega] shazzl:
Did u make a backup via rwm recovery... if yes do a recovery.... if no go back to CML4...then if you want full root solutions send me your boot.img I will make it to premisive
[Samsung Galaxy Mega] geniusrehan:
I successfully installed CML4 ... Can you please guide me now how to root? Please consider me noob.
[Samsung Galaxy Mega] shazzl:
If you want root only just read this thert before this...I have post it before this....but you will not get the full root.. because samsung have update their kernel to security. . After a while you will fine the root.apk will be remove by the system..

If you want full root

Send me your boot.img

How to get this...

1. Extret CML4..

2. You will get .....CML4.tar.md5

3. Rename it to .....CML4.tar delete .md5

4. Extret CML4 you will fine the boot.img inside it..

Send it to me I will make the the stock kernel with auto root kernel and set SELinux status to premisive. . You then do as usual....
[Samsung Galaxy Mega] kairi_zeroblade:
can anyone orient me on how the mega works?? i'd love to build kernels for this device as Samsung released the source but it seems no one did that..for that reason i would love to be oriented so i can start the project..

edit:

am not familiar with knox bootloader that i have been seeing around as i have read here..well unlike the S4 and LG units that have Loki this sounds new to me(Knox)..

also if there's a soul thats kind enough to dump me a boot.img i can study so that development can start..TIA.. :D
[Samsung Galaxy Mega] geniusrehan:
This is my "boot.img" file ... Thank you for your help ...
[Samsung Galaxy Mega] ValenteL:
On Terminal Emulator type:

su

setenforce 0

This work on I9205, confirmed, but only to next reboot.

For together we must create a script to start at each boot.
[Samsung Galaxy Mega] shazzl:
but this will only set for system only.

try to install a root apps exe. mount point this app will uninstall by the system...

The selinux Security system check

sd card

system fail

data file..

itry this scribe

#!/system/bin/sh

#

# ADDITIONAL_DEFAULT_PROPERTIES

#

persist.security.ams.enforcing=1

ro.secure=1

ro.allow.mock.location=0

ro.debuggable=0

ro.adb.secure=1

persist.sys.usb.config=mtp

androidboot.selinux=0

setenforce=0

ro.boot.selinux=0

selinux.reload_policy=0

persist.sys.drs.enforce=0

there is no hope

to get init.d try this
[Samsung Galaxy Mega] megalomanic14:
The way I get selinux to stick to permissive is by doing similar mods to the build Prop and to the feature.xml. otherwise it reverts back on root request or randomly on boots. I haven't had much time to delve into as I've been finishing the v2 rom update, but I'll take a look into the new stock update sometime over this weekend and see what I can do.

Mega
[Samsung Galaxy Mega] geniusrehan:
Guys i have successfully rooted I9205XXUCNA2 rom by the method mentioned in OP.

Super SU 1.89 works great for me.
[Samsung Galaxy Mega] megalomanic14:
You should post your method...and if it stuck on reboot...or stuck when granting root access. I didnt even know there was a 1.89 as the furthest update ive seen is 1.86...reboot and granting are usually when root gets revoked. Thanks man...I've posted a method and files in dev forums for downgrading back to mj2 for those who don't wanna deal with Knox kernel fuse or selinux...so they can flash roms and kernels again.

Mega
[Samsung Galaxy Mega] geniusrehan:
I followed the same procedure as mentioned in OP... and it didnt stuck on Samsung logo ....

Before when I flashed this rom over MJ2 rom only then it stuck on samsung logo.. Then I did factory reset from Samsung recovery and it worked fine ...

I am not sure from where I downloaded super su 1.89 .... But I attached this file for you ... in case you need it ..
[Samsung Galaxy Mega] megalomanic14:
Gen I appreciate it...there's a new super su that just came out 1.91 you should update to. What I was asking for you to post was...typically when we post a method or successful root for new updates or bootloader we include the method used...just a heads up for the future..what I meant by stuck on boot and granting access wasn't did your mega freeze...I meant did root stay after you rebooted your mega meaning you didn't have to re root...and did it stay after granting root access to certain apps?? I asked for your method cuz a ton of people have been messaging me asking if I'll look at the new build for my next rom or if I'll put together a root package for the new build because older methods either fail, get lost after reboot or break wifi. I'm just finishing up a few new roms tonight and will look into the new root this week at least there's one method that's somewhat successful for some people out now. Thanks man take it easy

Mega
[Samsung Galaxy Mega] geniusrehan:
Its giving access to certain apps such as Xposed installer, Titanium backup, wanam exposed etc... without any problem ... And I can able to click on Super Su app and its opening fine ... I can understand what u are trying to say because i faced this problem with earlier version of Super su .. but not with 1.89 ... Also in root checker basic app... its showing the status "Successfully rooted" .. and i am already using root apps such as xposed installer and titanium backup etc without any problem ..
[Samsung Galaxy Mega] megalomanic14:
Ok awesome dude glad it's working for you...it's weird it's like certain Super su versions or coming from certain previous builds won't root or break wifi...not to mention having to deal with the Knox kernel fuse in the bootloader that will brick the mega if attempting to flash a new kernel...those updates have been a nightmare...bummer that they didn't actually update or include anything new or cool for us as a trade off. ..they're identical to mj2 except Knox, selinux, kernel fuse and warranty flash....thanks for putting out the info gives me a little better place to start with when I build the root kit and try to figure out how to get my kkernel in building to flash without bricking.

Mega
[Samsung Galaxy Mega] geniusrehan:
Thanks for your contribution for mega.. we are here to test anything :)
[Samsung Galaxy Mega] megalomanic14:
Lol for sure man...Thanks for all the info it'll Def help me out and save me a bunch of time. Take it easy man.

Mega
[Samsung Galaxy Mega] luke k:
Can someone with ML1 test saferoot rooting method:

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

"This exploit will NOT set the Knox Warranty Void flag"

I succesfully rooted MJ2 with this method and have official status :)
[Samsung Galaxy Mega] ValenteL:
To remeber today 21.01.2014
[Samsung Galaxy Mega] MarcosNK:
How can I change CSC from XEO to TPH? I use csc changer app, it chagens to TPH but after sometime goes back to

xeo.

And can someone provide a mirror link to download the new TPH rom? With

terafile my download doesn't last until 100%
[Samsung Galaxy Mega] kairi_zeroblade:
[MENTION=4232254]ValenteL[/MENTION]

are you running stock Touchwiz ROM??can you help me do some testing for a custom kernel project??anyone who wants to volunteer can send me a pm..make sure you are familiar with adb commands yet knows how to dump phone logs..

TIA.. :D
[Samsung Galaxy Mega] ValenteL:
I flashed the ML1 and NA2 Rom's but before I wiped all data+cache+dalvik and formated system on mount and storage from Custom Recovery.

And whit the recovery on screen I forced Download Mode and flashed the Rom. To have a good CSC we must make a clean install Rom.

At first boot I choice Portuguese like my language and the configuration was to our Country, csc TPH included, automatically it was changed, I stay alright. Not need to make changes after.

After flash Rom You must have TPH on /efs/imei/mps_code.dat . If not, not good. Before flash I had TPH here already.

I have here the ML1 Rom: https://meocloud.pt/link/31cdd887-de0f-4b8a-b48a-5d7de9a35052/I9205XXUCML1_I9205OXXCML2_TPH.zip/

Here the NA2 Rom: https://meocloud.pt/link/4eb933ae-c409-44ea-aa72-67bd7d7bb24f/I9205XXUCNA2_I9205OXXCML4_TPH.zip/
[Samsung Galaxy Mega] ValenteL:
Sorry I can't. I unknown Linux and not known adb commands. And I have no time free to Your tests.

I make all whit Windows/Pc using tools to make that automatically.
[Samsung Galaxy Mega] Traine:
With this new boot loader with root, are you able to flash any AOSP roms?
[Samsung Galaxy Mega] ValenteL:
I don't know. I only flash stock Rom's.

Installed already many CM's, AOSP, AOKP, Kang but I'm tired from them. Now only stock.
[Samsung Galaxy Mega] shazzl:
[MENTION=4232254]ValenteL[/MENTION] what change have samsung impliment...
[Samsung Galaxy Mega] jojox1:
Hi everybody,

I will contact to get help in the rootage of the Samsung i9205.

I install the rom XEH-I9205XXUCNA2-20140122095602 (i'm french & i have take this rom for benefics option 4g because in french the last rom dont work for 4g)

I then try the rootage with different solutions but I had bugs when reboot (wifi bug, bug play store, bug to copy such files on my sd card or via my usb ...)

I want to know if someone can tell me the exact method for rooter and if possible post me the links of one I need.

Thank you for your attention and I hope finally the rooter.

thank you
[Samsung Galaxy Mega] ValenteL:
Like in OP Post #1 for me work well.

But before flash the Rom I wipe all data+cache+dalvik and format system on mount and storage whit Customer Recovery.

And whit recovery on screen I force the Download Mode and flash.

Reflash like this and try. Use SuperSU 1.80 for begin to have root.
[Samsung Galaxy Mega] jojox1:
I have retry, is good !!!

I have perfectly root my phone. I have reading post #1. I have use CWM after i have install superus.

For the knox, superus as delete application knox.

So thanks for your help :)

Now, i waiting the new update 4.3 or kitkat :)

Thanks & have a good day
[Samsung Galaxy Mega] ValenteL:
Moi aussi. Merci.;)

I speek also le Français but here only English.

If You want delete all app Knox make like me, see post #4.

Good luck whit Your Mega.:):)
[Samsung Galaxy Mega] jojox1:
Merci encore de ton aide. J'aurais du te demander de me faire un tuto en fr :D

Vivement la mise a jour 4.3 et surtout kitkat.

Passe une bonne journee et je reveindrai surement ici à la peche aux infos lors de la 4.3 et kitkat. :angel:

Bonne journee.

:D:D:D:D:D:D
[Samsung Galaxy Mega] akatsarski:
su binary not found superuser

Hi Valente,

I follow the procedure from post 1 and I sucessfully install the custom recovery. After that I flash the Superuser 1.80 zip also successfully and after I boot into normal and open superuser it says su binary not installed and superuser cannot install them message.

Any idea what I do wrong.

Thanks.
[Samsung Galaxy Mega] shazzl:
You shut set SELunux status to permissive.. to check it setting, more about device if enforcing the security will reject what ever thah will harm the system..it you install exp: mount to sd, after some wile the apk will uninstall by it self...

If you want full root visit this thread Base on CML1 http://xdaforums.com/showthread.php?t=2616166
[Samsung Galaxy Mega] akatsarski:
I am not very experienced in this. Can you please explain in more details? Thanks.
[Samsung Galaxy Mega] ValenteL:
This sometimes arrived also to me. I reboot by recovery, wipe cache+dalvik only and solve that. Tray it and give feedback.
[Samsung Galaxy Mega] Shiki~:
Slightly off-topic, but I enabled 4G on Free mobile with the original French stock rom using
[Samsung Galaxy Mega] shazzl:
Just download the file boot into philz touch recovery, make a backup then select the rom..... u done...

If anything plese report I will try to fix it

[MENTION=4232254]ValenteL[/MENTION] thank to you for bring my fone back to alive.. ;)

1 user report have break his fone his follow the guide but the baseband was difrent the phone doesn't boot stuck at samsung screen. I ask him to download cml1 baseboard now he lost don't no it alive or not....

Custom kernel on the work by kairi_zeroblade
[Samsung Galaxy Mega] akatsarski:
still the same - there is no su binary installed and supersu cannot install it.

I am running i9205XXUCNA2 if this matters
[Samsung Galaxy Mega] akatsarski:
ValenteL, do you have other suggestions what could be the reason for the root failure?
[Samsung Galaxy Mega] ValenteL:
Sorry for my absence.

Look, this Rom NA2, I had also some difficulty to root. Only on third flash I arrived to it. First I tried SuperSU 1.91, after 1.89, and changed to 1.80, root not work.

I arrived on third instal, a clean instal, after wipe data+cache+dalvik and format system on Recovery. Flash Rom, Flash the recovery and by this only UPDATE-SuperSU1.80. Only whit this I had root.

Make like me, try... try... but only 1.80, forget the UPDATES 1.86, 1,89 and 1.91. Update after by Play Story, not flash this last ones.

I think this versions are prepared to 4.3 and 4.4 have issues on 4.2.2 whit Knox.

BTW, I have one S4 Mini I9195 4.2.2 Knox and had many difficulty to root also at two days ago. Only the UPDATE-1.80 worked well.

I repeat, on 4.2.2 Knox use only 1.80. Make one more clean install and...

Good luck
[Samsung Galaxy Mega] akatsarski:
Wow, this time it worked. Thank you very much for the help. :)
[Samsung Galaxy Mega] ValenteL:
Good. I'm happy by this guide helped You.:)
[Samsung Galaxy Mega] SuleimanI:
Great guide. Thanx
[Samsung Galaxy Mega] stargmc:
Hi shazzl,

Just updated my mega yesterday to I9205ZHUCML4 to notice it's no longer rootable due to knox. Very glad to learn you can help make this stock kernel with auto root and set SELinux to permissive, I attach the boot.img file and appreciate your kind assistance...
[Samsung Galaxy Mega] stargmc:
Also curious about if CML4 implements a higher knox security level than CML3 so on so forth, so I follow the steps on OP is it valid for CML4...
[Samsung Galaxy Mega] hokuto34:
Secure fail kernel

After problem with no wifi on [ROM]i9205CML1[Fully CUSTOM][Knox Free-Root][SELinux permissive], I think I was in the situation of having downgrading my Mega I9205 (install a rom UBMJ2, wich have an update to CNA2, that i try to root and install CWM with no sucess)

So now i have SECURE FAIL KERNEL at boot 'with a blue line before ("recovery..." something like).

I have dowloading the I9205XXUCML1_I9205OXXCML2_TPH stock but I think that dont solve the problem.

So do you think if I flash I9205XXUCNA2_I9205OXXCML4_TPH, downloading done, (for the moment I have only odin mode) I solve my problem, and then I can have root and CWM recovery (to restore eventualy may previous backup UMG7, or only my data) ?

(It is too late for me now to read all the thread, but after some hours to sleep....)

I am have exactly what you describe in post #96

(2 hours later : read all and go to bed 6:42 in the morning)
[Samsung Galaxy Mega] hokuto34:
Hello the world

Good news : with odin I flash CML1 no more SECURE FAIL KERNEL, blue recovery <3e> is ok, wifi is coming back, but no Sytem UI (IU syst force close in loop), problem I had before the secure fail kernel !!!

Some one has an idea please to restore system UI ? Try to root and CWM to do a restore from my backup UAMG7 ???? or more simple ????

Thanks

Problem solved :

http://xdaforums.com/showthread.php?p=49931197, post #94 and more
[Samsung Galaxy Mega] marlikcoc:
hello ValenteL

Is it the software or the way in which the three primary colors red, green and blue high or low on the screen.

Android is there a way to adjust the screen colors
[Samsung Galaxy Mega] ValenteL:
I don't know. I never adjusted screen colors. I use always the initial colors by default. Sorry.
[Samsung Galaxy Mega] manlapasj13@gmail.com:
Can we flash this on an international version of mega? Mine is from the Philippines.. (:
[Samsung Galaxy Mega] sholsten:
Is there any way to make this into an automatic fix for us who can't grasp how to make it work?
[Samsung Galaxy Mega] MarcosNK:
Boas.

Epa eu faço os passos até à parte de flashar o "UPDATE-SuperSU-v1.80.zip" e a partir daí não consigo fazer mais nada até porque nao percebo muito bem o passo seguintes. Não arranjas um tutorial em português?

Cumps
[Samsung Galaxy Mega] ValenteL:
Viva Marcos

Mas é uma boa ideia, ainda não me tinha lembrado disso. Aqui vai ele atrelado. Boa sorte.

Hello

But, it's a good ideia. Not remember that before.

Attached the Portuguese Guide to all Members from Portuguese Language.

Good luck and look the THANKS button.

Um abraço
[Samsung Galaxy Mega] ValenteL:
This is for Mega 6.3" I9205 LTE International version.

But take care, now whit the Knox we can have some problem from region not compatible.

What Rom have You installed Now? Type on Phone *#1234# and may be return. Give me the 3 lines.
[Samsung Galaxy Mega] funghisui:
Thank You!

Hello ValenteL

I really thought i had brick my Mega I9205XXUCNA2.

Then I followed exactly your guide on OP.

Now all works fine! Thank you very very much!
[Samsung Galaxy Mega] ValenteL:
Good news.

You are new here. Welcome to XDA.
[Samsung Galaxy Mega] Beurtmans:
Thanxx after the update on kies i lost root but now i have it back.

Flashed recovery and installed supersu.

But after reboot supersu was nowhere to be found but my file explorer root did work.

So i went to playstore and downloaded the latest version now its back on my screen and all working again.

Thanx for al the work.
[Samsung Galaxy Mega] jojox1:
I desired information.

I have root my samsung mega with the rom XEH-I9205XXUCNA2. Is working perfectly.

One thing, impossible ti update to samsung update he said you have modified your phone.

I have this

ODIN MODE

PRODUCT NAME : GT-9205

CURRENT BINARY : Custom

Knox Kernel Lock 0x0

Know Warranty VOID : 0X1

QUALCOMM SECUREBOOT : ENABLE

BOOTLOADER AP SWREV : 1

So i have question:

Exemple : 22 Februrary samsung have a new rom officiel 4.3

How many update the rom ? To directly Samsung ? Is it possible to change (root) the possibility to update directly to samsung ?

Thanks for your help :good:
[Samsung Galaxy Mega] ValenteL:
I never made that. But in my opinion You can try:

- Create a backup Rom on recovery from NA2 that is working.

- On Custom recovery make full wipe data+cache+dalvik and format System on mount and storage.

- Flash the original Rom XEH-I9205XXUCNA2 by Odin.

- Now, no root, no customer recovery and may be Current Binary : Official. The Rom must have the status Official also, on Settings.

- But the Knox flag is always 0x1.

- Try the update if is available already. (Try it also if the Current Binary continue Custom but the Rom status Official).

For me this was my try. If not good I can make full wipe and restore my backup made before (after new flash of a Customer Recovery).

We wait for 4.3 or 4.4.2. ;):)
[Samsung Galaxy Mega] pikwan80:
So i have question:

Exemple : 22 Februrary samsung have a new rom officiel 4.3

How many update the rom ? To directly Samsung ? Is it possible to change (root) the possibility to update directly to samsung ?

Thanks for your help :good:[/QUOTE]

Answer :

If You using OTA updating then you need to remove super su and flash your original Stock Recovery or you could flash new original ROM

example, You download a 1.3Gb XXUBMJ4 stock firmware, you just need odin to flash this Stock Firmware so everything back to official but knox still 0x1 even knox 0x1 and your firmware said official you still able to obtain OTA update.

Another way if there new 4.3, you just download a 1.3Gb of 4.3 stock firmware and flash it.

---------- Post added at 11:04 PM ---------- Previous post was at 10:58 PM ----------

Hallo ValenteL,

I need some help with my new firmware GT I9200 XXUCNA5 XSE ( Indonesian ), Maybe I'm deep regret for upgrading and now I couldn't back to XXUBMJ4 XSE anymore. This new I9200 XXUCNA5 has a lot of new feature include this FU**ING trapped KNOX Software. Now I don't care if that trigger into 0x1, My problem was when I flash CWM 6.0.3.2 and super su 1.93, My MAPS and YOUTUBE app has stop working ( Force Close ) and always nagging when starts my device, and always say ( MAPS then YOUTUBE ) has stopped, really annoying and I couldn't use those app and now I'm just disable that apps from application manager. Please Tell me if there should be a trick to make those app working again.

Btw it's quite tricky that I have to use root explorer 2.2.11 to move superuser.apk file into system/app. I have follow the I9205 trick

http://xdaforums.com/show....php?t=2574953 and works fine but I couldn't use MAPS and YOUTUBE app.

CWM 6.0.4.7 real awful and terrible recovery so I prefer use 6.0.3.2.

ValenteL, Please I need your advice also a recommended CWM. My preferred CWM was 6.0.3.2

Do I still need to install busybox??? What's the function of BusyBox ?

My note 3 N900 with kitkat only use latest note 3 N900 CWM and super su 1.91 and no problem found.

Thank You so much
[Samsung Galaxy Mega] ValenteL:
Hi [MENTION=5346289]pikwan80[/MENTION]

The Maps and Youtube stop because there are installed on /system/app and there are something about Knox that not permit that work.

Delete them from /system/app, reboot and install it from Play Store. In this case they are installed on /data/app and work well. Solved.

Update the SuperSU also from Play Store and it is installed also on /data/app and work better here.

About the CWM recovery I use now the Phil Touch 6.12.8 from HERE. Try it. For me is good.

Busybox. Yes is need. Install the Sterycson busybox from Play Store. After downloaded touch on icon and install it. You can verify all root whit Root Verifier from Play Store also.

Good luck
[Samsung Galaxy Mega] pikwan80:
Sorry for asking again, What's The function of busybox??? My GT-N8000 using busybox from darkman, My Note 3 N900 kitkat doesn't use busybox but only CWM and Super SU and all root works perfectly.

and What If I download new MAP and YOUTUBE File from GPlay and Move Those APK from data/app into system/app, does the same stopped problem happen again???

Sorry, I want my internal memory as big as I can so I prefer to move factory app from data/app to system/app to save internal storage space.

What's your opinion???

Is that wrong???
[Samsung Galaxy Mega] ValenteL:
For now I unknown explain You the busybox function but it is need installed. All Rom's rooted have it. The Mod UPDATE-SuperSU-1.xx from Chainfire not install that, then we must after install, it is needed. After install the busybox we can see on /system/xbin many function from Rom simlinked to busybox, I think this is important. This functions not work well if not are busyboxed.

The Youtube and Maps for me also not work on /system/app, I unknown why may be because knox, then I install it on /data/app. I not have problem from internal memory space, no issues.

I have not another opinion for You I'm sorry.
[Samsung Galaxy Mega] jojox1:
Ok,

I think i waiting the new rom 4.3 ota. Is possible i dll this rom & after i root this rom ?

Thx
[Samsung Galaxy Mega] trurl3:
Bear in mind so it will be ROM with KNOX, so be carefull if you want to root it... do not be so eager and wait a little to see if it is possible at all... lest you have BRICK with 4.3...
[Samsung Galaxy Mega] jojox1:
56 24482835

I do not understand all grieve I started in the rootage .

I'll explain . I'm in France , I have the opportunity to have the Samsung 4g but have not yet left for this update .

So I hang out on this forum looking for a solution to run 4g here in France .

So I followed the tutorial and made ​​valentel of this rom - XEH I9205XXUCNA2 .

After proper installation , I was able to install lbe security and other apps.

I wanted to see if I could do the ota maj Samsung Message = Can your phone has been changed.

If I understand correctly , you can not go back and put an old rom.

But if Samsung releases version 4.3 then x time after version 4.4 how could I do to install it.

I am newbie in the rootage , so not obvious to understand everything (former iphonien )

Currently works as the nickel after for version 4.3 and 4.4 the I do not know how.

I think is better i see a video tutorial to install rom or maybe a good tutorial.

Besides back here looking for information .

Thx :laugh::laugh::laugh::laugh: