yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9506 Android Development] casiocas:
Hey!

Just for info!

I was rooted before(with KINGO app) and was wondering dose it have some effect for the this ALREADY ROOTED(stock 4.2.2) rom installation. NO IT DOSE NOT! If you are rooted from kingo, just dont worry. Go to recovery, wipe everything(for case), if you can, then wipe everything twice or more to be sure. Then just follow instructions from FIRST post and you good to go!

If you not rebooting to the system, after flashing(what ever, system, kernel, recovery) you may CANT see the difference in the download menu:

SYSTEM...: CUSTOM

BINARY..

or similar things. They are still: CUSTOM

YOU MUST REBOOT TO THE SYSTEM and after that you may go back to the download mode and you see, that the

SYSTEM...: OFFICIAL

BINARY....: OFFICIAL

like I tryed several times, to not going into system, but directly to download mode after flashing the

SYSTEM...

BINARY...

wasnt changed. They was still IN : CUSTOM state.

!!!YOU MUST RESTART TO THE SYSTEM!!!

I hope this can help some one.

AND THANK YOU

DeHAWK(Contributor) & sh0ne(main tester)

for this nice and VERY, VERY hard work for us!!!

:cool:

!!!RESPECT!!!
[Galaxy S 4 i9506 Android Development] sh0ne:
Uhh what to say THANKS, BUT WITHOUT YA THAT PHONE WOULD ONLY BE BRICK FOR ME!

Actually Im still wiping stuff, so I have only 10 processes left, but you know me, It have to stay only those which are really needed!

Mate can you post a list of the actual slim system/app list?

Here are the processes: which are left: , gonna be killed. :D

cheers Mate, I tell you what: YOU MANAGED TO MAKE A SUPERSLIM BATTERY FRIENDLY STOCK WITH WARRANTY!!!

Guys what you want more?? I9506 Saved!
[Galaxy S 4 i9506 Android Development] DeHAWK:
I'll send you a pm. tomorrow.

Cheers. :beer:
[Galaxy S 4 i9506 Android Development] Numero17:
friend read mp
[Galaxy S 4 i9506 Android Development] Genebaby:
Can the ads-blocking zip be used on non-touchwiz rooms too?
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

Yes, it should could be used on all systems and actually all Android phones. If you have a /system/etc/hosts - then the answer should be yes. This works exactly the same way as on Windows, Linux etc.

Regards.
[Galaxy S 4 i9506 Android Development] Genebaby:
Cool, thanks for that man.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

Made some research, seems it requires a special cover to use the wireless changer, am I right?

I also see they can charge with up to 1200mA. I'm not sure if it's currently supported in my kernels. But you still have the original 2000mA charger and that is definitely supported.

In FauxClock, look under Battery Controls.

Let me know what it says.

Kernel supports different charging rates, try 'custom' and '900mA' for wireless charging and see what happens.

Let me know the result.

I might have to get myself a wireless changer.

Regards.
[Galaxy S 4 i9506 Android Development] Borjaos:
DeHawk, would you mind to cook a flashable zip with latest stock ROM?

It would be very useful to not use Odin everytime we want to come back Stock
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

Not impossible, but only for system, kernel and recovery. Actually that's all you should need to go stock if already on 5.0.1.

Is this what you want?

Regards.
[Galaxy S 4 i9506 Android Development] kotaxor:
Hey bros,

Had done some testing but not as extensive as I would like to.

Here is my 2 cents review, take it with a pinch of salt.

On a Samsung Note 4, with its fast charger and fast charging cables (which came with the Note 4), it charges at a rate of about 2% per minutes. (Need to test the Note 4 in greatly details in the near future, as my daughter is using it daily...LOL).

On our S4, the maximum current is limited to 1900mA (you can use Galaxy Charging Current apps to check).

Regardless of what you change in FauxClock, it remains as 1900mA. This is good as a safety measure to prevent damage, but seem you can't change it any higher.

I do remember there is a file in sys/device...somewhere which changes this limit but not going to risk it.

Now, using the same fast charger and fast charging cables, it charges our S4 at a rate of 1.5% per minutes.

It charges at the maximum of 1900mA.

But using a normal cable, even samsung normal cables, I could only get 1200mA, at times maybe 1900mA.

I need to test more on the Note 4 to determine the charge rate with and without the fast charger and cables.

So...is fast charge working? Or is it due to the charger and cable?:confused:

I can't give a definite yes or no.

Edit : [MENTION=4188575]DeHAWK[/MENTION],

Hey bro, I see you created an adblock zip. Would it be better to install Adaway app, which will update the host file manually or automatically.

In this case, you will not be trouble to keep updating the host file for flashing.

Just a suggestion as you are busy as it is.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

You're right about Adaway. I'll include it in the addblocking.zip and let it install. Actually it was just a quick way to provide some add blocking for those who wanted it here and now.

Did some research on the build.prop entries you mentioned. Everithing is as in the original file and the names with different values are just updates. They are related to the font cache and how fast the GPU can update the screen, depending on screen resolution. Found the information on a Google development page by searching a complete line.

But it seems some lines can be removed.

Regards.
[Galaxy S 4 i9506 Android Development] Juhoop:
Tested now your adblocking about 6hours and it works like a charm! Does it remove adds from games and youtube videos too?

E: Is it possible to add own block lists on there?
[Galaxy S 4 i9506 Android Development] kotaxor:
Its a hosts file in system/etc/hosts.

You can edit it using Notepad++.

Its much like Windows version.
[Galaxy S 4 i9506 Android Development] lucas_nz:
fast charging

Hi guys,

First of all, I haven't tried the latest kernel as I don't have a charger that supports fast charging.

My understanding of the Samsung fast (adaptive) charger, is that if it detects a compatible device, it ramps the voltage up to 9 volts (instead of the usual 5), and leaves the current at 2 amps, thus providing more power (power or watts, in dc, being volts * current). Therefore, you may not notice a change in current...

I'd love to know how the charger determines if the phone is compatible, as reportedly, it knocks back to 5v on incompatible devices. Samsung would want to get this right, or they might have lots of people chasing them to pay for their broken phones...
[Galaxy S 4 i9506 Android Development] DeHAWK:
Post #2085 updated...again. New Add-Blocking link now available.

Added new link for new Add-Blocking file for custom recovery.

File can be found at the end of post #2085.

File is ONLY for Samsung Lollipop v5.0.1

What's new: Now installs the AdAway.apk.

Using this app you can control everything yourself and therefore no need for me to make updates.

Try open it's settings and have a look.

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

Made a new file that will install the AdAway app. Now editing can be done on the phone.

Regards.
[Galaxy S 4 i9506 Android Development] kotaxor:
Nice bro, but editing a big hosts file might be a problem on phone.

---------- Post added at 07:39 AM ---------- Previous post was at 07:37 AM ----------

Hi,

This might be a good read:

http://apcmag.com/android-usb-charging-secrets.htm/

Cheers
[Galaxy S 4 i9506 Android Development] kornelius1982:
For some reasons fast cahrge doesn`t work for me. Using stock OC5 with 1.5.2 kernel.

What`s weird, charge is even slower when fast charge option is active. Measurement software shows 1900 mA, but in real life it`s as slow as USB charge.

I tested it with Anker Astro E3 10000mAh charger, which produce 3A on single port.
[Galaxy S 4 i9506 Android Development] lucas_nz:
Yes, that was interesting, but it doesn't mention anything about the Samsung fast charge. I'll need to try and find the thing I was reading the other day which mentioned they were using 9v instead of the usual 5v.

Your problem could be because the Samsung adaptive fast charger uses 9v instead of 5v. 9v * 2a = 18W is greater than 5v * 3a = 15W... So theoretically a Samsung adaptive fast charger is even quicker than your Anker Astro E3...
[Galaxy S 4 i9506 Android Development] kotaxor:
Li-on battery can take up to max of 4.3v..any higher will greatly reduce the battery life. Even damaging it.

Cheers

Sent from my GT-I9506
[Galaxy S 4 i9506 Android Development] meta1984:
Where i an download 1.5.2 kernel ?
[Galaxy S 4 i9506 Android Development] kotaxor:
Post #2085

Sent from my GT-I9506
[Galaxy S 4 i9506 Android Development] Borjaos:
Yes, that is what I meant. I used to use your Update_XXXXXXX.zip. It was a simple way to get back to stock from Cyanogenmod or other custom ROMs.

Hope it isn´t too hard to do.

Greetings.
[Galaxy S 4 i9506 Android Development] kornelius1982:
I don`t have Samsung adaptive fast charger, but I have original 9506 charger which is slower then Anker 3E.
[Galaxy S 4 i9506 Android Development] lucas_nz:
What's you've just said it not well thought through. As you say 4.3v is the highest charging voltage (I think 4.2 is usually used), then applying the 5v (that is supplied by USB) would "greatly reduce the battery life". Clearly the phone needs to lower the voltage. There's no reason the phone can't drop the 9v supplied by the charger to the required 4.3v (much like it does for a 5v charger).

Anyway, you don't have to believe me, how about gsm arena, and android facts:

http://www.gsmarena.com/charge_test-review-1239p2.php

http://androidfact.com/samsung-galaxy-note-4/
[Galaxy S 4 i9506 Android Development] kotaxor:
Nice, google lithium battery charging voltage and it seem the voltage varies to maximum of 4.0 to 4.4V, although the charger states 5V, it never delivery that amount. Resistance of cable and other losses will reduce the voltage by the time it reached the phone.

Anyway, the maximum voltage seem to be control by the battery itself, to prevent it from overheating or damaging.

The Note 4 battery look normal to me, state that the charge voltage 4.4V/3220mA.

That would be the maximum voltage and current of the Note 4.

Meaning it current is at that range of 3000mA, that is, charging almost 1.6 of our S4 at 1900mA.

And you know what is weird, the fast charger comes with a 1.5m long fast charging cable.

Why have such a long cable (which causes more resistance) than a shorter cable.

I would assume a shorter cable deliver the charge much faster.

Then again, you might right on your point of view.

Cheers

Edit: on second thought, we might both be right. It seem the kernel and chipset plays a part in taking in the high voltage and converting it to current then 'pushing' it to the battery thus enabling a speedier charge than the indicated mA.

If that is the case, to monitor if fast charging works, one need to monitor the time it takes to charge the phone with and without fast charging.
[Galaxy S 4 i9506 Android Development] eileddie:
I have tried some different chargers and here is my results:

Wireless charger 640 mA

Original Samsung charger 1900 mA

Sony USB charger 1200mA

Laptop 460 mA

Car charger 1060 mA

In FauxClock > Battery Controls. No Matter what settings I use, the result is the same. Does the settings suppose to work?

And [MENTION=4188575]DeHAWK[/MENTION] you don't need another cover to use a wireless charger, only the two things from my eBay link. there is room for the receiver in the phone.
[Galaxy S 4 i9506 Android Development] konninn:
Search the whole board and didn't find any, does anyone have a DL link for stock xxxdoc5 untouched.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro.

Well, my 5.0.1 section is not yet ready..

But here you have a fast link for the XXUDOC5, Open Nordic.

Download link:

https://mega.co.nz/#!ZUdjVR5J!W6Ugxpe2XbI6qZlHkW4s-oCR0GKLROvSaP1k3ziO6aA

Please read some of the earlier post regarding a perfect flashing. You might have to pull out battery.

Unzip and flash using Odin v3.09

Regards.
[Galaxy S 4 i9506 Android Development] konninn:
Thx man, already scrolled through manually and found the link. :) Im a seasonal flasher, thanks for the heads up though :)
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey guys.

I've with interest followed the conversation about Fast Charge.

And all this made me look over the code, finding some issues I need to work on.

I'll let my tester have a version with max 3000mA activated, this because he actually has a 3000mA charger supporting fast charge.

Now some good news: I now have a Super Slim XXUDOC5 for custom recovery ready. It's fully working on my phone, running it now. But since I'm here are dealing with a bunch of very different users with all kinds of needs, it's hard to tell if it will work on other phones. But you can always give it a try.

And when I say Super Slim, I mean it.

It has taken a lot of time and a lot of flashing to make it work.

It's only supposed to be used with my OC or NON-OC XXUDOC5 kernels.

And you don't need to re-flash the kernel after installing the Super Slim version.

Best results is archived if doing a factory reset (vipe data partition) after 1st boot.

I'll upload tomorrow, so stay tuned.

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

Just be sure to turn OFF phone and pull out battery a few minutes.

Then, after installing battery again, you must go directly to download mode and make the flash.

This to make everything is actually being updated.

Regards.
[Galaxy S 4 i9506 Android Development] maccaberry:
GPS Lock?

Thanks to DeHawk and the warning shown in post #2604 I know have fluid working lollipop. But now I have another question for users. Does anyone else have problems maintaining a gps lock. I am on DOC5 stock with TWRP 2.8.5.0 recovery and DeHawk Non OC v 150 kernel.

Previously the phone had great gps lock. Now, using Google maps, Nokia Here (I am loving it better than Google Maps) or any other nav program I cannot maintain a lock. Should I try Factory reset? Cheers.
[Galaxy S 4 i9506 Android Development] kotaxor:
GPS is working fine here. You can try this..http://www.xda-developers.com/gps-lock-faster-xdatv/

Sent from my GT-I9506
[Galaxy S 4 i9506 Android Development] maccaberry:
Thanks for that. Actually getting a fix is near instantaneous. Just noticed that I keep losing fix as I am driving. Open air, no trees or buildings, cloudless sky. (This being Australia afterall). I havent seen this type of problem since my HTC Titan days.

I think I will try a wipe followed by full flash. My only thought is that it is to do with the radio/modem. When I was on 4.2.2 I was using Australian csc and hidden. Now I am on Nordic. ? Is is ok to flash the 4.3csc on this (if I go back to stock kernal first.)
[Galaxy S 4 i9506 Android Development] dnbjunkie:
Root i9506

Hello guys,

I don't know if this is the correct thread for this question, but after a few days of research i decided to post here. So, my question is: Is there any method to root my phone who has the last official firmware(I9506XXUDOC5). All the rooting methods have stock rom I9506XXUDOA6. Should i use one of those methods or can you suggest me another one?

Thank You!
[Galaxy S 4 i9506 Android Development] ruadus:
Hello DeHAWK,

Regarding your point about everyone has all kinds of needs, did you think about the Aroma installer, I used to use a ROM with Aroma installer, which make the ROM very customizable at the user level. You provide the user with a choice of installing or not the apps he needs, the theme, the kernels or whatever.

You can provide the option of installing a pre-configured very slim, slim or full ROM...

IT mignt be good, I don't how hard is to implement it, but think about it. :)
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

If you want to get rooted and at the same time totally KNOX free, you should consider flashing my one of my insecure XXUDOC5 kernels.

They not only root and remove KNOX but also gives better performance and battery life. And as a little bonus you get full support for FauxSound and FauxClock.

If you care about tripping the KNOX warranty, you should not root.

Atm. no way to root a proper way without tripped KNOX.

Personally I don't give a sh*t in KNOX.

Look at my post #2085 for insecure kernels with root. Must be flashed using a custom recovery. I recommend TWRP v2.8.5.0.

Regards.
[Galaxy S 4 i9506 Android Development] dnbjunkie:
Thank you for your reply!

I don't care about KNOX, i just want to root my S4 and install one of your XXUDOC5, but first i have to install a recovery like TWRP. Can you recomand a good tutorial for flashing it for i9506?
[Galaxy S 4 i9506 Android Development] Ritzo90:
I've just tried to apply the root, I can apply the OS: https://drive.google.com/file/d/0B6he3hscczvdY3RpOTFnbWRYcWc/edit?usp=sharing 4.3 KNOX OUT, but when I apply the CSC for Australia Telstra it tells me invlaid ext4 file on the phone and then on reboot it says the firmware upgrade failed.

My phone is from kogan so I have no idea what version it is all I could find was i9506

Any help appreciated, going through another retry without CSC file
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

Just made a quick jump to your link.

Looks indeed very interesting. I've heard about the Aroma Installer before but never considered using it.

But it could actually save me a lot of time and questions. In Lollipop it's NOT easy to remove or install system apps. Mostly because so many of them depends on others that again depends on others and so on...

That's why it has taken me so long time to make a Super Slim XXUDOC5 system.

And even in my Super Slim version, people could probably remove even more.

Thanks for your advice bro, I'll strongly consider the Aroma installer.

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

You can find the TWRP in one of the other threads here on the GT-I9506 forums.

As far as I remember, he has two versions; choose the one Odin flashing.

Flash it using Odin v3.07. All Odin versions can be found in my OP.

Then you're ready to flash .zip files made for custom recovery.

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

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

It's very important you follow the OP guide for CSC flashing, step by step. Looks like you're missing something when you make the CSC/Hidden flashing,

Have you considered update to 4.4.2 or even 5.0.1?

You will not regret, both of these are just so much better than 4.3.

I'll be back to you later, just need to have a look at my OP CSC flashing section...long time ago since I made a CSC flashing.

Stay tuned.

Regards.

EDIT

I just had a look at my OP...well, quite messed up I must say..argh.

When I started this thread we all had 4.2.2 and then we got 4.3.

At that time it was possible to run 4.3 on the 4.2.2 by just flashing a few files. But the CSC was a problem.

I therefore, at that time, had separate CSC and Hidden files.

But not anymore. You need to flash a full CSC/Hidden file instead. This must be done by Odin on a stock recovery. If you have a custom recovery installed, CSC flashing will fail.

EDIT2

Download the below file, it's a combined CSC/Hidden for 4.3 - Telstra, Australia.

https://drive.google.com/file/d/0B6he3hscczvdMlU3aElDd3JuREU/edit?usp=sharing

Unpack the zip file using 7-Zip, to get the md5 image file.

Fire up Odin on your PC, here we use Odin v3.07, but any version should work.

Disable the Auto Reboot option by removing the mark, this is important.

Press AP and select the .md5 file you got when unzipping the downloaded CSC/Hidden.

Wait for Odin to verify the md5 checksum. You know when it's ready!

Put your phone in Download Mode (Odin mode).

Connect to PC and wait for Odin to recognize it. Looking at the ID:COM tells you when it's ready.

Now press Start and wait for Odin to do the flashing.

After a successful flash, the phone should Auto Reboot into recovery mode, flash the CSC files and then auto reboot again.

When ready, you should end up at your start screen.

Congratulation, you've now flashed your desired carrier CSC/Hidden.
[Galaxy S 4 i9506 Android Development] johnzaro:
Hello DeHAWK,

I have been using your kernels for stock TW lollipop until some weeks ago and I was totally satisfied with your work... I decided then to try arter97 's S5 ROM for i9506 which is very stable and I prefer it from the stock S4 ROM but your kernels aren't compatible with arter's ROM... I would really like to use again your kernels as they have a lot of awesome features, so is there any chance you could make them compatible with that ROM?
[Galaxy S 4 i9506 Android Development] kornelius1982:
Regarding FauxSound, is anyone using it? Is it worth to replace Viper4Android with it?

Thx.
[Galaxy S 4 i9506 Android Development] konninn:
Regarding Faux123 , worth spending 5$ on it or is something else usable with the kernel? Seeing as for instance STkernal was soley for Siyah's kernel and was free.
[Galaxy S 4 i9506 Android Development] dnbjunkie:
I installed TWRP and SU. After that i installed your kernel and i get some errors like google play dosen't show anything in it and high loading time for some apps, here is a ss of my device info . If i want to flash stock rom, now i have to flash it from TWRP, or should i flash it via odin and then flash again twrp/su/kernel?
[Galaxy S 4 i9506 Android Development] kotaxor:
Hi, I'm using FauxSound with Viper4Android.

It is not worth replacing Viper4Android with FauxSound.

Viper4Android is one of a kind, so far nothing can replace it.

I use FauxSound more for the telephone extension.

There is one, kernel adiutor (I think) from Playstore and its free, use that.

---------- Post added at 11:31 AM ---------- Previous post was at 11:23 AM ----------

Hi

Get the TWRP from here: http://xdaforums.com/galaxy-s4/i9506-develop/recovery-twrp-2-8-1-0-touch-recovery-t2942159

Flash it as per [MENTION=4188575]DeHAWK[/MENTION] instruction, no SU needed.

Copy the dehawk kernel file into your extSDcard then turn off the phone.

Go into custom recovery by pressing the up volume key + home + power button.

Select 'install' and navigate to where you put the file, swipe to install and reboot.

cheers
[Galaxy S 4 i9506 Android Development] sag:
Easy to find.

http://xdaforums.com/galaxy-s4/i9506-develop/recovery-twrp-2-8-1-0-touch-recovery-t2942159
[Galaxy S 4 i9506 Android Development] dnbjunkie:
Thank you all for your help!

I figured out how to root my s4 and install DeHAWK kernel. I still have one question, if i want to install a stock ROM, i should install it via ODIN or TWRP?
[Galaxy S 4 i9506 Android Development] kotaxor:
Stock Rom....Odin
[Galaxy S 4 i9506 Android Development] Genebaby:
Install stock roms via Odin.
[Galaxy S 4 i9506 Android Development] DeHAWK:
OP 5.0.1 section information.

Opened the first section: 1st - Stock firmware files.

Here you can now find latest stock kernel, recovery and full original firmware.

All files currently only for Odin.

But will also add the stock kernel for custom recovery flashing.

Regards.

EDIT

Added link for stock kernel for custom recovery flashing.

EDIT2

Add link for rooted stock kernel XXUDOC5 for custom recovery flashing.

Since this is still an original kernel, I think it belongs here.

EDIT3

Corrected the link for stock XXUDOC5 kernel for Odin.

Was pointing to wrong file.
[Galaxy S 4 i9506 Android Development] Juhoop:
Hey! You have added only rooted (without anything else) DOC5 on post #2085. Do i need to flash it with odin or is it possible to flash it with twrp?
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

All the files in post #2085 are only for custom recovery.

Hmm..Perhaps I should put that file too in my OP 5.0.1 section.