yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Mega] sholsten:
My head is still spinning. So, can I install & run a custom Rom on my phone?
[Samsung Galaxy Mega] megalomanic14:
I have flashed and re flashed this rom several times since it launched but I'm having a weird issue...every time I flash it, root and flash cwm as usual my wifi breaks, and no longer functions. Is anyone else having this issue?

As for those wondering about the efuse and knox warranty counter going from 00 to 01...you should be able to flash custom roms as well as restore older nandroid backups from previous versions. After scouring thru my megas and comparing my i9205 on bmj2 vs my other i9205 mega on the cml1 that it doesn't appear to be locking the bootloader, but flashing a bootloader with the efuse and knox counter. This has been discussed previously in posts, but knox is mostly an enterprise feature meaning that if you have the new bootloader and run the Knox dual boot secure partition app that it would brick your device to stop security breaches of encrypted data.

Basically, from what I can tell from the source code...it appears that the efuse kernel lock only occurs as a part if the encryption stage of the Knox partition if activated on the device. So for those of us just rooting and romming as long as you don't set up the Knox app and encrypted partition, you may void your warranty, but should not trip the bricking feature by fusing the kernel. I'm currently looking thru the code to try and find a way to reset the Knox warranty counter back to 00 but so far every attempt has failed. Everytime I reset the counter to 00 it flashes back to 01 upon boot or reboot. I believe this is due to the one time write way that it is implemented. Anyway let me know if you have any questions or suggestions.

Let me know if anyone else has run into the wifi break after rooting cml1.

Thanks

Mega
[Samsung Galaxy Mega] ValenteL:
I also don't know. For now I only flash Stock Roms. I installed already on some devices, many CM's, Aosp, Aokp, Kang Rom's but I'm tired from them.

You can see the Mega Original Development whit 4 Custom Rom's. Speak with Dev. Silesh.Nair that have 3 and may be he can help You.

Good luck
[Samsung Galaxy Mega] :
[MENTION=5451734]megalomanic14[/MENTION]

It would be great, if you will create new thread and give more information how you temporary reset KNOX counter to 00.

I think a lot of users will be interested with it.

& may be together we may find solution - how to reset KNOX counter to 00 permanently :)
[Samsung Galaxy Mega] sholsten:
I tried to go back to the previous Rom since I can't root this one. It went into a continuous boot loop. I was afraid I'd bricked it. I loaded this new one back on it & all is well again.
[Samsung Galaxy Mega] ValenteL:
Good try. Courageous.

But may be You can flash a Custom Rom by Recovery.
[Samsung Galaxy Mega] sholsten:
I have yet to have a Custom Rom to work on my Mega. So, I'm afraid to say. :confused:
[Samsung Galaxy Mega] Traine:
Is there a way to get the new update without getting knox?
[Samsung Galaxy Mega] Silesh.Nair:
I'am gonna try make a flashable zip without all the knox content and see if it works.

update

This is what I found. If you don't flash the new bootloader

Wifi and root don't work with new kernel

Wifi doesn't work with a older kernel, say MJ2. Root works.
[Samsung Galaxy Mega] megalomanic14:
Cheyenne, no problem...basically I decompiled the rom on my pc, then tore apart the e fuse, selinux, bootloader and recovery script trying to see what variations have occurred between my mega still on bmj2 and my other mega i flashed cml1 on. What I found was a selective set of binaries in tiny partitions of the new bootloader. What im surmising these partitions are for is the warranty counter and the serious kernel lock trip. Essentially once an overwrite script occurs knox does a one time write to the counter partition changing the 0 to a 1 which is what appears as the 0x1 on boot and download screens.

How I could briefly alter these caches binaries back to 00 is by changing the values within these directories to 0, then recompiling the bootloader and recovery scripts then recompiling the rom . tar with the updated alterations and re flashing. This is all fine except once you root and cwm obviously it all starts again. Creating a loop which is similar to what happens when you flash an older stock, say xxumea which brings your device back to factory stock, but once you update your stock with 00 counter on cml1 but trips upon root or flash.

Now to me this isn't a big deal, as it actually has no effect within the source codes, nor does it impact anything the device does, or customizations you wish to make to the device. All it does is signal that you rooted and flashed over the original system. Essentially this is the triangle or flash counter 2.0. The good part is from what I can see in the source the tripped counters, or mini partitions don't seem to link anywhere else in the system, meaning there doesn't seem to be any cascading effect in the system that would say brick your mega or e fuse the kernel...UNLESS...

this is where the big guns come out...If you set up the actual knox enterprise partitions that encrypt data in self contained partitions of the flash storage and then you root or flash custom recovery, you will end up with a paper weight. This is the 2nd long of 00 in the boot and download screen under knox warranty...this is samsung 1024 bit encryption fuse that once tripped will literally partition your kernel in a read only cache partition hard bricking the device. But again this is just fyi as I doubt many people will go down the knox encryption route.

hopefully this clears up some things, and if anyone else has discovered anything else please let me know. Like I said if I can fix my wifi after flashing cwm and rooting the cml1 update, the warranty counter doesn't bother me whatsoever. But for some strange reason my wifi breaks and is unrecoverable upon rooting cml1 and I cannot figure out why, even within the decompiled source code.

take it ease

Mega
[Samsung Galaxy Mega] marlikcoc:
Hi

1.After installing the I9205XXUCML1 WITH KNOX Can we Downgrade to I9205XXUBMJ2 ???????

2.on I9205XXUCML1 WITH KNOX can install custom rom example: Cassie's XtraLiteRom for the Samsung Galaxy Mega LTE I9205
[Samsung Galaxy Mega] ValenteL:
1. May be not. I don't tried it. See Post #42 and #46. I only upgrade my Mega.

2. I don't know. I only install Stock Rom's, not Custom Rom's. I'm Sorry.

If You have a backup Rom from recovery You can make Restore from MJ2.

BTW, why You can downgrade to an older Rom? Make upgrades only, Your Mega thanks You. :):):)
[Samsung Galaxy Mega] marlikcoc:
i have not backup please help me Post #42 and #46 is customrom

sorry

The other way example with odin or .......... to MJ2 or ...Without knox

please addres

thank you
[Samsung Galaxy Mega] ValenteL:
Post #42 is about Stock J2.

You can try, at Your risk and responsibility, (for me no problem, while we can go to Download Mode, no bricks).

Have the two .tar.md5, J2 and L1. Flash the J2 by Odin. (You can unmark F. Reset Time also to have more quick "All threads completed (Succed 1 / failed 0") (Or 0 / 1).

If Odin fail see on Messages place what was last module to flash and make fail and on Mega what is the message.

If Odin flash good and the Mega start, may be bootloop. If is this the case, Power off and enter to stock recovery by Power + Vol-up. On this red recovery make wipe data + cache, reboot. (If You enter to Custom Recovery make the same Full wipe data + cache + dalvik. Reboot.)

If the J2 start and work well, my congratulations.

If not, is because the Knox Bootloader L1 not permit to downgrade to olders bootloader and kernel.

Make Download Mode / Odin and flash the new Rom ML1. Forget the L2.

In future make only upgrades not downgrades.

Good luck
[Samsung Galaxy Mega] marlikcoc:
thankyou very very much my friend plese:download link for :

tar.md5, J2 and L1
[Samsung Galaxy Mega] ValenteL:
Here http://www.sammobile.com/firmwares/ Choice i9205 on "The latest firmware for your device --> On the case free"

There are many J2, You must choice the Country.
[Samsung Galaxy Mega] marlikcoc:
downgrades not work

---------- Post added at 08:11 PM ---------- Previous post was at 08:07 PM ----------

downgrades not work

in post 1 i9205-cwm-recovery.tar.md5 notwork on L1

chrome://mega/content/secure.html#!Ft0UkR4K!Bmg6iBW8eDlgg6EtRDoznlm65YNgic-bS51P6kp8e1Q

and

post 30 notwork

why???
[Samsung Galaxy Mega] ValenteL:
You want see downloads? On Post 30 work, I download the cwm very well. See it here attached after download.

(You must unzip to have the .tar.md5)
[Samsung Galaxy Mega] marlikcoc:
odin 309 or 307

usb debugging on or off??
[Samsung Galaxy Mega] ValenteL:
I use 3.09 but I thik 3.07 is also good.

USB On to connect to a Pc.
[Samsung Galaxy Mega] marlikcoc:
i do but Message unfortunately supersu has stopped
[Samsung Galaxy Mega] ValenteL:
Then, You flashed the Rom and it rebooted and work?

What I said On Post 1?

- After reboot the SuperSU stop sometimes, it is installed on system/app and Knox not permit all access at system.

- Then, whit Explorer from Rom I go at extSdCard and touch on superuser.apk and install it. This way the apk is installed on data/app. Root solved.
[Samsung Galaxy Mega] marlikcoc:
I did all the steps but youtupe stop Message
[Samsung Galaxy Mega] ValenteL:
Wow. I said this on another place. Youtube stop because is in system/app. There are something wrong whit.

When I delete appl Knox I delete also Youtube from here. After I download it from Play Store and is installed on data/app. No more problems, work well.

It seems that "Paper Artist" not work also. Make the same, move it to data/app, touch on it to install and it work well.

Type this on Terminal Emulator:

su

pm disable com.sec.knox.seandroid

... wait... wait...

Killed.

May be some appl not have more FC because Knox.
[Samsung Galaxy Mega] sholsten:
I cannot downgrade either since I upgraded to the L1 Rom
[Samsung Galaxy Mega] ValenteL:
But what version have You installed? MJ2 orML1?

BTW: If my responses are useful for You not forget the THANKS button, alright?
[Samsung Galaxy Mega] ValenteL:
Thank You. But what build have You installed?
[Samsung Galaxy Mega] marlikcoc:
thank you my friend thankyou

what download it from Play Store .supersu or else

Again, thank you All of my problems are due to weakness in the English language
[Samsung Galaxy Mega] ValenteL:
Download the Youtube.

I know, You have the ML1.

About the English the same arrived whit me also. I had a poor English when I begin here. We must write... write... write... whit a dictionary at side and using it. (For example I went to dictionary to see what means Your weakness :):D:good: )
[Samsung Galaxy Mega] marlikcoc:
thanks

When removed ContainerEventsRelayManager.apk + odex not found

why???
[Samsung Galaxy Mega] ValenteL:
Hi

It is after ContainerAgent.apk + odex. Is not there? I don't remember.

Look, I made before this on Note 3 N9005. Then, when I made this thread I copied from the thread N9005 the post #4. And only changed the name on Top to Mega I9205. I'm not verified the files. May be that file not exist on Mega. If it is not there never mind, no problems.

And the Note 3 have many files here: From system/containers I delete: All .apk + .zip file. I think Mega not have apk's here. There are some differences.

Continue working, good luck.
[Samsung Galaxy Mega] marlikcoc:
I succeeded my adept thank you very much

What is a good way to transfer the software to a Memory Stick ????
[Samsung Galaxy Mega] ValenteL:
What software You want transfer and may be to MicroSD card, or Storage/extSdCard?
[Samsung Galaxy Mega] marlikcoc:
all software extSdCard
[Samsung Galaxy Mega] ValenteL:
I use the Root Explorer for copy some data from internal Sdcard to external extSdCard.

On data/app is the place where are installed our appl. that we download from Play Store. After all installed I made a copy from that data/app to external.

I have in this case a backup from them.

But from all software, like all Rom we must make a backup on Recovery. Power off then Power + Vol-up. Choice backup and restore, then backup and after reboot, we have the Rom backed on extSdCad/clockworkmod/backup. Here I delete the hour/min/sec and write the build from Rom (whithout spaces).

The principal tool for me to manage the files is the Root Explorer.

Make a copy to external from /efs folder. It's important.
[Samsung Galaxy Mega] sholsten:
I wonder if it would be possible to go back with Kies.
[Samsung Galaxy Mega] ValenteL:
I don't Know, I'm Sorry. I don't use Kies. Whit root access and Status Personalized (Not Official) Kies give me the message My build is unknown.

Then, I also always delete from System/app the Kies and Kies Wifi apk+odex.
[Samsung Galaxy Mega] sholsten:
Mine give the same error on Kies & says I can't update with Kies since I have this Rom installed. I jush wish to God I'd used my better judgement. I knew better!
[Samsung Galaxy Mega] sholsten:
Ok guys I need help now. I rolled to the G7 Rom on my Mega using Odin 3.07. It seemed to go fine. It boots up to SAMSUNG screen & the LED goes bight to dim over & over. When it first boots I get the 2 red lines. So, it's not in a loop. It just goes so far & hangs. Anyone have any ideas on how I might fix it? Thanks in advance!
[Samsung Galaxy Mega] sp4xkp:
Hey. You need to Odin back XXUCML1 upload. That's what I did and it works. Unfortunately Knox warranty 0x1.

Sorry for my english.
[Samsung Galaxy Mega] sholsten:
I just did just that. I had to do it twice. The 1st time still wouldn't boot. So, I installed the touch CW & wiped & reset it. Installed L1 again. It's working again, finally. Knox has us by the balls.
[Samsung Galaxy Mega] megalomanic14:
I flashed this on my dev mega and have been working on ways to disable selinux and bootloader....making some headway and will update back once I get the kinks worked out. But for some good...While you cannot Odin back from ml2 you can successfully restore an older backup they cwm. I have done it several times, each time successful.

As of now if you do attempt to Odin an older firmware you will soft brick your mega...I did this purposely to help get a friend back to mj2. ..I have system files to restore stock rooted mj2 back if anyone needs them just let me know. The files will allow you to restore back and everything functions as it did on mj2 you'll just be stuck with the new bootloader and void warranty...The Knox warranty counter seems unbreakable, at least at this point in time...I have been working on it as well as a few other devs working to figure out a way around the 01 warranty counter but the fact it's 1024 bit it's highly unlikely.

Mega
[Samsung Galaxy Mega] sholsten:
I'm not worried about warranty since I bought an international version. I don't guess I care about going back either since the bootloader is now Fubar. Thanks for the info.
[Samsung Galaxy Mega] megalomanic14:
Except if you restore back to mj5 you can have root and recovery without issues...As on the latest update your not going to be able to have root, at least not without a cascade corruption. The bootloader doesn't really matter here as its not locked per se so flashing a rom wwith the same bootloader is fine. Just a heads up. Not that tthere's much need since there's like 2 roms for the mega lol, but anyway.

Mega
[Samsung Galaxy Mega] sholsten:
Thank you. That does make good sense. I'll try to figure out how to go back now.
[Samsung Galaxy Mega] megalomanic14:
Just flash cwm and restore and mj2 backup and you'll be fine...let me know I have some recovery files to restore that will bring you back to stock rooted mj2

Mega
[Samsung Galaxy Mega] sholsten:
Like a Dummy, I didn't make a backup.
[Samsung Galaxy Mega] megalomanic14:
But what is wrong with your mega? Did you try to flash something that fixed? Or did you just update and wanna go back.
[Samsung Galaxy Mega] sholsten:
I just updated & wanna go back since I can no longer root.
[Samsung Galaxy Mega] megalomanic14:
Perfect man...check your messages I PM you the files...If you download and follow those instructions you'll be Rockin a rooted mega in no time

Mega

---------- Post added at 10:20 PM ---------- Previous post was at 10:05 PM ----------

Hey man did you get my message with all the file links?

Mega
[Samsung Galaxy Mega] sholsten:
Sorry, I just got back on here. Let me check it out.

---------- Post added at 09:48 PM ---------- Previous post was at 09:46 PM ----------

I don't any PM's at all.
[Samsung Galaxy Mega] megalomanic14:
No worries man just wanted to make sure it sent. The xda message systems not my favorite lol...have no way of knowing what's been sent after you click then send button

---------- Post added at 11:07 PM ---------- Previous post was at 10:52 PM ----------

Ok I just resent you the links

Mega
[Samsung Galaxy Mega] federerer:
Fail to disable Knox

The message for me on Supersu, after invalidation request KNOX is: Fail to disable knox. Can someone make a guide for downgrading to J2? thanks
[Samsung Galaxy Mega] brunte:
I would like to ask; does this firmware come as one .tar (or .tar.md5)-file that goes into the PDA box in Odin or does it have several files including one to put in the Bootloader-box?
[Samsung Galaxy Mega] ValenteL:
This firmware, like all from Sammobile is a single file .tar.md5 that goes to PDA (or AP if Odin 3.09).

All members inside on a single file (see attached).
[Samsung Galaxy Mega] brunte:
Thank you.

This may be just a tad off topic but I was under the impression that a boot loader will never be flashed unless Odin is actively told to (ticking "Phone Bootloader Update" or placing a file in the "Bootloader"-box). Was I wrong, and do stock firmwares that I download from samfirmware often or allways contain bootloader that gets flashed just by putting the .tar-file in the PDA-box?
[Samsung Galaxy Mega] ValenteL:
Only MobileOdin don't flash bootloaders but unfortunately the Mega isn't compatible whit, not work yet.
[Samsung Galaxy Mega] brunte:
Thank you.

That makes you wonder why they included the "Phone Bootloader Update" option in Odin, if it doesn't make a difference...
[Samsung Galaxy Mega] ValenteL:
Hey People

You want downgrade from ML1 to MJ2? ... Forget... alright? Forget that. I made a try and I never... never will repeat it. Uff.

Look:

To flash MJ2, on Odin3 v3.09 all well, finished (Success 1 / Failed 0).

But on the Mega I had 3 red error lines:

Set Warranty bit: kernel

Set Warranty bit: modem

Set Warranty bit: ******* <-- not remember.

Power to start, not start and on top screen new red message:

Secure Fail: kernel

Download Mode to try flash the recovery, I see this:

...

Knox Kernel Lock: 0xffffffc

Knox Warranty Void: 0xffffffc

....

Flashed the Recovery but after not reboot, alway that "Secure Fail: kernel".

I made a Mod whit ML1 kernel, flashed it and reboot ok on MJ2... but no modem, not base band. Normal. The Knox bootloader is always there and not accept the MJ2 modem. (All rom's before ML1 not had bootloader).

On Recovery, after a full wipe, tried to restore a Rom MJ2 backup but not start, bootloop always.

Now I was tired, finished whit this try and the risk to brick my Mega.

Made:

- Full Wipe data + cache + dalvik, format system

New flash from ML1 and stay on there.

In my last opinion:

If You are whit ML1 not try downgrades, only upgrades.

If You are whit MJ2 and like to root and more stay on MJ2, not upgrade.

What hateful Knox !!!!

PS: This is my response to all Members that ask how downgrade from ML1 to MJ2. Try it if You want.
[Samsung Galaxy Mega] Tilagoon:
Hi Valente,

Nice story :( thanks for the warning !

If this is the way all the future Samsung ROM will be , we will have to switch to AOSP ROM's.

I am currently testing Cyanogenmod 11 and it's very good. :good:
[Samsung Galaxy Mega] megalomanic14:
Lol yea I already posted this several pages back...just re odin the Knox firmware...then restore an older mj2 backup and you'll be back on mj2 without issue. The only difference will be Knox warranty stays tripped and new bootloader stays. But if you don't have an old mj2 backuo I have the system files I created and have sent out to about 10 people that will bring them back to stock rooted mj2.

good luck

Mega
[Samsung Galaxy Mega] ValenteL:
Thank You

I made this only to try and to see what succeed. Are some members then ask how downgrade to MJ2 and this is my response. I have also a good Backup rom from MJ2. I continue whit ML1.
[Samsung Galaxy Mega] immortel_la:
can u send that rooting method to me? i've been rooting my phone for all day with no luck :crying:
[Samsung Galaxy Mega] megalomanic14:
Just to be sure in case you missed the other posts...I came up with a way to extract the rooted stock system that you can restore thru cwm and will bring your mega back to rooted stock mj2. I'll send you the files no issue but just wanted to be sure you know that and that it's for the i9205

Mega
[Samsung Galaxy Mega] immortel_la:
i'm on ML1, how can i possibly downgrade to MJ2? mine for sure is i9205 :)
[Samsung Galaxy Mega] megalomanic14:
Check your messages I PM you the files...Download all 4, place all 4 in the same folder...restore like usual in cwm

Let me know if you need any help

Mega
[Samsung Galaxy Mega] zulhaky:
done root with ml1 rom. thanks all. not bother knox.apk.works nice in my i9205
[Samsung Galaxy Mega] sp4xkp:
Welcome megalomanic14 if I can also ask for the files that will allow me to return to the MJ2? I currently have ML1 on your i9205.

Sorry for my english.
[Samsung Galaxy Mega] immortel_la:
how did u do root your ml1 rom?
[Samsung Galaxy Mega] zulhaky:
just follow instruction in page 1 and done..!! just follow step and read carefully...
[Samsung Galaxy Mega] immortel_la:
you're so lucky. i've tried many times with no success :)
[Samsung Galaxy Mega] shazzl:
[MENTION=4158688]immortel_la[/MENTION]

Step 1

Download Philz touch Recovery

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

Download supersu 1.86 latest

http://download.chainfire.eu/372/SuperSU/UPDATE-SuperSU-v1.86.zip put it your sdcard

Step 2

Open odin flash the Philz touch Recovery untick the restart button. After finish.... press the power button untill it the download mod gone. ..then quickly press home button and volume + boot the recovery then install the update supersu 1.86

After done philz touch recovery will ask for fix su ? Tap yes...then wait for device to boot you now will have root...

Step 3

If u not found supersu manual install the apk.

You are root
[Samsung Galaxy Mega] arziarzo:
i'm on ML1 too, now my i9205 no signal and imei, can I restore it?:)
[Samsung Galaxy Mega] duylongdang:
Me too.can you please help me?
[Samsung Galaxy Mega] shazzl:
How to change selinux status from enforcing to Permissive any ideas. ..
[Samsung Galaxy Mega] ValenteL:
In some devices this work until new reboot:

On Terminal Emulator type:

su

setenforce 0

..#

For together we must create a script to start at each boot.

On S4 mini it work. On Mega I'm not remember, I havn't my Mega here to try.
[Samsung Galaxy Mega] geniusrehan:
I have one problem guys ... please help me ..

I flashed I9205ZHUCML4 latest Stock rom via odin ... Before I was using I9205XXUBMJ2	ROM ...

I successfully flashed I9205ZHUCML4 it... and phone starts normally ... but many apps were force closing on its own ...So I did factory reset and I did root like normal way ... I mean I flashed vcoreroot-v2 file via odin ... and then I got three lines while booting instead of 2 red lines ... first green line "Set Warranty bit: Kernel" and another 2 red lines ... which is normal I guess ... But then its stuck on samsung logo ....

I tried to flash previous ROM version via odin ... i.e. I9205XXUBMJ2 ... Its successful ... but still i am stuck on samsung logo .... I did root again and flashed CWM recovery .. and did factory reset ... but still i am stuck on samsung logo ...

Then I flashed Philz recovery .... and Installed CM11 rom .... But then now i am stuck on CM logo ...

I resorted previous nand backup as well.... Still I am stuck on samsung logo ....

What to do??