yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9506 Android Development] ONjA:
First, redo the test using latest BBS app v2.2

Battery Info

============

Level lost [%]: Bat.: -2%(87% to 85%) [0.1%/h]

This shows great result, though, I see android system has consumed over an hour of cpu time, that is not good. Did you apply an build.prop edit I mentioned in this thread? It helps calm down android system cpu usage.

Recently, I really interested in this theme and went back to Google's tool, called Battery Historian, for anyone interested you can find tutorials on youtube.

Basically, you make a dump of stats on your phone via adb, then feed this dump to a python script and get an html page. Open it in browser and you'll get complete timeline of what's going on your phone. BBS gives you overview, but sometimes it's not enough, because problem hides behind "Android System", like in your case. Battery historian may help find the source of the problem.

---------- Post added at 11:25 AM ---------- Previous post was at 11:12 AM ----------

What it reads, it throttles cpu in case of overheating. If you don't have any kernel tweakes, the only solution I see is to do a data backup and check this wakelock on clean system.
[Galaxy S 4 i9506 Android Development] polepe:
Thank you for your reply.

I checked the build.prop and ro.product.name=ks01ltexx was already there (attachement). I am also trying the greenify app. Any other suggestion ?

Thanks a lot
[Galaxy S 4 i9506 Android Development] ONjA:
As I said, your BetterBatteryStats is old and complaining about it could not get all the required info:

Alarms (requires BATTERY_STATS permissions)

======================

======================

Network (requires root)

It cannot get Alarms and Network stats. Redo the test using latest BBS + root.
[Galaxy S 4 i9506 Android Development] kostaldavid8:
I had set SELinux to Enforcing, so I'll to set it to default Permissive and let's see. Maybe this was interfering with thermal engine.
[Galaxy S 4 i9506 Android Development] ramiabouzahra:
Going to try it out now! Thanks!

---------- Post added at 09:24 PM ---------- Previous post was at 08:39 PM ----------

Got the status error 7 while trying to flash cm13 but phone still boots
[Galaxy S 4 i9506 Android Development] kyasu:
cm-13.0-20160319-SNAPSHOT-ZNH0E-ks01lte.zip

Snapshot build is available (See the first post).

Sync with the stable CM source (stable/cm-13.0-ZNH0E).

Define ro.product.name=ks01ltexx
[Galaxy S 4 i9506 Android Development] ramiabouzahra:
Fixed it. My scary a** did not want to reset but every app is back up and running. Really great ROM no issues or anything yet and this is my primary device so call and text is working great. There is however a slight delay when pressing home or lock button to wake screen but I can live with that because the ROM had made my phone run smoother and extended my battery life by a lot!

Thanks again!??
[Galaxy S 4 i9506 Android Development] doksas:
With this ROM my phone not have a root access?
[Galaxy S 4 i9506 Android Development] ramiabouzahra:
It will its automatically built in every cyanogenmod, just go into settings and go to developer options and enable root
[Galaxy S 4 i9506 Android Development] doksas:
Work, ty m8
[Galaxy S 4 i9506 Android Development] phija:
I had this problem with every kyasu-ROM on i9506. In 12.1 I could resolve it by flashing the Arter97 kernel afterwards but with 13 this trick didn't work anymore (got stuck while booting after flashing the kernel.

By now there's a new kernel (11.1), maybe you want to try?

http://arter97.com/browse/S4/kernel/AOSP_M/

If it doesn't work, you can just reflash the Kyasu-ROM.

I cannot try it myself because I'm still using Arter97's 12.1-ROM, it's the most reliable for me at the moment but if your test works well I will flash this snapshot as well. Please let me know if the kernel helps with this problem.

Thanks in advance!
[Galaxy S 4 i9506 Android Development] ramiabouzahra:
Thanks a lot! It's not bugging me that much and I did find a plus with this and that is that the delay makes you wonder what you are going to do when you unlock it. But I will test it for development reasons. BTW will this work with the unofficial cyanogen mod 13?
[Galaxy S 4 i9506 Android Development] frisoft:
Sorry for a noob question, but can i safely upgrade to this build by flashing the new ROM and clearing cache if i'm already on Kyasu's ROM?
[Galaxy S 4 i9506 Android Development] ramiabouzahra:
Well you can install zipme from Google play and chose what you want to back up. Then you can flash the zip file it creates and you don't have to Sit and reinstall everything or rewrite WiFi passwords. Then after the backup you can do (in this order!) Wipe data, wipe cache wipe dalvik cache, install ROM, wipe cache, wipe dalvik, reboot, finish setup, boot into recovery, flash the backup and you're back up n runnin'!

BTW all experts started off as noobs so I don't care if it's a noob question or you're a noob, you need/want to learn, keep asking questions about things you're wondering so you can learn more and become an expert!!!
[Galaxy S 4 i9506 Android Development] phija:
Which unofficial cyanogenmod 13?

I tried Arter97's kernel 7.0.1 on Kyasu's and Arter97's 12.1 ROMs and it worked. I tried Arter97's kernel X on Kyasu's first version of cm 13 and it didn't work, I'm sure it would work on Arter97's. Or do you mean Solk's?
[Galaxy S 4 i9506 Android Development] ramiabouzahra:
I used the download link from the first page Sir
[Galaxy S 4 i9506 Android Development] kyasu:
cm-13.0-20160323-SNAPSHOT-ZNH0E-ks01lte.zip

Snapshot build is available (See the first post).

Sync with the stable CM source (stable/cm-13.0-ZNH0E).

Fix CVE-2015-1805.
[Galaxy S 4 i9506 Android Development] k1mz0rad:
Hey guys! Do I need to flash a kernel (arter97 11.1) or arter97 patch?
[Galaxy S 4 i9506 Android Development] kostaldavid8:
No, everything's included
[Galaxy S 4 i9506 Android Development] Crapping_Bricks:
Hey guys just wondering if the ir blaster is working on this rom? Also is it possible to downgrade to lollipop roms since it is using a lollipop bootloader or does this bootloader get overwritten after flashing this cm 13?

Thanks in advance!
[Galaxy S 4 i9506 Android Development] Finnogen:
root

hey guys, is there any way to get root on this ROM? really good rom
[Galaxy S 4 i9506 Android Development] Espinosa_Rommel:
go to developer options and find root access and enable it
[Galaxy S 4 i9506 Android Development] ramiabouzahra:
Yup the ir blaster works fine for me, you just have to download the peel app from play store and you're good to go. I am pretty sure you can downgrade to stock lollipop via Odin though I don't see many reasons to do so since this ROM makes the phone allot smoother.
[Galaxy S 4 i9506 Android Development] Crapping_Bricks:
Thanks for that! I'll give this a shot. So I assume the bootloader is not changed after flashing this rom allowing you to go back to stock without bricking?
[Galaxy S 4 i9506 Android Development] ramiabouzahra:
If your boot loader is unlocked you can revert to stock lollipop, then from there you can flash cm 12. I tried this on a developer/test device (ST25i), it was running cm 12 and it had CWM, boot loader was unlocked and I could easily revert back to cm 11 by flashing the file from CWM.

This is not tested on my device but Odin will most likely work.

I AM NOT RESPONSIBLE FOR ANYTHING THAT HAPPENS TO YOUR DEVICE!
[Galaxy S 4 i9506 Android Development] Finnogen:
thank u very much
[Galaxy S 4 i9506 Android Development] wanigarathna:
Why, when cm 13 rom flashed on my samsung galaxy s4 lte-a,heating more..like burning...
[Galaxy S 4 i9506 Android Development] MrDunpeal:
Hdmi mhl not working, after plugin the phone go to bootloop and when i change from lte to 2g the phone lost from time to time connection!
[Galaxy S 4 i9506 Android Development] DonAndress:
I believe MHL never worked on CM for this phone.

TapaTalked from i9506
[Galaxy S 4 i9506 Android Development] ramiabouzahra:
Did you wipe data and cache and dalvik cache
[Galaxy S 4 i9506 Android Development] phija:
I tried it now with Arter97's kernel 11.1 but it doesn't work (stuck on cyanogenmod boot logo).

I also tried Onya's kernel but it doesn't solve the delay issue.
[Galaxy S 4 i9506 Android Development] ramiabouzahra:
Okay but I don't know If that bothers you that much, at least not for me
[Galaxy S 4 i9506 Android Development] KENTzee:
MMS worked fine with the previous versions but doesn't with this... caused me a tonne of trouble, changing back
[Galaxy S 4 i9506 Android Development] orclex:
Hi,

I've installed TWRP 2.8.7.0 and stock image for Android 5.0.1 (I9506XXUDOK1_I9506DTMDOK1_I9506XXUDOJ2_HOME.tar.md5) using Odin 3.10.7.

Unfortunately I cannot install CyanogenMod 13. The latest nightly-ks01lte as well as older snapshots like cm-13.0-20160323-SNAPSHOT-ZNH0E-ks01lte.zip

gives me always the error:

Can't install this package on top of incompatible data. Please try another package or run a factory reset

E: Error executing updater binary in zip '/external_sd/cm-13.0-20160323-SNAPSHOT-ZNH0E-ks01lte.zip'

Error flashing zip '/external_sd/cm-13.0-20160323-SNAPSHOT-ZNH0E-ks01lte.zip'

Of course I did a wipe.

What is missing?

Thank you very much!
[Galaxy S 4 i9506 Android Development] :
You must install TWRP 3.0.0-0 before flashing this ROM !

Because TWRP 3.0.0-0 can correctly reformat partitions.

Reply if it worked... or not...
[Galaxy S 4 i9506 Android Development] zsolti256:
Sorry for the dumb question, what is difference between this, and the official cm13 builds?
[Galaxy S 4 i9506 Android Development] xmariox2:
Hello Kyasu! I would like to thank you for very good ROM! The performance is very smooth and battery life is also great. Only little bug what i have is during calling via earphones I heard voice only from left side.
[Galaxy S 4 i9506 Android Development] asavinen:
Unable to add Exchange account

Hi,

I’m not able to add Exchange account. I Googled around and and found this:

@ cyanogenmod jira, NIGHTLIES-2643 (Sorry can’t add urls yet)

It’s marked Fixed, but I don’t see MS Exchange account?

I originally flashed from stock ROM to:

twrp-3.0.0-0-ks01lte

cm-13.0-20160319-NIGHTLY-ks01lte

open_gapps-arm-6.0-micro-20160320

I updated via OTA to 13.0.20160402_NIGHLY-ks01lte

Now there is an Exchange account available for Gmail (Gmail logo). How can I add “normal” MS Exchange account for sync calendar + contacts and read emails with normal android email client?

Thanks in advance!
[Galaxy S 4 i9506 Android Development] orclex:
Perfect, I updated the recovery partition with the image from twrp-3.0.0-0-ks01lte-201601206.tar.

Unfortunately I still could not deploy CyanogenMod:

Installing zip file '/external_sd/cm-13.0-201603023-SNAPSHOT-ZNHOE-ks01lte.zip'

Checking for MD5 file...

Skipping MD5 check: no MD5 file found

Target: samsung/ks01ltexx/ks01lte:5.0.1/LRX22C/I9506XXUDOF2:user/release-keys

detected filesystem ext4 for /dev/block/platform/msm_sdcc.1/by-name/system

Can't install this package on top of incompatible data. Please try another package or run a factory reset

Updater process ended with ERROR: 7

Error installing zip file '/external_sd/cm-13.0-201603023-SNAPSHOT-ZNHOE-ks01lte.zip'

Updateing partition details...

...done

But after doing another factory reset I could deploy CM13! :good:

Thank you very much!
[Galaxy S 4 i9506 Android Development] ramiabouzahra:
Reflash the unnoficial rom through twrp. The nightlies are never tested as throughly as the realesed versions. I updated via OTA to test a nightly out and I could not go further than the lockscreen. I don't either recommend reporting bugs since they are never worked on. So reflash the rom in this thread and you should be good to go.
[Galaxy S 4 i9506 Android Development] :
Happy for you :angel: Hit thanks button if I helped you...

Please can you say me if there are any bugs in that ROM, and what .ZIP you have installed on top ( kernel / GAPPS / superSU / patches)

Thank you
[Galaxy S 4 i9506 Android Development] orclex:
I have installed TWRP for ks01lte (twrp-3.0.0-0-ks01lte-201601206.tar), the CM13 snapshot cm-13.0-201603023-SNAPSHOT-ZNHOE-ks01lte.zip and OpenGapps open_gapps-arm-6.0-nano-20160330.zip.

I did not install SuperSu because I rooted it using the CM internal possibility. Do I need SuperSu?

BTW: How can I update this CM? Am I right that I cannot use the integrated CyanogenMod Updater because this is unofficial?

Do I have to get new snapshots separately posted in this thread? Which cache-partitions should I wipe before installing new snapshots?
[Galaxy S 4 i9506 Android Development] :
You're right : you don't have to flash SuperSU .zip, or install the APK, because ROOT ACCESS is integrated in the ROM.

To activate ROOT : activate Developper options -> Search the root access option -> set it to App or App + ADB

Maybe you need SuperSU for some APPS to work correctly... or just because you prefer that root permission manager that the CM one...

You are using unofficial (modded) CM13, so you have to not update by OTA (On-The-Air), in the settings...

Because it will install official nightlies (no modded and no tested -> with bugs...)...

So you will have to search in the first post, the last .ZIP available, to copy it on your phone and flash it with TWRP (3.0.0-0 of course).

When you do a CM update, you just have to wipe Dalvik + cache.

When you flash a zip with TWRP 3.0.0-0, just after the flash there is a button to do that.

Else, you can go in TWRP to WIPE menu -> Advanced Wipe -> Check Dalvik -> Wipe !!!

Then wipe Cache...

I like format Data and Cache in F2FS for a lot better performances, but I don't know if Kyasu's kernel accepts it. :confused:

If you want to try, (!!! That will wipe your Data !!!) go in Data -> Change File System -> F2FS

Then do the same with Cache...

And if it works :fingers-crossed: (it worked with official CM13 and Temakek's unofficial...) you will notice an extreme velocity in writing operations on the storage (for exemple when recording videos or installing apps). :victory:

Good luck and tell me everything :angel:
[Galaxy S 4 i9506 Android Development] ramiabouzahra:
There is an official cm 13?
[Galaxy S 4 i9506 Android Development] k1mz0rad:
I am the only one with the superSU issue? After flashing superSU or updating it my phone won't start. With the older edition (february) of this ROM I had no problems, but the newer one keep freezing at the Samsung logo. I'm ok without superSU, but some apps, like TitaniumBackup needs root acces..
[Galaxy S 4 i9506 Android Development] ramiabouzahra:
Have you tried enabling the built in cm root, its under developer options
[Galaxy S 4 i9506 Android Development] orclex:
I like F2FS too and I formated /data and /cache partition from ext4 to F2FS using TWRP.

You can do a backup with TWRP first, format the two partitions to F2FS and restore your backup. It will say it maybe does not boot with /data being formated as F2FS because the backup was done with ext4 filesystem but it does boot! ;)

BTW: /system is always overwritten to ext4 when installing CM... kyasu, isn't it possible to build CM on a system image using F2FS? :confused:
[Galaxy S 4 i9506 Android Development] orclex:
When connecting the android device with a PC the connection is always set to only charging. But I set the USB configuration under developer options to MTP and not only charging! This looks like a bug... anyone else with this problem?
[Galaxy S 4 i9506 Android Development] ramiabouzahra:
Nope, sure you got adb drivers installed?
[Galaxy S 4 i9506 Android Development] knojap:
Same Problem here with unoffical and cyanogen
[Galaxy S 4 i9506 Android Development] asavinen:
Thanks for the reply. :good:

My original problem was the lack of native android Exchange account. I googled around some more and realised that it's removed all together and EAS is available only trough gmail app by default.

I also did what you suggested and flashed the version from the first post. I was actually running Unofficial CM 13 that can be found from CM website... Now running this flavour!

Cheers!

---------- Post added at 11:23 PM ---------- Previous post was at 11:13 PM ----------

Is there the official one? I've been running the unofficial one that can be from CM website (maintained by solk2 ) and the one from this thread. Both seems to work ok for every day use.

I'm also interested in the differences between these two.
[Galaxy S 4 i9506 Android Development] orclex:
Of course. I can always click on the status message USB for charging and change it to MTP but that should be default after setting it in developer options.
[Galaxy S 4 i9506 Android Development] :
Official CM13 ?!?

Yes, here : https://download.cyanogenmod.org/?device=ks01lte&type=

Try if you want...
[Galaxy S 4 i9506 Android Development] ramiabouzahra:
Oh those are night lies, they come as updates and are unstable. They are never tested.
[Galaxy S 4 i9506 Android Development] :
Warning :

When you save Cache and Data that are in EXT4 -> Then format to F2FS -> Restore... TWRP reformat the partitions in what they were (in that case -> in EXT4 !)

So that you did was useless...

-> It's because of TWRP... Go to Settings and check "Use -rf instead of formatting"

When you will restore, it will

WIPE

instead of FORMATTING ... :laugh:

Try it, it worked for me on every ROMS and devices but not with kyasu's one... Maybe because of SuperSU or Arter's kernel...

Have you also tried Arter's kernel...

There is no reason to format System to F2FS because F2FS has better performance that EXT4 in writing only...

And System is read-only... :confused:

Thank you a lot for testing. :good:

---------- Post added at 07:28 PM ---------- Previous post was at 07:21 PM ----------

Me too, the ROM doesn't boot with SuperSU .zip flashed... but I don't know if it's because of it...

I can use the built-in root, but it's not as good...

If anyone has the same problem (ROM doesn't boot), say it...
[Galaxy S 4 i9506 Android Development] kyasu:
cm-13.0-20160408-SNAPSHOT-ZNH0E-ks01lte.zip

Snapshot build is available (See the first post).

Sync with the latest stable CM source (stable/cm-13.0-ZNH0E).

Update security patch level.
[Galaxy S 4 i9506 Android Development] Mr.Zoka:
Hi. Can I back to official stock Rom via Odin if anything goes wrong? Do I need to change bootloader again? Thanks for answer :)
[Galaxy S 4 i9506 Android Development] ramiabouzahra:
Yup, aslong as you came from stock 5.0.1 because the bootloader changes during that update.
[Galaxy S 4 i9506 Android Development] Mr.Zoka:
What about Knox flag? Does it change? I'm asking cause my S4 has guaranty till December ;) If I'm back to stock 5.0.1 then I loose guarantee .... ?
[Galaxy S 4 i9506 Android Development] :
If Knox has jumped to 0x1 it will never go back to 0x0...

But don't worry :

1) If your phone must to go in guarantee, with a bit luck,they won't look at that...

2) S4 is old... People increase KNOX of their S6 or S7 fearlessly... :p
[Galaxy S 4 i9506 Android Development] audianer:
Hey guys ^^

i just buy a i9506 because i need more performance than my i9505 ;)

Should i use the cm12.1 or cm13 snapshot?

With CM12.1 i have better performance at the i9505 than with cm13. Is here the wifi bug at cm13 snapshot to? i meen droping wifi at standby.

thanks ^^
[Galaxy S 4 i9506 Android Development] ramiabouzahra:
I recommend cm 13, there are no WiFi bugs I have noticed and it sensor works fine.
[Galaxy S 4 i9506 Android Development] jerzyszczur:
Right now I'm using 12.1. Can I just simply update to 13.0 via TWRP? Do I need to apply fix, just like in 12.1? Of course I will do full wipe.
[Galaxy S 4 i9506 Android Development] DualJoe:
[MENTION=4861355]kyasu[/MENTION]

Can you add CIFS and 'Flip Cover' detection (should be in Solk2's repo)?
[Galaxy S 4 i9506 Android Development] :
Best Clean Installation guide from CM12.1

I recommend too CM13 unofficial from kyasu (latest built for now : 08/04/2016)

1) !!!NEW!!! TWRP 3.2.0-0 here : http://1drv.ms/1VFem5Y

Copy the .img file to your phone -> Go with your current TWRP to INSTALL -> press "install images" button -> select the file, then select "recovery".

2) Reboot TWRP recovery

3) Go to WIPE -> Advanced Wipe -> Check : DALVIK/CACHE, SYSTEM, DATA, CACHE, then wipe !

4) A new time go to Advanced Wipe and enter in CACHE partition, Change Filesystem, F2FS

5) The same for DATA partition

6) INSTALL kyasu ROM

7) INSTALL 6.0 MICRO GAPPS (or PICO) from http://opengapps.org/

8) Enjoy !!!

If you have a question I'm here
[Galaxy S 4 i9506 Android Development] :
kyasu, you should add the NEW TWRP 3.0.2-0 to your download page....:good:
[Galaxy S 4 i9506 Android Development] ramiabouzahra:
Alternative you can download twrp manager from play store, choose device ks01lte and choose what version to install. Thanks for the steps but this is an alternative, I used it.
[Galaxy S 4 i9506 Android Development] audianer:
Hey! First of all, nice ROM!

2 Problems:

1. my phone takes 2-3sec to wake up...with stock it was only 1 sec. Can i change something what makes it faster?

2. clock cant show the weather? Only the clock! Where is the problem?

Thanks!
[Galaxy S 4 i9506 Android Development] WeirdSoup:
Change the weather provider to "OpenWeatherMap" if it exists.(I don't know because I don't use this rom ATM) It might help
[Galaxy S 4 i9506 Android Development] audianer:
Thanks, weather is fixed!

What about wake up?
[Galaxy S 4 i9506 Android Development] lilara:
Where can i find the google apps?

Wo kann ich die Google Apps downloaden

ty
[Galaxy S 4 i9506 Android Development] audianer:
Opengapps.org
[Galaxy S 4 i9506 Android Development] :
Is arter97 kernel best for this ROM that the included ?

And ONjA kernel ?

What is the best ?

Thanks
[Galaxy S 4 i9506 Android Development] zsolti256:
kernel that comes with ROM is perfectly fine, "slow" wake up isn't that an issue for me...
[Galaxy S 4 i9506 Android Development] Seronez:
I installed the newest version, but now wi-fi is very slow? Anyone?

edit: nevermind seems like my repeater had a failure.
[Galaxy S 4 i9506 Android Development] MrDunpeal:
Bugs

The camera slow motion not work,

mhl HDMI not work,

battery train faster than KitKat or lollipop (kitkat best battery time for me)

GPS Position very very Bad, (fastest fix in KitKat and best Position tracking)

Slow wake up,

sound quality is very Bad From the speaker, to high for me

But other things is working for the Moment, if i find more i write it here

Edit:

Bluetooth Audio in car asynchron with lags,

Phone temperature higher ingames,
[Galaxy S 4 i9506 Android Development] ramiabouzahra:
Hmm, battery life on cm 13 is better than any other Version for me, XXUDOJ2
[Galaxy S 4 i9506 Android Development] :
I find too that kyasu's CM13 has the ever best battery life :

0.2% per hour in standby (wifi enabled)

and 0.1% per hour (wifi disabled)

on STOCK 5.0.1 :

0.5% per hour in standby (wifi enabled)
[Galaxy S 4 i9506 Android Development] marchnz:
This is confusing because your results differ to my i9506 with suggested updated modem firmware.

Without details such as model, baseband/modem revision, steps you have taken to resolve problems such as logs which is almost a universal requirement, this post isnt likely to help in resolving anything.

If you havent already, read thru the forums and q&a's, In sure you will find the answers with some effort, which will go along way to solving your problems..