yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

Actually working on slim version. BUT ran into a lot of trouble. KNOX is now even more integrated than on 4.4.2.

I haven't counted how many times I had to flash back original and start all over again...but it's a lot.

BUT when said...I finally found out what was causing the problems... some libs.

Right now working on insecure kernel, so far it seems quite good...

Samsung has NOT released the sources yet, so I need to take another approach.

De-Odexing is not important atm. since we're using ART. But I need to De-Odex to customise apps.

So far I like the speed of 5.0.1, now imagine how a bit of overclocking would speed it up even more.

As always...stay tuned.

Regards.
[Galaxy S 4 i9506 Android Development] sag:
Good Lord!

No need to have all the home work just tomorrow!. Keep calm, bro. :)

Thanks for your effort. You are the man!!!!
[Galaxy S 4 i9506 Android Development] harrisnehal:
Thanks bro... For your time...

Downloading XXUCNJI & Slim version from OP.

After flashing your slim version, can I use xposed & wanam lite?

Flashing the insecure kernel is necessary?

What's the purpose of Insecure Kernel?
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

Not sure about xposed &wanam lite, but I'm quite convinced it should work.

You don't need insecure kernel, unless; you want to get rid of all Samsung rooting restrictions and useless logging, want to have SE Linux set to Permissive and not Enforced and a few other things.

I only run insecure.

Regards.
[Galaxy S 4 i9506 Android Development] eileddie:
Is it just me or is there no way to chose "silent"? I can only switch between sound and vibrate.
[Galaxy S 4 i9506 Android Development] pille1:
There is no silence mode in Lollipop! Instead of that, we have new interruption modes such as None, priority and all. Priority is the old silent mode that silences almost everything except alarms.
[Galaxy S 4 i9506 Android Development] P0tato:
I miss the blocking mode, it was such a useful thing I always used it..

Sent from my SM-T705 Galaxy Tab S LTE 8.4
[Galaxy S 4 i9506 Android Development] DeHAWK:
Status for insecure kernel:

Samsung still hasn't released the GT-I9506 source code for the kernel.

BUT...last night I actually flashed my first 5.0.1 insecure kernel.

I used some other 5.0.1 sources instead and made them compatible with the GT-I9506.

It almost booted 100%. I got the boot-animation and boot-sound but it never reached the start screen.

I'm quite satisfied so far, since it's still only the 1st attempt - without the Samsung GT-506 kernel sources!

I still need a little more time to fix it.

Stay tuned guys and suddenly it's there - even in an over-clocked version.

Regards.
[Galaxy S 4 i9506 Android Development] exelator:
Hello bro! Can you give me download link to old OC kernel for 4.4.2? Looks like its deleted from MEGA or something... I just updated my device to official lollipop from samsung, and it was really crappy.. There was weird bugs like 20 force closes at same time and then my screen "died" (just black, only lights at buttons worked). Hard reset from stock recovery helped for 1 hour, then it died again. Launcher had soooo many bugs and when I tried to switch pages in menu, it just lagged and glitched.. My experience from that rom was AWFUL. And yes, I forgot graphical issues in 2D GAMES and overheating when screen was turned on... Well I did Antutu test too, and it was pretty good (46k!?!!) but I think it was that high because runtime is so good.. Waiting for version from you developers, I dont go back to stock rom..
[Galaxy S 4 i9506 Android Development] sevenlife:
Hmmm i am on official lolipop and i dont have any bug. Maybe you didnt install it properly.
[Galaxy S 4 i9506 Android Development] pfbatista:
I'm on official 5.0.1... And I have to say: IT'S AWESOME and smoother than KK!

considering it's the first release, it works really great, fast, stable and at the first moment I didn't like all the white screen, but after a few days, I love it.

Works really great, and for now, I haven't found any bug. BTW I have a lot of apps installed.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Status for insecure kernel:

I now have a fully booting insecure kernel!

Still NO Samsung sources!

It's NOT ready for release!

Still need to do more work, but this is a big breakthrough!

init.d IS working.

Busybox working.

It took 4 builds to make it work!

Stay tuned!

Regards.
[Galaxy S 4 i9506 Android Development] tokswager2:
Re upload

Hi deHawk is it possible for you to re upload Insecure OC kernel for GT-I9506 4.4.2 - XXUCNJ1, Link seems to be not working, thanks...:)
[Galaxy S 4 i9506 Android Development] DeHAWK:
OP 4.4.2 Updated.

Subsection 2 - Rooting instructions. Updated download link for insecure XXUCNJ1 over-clocked kernel.

This is a new version; CPU max. frequency raised to 2534 MHz, GPU max. frequency raised to 462 MHz.

Not sure if the GPU really likes the new frequency...

Please test it out and report back in here.

Don't forget to wipe Cache and Dalvik-Cache after the flash!!!

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

Done!

Not sure what went wrong.

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

New link and new version.

I think I forgot to update the link, all this 5.0.1 stuff you know.

Now test and let me know.

Have been running it myself for some days now.

Regards.
[Galaxy S 4 i9506 Android Development] Genebaby:
Hi I just got my 9506 today and after coming from a pre-knox 9595 I have a few questions.

I've noticed that TWRP is mentioned a lot but when I went to their site to download it the search function there did not come up with a match for the 9506?

My phone is on 4.4.2 with XXUCNI1.

What I want to do is root it, install a custom recovery and then start flashing Lollipop roms, find a good stable one, and start using the phone as a daily.

What do I need to do to achieve this? I'm not sure if I need to upgrade past XXUCNI1, or I can ignore that and move on to Lollipop now.

I have not much of an idea about Knox and I don't need it, this phone will not have any work stuff on there. Is there a way to wipe it from the phone running a Lollipop rom?

I saw that Chainfire says he supports the 9506, is that still no good and I should use your modified Autoroot, or is that only if you're on Lollipop already?

How do I tell if my bootloader is unlocked?

I just really do not want to brick this phone. :)
[Galaxy S 4 i9506 Android Development] Woostaire:
Great work you're putting up DeHAWK!

I'm very inexperienced when it comes to rooting and such. However, a couple of days ago I managed to root my I9506 with chainfire and everything went well.

Now I want to upgrade to Lollipop and I'd just like to ask some questions about the method so I don't mess it up.

Is this how I should proceed:

1. I install TWRP on my rooted I9506 (XXUCNJ1) and make a backup of my current rom using Titanium backup.

2. I install the official update from Samsung using ODIN.

3. I root once again using the method you posted a few pages back.
[Galaxy S 4 i9506 Android Development] exelator:
Bro, I got weird problem with your newest OC kernel. When I flash it over clean CNJ1 rom, and wipe Dalvik and Cache and reboot it, I can use it for 30 seconds and it reboots without reason. And when it reboots, it reboot again again and again

EDIT: Used TWRP. I will try with CWM and I'll report if it works

EDIT2: Guys, you have to use this recovery http://xdaforums.com/showthread.php?t=2613466 and you can flash this kernel!

EDIT3: Still random reboots.. But not so often, only every 5 minutes
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

This is indeed very strange, I'm using exactly same the kernel on my own phone and actually writing this reply using it.

I flashed using TWRP 2.8.1.0.

I need you to flash the normal insecure XXUCNJ1. When done, do this; in ROOT goto sys/devices/system/soc/soc0/ in here open the file soc_pvs. It contains a value. Tell me that number, mine is 3. Could be that some CPU's don't like my new freq/power/current table.

TO ALL:

Does anybody else have this problem?

If YES; do the same as described above and let me know the number.

Could be that I might have to raise them a bit.

Regards and thx for reporting!
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro.

Ok, one by one.

1. No need to install TWRP, will disappear when upgrade to Lollipop. No need to backup anything, upgrading to Lollipop using Odin, doesn't delete anything.

Only a Factory reset will delete everything.

2. You're so right.:thumbup:

3. Right again bro. :thumbup:

Love when people read my instructions.:)

If any further questions, don't hesitate to ask.

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

I will answer this from my laptop.

Stay tuned.

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

Latest score in latest Antutu.

And my kernel version.
[Galaxy S 4 i9506 Android Development] exelator:
Okay I report here in 30 mins

EDIT: Theres "2".
[Galaxy S 4 i9506 Android Development] DeHAWK:
Thanks bro.

This means your CPU needs more voltage and current than mine.

Very interesting.

I'll look into it.

Stay tuned bro.

Right now working on Lollipop.

Regards.
[Galaxy S 4 i9506 Android Development] exelator:
Ok but can you give me link to old OC kernel?:D It worked fine in my phone.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

So sorry....it doesn't exist anymore.

I will look at it right now and post new link here for test. OK ?

Regards.
[Galaxy S 4 i9506 Android Development] exelator:
Okay :)
[Galaxy S 4 i9506 Android Development] Genebaby:
Thanks, no worries.

Quick question, are you using the Samsung Lollipop Rom, or a custom one?

Is anyone here using a good custom lollipop Rom? How is the CM12 nightly one?
[Galaxy S 4 i9506 Android Development] DeHAWK:
OK bro.

I need you to test this one. Don't mind the build number, binaries still the same.

Changed voltages for PVS2.

Can't test myself since I use PVS3.

Information: Lower PVS number means CPU needs more power and current.

If having a PVS number of 6, you're lucky. This means your CPU uses less power on all frequencies than a PVS number 0.

Download link:

https://mega.co.nz/#!1M9jjJKZ!UN9mCwEHGVjRYkEB_irAMG_MCYibL-atMqFKSpj6UfU

Please test and report back ASAP.

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

My other S4+ is running Samsung Lollipop v5.0.1. I only support Samsung firmware. Never used CM of any kind and therefore can't answer any CM related questions.

Be aware; you might have to flash an original Samsung Lollipop, before you try the a custom Lollipop, eg. CM Lollipop.

Regard.
[Galaxy S 4 i9506 Android Development] exelator:
Yes it works!! Thank you so much for your hard work. I did Antutu test and it was over 47k :)
[Galaxy S 4 i9506 Android Development] same-xx:
Ok. I have reeboot broblem and pvs is number 2. And now I'm going to test new download link. Ps. Reeboot comes only when "testing the heat" in ease no problem.

---------- Post added at 10:50 PM ---------- Previous post was at 10:44 PM ----------

But question... Is there a matter about the pvs number after the installation. Because I littlebit tested the phone after kernel install in interactive? After that stated problems.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

Very good news.

Will update OP.

THX for your help.

Regards.
[Galaxy S 4 i9506 Android Development] same-xx:
Worked for me too and antutu over 47k. No problems...

---------- Post added at 11:21 PM ---------- Previous post was at 11:19 PM ----------

And thank you for your hard work for all of us!
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

Seems like CPU is reporting to kernel/bootloader what it needs. Kernel then selects pvs...but I changed all pvs's to save battery. Pvs selection happens while booting. AFAIK there is no way to decide what pvs to use, must be hard coded in CPU and therefore decided by Qualcomm in the production.

I could be wrong, has actually happened before.:)

Some governors requires more power/current, therefore this could be the reason. It's all about Ohm's law.

U=I×R and P=U×I . By combining these two formulas we can get a lot of information. Simple electronic.

If I lower the voltage (U), we can't get enough watt (P) for the CPU.

Look at your home, 220V(U ), 10Amp(I)= 2200 W. If we lower to 200V(U), we only get 2000W (P).

Now we raise to 240V and the result is now 2400W...get it?

Same for all electronic.

Hope this was useful.

Regards.
[Galaxy S 4 i9506 Android Development] DeHAWK:
OP 4.4.2 section updated

New insecure XXUCNJ1 over-clocked kernel v1.2.1 added. Old one removed.

Fixed problem with to low voltages in pvs2, resulting in CPU unable to get required power (depending of frequency vs. uVoltage(U) and uAmps(I)). This resulted in random reboots, depending of load.)

Please keep testing guys. - I might have to change other pvs's as well.

Regards,
[Galaxy S 4 i9506 Android Development] 3lambda:
Are you electrician ? :P [MENTION=4188575]DeHAWK[/MENTION]
[Galaxy S 4 i9506 Android Development] ShaneDiNozzo:
Thank you for your time, and keep up the good work [MENTION=4188575]DeHAWK[/MENTION]
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

No, technician. Servicing and repairing electronic equipment in a hospital.

Regards.
[Galaxy S 4 i9506 Android Development] P0tato:
Dude you're awesome..
[Galaxy S 4 i9506 Android Development] 3lambda:
Ah :D

All you said remembered me my high school, never thinked there where same thing as "général" electricity :P
[Galaxy S 4 i9506 Android Development] MihaiMafteiu:
Hey bro,

I have the same problem with repeated reboots,

I'm on slim XXUCNJ1 version,

the phone overheated very bad, at one point I was even scared.

It was very hard to make it stop, take about 5 seconds after starting and restarting, in those 5 seconds I struggled to open SetCPU and set it something around 1000.

That was stable and restart in 15 seconds, during which I was able to copy the kernel nonOC so I can install it with TWRP.

It was like old times, in a in a thrilling computer game...

Unfortunately when I installed the kernel does not know about soc_pvs file and not looked after number.

I looked now, after I installed kernel nonOC and the number is 2.

I encountered another problem and do not know how to interpret,

since I installed SetCPU, in all 3 kernels, 1 nonOC and 2 OC,

I found that the UI go heavy, clinging like,

I thought it was from an application that cup storage too much or something like that.

Now, after I returned to nonOC, I wiped data and cache op SetCPU and I did't

open it, so no set, and now UI go smooth... hmm?!

(After each new kernel, I wipe cache and dalvik cache.) :P
[Galaxy S 4 i9506 Android Development] 3lambda:
I have a strange lag on gallery app on CNJ1 firmware (used you slim version with insecure kernel) all other application are smooth except gallery :)

Any idea to solve this ?
[Galaxy S 4 i9506 Android Development] same-xx:
Thnks bro for that... Did not know what was the numbers purpose... Forget to read before ask...
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro.

Are you using the latest updated XXUCNJ1 OC kernel, v1.2.1 ?

If not, download and flash it, then Clear Dakvik and Cache.

The latest XXUCNJ1 OC version in my OP, will fix the problems you have, all related to CPU power.

Yes, there seems to be a problem with SetCPU. Therefore I don't use it anymore, furthermore it hasn't been updated for a long time. One problem is; some apps gets stucked on very high frequencies. At the beginning I thought it was my kernel, but after some investigation I realized that it was SetCPU. It actually did the same on the stock kernel...

Better get rid of it (SetCPU). Use CPU Spy to check the frequency and try ROM Toolbox or an other to control frequencies/governors etc.

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

I've never had any issues of that kind. Sounds a little weird.

Try reboot to recovery and clear Dalvik and Cache . Can't come up with any better suggestion.

Regards.
[Galaxy S 4 i9506 Android Development] exelator:
I have used this kernel now for 1 day. My experiences:

- Insane fast, many governors for CPU and I/O

- Battery is good (well that depends on governor)

- I've had 2 reboots which is not bad. Seems like kernel doesnt like if you change minimal CPU frequency often.

- Not slowdowns

And heres extra screenshot.
[Galaxy S 4 i9506 Android Development] 3lambda:
48000 ? Insane !

Will try it :D
[Galaxy S 4 i9506 Android Development] lor99:
With stock android 4.3 no root I get 44195 in antutu and I have no lag at all.

Inviato dal mio GT-I9506
[Galaxy S 4 i9506 Android Development] exelator:
Why dont you update :D
[Galaxy S 4 i9506 Android Development] lor99:
Is kitkat as stable as jellybean? And I am still waiting for official update for sweden no brand.

Inviato dal mio GT-I9506
[Galaxy S 4 i9506 Android Development] exelator:
Yes it is. Just update to NEE version, its for nordic countries like sweden, finland (i am from finland and using it), norway etc.

EDIT: Actually country code doesnt matter.. You can use it if you are from China, USA, Indonesia..
[Galaxy S 4 i9506 Android Development] Genebaby:
Hi there, any word? :)
[Galaxy S 4 i9506 Android Development] tokswager2:
Just wondering

Hi DeHawk...Is it possible for you to turn off thermal throttling on your kernel?

Thanks...:D
[Galaxy S 4 i9506 Android Development] Genebaby:
Are any of the official 5.01 roms unbranded?
[Galaxy S 4 i9506 Android Development] JayVee:
Sure. The Nordic firmware (NEE) is unbranded.

Sent from my Galaxy Note 8
[Galaxy S 4 i9506 Android Development] Genebaby:
Thanks. :)
[Galaxy S 4 i9506 Android Development] Genebaby:
Ok, I have TWRP on my phone, I found a 2.8.4.0 version for it.

I am going to try the NEE 5.01 rom, do I neet to root to install it or can I leave it as is?

If I can leave it unrooted does that mean it will get OTA updates?
[Galaxy S 4 i9506 Android Development] DeHAWK:
Information.

For those thinking nothing is happening...been hardly working on my Lollipop insecure kernel.

I even had to remake my building scripts.

Now, even without Samsung kernel sources; I have Wifi fully working, Screen mirroring working, GPS working, most sensors working, sound working, vibration working and probably a lot more...

Kernel starts in 'Permissive' mode.

All KNOX shi* removed during insecure kernel installation.

Is already faster than the stock Lollipop kernel.

Still fighting; can see SD-card...meaning that some apps won't work, could be why camera and screen short don't work

Enough for now.

Stay tuned guys.

Regards.
[Galaxy S 4 i9506 Android Development] Genebaby:
To flash stock 5.01, can I do it via recovery? Wipe?

Or through Odin only, no wipe?
[Galaxy S 4 i9506 Android Development] eltrotamundos:
Odin only
[Galaxy S 4 i9506 Android Development] kotaxor:
Hi bro,

Nice to know you are working hard on it.

Have been waiting patiently for your upload.

Much appreciated.
[Galaxy S 4 i9506 Android Development] Genebaby:
Thanks, so no need to wipe clean in recovery?
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

Just flash using Odin v3.09.

Don't mark anything else than already marked.

No need to wipe anything when upgrading using Odin.

After flash you must have patience since all apps need to upgraded to ART.

Then you're ready to go, now on Lollipop v5.01.

You only need to clear Dalvik Cache and Cache if flashing an insecure kernel or custom system.

Regards.
[Galaxy S 4 i9506 Android Development] Genebaby:
Thanks, I am having trouble getting the NEE version of 5.01, it's taking forever and stalling etc. Oh the fun.
[Galaxy S 4 i9506 Android Development] same-xx:
Hey bro, I need to ask you another stupid question. Is it ok that in my system file there are 2 buil.prop files. Buil.prop and build.prop original. Only quick study difference is date. Thanks...

---------- Post added at 05:15 PM ---------- Previous post was at 05:12 PM ----------

Yea and another: tell me your opinion about them build.prop mods. Some speak a world anothers dont... Like to hear opinion from someone who really know something about something..
[Galaxy S 4 i9506 Android Development] sh0ne:
4.4.2 turn.... :)

Ola my friend!

I will flash 4.4.2 do I need a bootloader or something?

1st i will flash over 4.3 with trwp:

(twrp allready flashed):

1.GT-I9506 4.4.2 - Update_XXUCNJ1_Slim.zip.

2. Insecure kernel for GT-I9506 4.4.2 - XXUCNJ1 v2.0.

bootloader or something needed?

cheers:good:

edit.

flashed and stuck on samsung logo..... grrrrr
[Galaxy S 4 i9506 Android Development] eileddie:
New build is available I9506XXUDOAA - 30.01.2015 - Changelist 4060099
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

Thx. I'll better download.

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

There is no way to run 4.4.2 or 5.0.1 on 4.3 bootloader, forget it.

To much changes bro.

You need to upgrade brother, flash 4.4.2 XXUCNJ1 from my OP 4.4.2 section.

You won't regret, 4.4.2 is really good.

Still working on insecure 5.0.1; problem...I could really use same sources....this is hard..

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

Regarding Lollipop v5.0.1.

New breakthrough; full access to sd-card. No more FC on a lot of apps.

Screen shot now working!!!

Camera still not working.

Regards.
[Galaxy S 4 i9506 Android Development] DeHAWK:
More 5.0.1 info

Just love it :)

Regards.

EDIT

SideSync 3.0 now working, using it writing this.
[Galaxy S 4 i9506 Android Development] eileddie:
https://mega.co.nz/#!RQtWCD5S!Neak_LiOMRtWgwGnm7i1vJU45YctaesRxd-ElUEemtw

Fresshh DL link from here

http://forum.android.com.pl/f973/i9506-lollipop-5-0-1-dyskusja-oga-lna-501611/index23.html
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

As far as I can see, there is no special changes. PDA and Modem still the same.

But I'm right now downloading now and will later on check for changes.

Download done! 70Mbit/sek.

Regards and big thanks for FAST link.

EDIT

I've now been looking a little at this new version. Seems to be an Open Europe version, no branding!

A few new useless apps has been added.

Kernel is a new build.

Security policy files has been updated and a few other things.

Will use update in my future work, but at the moment; no need to update.
[Galaxy S 4 i9506 Android Development] Genebaby:
Ok guys, I am now sitting with my phone running Official NEE 5.01, again with the TWRP recovery, and it's actually quite cool.

I have not rooted yet, would I get any OTA updates now from Samsung?

If I do root, is that where I can get rid of the Samsung apps I don't want? Actually get rid of them to get the space back?

I have to say, I think they were right, Samsung did a much better job of TW in Lollipop. It's not quite the same as the CM12 build I was using before, but quite ok.

I like that it's stable and everything works.

If I was to root, how would I get any updates when Samsung release them? Wipe clean and start again only?

I'm just wondering for the future, what the hassle would be.

Thanks,

Vic
[Galaxy S 4 i9506 Android Development] usatencu:
I confirm. This version is smooth. I had before cehia version 5.0.1 but with lag for closed application and cleared ram. Now it s ok with this europe version
[Nexus 5 Q&A, Help & Troubleshooting] Lakshya:
Will I get my warranty back when I unroot my phone after unlocking the boot loader and rooting ..can we relock the boot loader ..i'm new to rooting ..pls help
[Nexus 5 Q&A, Help & Troubleshooting] wideasleep1:
Yes. You'll also want to 'untamper' it.

https://play.google.com/store/apps/details?id=net.segv11.bootunlocker
[Nexus 5 Q&A, Help & Troubleshooting] jd1639:
That's a philosophical question. Unlocking the bootloader may have voided your warranty. Just because you re-lock it doesn't magically bring with it a new warranty.
[Nexus 5 Q&A, Help & Troubleshooting] Lakshya:
Not new warranty.. I'm asking can I take my phone back to the lg store for repairs when it is in warranty ?or will they not accept it saying your warranty is void ..I want to put cm11 and that would require both unlocking boot loader rooting the device ..so ..noob here ..help ..thanks