yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9506 Android Development] P0tato:
I can try it thanks. Btw are u using xposed and wanam? That could be a problem?

Sent from my SM-T705 Galaxy Tab S LTE 8.4

---------- Post added at 01:50 PM ---------- Previous post was at 01:35 PM ----------

Cleared dalvik and cache but no luck.. Maybe a file or something is missing ?
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

It seems like one of these custom roms may have totally screwed up your phone.

Did you try flashing the latest full original Samsung 4.4.2 firmware for your GT-I9505.

You should try flashing the one for your own region/country/carrier.

Try using Odin v3.09, it should be possible.

Never flash the PIT unless the partition table has somehow been screwed up - but it shouldn't, because normally custom roms doesn't contains a PIT file.

Actually the PIT file can be different for different regions/carriers but in most cases it's not.

If you have flashed the wrong PIT file, this might cause a problem and you need to fetch the right one.

When flashing PIT; mark PIT and select PIT file.

Mark Auto Reboot, Re-Partition and Reset time.

You should be able to flash the original firmware in the same flash by selecting it in AP.

Regards and good luck.
[Galaxy S 4 i9506 Android Development] kotaxor:
[MENTION=4188575]DeHAWK[/MENTION], I'm back..Just had my S4 repaired..waiting to test your new kernel.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Welcome back bro.

Did they change the motherboard?

I remember you had some issues with Bluetooth before.

Well, still working on new kernel, just flashed a new test kernel. I have been fighting some strange behaviour, not FC or reboot but performance issues.

All new governors and schedulers seems to be working, so far so good.

Btw. could you check out SideSync 3.0 with your PC. It works fine for me (both WiFi and cable ), but it seems other people are having some issues.

I have tested on both OC and non OC kernels, both with XXUCNJ1 KNOX Free and De-odexed system - with the modified SecSettings.apk.

Stay tuned.

Regards.
[Galaxy S 4 i9506 Android Development] kotaxor:
Hi bro,

Motherboard too costly to change, decided to live with bluetooth not working. Still have NFC to use.

LCD short circuit, so only change the LCD screen.

Will test SideSync and have a look.

cheers

Edit: Just tested it on my laptop (Window 7). The sync to my S4 is working fine (wifi), in fact played a game on my laptop. Nice.
[Galaxy S 4 i9506 Android Development] P0tato:
I dont know then... Im still having this issue

Sent from my SM-T705 Galaxy Tab S LTE 8.4
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

Are you using my modified SecSettings.apk? Always showing Official. If not, give it a try. I haven't made any tests using the original, always showing Modified on custom kernel / recovery.

You could also test with the Original XXUCNJ1 kernel and recovery, found in OP 4.4.2 Section - 1.

Is your TAB running rooted or original?

Regards.
[Galaxy S 4 i9506 Android Development] P0tato:
Im using original secsettings and I made it showing "official" with wanam xposed and yes, my Tab is rooted but I tried it with PC and its the same

Sent from my SM-T705 Galaxy Tab S LTE 8.4
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey

Try remove wanam exposed from phone, suspect it doesn't change the code in SecSettings.apk like I did in my version. Then try install my modified SecSettings.apk and make the test to a PC. Could be the rooting on the TAB.

Regards.
[Galaxy S 4 i9506 Android Development] P0tato:
Dude, Thanks for your help, I really appreciate it but I give up, removed xposed, replaced secsettings, cleared dalvik and cache but nothing... using PC with USB and Wifi, same freeze and rebooting... I dont care anymore its drivin me crazy
[Galaxy S 4 i9506 Android Development] kotaxor:
[MENTION=4708050]P0tato[/MENTION] A bit weird, should be working correctly after reboot

Could be some other exposed apps causing this issue, you need to troubleshoot.
[Galaxy S 4 i9506 Android Development] Numero17:
Yes Friend you can make how I want?
[Galaxy S 4 i9506 Android Development] sh0ne:
I want it :D give me !!! Give me! If possible without google play!!! Empty is the best!

10% Battery loss over night, what the *ell did samsung thought??? 2A Charger, hmm let me see in a half year to buy new batteries?? Aftersale??

Mate kill ALL apps and unneseary services. We can install by our selves what we need. kill all, wipe wipe. shoot em all..destroyyy :good::good:

cheers
[Galaxy S 4 i9506 Android Development] DeHAWK:
I'll be testing now. Removed 103 apk's...600MB.

Might have to make a factory reset to get full advantage of this. I'll be back tomorrow, time to sleep.

But until now it looks pretty good and fast, running it now.

See ya and good night:)
[Galaxy S 4 i9506 Android Development] DeHAWK:
Your firmware is now downloaded, I'll be looking at it tomorrow. How do you want it? I only deal with the aps. You'll get the European app versions, all KNOX and FOTA (Firmware Over The Air) will be removed. It will be Pre-Rooted, fully De-Odexed and Zip Aligned. What about the modem, sure you don't want European modem? And what about the CSC?

See ya.
[Galaxy S 4 i9506 Android Development] sh0ne:
Thank you! hehe very nice 103!!!! unbelieveable!

you r the man!
[Galaxy S 4 i9506 Android Development] Numero17:
Friend i want only samsung app. I want if possible modem of Europe I Don t understand android and what is the difference between csc Europe and Korea. I want h+ when I connect on internet 4 column of notifications panel as on 9505

---------- Post added at 12:32 AM ---------- Previous post was at 12:19 AM ----------

If you can I want t9 on sms keyboard
[Galaxy S 4 i9506 Android Development] DeHAWK:
OK my friend. I now have a test version ready for you.

Go to page 1 and at the bottom you'll see I've made a special test section for the SHV-E330S.

Download the file, UnZip with 7-Zip and flash as told in the instructions for the GT-I9506. Please report back, very important!

You might see big changes when your phone reboot...if it works...:cool:

See ya'
[Galaxy S 4 i9506 Android Development] Numero17:
what means report back? sorry but i am italian :D
[Galaxy S 4 i9506 Android Development] sh0ne:
to tell us all, how is the rom working :victory:
[Galaxy S 4 i9506 Android Development] Numero17:
rom working so good but aftery he reboots and i don't understand it
[Galaxy S 4 i9506 Android Development] DeHAWK:
I need some feedback bro; don't understand what you mean...as I wrote, it's a test and some errors must be expected. I don't have this device myself and can therefore not make tests. I try to help you, but I need more usable feedback otherwise it's impossible for me to find out what's going on in your phone. :what:

I might have more ideas.

See ya
[Galaxy S 4 i9506 Android Development] Numero17:
And so? The phone reboot when i Call or send sms. Con you make something?

---------- Post added at 09:07 PM ---------- Previous post was at 09:06 PM ----------

If you want We can chat on Skype
[Galaxy S 4 i9506 Android Development] DeHAWK:
I will have to do some research. Might be the modem. But how about all the other things? Do you like it? And have you found other problems?

See ya.
[Galaxy S 4 i9506 Android Development] Numero17:
I love You firmware please I want now it :((( no no he works but he reboot if I call or open app sms and similar it s fantastic your firmware
[Galaxy S 4 i9506 Android Development] DeHAWK:
Great news!

On my latest build, I have now got the external SD card to be recognised and made fully functional. Either Samsung or Google had screw up the code by purpose...you see, exFAT is property of Microsoft, therefore they automatically disabled the code if found. :banghead:

But now it works. :D
[Galaxy S 4 i9506 Android Development] DeHAWK:
I'll try to make a fix.

See ya.
[Galaxy S 4 i9506 Android Development] Numero17:
Yes Friend i waiting for you I am very happy I like it
[Galaxy S 4 i9506 Android Development] DeHAWK:
First I want you to boot to recovery mode. From OFF -- Volume Up+Home+Power. I know you can do this. When in here, use volume up and down to navigate. Go down to Make Factory reset and when that's done, navigate to clear cache and select. Use the Power button to confirm. When done, select Reboot. Let me know how it goes.

See ya.
[Galaxy S 4 i9506 Android Development] sh0ne:
Hey mate, sorry 4 asking, how is look like for the ultraslim stock? :D

cheers
[Galaxy S 4 i9506 Android Development] Numero17:
ok friend one moment now i wipe cache and now i install your firmware.

it's important flash also your kernel?
[Galaxy S 4 i9506 Android Development] P0tato:
I removed the whole xposed framework so xposed apps didnt work.. maybe I deleted something related to the wifi direct?

Sent from my SM-T705 Galaxy Tab S LTE 8.4
[Galaxy S 4 i9506 Android Development] kotaxor:
There is a Wifi Direct and Wifi Direct share, are they both there?

Did you by any chance "greenified" it.

Cheers!
[Galaxy S 4 i9506 Android Development] P0tato:
I've just noticed that I dont have the latest de odexed update package (I have the .odex files) and I cant find the wifi direct files either... where are those files exactly and what are their .apk names?

Thanks.

Sent from my SM-T705 Galaxy Tab S LTE 8.4
[Galaxy S 4 i9506 Android Development] DeHAWK:
Information.

Released new OC kernel for testing.

Will be waiting for feedback before making it public.

Added bunch of new governors and schedulers.

Regards.

EDIT

These new governors, schedulers and code will also be added to the non OC kernel version.

Only difference will be number of available frequencies and max frequency.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

First flash the XXUCNJ1 update - KNOX free and De-odexed. Select either SLIM and FULL version, depending on needs.

Wipe Dalvik cache and cache.

Then flash either insecure NON OC or OC XXUCNJ1 kernel.

Wipe Dalvik cache and cache.

All the above done using TWRP.

Everything should be working after a last reboot.

No need for flashing my SecSettings.apk, since it's already included in the latest XXUCNJ1 De-odexed version.

Regards.
[Galaxy S 4 i9506 Android Development] kotaxor:
New OC test kernel

[MENTION=4188575]DeHAWK[/MENTION],

Tested the kernel for the last 2 hours.

Using ondemand and row.

Attached is the Antutu benchmark result.

So far, smooth. Will monitor the stability for the next few hours or even days.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

I don't get it. My Antutu score is almost +3000 higher, using same settings.

Did you set max to highest available?

Well, turns out that Antutu gives a lot of different scores, even for me.

But you should be able to reach 46000.

Regards.
[Galaxy S 4 i9506 Android Development] kotaxor:
I also don't know why, the scores is almost the same with all your version of OC kernel on my phone.

But it's smooth tho.
[Galaxy S 4 i9506 Android Development] P0tato:
Installed the update then tried to wipe dalvik and cache with twrp but it stopped and now it says error trying to mount cache.. I restarted and installed the insecure kernel but after booting its the same.. it connects now and I can see the screen its showing the notifications and it isnt freeze but I cant operate with it..

---------- Post added at 12:10 PM ---------- Previous post was at 12:04 PM ----------

Sent from my SM-T705 Galaxy Tab S LTE 8.4
[Galaxy S 4 i9506 Android Development] kotaxor:
New OC test kernel

Screen mirroring working, Sidesync 3.0 working.

Wifi working fine.

With pegasusq or intellidemand governor, I get even lower score of 39xxx and 41xxx respectively.

Playing games is smooth.

So far, no sudden reboot.

Edit: [MENTION=4188575]DeHAWK[/MENTION], min and max set as attached using SetCPU. Wipe Dalvik as instructed.

Clear memory, remove recent history prior Antutu benchmark testing.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey

This doesn't look good.

I want you to go 100% original stock XXUCNJ1. Get it from OP 4.4.2 Section - 1.

Flash with Odin 3.90.

When done, you must make a factory reset and clear cache.

Do this from the stock Recovery.

Reboot and setup phone.

Install SideSync and other wanted apps e.g XDA app.

DO NOT install any rooting or custom recovery...wait.

Now test all functions on stock firmware also SideSync.

Then come back and tell me the result.

Regards.
[Galaxy S 4 i9506 Android Development] 3lambda:
Hi [MENTION=4188575]DeHAWK[/MENTION] I have a strange problem : my mobile data don't connect to internet (. Don't have any icon 3g, H, or 4G ) my apn are set up corectly i'am at orange

Thanks in advance
[Galaxy S 4 i9506 Android Development] P0tato:
Thanks for your help, I really appreciate it and I will follow your instructions but for now, Im not in the mood I've got the flu and I dont have time anyway to reset everything then reinstall and set every app that I have now. I'll do it later then come back with the results!
[Galaxy S 4 i9506 Android Development] kotaxor:
New OC test kernel

[MENTION=4188575]DeHAWK[/MENTION]

Hey bro,

There seem to be a kernel wakelock which cause the phone not to go into deep sleep.

See attached, PowerManagerSerice, bam_dmux_wakelock.

Flashed the initial OC kernel and all is well.

Can have a look into this?

Can't comment about battery life yet as I intend to flash your normal insecure kernel and then compare.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hi bro

Thanks, I'll have a look at it. I just can't see why it behaves like that, it shouldn't.

After a full charge I'll monitor, but atm. CPU Spy actually shows deep sleep when screen is off.

Stay tuned.

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

Does it show signal bars?

Sounds like a SIM card problem.

Did you test SIM card in another phone?

Did you test another SIM card in own phone.

Well, you can also try this;

Turn OFF phone.

Remove battery.

Remove SIM card.

Wait a few minutes and re-insert SIM card.

Replace battery.

Turn ON phone and test.

Let me know how it goes.

Regards.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Been monitoring for approximately 1 hour.
[Galaxy S 4 i9506 Android Development] kotaxor:
Going to flash it again
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

Left phone home, turned ON and hopefully deep sleeping, while going to work. I'll post some screen shots, when I return home later this evening, about the kernel wake looks and other statistics.

Stay tuned bro and thx for helping.

Regards.
[Galaxy S 4 i9506 Android Development] kotaxor:
Bro, no problem.

Could be the ondemand governor that I was using, now using the default interactive and monitoring.

Will check the wakelock again after a night of deep sleep.
[Galaxy S 4 i9506 Android Development] P0tato:
Do I loose my data (music photos etc..) when I select wipe data/factory reset on STOCK recovery?

---------- Post added at 10:52 AM ---------- Previous post was at 10:35 AM ----------

I didnt do a factory reset only reflashed stock ROM and wiped cache and now as everything is stock without root it works!!!!

So now Im gonna root it and see if it works as before then install update and kernel, and if it works still then it was the xposed...

Sent from my SM-T705 Galaxy Tab S LTE 8.4

---------- Post added at 11:21 AM ---------- Previous post was at 10:52 AM ----------

After Root, It was working, after installing your update package, it was still working, after installing your kernel, its not working anymore...
[Galaxy S 4 i9506 Android Development] kotaxor:
Is Device status : official?
[Galaxy S 4 i9506 Android Development] P0tato:
yes
[Galaxy S 4 i9506 Android Development] kotaxor:
Which kernel did you flash? Insecure kernel?

---------- Post added at 12:09 PM ---------- Previous post was at 12:08 PM ----------

Try using AutoRoot kernel
[Galaxy S 4 i9506 Android Development] P0tato:
Im using the insecure kernel without OC
[Galaxy S 4 i9506 Android Development] kotaxor:
Weird..it's working for me..Try the AutoRoot kernel, which is actually stock kernel and it should be working
[Galaxy S 4 i9506 Android Development] P0tato:
I'm gonna give it a try, thanks for your help!
[Galaxy S 4 i9506 Android Development] kotaxor:
For me, what I did was initially use Odin to flash the original ROM (from OP).

After testing that everything is working fine, I use Odin to flash Chainfire's AutoRoot kernel and let it do its work of disabling KNOX.

Then again after making sure everything is working fine, I flash TWRP recovery (check again on reboot).

Follow by DeHAWK de-odexed updated and finally the insecure kernel.

Hope this helps!
[Galaxy S 4 i9506 Android Development] DeHAWK:
Back home and just woke up phone.

It was in deep sleep as expected.

Here's some screen shots.

Some notification from Google and xda migh have caused a few wakelocks.

Governor: ondemand

Scheduler: row
[Galaxy S 4 i9506 Android Development] kotaxor:
Found out the culprit for wakelock was Swype keyboard.

Closes a few for its service and seem to behave normally.

Attached screen shot from deep sleep.

Governor: ondemand

Scheduler: cfq

[MENTION=4188575]DeHAWK[/MENTION],

It seem the max frequency doesn't stick. (See attached)

It move back to 1958 MHz instead of maintaining at 2457 MHz

Seem both OC kernel max frequency doesn't stick.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

This frequency issue is new to me.

Have never seen it before.

I know that to protect the CPU, the temperature is constantly monitored. And if it reaches a certain max. temp it will slow down/shout down CPU.

Did you run any heavy tests or other very CPU demanding app. just before?

Regards.
[Galaxy S 4 i9506 Android Development] kotaxor:
Hi bro,

Look like that may be it... When phone gets too warm, it's step down.

Is running antutu benchmark heavy?

Attached after a night of sleep using ondemand and row.

Look reasonable....lol

Gonna try smartassV2 governor and row.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

Looks very good!

I was actually able to make my own phone do the same. I ran Antutu a couple of time right after each other and kernel stepped down the frequency automatically the second time , due to heat - resulting in a lower scope.

So good new is; CPU is protected from melting down.

I'm testing different settings in the sources to make kernel even faster, but struggling some natural CPU/hardware limitations, which I don't wanna overrule...

Btw. I'll release your build public when your testing is done and you think its OK.

Stay tuned.

Regards
[Galaxy S 4 i9506 Android Development] kotaxor:
Hi bro,

Your latest OC kernel is very stable, no un-natural reboot whatsoever, for the last few days.

No reason not to release it...lol

Attached is the battery status.

Governor : SmartassV2 with row.

Normally, testing of governor should last a few days to let it settle down.
[Galaxy S 4 i9506 Android Development] sag:
Hi,

OC Kernel didn't work properly here. From time to time phone was getting too warm. I could check it was stuck to max freq and batt soon drained. I tried it for a week . Yesterday, I came back to insecure kernel. Not so fast, but Batt seems to last a lot. I wonder if OC kernel is worth.

Good work for both kernel, brother.
[Galaxy S 4 i9506 Android Development] kotaxor:
Try clearing dalvik and cache after flashing.

Hopes it help
[Galaxy S 4 i9506 Android Development] twedie:
I installed version Nordic NEE-I9506 XXUCNJ1 - v4.4.2

After AutoRoot for GT-I9506 4.4.2 - XXUCNJ1 and [RECOVERY][ks01lte] TWRP 2.8.4.0 touch recovery with F2FS support [2015-01-24] and GT-I9506 4.4.2 - Update_XXUCNJ1_Slim and XXUCNJ1 SLIM and Insecure OC kernel for GT-I9506 4.4.2 - XXUCNJ1

When I install an application, I get the message Google Play services has stopped:crying:

Sorry for my English
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

After installing insecure OC kernel, did you make an advanced wipe in TWRP?

If not; goto TWRP recovery, select wipe. Now select advanced wipe.

Mark the following; dalvik cache, cache and pre-install.

Now wipe.

When done; reboot.

When phone is ready with upgrading apps you should try again.

As far as I can see you did nothing wrong.

Furthermore the Google apps needs to be updated.

This should happen automatically when you login to Google and you will see a notification about it.

Let me know how it goes.

Btw. I haven't tested with TWRP v2.8.4 only v2.8.2.

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

Will probably make it public one of these days. Needed to make a few changes to the device tree, RAM disk and add a script to tune up a few things regarding SD card.

It's still stable as a rock.

But somethings rotten with our device or at least mine...I suspect it's not a S800 (8974AA soc v2) but something between a S800 and the 801 version. Could be a 8974AB...the S5 contains a 8974AC. Specially the soc version is strange, it's 2.1 - I think it should have been 2. Also the sources points to a different soc.

Very strange, requires more investigation.

Regards.
[Galaxy S 4 i9506 Android Development] kotaxor:
Hi bro

The snapdragon S800 consist of three variant, VV,AA and AB.

It seem the difference between AA and AB is on the max GPU frequency.

Based on the max GPU frequency of 450, it should be AA, but then again you could be right.

When you OC the CPU, should also OC the GPU.

On a side note, after testing a few governor (intellidemand, pegasusq, smartassV2, ondemand and the default interactive), it seem the default interactive is better in term of performance and battery consumption.

Maybe Samsung got it right this time round.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

Regarding governors; yes, you're right, that's also my experience.

Back to the GPU... it has its own frequency table, very short actually.

Max freq. is set to 450MHz, lowest to 0. Then is can run at 350MHz and 200MHz. Max. 450MHz is set in the GPU sources, funny thing is; this is also the case for the S5...

GPU speed is then choosen out from what CPU speed we're using. But never over 450MHz or less than 200 unless sleeping...then it's 0.

So overclocking the CPU don't give us a higher GPU clock.

I've already tested with a max. of 550Mhz and a modified freq. table.

Phone boots and works fine, but I get a lower score in Antutu. Reason for this could be wait states, probably caused by a synchronisation problem. Well enough for now, more to follow.

Regards.
[Galaxy S 4 i9506 Android Development] twedie:
Hello DeHAWK

Thank you for the tutorial

I followed the procedure

TWRP recovery 2.8.4, select wipe wipe advanced.

Mark: dalvik cache, caching and Preload.

Wipe and reboot.

I still have the problem Google Play services has stopped:crying:

Do I have to install Insecure OC kernel for GT-I9506 4.4.2?
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro.

Sounds strange. Now try this;

After a successful XXUCNJ1 Original firmware flash, let phone boot and wait until all is done.

Now flash TWRP recovery and let phone reboot.

Boot into TWRP and install the XXUCNJ1 update zip (NOT the Odin one). You can choose either full or slim version.

Both are KNOX free and De-Odexed.

After a successful install, now make the advanced wipe as described in my previous answer.

Reboot and wait for phone to get ready.

When done, boot back to TWRP and install either the insecure XXUCNJ1 kernel or the insecure XXUCNJ1 overclocked kernel.

Both these kernels will root phone, remove KNOX if present and install Busybox, add init.d support etc.

After the insecure kernel flash, you must once again do the advanced wipe.

Now try again and remember what I wrote about the Google apps.

Sometimes after going to Google Play, nothing will happen. In this case you press the back button. Now press and hold the HOME button and clear the list of present apps.

Now press and hold HOME once more, select the ram manager and clear mem.

Now try Google Play once more.

It works for myself every time I have this problem.

Regards.
[Galaxy S 4 i9506 Android Development] kotaxor:
[MENTION=4188575]DeHAWK[/MENTION],

Back to your #30 OC kernel since finding out that interactive governor is still best. Don't need too many governors to choose