yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9506 Android Development] DeHAWK:
Information regarding latest XXUDOJ2 firmware:

As already mentioned, Samsung added something they call Smart Manager and they also fixed the Stagefright problem. BUT that's not all...they've made a lot of changes, not visible to regular users. They've made a minor change to the kernel binaries and big changes to the RAM-Disk. They made changes to the build.prop, adding lines I've never seen before.

KNOX is now even more integrated and making it even harder to obtain root and get SE-Linux Permissive in my way of doing it.

Some of you might already have tried to use my kernel for the XXUDOF2, only to find themselves stock at the boot animation.

Old kernel versions DON'T work on this new firmware, trust me - I've tested it, only to end up at the boot animation and with a phone where the WHOLE system partition was totally wiped out...requiring a full original firmware flash. - Lots of stock XXUDOJ2 firmware flashing has been made the past 2 days...made a repacked version, without for me unimportant stuff.

I've spend most of the weekend to figure out what was happening, and now I know. It will be to complicated explaining it all, but as for now I'm using TWRP v2.5.7.0. Mostly because I thought v2.8.5.0 that was the problem, but it was NOT - problem was the old kernel, even the new kernel build for XXUDOJ2 and...rooting.

Now some good news:

XXUDOJ2-NEE Full De-Odexed and Slim De-Odexed systems have been ready since late Friday night. But they are still not tested due to all the kernel problems and they still needs to be slightly modified due to new KNOX and a few other things.

I'm now running new insecure OC kernel build for the XXUDOJ2 firmware. I've obtained root permission, SE Linux is Permissive and phone is totally KNOX free. The rest of my system is still running the Original Stock version...but not for long.

So please have patience guys - hopefully this is fixed in the upcoming days, also need to go to work...

Enough for now.

Regards

DeHAWK.
[Galaxy S 4 i9506 Android Development] kotaxor:
Hey bro, take your time. I'm just getting the hang of DOF2..lol

Good to know they fix a few things finally.

Sent from my GT-I9506
[Galaxy S 4 i9506 Android Development] Alienns:
Samsung should release Munchmallow for this device since it`s ~43600 points in Antutu and that is like 1-2k points less than S5 who will get it :/
[Galaxy S 4 i9506 Android Development] Pirum:
I must say this is a most impressing thread, and one of the reasons I recently switched from my Nexus 4 to a Galaxy S4. (I prefer S4 camera and display, I still like my N4 though). I managed to install old kernel with new stock rom, did not work well (at all), glad new versions of coming kernel appears work.

Yes, considering how good a device the 9506 is, I'm annoyed Samsung doesn't take the chance to show their good support. Now they show their bad support. I mean, the S4 mini is still on sale this year and won't go past 4.4 it seems. (We still bought the s4 mini due to its size though)

Thankfully there are good developers such as DeHawk that helps keeping the 9506 alive and well, it is after all the best Galaxy S4 (I'm surprised Custom ROM support seems better for the slightly inferior models, but I don't know sales figures and tech details I guess).
[Galaxy S 4 i9506 Android Development] stefanmaximum2:
i will be happy if there ever release 5.1.1, 6.0 will come never
[Galaxy S 4 i9506 Android Development] Ghorin:
Hi,

Be careful : GT-9506 device is NOT the Samsung S4 Mini, it's Samsung S4 Advance which is an enhanced S4 (contrary to S4 mini which is lower than S4).
[Galaxy S 4 i9506 Android Development] Genebaby:
Hmm, I already have the Google Calendar installed but I can't get the update as it now says my device isn't compatible?

Anyone got any idea what's up with that?
[Galaxy S 4 i9506 Android Development] tomogo:
Hi,

any chance for I9506XXUDOJ2 NON-OC Kernel version?
[Galaxy S 4 i9506 Android Development] kotaxor:
Be patient friend, [MENTION=4188575]DeHAWK[/MENTION] is doing his best

Sent from my GT-I9506
[Galaxy S 4 i9506 Android Development] DeHAWK:
Information about latest XXUDOJ2 firmware.

OK guys, I now have everything ready:

A repacked stock full orginal XXUDOJ2-NEE firmware. It's is approximately 1GB smaller than the stock I downloaded myself.

A repacked stock XXUDOJ2-NEE firmware, this one without the hidden image. I do recommend flashing this, since you really don't need the hidden image. As the above, approximately 1GB smaller that than stock.

Furthermore; 4 new insecure kernels - all made for this new XXUDOJ2 firmware.

2 build with original Bluetooth drivers, OC and NON-OC versions.

2 build with updated Bluetooth drivers, OC and NON-OC versions.

These are made for XXUDOJ2 only!

They are totally KNOX free, pre-rooted, has Busybox installed, supports init.d scripting and has all the build-in functions...as usual.

DO NOT use any of these kernels on any previously released firmware!

And not to forget...the De-Odexed versions.

A GT-I9506 XXUDOJ2 FULL De-Odexed system update.

A GT-I9506 XXUDOJ2 SLIM De-Odexed system update.

All files have been tested on my own phone! And everything is working; repacked firmware, all 4 kernels and both the De-Odexed systems.

All testing was done by flashing the stock repacked XXUDOJ2-NEE firmware, the one without hidden image.

For all stock firmware flashing I used Odin v3.10.6 and so should you.

When flashing the XXUDOJ2 stock firmware for the first time, I went to download mode (Odin mode) from OFF.

This to make sure the modem and bootloader got updated.

For flashing all insecure kernel and De-Odexed systems, I used TWRP v2.8.7.0, but v2.8.5.0 should also work.

Note regarding TWRP v2.8.7.0: When using TWRP 2.8.7.0 for the first time, it will ask you if you want to make the system partition READ ONLY.

DO NOT mark the box, just swipe. Otherwise you will NOT be able to flash anything into the system.

If you by mistake have marked the box and therefore can't flash system files - find the TWRP folder on your internal SD-Card, enter it and delete the .twrps file. Now, when you reboot to TWRP the next time it will ask you again...and this time DON'T mark the box.

As some has already mentioned, Sammy has included a Smart Manager App. It gives you a quick overview about Battery, Storage and RAM but it also contains something that might look like KNOX - but it's NOT. It's actually an Intel Security option - McAfee virus detector and killer. It's deactivated by default, but I pressed the button, read some of the agreement and activated it. It then scanned the whole phone, but it didn't find any threats. After that I was not able to turn it off again...but it turned off when I flashed the FULL De-Odexed system and I was able to enable it again. Not sure if it's only active for a test period of 30 days...

Well guys, all files are uploaded and ready to be added to the OP 5.0.1 section.

I'll do so tomorrow, well it's actually today... and also remove links for 5.0.1 files older than XXUDOD3.

More 5.0.1 XXUDOJ2 files will follow as I get the time.

So hang around and stay tuned.

Goodnight and sleep well, I know I will.

Regards

DeHAWK.
[Galaxy S 4 i9506 Android Development] kotaxor:
Bro,

Well done, will be waiting for your upload.

Patient is golden.

Cheers
[Galaxy S 4 i9506 Android Development] DeHAWK:
OP 5.0.1 section updated!

All the files mentioned in my previous post: #3877

has now been added to their respective sections.

First flash the Original XXUDOJ2 firmware, full stock or repacked - I recommend the repacked.

As said before; use Odin v3.10.6 for this and enter download mode from OFF.

After a successful flash; flash TWRP v2.8.7.0, use Odin v3.07 for this.

All my testing was done using TWRP v2.8.7.0 and it works fine. Please read my notice about TWRP v2.8.7.0 in post #3877.

You're now ready to flash any of the insecure kernels, choose the one that suits you best.

No need for any wipe in TWRP - everything is done automatically.

Don't mind an eventually black screen after the reboot, everything will return to normal after a few seconds.

This only happens once, after the first kernel flash.

Give the phone some minutes to get used to the new kernel...because it's a complete new world for your phone.

You can now flash your desired De-Odexed system.

No need for any wipe in TWRP - everything is done automatically.

You will not loose any 3rd party apps or app settings - only stock Sammy apps will be affected.

Note: Set-up guide removed! - Some data might have to be re-entered.

All personal phone set-up, under Settings will be lost - will need to be re-entered (language, keyboard, ring tones etc etc.)

No mail accounts affected.

After the flash; give your phone some time to get used to the new De-Odexed system.

I recommend to disable WiFi, Bluetooth, NFC and GPS ASAP after the reboot.

Otherwise some apps will begin to auto-update them self from Google (over WiFi).

I recommend to disable the 'Update apps automatically over WiFi only' and set it to 'Never update apps automatically'.

This is done in your Google Play under settings.

Now; download, flash and enjoy.

Let me know what you think and don't forget to report back if any issues is found.

As said before, I'm not able to test everything.

Best regards

DeHAWK.
[Galaxy S 4 i9506 Android Development] kotaxor:
Thanks bro,

Going to start flashing tomorrow (Sunday).

Cheers.
[Galaxy S 4 i9506 Android Development] rockman.kowal:
I will flash it now over great deodexed 4.4.2 and will report here.

Guys please tell me witch deferent is between slim and deodexed?

Wysłane z mojego GT-I9506 przy użyciu Tapatalka
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

There's no such thing, it's either SLIM or FULL - both is De-Odexed.

If you mean difference between SLIM and FULL; FULL is all original stock Sammy and Google apps without any KNOX related.

SLIM has all these removed and a lot more, most people never uses these apps anyway, also no KNOX related in SLIM. I could have made SLIM even smaller, but some people actually uses apps like Email, Exchange Flipboard, Dropbox and a few more. So these still appears in SLIM version.

Hope this helps.

Regards

DeHAWK.
[Galaxy S 4 i9506 Android Development] same-xx:
Bro, thanks for your hard work. Works like a train... Fast feeling is,that this new works better than dof2. No bugs yet.
[Galaxy S 4 i9506 Android Development] GTI-9300:
Report 4 DOJ2 DEODEXED with OC V2.

Everything is fine. No Reboots No Lags No Problems. After flashing a few Setting's like from the System, Touchwiz and Google are deleted. It's not a problem for me. But I want to say you about this "Bug" or little "Comfort" problem. For me everything is fine actually. Thank
[Galaxy S 4 i9506 Android Development] rockman.kowal:
[MENTION=4188575]DeHAWK[/MENTION] great anwser. Have one more question: can I remove s-finder on newest DOJ like I do in DOF? Sorry by my terrible english?

Wysłane z mojego GT-I9506 przy użyciu Tapatalka
[Galaxy S 4 i9506 Android Development] Genebaby:
Hmm, I just did a full phone wipe and install and after I started using the system wifi would not switch on.

I did it again and noticed that it was happening after I installed the V2 non-OC kernal.

I just tried the OC V2 kernal (I need BT working on my watch, it was fine before) and same, no wifi anymore.

Any ideas?

---------- Post added at 10:32 AM ---------- Previous post was at 10:29 AM ----------

After kernel install there wasn't much happening, it went very quick to the setup screen.

---------- Post added at 10:33 AM ---------- Previous post was at 10:32 AM ----------

Before I wiped again i used the zip from before to remove those successfully.
[Galaxy S 4 i9506 Android Development] GTI-9300:
Information about Xposed for the Deodexed DOJ2 User:

at DOF2 runs the xposed-v71-sdk21-arm-arter97-V6-snapdragon.zip without any Problems, but at DOJ2 Boot-Loops the Phone with V 71. I wait and wait and wait.. Than i Reboot in to the Recovery and flash the xposed-uninstaller-arter97.zip after this i Reboot, and my Phone says Android is Updating App 1 from 2xx ( Dalvik Cache deleted between Xposed.zip).. Again in to the Recovery and flashed the xposed-v75-sdk21-arm-arter97-snapdragon.zip.

Everything is working now. With best Regards from Germany
[Galaxy S 4 i9506 Android Development] Genebaby:
Looks like third time was the charm. I did it all again and saw a very quick Android is upgrading message before it went to the setup screen and the wifi is still there now. I'll install the slim system shortly and continue from there, can't wait to get it all going.
[Galaxy S 4 i9506 Android Development] same-xx:
About the wifi in lollipop: For some reason wifi must set off when updating. In some cases when changing kernel or installing update to rom via trwp wifi dissappear if on.
[Galaxy S 4 i9506 Android Development] kotaxor:
[MENTION=4188575]DeHAWK[/MENTION],

Got down to flashing today, everything went fine.

Using the Slim with OC kernel and now doing some cleaning up and tweaking.

So far so good, will feedback.

Cheers
[Galaxy S 4 i9506 Android Development] Juhoop:
If I understanded right, I don't need to do factory reset after moving from DOF2 to DOJ2? So I install it same method witch I used on DOD3 -> DOF2?
[Galaxy S 4 i9506 Android Development] Juhkimo:
http://xdaforums.com/galaxy-s4/themes-apps/mod-universal-sfinder-quickconnect-t3146840

Use this method or you can edit your build. Prop file

Change:

ro.product.name=ks01ltexx

To

ro.product.name=ks01ltevzw

Or

ro.product.name=ks01lteatt

This way your network icons change a little bit also
[Galaxy S 4 i9506 Android Development] Juhkimo:
ro.product.name=ks01ltevzw

View attachment 3534973

ro.product.name=ks01lteatt

View attachment 3534974

With att your carrier's name will be displayed in your status bar.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

Yes, correct. NO factory reset or wipe needed. This is the same for both the kernel and De-Odexed system.

Regards

DeHAWK.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

Didn't know that...perhaps because I never have had it on while flashing.

Perhaps I should make a notice about it in the OP 5.0.1 section.

I've never have had any problems with WiFi and right now on OC XXUDOJ2-v2 kernel, SLIM De-Odexed.

I only see one thing I need to investigate further, same for all four kernel versions; if booting phone from OFF, a black screen still appears for a couple of seconds with only the status bar visible, before the wallpaper / lock screen shows up.

Regards

DeHAWK.
[Galaxy S 4 i9506 Android Development] rockman.kowal:
Yes I had wi-fi problem too but i reinstal many times and finally works but few times in past i can't push it on.

Now this rom fly like free bird for me:). Great work DeHAWK. This is the best rom for us i9506.

Wysłane z mojego GT-I9506 przy użyciu Tapatalka
[Galaxy S 4 i9506 Android Development] same-xx:
I haven't had any wifi or bluetooth issues too, but when people complained it I tested it. After I tried a couple of cm version and came back to tw, issues did start. Luckily it was my brothers phone... But managed to get rid of it by wiping everything and installing all again. And I mean all. In this phone has never been CM, so no bluetooth or wifi issues.
[Galaxy S 4 i9506 Android Development] kotaxor:
Tweak to my liking, so far no problem.

Good!
[Galaxy S 4 i9506 Android Development] Juhoop:
Hi guys!

As I told before (when I was moving DOD3 to DOF2) I had a problem when I was flashing NON-OC kernel not the v2 one. Now I got same error message with NON-OC DOJ2 kernel, but the biggest problem was that I couldn't flash it. I got the message every time with SD or internal storage... I linked the pic of the error message to this post.

So I needed to flash OC kernel which worked perfectly. No problems at all.

Can someone test DOJ2 NON-OC kernel because I want to know that is the problem my phone or something else? :D
[Galaxy S 4 i9506 Android Development] rockman.kowal:
@up

I got the same problem with one verision OC and NO-OC kernel. But I instal and reinstal rom few times and this problem go away. I don't know where is the problem. Maybe DeHAWK know that?

Wysłane z mojego GT-I9506 przy użyciu Tapatalka
[Galaxy S 4 i9506 Android Development] same-xx:
Tested, Doj2 non-oc v320 kernel is broken. When trying to flash " failed". But OC version works.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

Will look into it right away.

Very strange, I tested the NON-OC on a totally stock XXUDOJ2.

I'll download and test.

Stay tuned.

Regards

DeHAWK.
[Galaxy S 4 i9506 Android Development] GTI-9300:
I have the same Problems. Actually i have the OC V2 on my Phone. When i flashing NON OC or OC Kernel ( from V2 to normal ) i have the same fail. But from OC V2 to NON OC V2 works without Red Lines.

But after flashing i reboot and it don't do Android is Updating App 1 from 2xx. This means Dalvin wasn't Delete. And the Old Kernel is working.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro and everybody else have this issue.

I downloaded and flashed the NON-OC. Correct, it fail flashing.

But problem is now fixed and I'll upload and update download link.

Turns out I was flashing a wrong version when I made the test.

Will return ASAP.

Regards and thanks for reporting.

Regards

DeHAWK.
[Galaxy S 4 i9506 Android Development] DeHAWK:
OP 5.0.1 section update:

Download link for Insecure kernel XXUDOJ2 NON-OC v3.2.0 now updated.

TWRP flashing problem fixed, turned out to be a typo...

Sorry for the inconvenience this may have caused you guys flashing it.

The failure was all mine, please forgive me.

Best regards

DeHAWK.
[Galaxy S 4 i9506 Android Development] GTI-9300:
Bro

Flashing Okay. No Problems. But Dalvik Cache don't delete Automatically. Is that Problem only at my phone, because Xposed? I don't know
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

I made it to NOT completely delete dalvik-cache, only removed apps are deleted from dalvik-cache. Therefore no reason to make full wipe, also saves time.

But you are of course free to wipe using twrp.

Only /cache and /preload are wiped.

Regards

DeHAWK.
[Galaxy S 4 i9506 Android Development] same-xx:
Modded DOF1 systemui from the first page is working in this rom! Meaninig that u can use it in doj2. Those who don't want there is also a xposed mod for removing s-finder from quick settings.
[Galaxy S 4 i9506 Android Development] Radder124:
For me the repacked version is only a few MB smaller (the .tar.md5 archieves). Did you mean smaller when installed on the phone?
[Galaxy S 4 i9506 Android Development] same-xx:
Unpack and see.
[Galaxy S 4 i9506 Android Development] hs911:
Is there still the need for updated bluetooth drivers version or does DOJ2 come from sammy with newer drivers than DOF2?
[Galaxy S 4 i9506 Android Development] Genebaby:
Hi guys,

As before my phone is reporting that it's not compatible with the Google Calendar app, which is the one I use. I obviously installed it on there last month after I didn't use my previous TB files and started from scratch again. Then I noticed it was not getting the update my tablet was getting and saw that it said it was not compatible.

It's on there after the recent update to DOJ2 thanks to my more recent TB, but is still saying it's not compatible.

Does everybody else get this? If you don't have it installed yet, are you able too?

It seems a little crazy that something as simple as this app says it's not compatible with this phone.

---------- Post added at 11:43 AM ---------- Previous post was at 11:40 AM ----------

There is still a V2 Kernal for this so I"m not sure.

The V2 kernel really helps keep my smart watch connected, otherwise I could not use this ROM at all.

I had no BT issues until I needed to keep my watch connected and V2 kernel fixed this.

What are you trying to use with BT? If it's a watch you could give the regular kernal a try and see how you go.

It is very surprising that stock Samsung FW cannot keep the watch connected.
[Galaxy S 4 i9506 Android Development] same-xx:
Google calendar doesn't work in this phone. Just sync your calendar with google account. So you don't need it.
[Galaxy S 4 i9506 Android Development] Genebaby:
Really? Is this known? Any idea why?

It was fine with CM installed and now I can't remember how I got it on here. It is my preferred calendar, I froze the stock one.
[Galaxy S 4 i9506 Android Development] kam33mitch:
going from DOF2 to a slim DOJ2 do I need to flash the full stock DOJ2 first or can I just run the update over the existing DOF2 and then flash the new kernel? Is there a special sequence needed? I tried this and it seemed to bootloop
[Galaxy S 4 i9506 Android Development] Genebaby:
Ok, I've had to remove the Google calendar, it was the cause of sync errors and looks like it was no longer working, and THEN I got a notification that an app was slowing down my phone, which was the calendar.

Seems DOF2, while also not being compatible, still didn't mind too much about it being on there, but DOJ2 was not happy at all.

---------- Post added at 04:39 PM ---------- Previous post was at 04:38 PM ----------

I'm not sure, I've always done a full wipe and reflashed from scratch. Hopefully this is the last one for a while now, unless by some miracle Samsung give this phone 5.1.1.
[Galaxy S 4 i9506 Android Development] hs911:
Any way to check this? Google calendar is running fine fine here so i am a bit confused
[Galaxy S 4 i9506 Android Development] saschc:
Google calendar doesn't work here, too.

Gesendet von meinem GT-I9506 mit Tapatalk
[Galaxy S 4 i9506 Android Development] Genebaby:
if you go to the play store, does Google Calendar show as incompatible?
[Galaxy S 4 i9506 Android Development] hs911:
Wtf you are right.. maybe i installed it from an old backup, cant remember. The question is, why it should be not compatible..
[Galaxy S 4 i9506 Android Development] Genebaby:
That's what I'm wondering, it's a VERY capable phone running Lollipop.

Mine began behaving badly, do you have sync errors in your Google account?

---------- Post added at 09:06 PM ---------- Previous post was at 08:47 PM ----------

Does anybody using this Rom use a Moto 360? Or maybe a different Android Wear watch?

My watch is acting funny and there are two strange new apps I don't remember on there, but they don't seem to have proper icons, just generic looking ones. Business Cards and Code History they are called.

I do a factory reset and they are back again afterwards. This seems to be happening after the latest updates.
[Galaxy S 4 i9506 Android Development] winesh:
Background question [MENTION=4188575]DeHAWK[/MENTION] Is it really worth to edit every minor samsung release with your modifications? Knowing Samsung, the difference between all updates and dof/doj is minimal and mostly in sequrity. But in your modifications you remove this security and knox, hence the most things updated by samsung. So is there a real performance advantage compared between your dof and doj version?
[Galaxy S 4 i9506 Android Development] saschc:
I was wondering the same

Gesendet von meinem GT-I9506 mit Tapatalk
[Galaxy S 4 i9506 Android Development] same-xx:
I have SmartWatch 3 and there is a couple of new programs. I have 2 new for camera: cards and barcodes. Nothing funny in sync here.

---------- Post added at 01:38 PM ---------- Previous post was at 01:02 PM ----------

DOJ2 full deodexed is faster than dof2 full deodexed. DOJ2 Slim is faster than DOF2 slim. At least that is what the test says. And DOJ2 is more battery friendly. And if you use both, I think diffence is easy to notice. But in the end it is all how you feel it. It is a lot easier to try than wonder..:)
[Galaxy S 4 i9506 Android Development] Genebaby:
I did another reset on my watch and paired with my tablet and all was normal.

This is a screenshot of the weird apps I get when it connects to the phone.

I don't know where they are coming from.
[Galaxy S 4 i9506 Android Development] hs911:
i got my huawei watch back and still having problems with bluetooth in DOF2. I am going to flash DOJ2 with "normal" Kernel today and look what it brings. If its ok, I wont try v2, if not, I will.