yashsingh1/xdaforums huggingface dataset:
[8525, TyTN, MDA Vario II, JasJam General] cybertron:
Ok, so now I have also tried SPB Clone, and S-K-TOOLS, but NEITHER of them are able to do a FULL backup / restore.

They BOTH miss E-MAIL settings if restored in a different PDA (same brand/hardware)

If restored to the PDA in wich the backup was created in it seems to work, but I am not helped with that!

WHY? In the registry there are signs of my accoounts (I cant create new ones with the same name as before) but they don't show up.
[Galaxy S 5 Original Android Development] drakester09:
Hi,

I thought you guys with G900H (Exynos variant) might want to try this out.

Stock min freqs (500 and 800MHz):

http://xdaforums.com/devdb/project/dl/?id=7080

Min 200MHz for A7 and A15 clusters - might have better battery life but it will be less smooth... maybe:

http://xdaforums.com/devdb/project/dl/?id=7081

Please let me know which version works better for you and I'll keep those min freqs as default.

Sources:

https://github.com/drakester/SM-G900H_Kernel

I have done a couple of things to improve battery life, but overall it's very minimally modified from stock.

See Github for changelogs and to behold the innards of my laughable attempt at getting a kernel running.

It also has a working implementation of Wolfson Control (thanks to AndreiLux!).

Hopefully I'll have enough time later to implement a robust Synapse-based control for it.

All credits of most things to:

@AndreiLux - A lot of help and guidance implementing Wolfson Control

@halaszk88

@Alberto96

@franciscofranco

@Christopher83 - toolchain

The only thing I have done is try and test applying their work into this device, my knowledge is very limited.

If you really want to donate, donate to them, not to me. It wouldn't exist without their effort.

Flash this under your own risk! It trips Knox counter!

Under no circumstances I'm responsable for any harm to your devices.

I'm not going to add stuff I don't want/need, before you ask for:

5000 governors

5000 i/o schedulers

CPU OC

I might add:

GPU OC

Changelog:

0.2:

Fixed updater script, this caused a silent error on flash.​

Note: This kernel is based on NE2 firmware, it most likely will not boot in older versions.

The OP is the most mysterious and hidden part of xda, if you read all the way here you are awesome, congrats!

XDA:DevDB Information

Universal5422 Custom Kernel, Kernel for the Samsung Galaxy S 5

Contributors

drakester09

Kernel Special Features:

Version Information

Status: No Longer Updated

Created 2014-06-18

Last Updated 2014-07-21
[Galaxy S 5 Original Android Development] oswade:
Great work mate, always need more devs for G900H.

Will test it out soon.
[Galaxy S 5 Original Android Development] Airboner:
dude plz build custom rom for our sm-g900H,we waiting for few days...:( btw Great jon and we ty xD

Στάλθηκε από το SM-G900H μου χρησιμοποιώντας Tapatalk
[Galaxy S 5 Original Android Development] drakester09:
Maybe, someday when I have enough spare time... :silly: Unfortunately there's a lot to learn and very little time.
[Galaxy S 5 Original Android Development] Tim34:
Thank you finally some development i will try them and get back to you :) THanks for this :))

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

what exactly is wolfson contol and how do you use it ??

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

I have tried the lower frequency one but I dont see it running at 200 instead still at 500 much I change this manually? Or is it auto scripted/
[Galaxy S 5 Original Android Development] drakester09:
My mistake :o, I added the wrong boot.img to that zip. I'm uploading a fixed version.
[Galaxy S 5 Original Android Development] Tim34:
cool let me know ill try it out ......
[Galaxy S 5 Original Android Development] drakester09:
Thanks for reporting that, I double checked and found something wrong. A redownload/reflash is advised for everyone.

Updated both zips as the updater-script had an error with the target path, please try them now.

I swear I wasn't testing the placebo effect on you guys. :laugh: Honest mistake.

Didn't notice because I had the image flashed previously using flashify (way faster than going to recovery and flashing).

I only tested that the zips were functional and no errors were reported in recovery. But the error was silently dropped.
[Galaxy S 5 Original Android Development] Tim34:
Cool Bro... I am running the lower cpu version and it is very smooth. If the battery turns out to be better this will be a excellent daily kernel. Thank you so much for helping us all out....:)

Maybe one day you will get free time and make a nice rom for this phone hahaha here is to hoping ;)
[Galaxy S 5 Original Android Development] drakester09:
Maybe.... :cowboy:

Please let us know how it works for you. I want to see how both variants behave in different setups (apps, usage).

Thanks a lot.
[Galaxy S 5 Original Android Development] Tim34:
Sure will do so and post later :))
[Galaxy S 5 Original Android Development] hung2900:
Sorry. I'm thinking about whether I should buy a warranted G900H Octa or an exported set G906 with Snapdragon 805. I don't really care about the QHD vs FHD screen though. But from this thread, I want to ask the SoC Exynos 5422 uses the same cluster immigration like Note 3 S4 or the new HMP implementation like Exynos 5260 Hexa? Thanks.
[Galaxy S 5 Original Android Development] drakester09:
Same as Hexa, new HMP.

http://www.anandtech.com/show/7811/samsungs-exynos-5422-the-ideal-biglittle-exynos-5-hexa-5260

They actually moved the kernel version to 3.10 to get it supported.
[Galaxy S 5 Original Android Development] Airboner:
thank you for cauze of your custom kernel,my phone bricked -.- i hope that the stock freq you uploaded its also stock kernel..

pff i try to connect my phone with pc and doesnt recognise my own sd...plz delete this kernel,may be others users like me damage their phone
[Galaxy S 5 Original Android Development] hung2900:
Thanks. I asked this because when I compare the GS5 G900H to Note 3 Neo with Aututu, the former didn't show a much better result, while it has 2 more cores and all of these cores running at a higher clock.
[Galaxy S 5 Original Android Development] drakester09:
Benchmarks aren't all the story. Plus it really depends on who did the benchmark.

This device benches 36-38k on stock. I seriously doubt that the Note 3 neo gets that.

Edit according to GSM arena it gets 32k on a 720p screen, S5 is 1080p. There's no way you can compare them.
[Galaxy S 5 Original Android Development] drakester09:
Read the OP. I'm not responsible for anything that happens to your device. It's your own responsibility. Welcome to xda. Sorry to be so blunt.

I tested both zips on the device coming from bone stock. Tim also flashed it and got no issues.

Both kernels aren't OC in any way that they could brick your device. You did something wrong or your recovery did so. I used PhilZ to test.

Might post instead what zip you flashed and also which custom recovery you had so we can help you instead of posting baseless accusations.

Have you flashed any mods or something else?

I tested this with stock rom, xposed, root and knox disabled by super su. The only thing that might come to mind is that somewhere knox is to blame.
[Galaxy S 5 Original Android Development] Tim34:
How can this brick your phone. I have it running whole day and its awesome. Using the lower cpu version and getting excellent battery. I use my phone alot with my sport using endomondo for over 3 hours cycling with podkicker and I have 62% still. Its smooth too no lagg on the lower cpu. So you deff did something wrong. I use stock latest update wannam and exposed module all knox crap deleted and rom debloated. CWM recovery and no problems.

---------- Post added at 07:46 PM ---------- Previous post was at 07:42 PM ----------

To the OP. I have no problems with the lower cpu kernel. Here is what i have found. Smooth and effecient. I used my phone with endomondo 3 hours with GPS and podkicker today and its evening here now. So far 9h26m with 60% battery left. 2h48min screen on time. There is no lagg with your kernal on the lower cpu as you thought so im happy with it. Want to see how long my battery will last. I use power saving mode as well and no stuttering.... Im happy :fingers-crossed:
[Galaxy S 5 Original Android Development] drakester09:
Thanks. What I don't like about 200MHz min is that I'm seeing too much oscillation in the CPU frequencies, A7 cores ends up jumping to 1GHz more often than with 400 or 500MHz min, I'm going to experiment and maybe set it to 400...
[Galaxy S 5 Original Android Development] Tim34:
Cool let me know and ill test it :)
[Galaxy S 5 Original Android Development] djigane:
[MENTION=4430575]drakester09[/MENTION] can you please post stock kernel flashable zip or odin tar file, in case we encounter some issues after flashing your kernel.

For those who want to go back to stock. Thanks
[Galaxy S 5 Original Android Development] drakester09:
Stock NE2 attached, flashable with Odin.

I haven't tested it but it should work.
[Galaxy S 5 Original Android Development] Tim34:
dude i am soooooooooo impressed with your kernel giving exceptional battery life. using the 500 clck speed nowand its impressive. i put my phone on flight mode at night and get about 5 hours screen on time and over a day battery life.
[Galaxy S 5 Original Android Development] drakester09:
The 500 MHz clock should yield better battery life, I think .

The 200 MHz one makes the CPUs jump to 1ghz far more often.

200, see how it jumps much more to higher frequencies.

500, much more stable.
[Galaxy S 5 Original Android Development] 3c:
Stuck on "powered by Android"

After flashing this kernel with flashify (using direct boot.img), I got stuck in initial boot screen "powered by Android" ? Flashe with CWM, same thign, flashed AquaKernel and it recovered from there. Tried flashing again with CWM, stuck again!?

What did I do wrong? Any help appreciated.

I've tried both stock and AquaKernel and none of those retain second CPU settings after it goes offline (when screen's turned off). Does this kernel retain second CPU settings by any chance?
[Galaxy S 5 Original Android Development] drakester09:
Odd, I only have tested flashing with PhilZ Touch. Flashify should work just fine, that's what I use when I'm testing.

I'll try to reproduce the bootloop when I get time.
[Galaxy S 5 Original Android Development] ketut.kumajaya:
[MENTION=253258]3c[/MENTION] Remember me? You help me before by integrating another OMAP PVR overclocking feature to your app :good: Please try http://xdaforums.com/showpost.php?p=53740556&postcount=80, also compiled by [MENTION=4430575]drakester09[/MENTION], a test build of https://github.com/kumajaya/android_kernel_samsung_universal5422
[Galaxy S 5 Original Android Development] drakester09:
If it still doesn't boot then I'll upload another kernel built with Google's toolchain. I have used Linaro 4.9.1 for the past releases but I would start using Google's 4.8 if there are issues.

PS ketut.kumajaya your current sources could be used to get CM running (along with a device tree)? How hard it could be besides bugs in the platform (non working camera/video)?

I suspect it being Exynos it would be much tougher to get AOSP going.

If you ever get a chance your help would be immensely appreciated. Your kernel building instructions were excellent, thank you.
[Galaxy S 5 Original Android Development] ketut.kumajaya:
Please try build CWM or better PhilZ Touch using [MENTION=4666971]Phil3759[/MENTION] device source tree https://github.com/PhilZ-cwm6/philz_touch_cwm6_device_vendor/tree/master/device/samsung/k3gxx first. Don't forget apply http://xdaforums.com/showpost.php?p=53724293&postcount=78 to automate build the kernel from source and build the final recovery image using a custom mkdtbhbootimg.mk .

About my kernel building instructions, someone help me correcting it since my English not good :laugh:
[Galaxy S 5 Original Android Development] 3c:
Can't wait to run this kernel :D

Downloaded boot-new.img, flashed with flashify, then inside a ZIP with CWM, no luck :(

I can't understand why everyone is able to boot with this kernel but I can't!? We all have the same device, don't we? We only have stock ROM at the moment too, or did I miss something?

In the mean-time I found a way to get second CPU settings to stick using a profile with screen off/on CPU settings. However there seem to be a bug in the app that break profiles, so I'll publish an update soon.

Thanks for working on this, would love to see an AOSP or CM build in the future. That would be awesome!

EDIT: Checking the build number I'm still on G900HXXU1ANCI, so I'll flash NE2, it should work from there?

EDIT2: Or do you want me to keep the current build for testing? Only got NE2 firmware so there might not be a way to go back.
[Galaxy S 5 Original Android Development] drakester09:
Please try NE2. That should solve your problems.
[Galaxy S 5 Original Android Development] SandeepEmekar:
[MENTION=4430575]drakester09[/MENTION]:

It is really nice to see a new kernel for "H".

Anyway, I sold my S5 and switched to Note 3.

Have you fixed Mixer Paths for Wolfson Implementation?
[Galaxy S 5 Original Android Development] 3c:
That worked! Stupid me, should have done that earlier.
[Galaxy S 5 Original Android Development] Airboner:
i fixed it the same day its all ok,i reflash with stock rom..now i am root only..i flashed kernel via custom recovery

i didnt do the right? :/
[Galaxy S 5 Original Android Development] drakester09:
It seems that everything is working, haven't tested it much really.

We won't really know until I get that Synapse interface working.

You should have updated your post then, it might scare other users without reason. Glad you fixed your issue.
[Galaxy S 5 Original Android Development] drakester09:
Reposting this here for attention.

There are now two great Roms available for the G900H in the Android development forum.

A stock cleaned up, rooted, deodex or odex by Alvin.

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

A slimmed, de bloated one by Edgar. With an add-on pack.

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

Both work wonderfully. I'd say Edgar's is everything that Shohat always wanted to be and never was. :laugh:

Shower them with thanks please, they deserve them for supporting this device.
[Galaxy S 5 Original Android Development] Airboner:
ok so tell me how can i flash the kernel?cauze i tryied yesterday with flashify and i had the same issue..stuck on samsung logo
[Galaxy S 5 Original Android Development] 3c:
Having the same issue I was on an old NCI firmware, flashed NE2 firmware and all was fine then.

---------- Post added at 09:49 AM ---------- Previous post was at 09:42 AM ----------

Aren't we very lucky now? Thanks for the repost, I would have completely missed it otherwise! So you get a thank and they get many too :D And just found out got a 8 thanks a day limit :D
[Galaxy S 5 Original Android Development] jgalvez21:
had the same issue... flashed using philz i had ANC1 version from claro panama...
[Galaxy S 5 Original Android Development] drakester09:
I'm going to specify that this kernel should only be used with NE2 firmware in the OP.
[Galaxy S 5 Original Android Development] jgalvez21:
i am having problems to restore it too.. try to install NE2 version using odin and fails last second :(
[Galaxy S 5 Original Android Development] drakester09:
There are a lot of reasons why Odin might fail.

What is the error message you get?

(maybe post log or screenshot)
[Galaxy S 5 Original Android Development] jgalvez21:
no error just fail..

i manage to fix it by install phil recovery after install ne2 update-

even kies 3 failed.. had to uninstall it.

some SM-G900H have issues with recovery i guess.
[Galaxy S 5 Original Android Development] Tim34:
Thanks again using Edgars rom with your kernel works like a charm thanks to everyone :)))
[Galaxy S 5 Original Android Development] jgalvez21:
ok after testing

its alot less smoother with min feq. i dont really feel its saving battery life.

also i found a bug with audio, only tested with bluetooth SbH50 headset i have but with bluetooth sound

max volume is not the max volume

max vol -1 it the max volume at least bluetooth side

ne 2 firmware its really worse for battery life >/
[Galaxy S 5 Original Android Development] drakester09:
Yeah as I mentioned, it might use more battery as it forces the cores to jump to 1GHz more often.

I'll drop it by the next update and use stock only.
[Galaxy S 5 Original Android Development] jgalvez21:
Do you know something chance kernel wise con ne2 i think anc1 gives better battery life

Enviado desde mi SM-G900H mediante Tapatalk
[Galaxy S 5 Original Android Development] drakester09:
Hmm, might not happen, there are quite a lot of changes between ANC1 and ANE2.

I'm hoping for a newer base update soon.
[Galaxy S 5 Original Android Development] TrueNix:
Hi,

I'm trying to compile my own kernel from original source and I'm using ndk toolchain arm-linux-androideabi-4.8.

I had some errors when compiled so I disabled -Werror in MakeFile

I took your work as a template

Used abootimg to repack my zImage

But still haven't got any success to boot it.

Any advice please :)

Realized that I packed it wrong.:(
[Galaxy S 5 Original Android Development] drakester09:
Let me know if you have any other questions or come across any issue.

Another developer joining the fray would be much welcome. I'm using my S5 very little nowadays...
[Galaxy S 5 Original Android Development] TrueNix:
Hi,

I'm really confused I have tried packing it via "abootimg --create boot.img -f bootimg.cfg -k zImage -r initrd.img"

still no go stuck on bootloader screen.

---------- Post added at 10:41 PM ---------- Previous post was at 10:26 PM ----------

By the way Is there a quick way to test my zImage? I have tried to activate all 8 cores .

I think I will clone from your git and will try again.

---------- Post added at 11:25 PM ---------- Previous post was at 10:41 PM ----------

Can you provide link to linaro-arm-eabi-4.10 please?
[Galaxy S 5 Original Android Development] drakester09:
Use http://xdaforums.com/showthread.php?t=2073775 to unpack a stock kernel and repack with your new zImage.

https://github.com/UBERUTILS/linaro-arm-eabi-4.10
[Galaxy S 5 Original Android Development] TrueNix:
Thanks mate :good:
[Galaxy S 5 Original Android Development] v_square:
I was greeted with " Health Service has stopped working" as soon as I booted for the first time.

Will return to stock kernel for the time being to check whether it's kernel related or something else is playing up.

Edit: I'm running on stock ANE2

Rooted using CFROOT

Knox disabled using supersu

Philz recovery 6.48

Universal kernel with stock freq v0.2

---------- Post added at 08:37 PM ---------- Previous post was at 08:18 PM ----------

And indeed it was the kernel. S Health and private mode are working again( I forgot to mention private mode earlier).

And if I'm right, I read somewhere that these two things are broken with xposed. Strange to see them not working with custom kernel.
[Galaxy S 5 Original Android Development] drakester09:
Might be because I disabled a couple of things at boot in the init.d that are Knox/Private Mode related.

I'm waiting for new sources to update. I'll not touch ramdisk this time.
[Galaxy S 5 Original Android Development] v_square:
Even I'm waiting for your next release. Can't stand this sec-battery-monitor.

Sent from my Galaxy S5
[Galaxy S 5 Original Android Development] nikamuze:
After install dikernel my camera stop working
[Galaxy S 5 Original Android Development] drakester09:
Must be in latest rom, it's not compatible perhaps, I haven't had a chance to test it properly.

Which rom/baseband?
[Galaxy S 5 Original Android Development] nikamuze:
XtreStoLite 1.3
[Galaxy S 5 Original Android Development] drakester09:
Did you update bootloader and baseband?
[Galaxy S 5 Original Android Development] drakester09:
Just letting you guys I sold the device and unfortunately won't be able to support this anymore.

Hopefully [MENTION=1836503]rossgucci[/MENTION] can continue this work.

http://xdaforums.com/galaxy-s5/development/kernel-g900h-linaro-t2819026

To this date there's no new opensource update, so I can't release an updated version that works with the latest ROM.

It seems the camera doesn't work. I haven't tested it to be honest and I'm selling my device fully stock.

I'm selling it because I prefer the stock feel I get with the Nexus 5 and the OnePlus One. There's no reason for me to own 3 phones.

Cheers to all.
[Galaxy S 5 Original Android Development] TrueNix:
Unfortunately I don't know if I'm going to continue tinkering it. I couldn't find frequency tables where they are supposed to be. Of course I will try to gain more experience.

Same goes to me, ordered Oneplus One, very exciting.
[Galaxy S 5 Original Android Development] drakester09:
You'll love it. It's my daily driver now.

See you at the other side.:cowboy:
[Galaxy S 5 Original Android Development] malybru:
Mod Edit

Thread closed at the request of the [OP]

malybru

Forum Moderator
[Android Software/Hacking General [Developers Only]] Gokul HAri:
STOCK RECOVERY FIRST TIME FOR A500 CLUB MOBILE(TESTED !!! WORKING !!!)

:)

INSTRUCTIONS:>>>

-Copy downloaded recovery.img to SDcard

-Download and install Uncle Tools from Playstore

-Open Uncle Tool

-Select Recovery update option

-Select the downloaded recovery.img

-Press Ok twice

TO BOOT IN TO RECOVERY >>> SWITCH OFF YOUR A500 CLUB..

PRESS AND HOLD VOLUME UP+POWER KEYS TOGETHER ..
[Verizon Galaxy S 5 Android Development] EMSpilot:
This is based on Verizon S5 SM-G900V Android 4.4.2 G900VOYU1ANCG Deodexed. Please Thank tdunham for this mod.

Decopile InCallUI.apk and find this smali file.

Smali edit for InCallUI.apk:

com/android/services/telephony/common/PhoneFeature.smali

add lines are highlighted in RED

const-string v3, "CscFeature_VoiceCall_ConfigRecording"

invoke-virtual {v0, v3}, Lcom/sec/android/app/CscFeature;->getString(Ljava/lang/String;)Ljava/lang/String;

move-result-object v0

const-string v0, "RecordingAllowed"

sget-object v3, Lcom/android/services/telephony/common/PhoneFeature;->mFeatureList:Ljava/util/HashMap;

const-string v5, "voice_call_recording"

const-string v6, "RecordingAllowed"

invoke-virtual {v6, v0}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

move-result v0

Recompile and push back to phone.

For those of you that may not be capable of doing the mod yourself here is a link to the InCallUI.apk that is deodexed. http://d-h.st/T6k

First make sure you do a backup or at least copy your InCallUI.apk and InCallUI.odex to a safe place. Then copy this InCallUI.apk to system/app and delete InCallUI.odex or change it to InCallUI.odex.bak.

Enjoy!!!
[Verizon Galaxy S 5 Android Development] joshw0000:
Awesome. Any way you could provide us a modified apk to replace ours? I don't think many people are capable of making that mod.
[Verizon Galaxy S 5 Android Development] EMSpilot:
InCallUI.apk deodexed

Here you go!!! Check updated OP.
[Verizon Galaxy S 5 Android Development] joshw0000:
Thanks. Mind doing to an odexed copy?

https://www.dropbox.com/s/odzn0cnnjao3ka8/InCallUI.apk
[Verizon Galaxy S 5 Android Development] EMSpilot:
deodexed

You do not need an odexed copy. You will gain nothing from it. This will run perfect on an odexed or deodexed ROM.

But here you go anyway http://d-h.st/MLH
[Verizon Galaxy S 5 Android Development] joshw0000:
Thanks man. I used the deodexed copy and it works flawlessly. Saves recordings to internal sd /Sounds.
[Verizon Galaxy S 5 Android Development] warriorpluto:
This only for dev edition? I tried it and I don't see the icon. Fix permissions?

---------- Post added at 10:22 PM ---------- Previous post was at 10:19 PM ----------

Nevermind.I have it working. Thanks guys
[Verizon Galaxy S 5 Android Development] mrfordwrench:
Can't get it to work. When I replace my apk with the downloaded apk and try to make a call it says. Cannot add call.

Sent from SG4 with Tapatalk
[Verizon Galaxy S 5 Android Development] joshw0000:
Fix permissions and reboot.