yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] little_lerroyy:
Changelog

1/8/15

In kernel thermal throttling!!! No more thermal daemon issues! Please give your most thanks to javelinanddart for his amazing fix!

ramdisk file updated to work with the latest versions of CM12.1

Also up-to-date with ivanichs changes.

23/4/15

Increased CPU input boost duration to 300mhz to smooth out UI, and reduced the possibility of intelliactive ramping CPU to max frequency unnecessarily.

Tweaked intelliactive govenor to be less aggressive. It was going to full speed too often and ramping while idling. Phone runs much cooler due to this change and the above

Reduced BUS speed for upper standard CPU frequencies.

Underclocked idle frequency bus from 103MHz to 80Mhz. We dont need performance at idle! We could go lower.

Undervolted L2 cache for idle frequencies. 1.1V -> 1.075V. We could go lower.

Sultanxda panel undervolting sysfs interface added. Navigate to "/sys/module/board_pyramid_panel/parameters/panel_uv", where "panel_uv" is a value between 0 and 700mV to undervolt the panel by (stock panel voltage is 3100mV). Increments of 25mV only accepted

Very basic flashable ZIP made.

19/4/15

Reverted to old CPU Vcore table. The old Undervolted table didn't suit some devices.

Added CPU VCore interface. You can now change CPU voltages within android. Range: (1.35V - 0.7V)

Reverted to stock GPU2D BUS. Noticed no difference with it raised.

Increase Max current intake to 1250mA. Charging should be quicker with >1000mA chargers. (im not sure if I will keep this as i do notice a hotter phone while charging)

Dropped all partitions to 0KB readhead. People should notice a even more snappier phone.

6/4/15

Tested with CM12.1

Overclocked system bus from 310MHz to 400MHz on overclocked frequencies.

Undervolted vcore for standard frequencies. In theroy this should provide better battery life.

GPU Bus overclock

CPU will not switch off the second core while the screen is on (it will turn off when screen is off). I find this helps improve performance drastically without any noticble drop in battery life (i feel it could improve battery life)

ZRAM switched off by default. People can enable this at anytime if they want to.

Set CPU govenor to intelliactive by default. Also tuned for extra smoothness & snappiness.

Set I/O Scheduler to FIOPS as default. Optimised tunable scales to improve performance.

Dropped read ahead levels significantly for internal and external storage. I find this improves loading from storage by quite a bit.

8/3/15

Removed 1.944GHz selection to stop random crashing. I will try later to see if i can stabilize it.

Published boot.img with L2 Cache OC to 1.6GHz

7/3/15

Initial CPU OC to 1944MHz, GPU3D 320MHz, GPU2D 228MHz

Added Ivanichs ZRAM support
[HTC Sensation] francesco totti:
Hi . thanks for sharing your kernel ! but would you please re-compile it with the latest code ?! i checked your github and it doesn't contain ivanich's commits from 5th and 6th of March! because 6th of march commits enabled zRam and it must have great impact on performance ! Thanks.
[HTC Sensation] little_lerroyy:
Thanks for the input, about a few hours ago I downloaded ivanichs changes onto my PC but havent pushed the updates yet, I will post the zRam kernel tonight
[HTC Sensation] little_lerroyy:
Updated to include zRAM Support
[HTC Sensation] francesco totti:
well i flashed your kernel but i always get reboots while doing heavy tasks and some times just normal tasks!! here's the last kmsg :
[HTC Sensation] little_lerroyy:
Thanks for sharing this!! May i ask, what CPU speed did you select and what GPU3D Freq did you select? Well just as i thought the last message in your log that it tripped over the 65deg threshold. I tested this last night and the thermal daemon isnt throttling cpu speed! I even tried editing the thermald.conf to drop to 1134MHz when over just a small 45 degrees. and it still powers on at full frequency. Im not sure if there is an issue with the thermal daemon itself, or if it has a problem with my kernel, i will be doing some more testing tonight.
[HTC Sensation] francesco totti:
The minimum cpu speed was 540 and maximum cpu speed was 1836 ! And also i hadn't overclocked the gpu !
[HTC Sensation] hinxnz:
Haven't tried your kernel yet but will later, cheers.

Not all devices can handle over 1.7GHz and some also can't handle 320 for GPU.

Stock frequency for our CPU according to Qualcomm is 1.67GHz.

I don't think thermald is working either on ivanich's kernel, actually I think it maybe but temperature readings are incorrect when it gets hot causing thermald not to kick in. I'm not sure of this but this was my theory.

Once my phone got quite hot and I noticed that the CPU temp reading was to low for what it seemed like, when at normal temp it seems to be correct.

A dirty work around could be to lower the thresholds, even just to diagnose.

My phone doesn't normally get hot at all, so hence why I haven't reported it in ivanich's thread, this is also the first time I've seen someone else arise this too.
[HTC Sensation] little_lerroyy:
Okay cool, ive done some testing and i think i can mainly solve the issue by removing the 1.944GHz entry. For some reason i think it may actually call that frequency even if its not selected. Im testing it now without that entry and the phone isnt getting as hot, and havent had a crash yet, normally i do have a crash under high usage. Im going to try one last attempt to fix 1.944GHz, otherwise i will remove it and leave it for another time (if its even worth it).

Yeah i think there is definitely an issue with the thermal daemon, I have tried setting the first trip temp point to 40c. which the phone operates over most of the time anyway, and i have no throttling of anykind. The system keeps powering on its top frequency. In sultans rom, the thermal daemon definitely worked when overclocking. maybe i might speak to him for some answers.
[HTC Sensation] ivanich:
Running a game for a 5 mins, but can't get temp above 65

D/ThermalDaemon( 1412): CPU[1] frequency limited to 1134000
D/ThermalDaemon( 1412): CPU[0] frequency limited to 1512000
D/ThermalDaemon( 1412): CPU[1] frequency limited to 1512000
D/ThermalDaemon( 1412): CPU[0] frequency limited to 1134000
D/ThermalDaemon( 1412): CPU[1] frequency limited to 1134000
D/ThermalDaemon( 1412): CPU[0] frequency limited to 1512000
D/ThermalDaemon( 1412): CPU[1] frequency limited to 1512000
[HTC Sensation] little_lerroyy:
Hmm, i see. Where is the best way to alter the settings of the daemon? Ive tried thermald.conf in /etc/ folder and also /sys/devices/virtual/thermal and it wont kick in to any value i choose.

Ive been testing the kernel without 1.944GHz entry and havent had a crash at all, even with the phone raring hot. I will upload this soon
[HTC Sensation] ivanich:
I believe that /system/etc/thermald.conf should be used for this. Lower thresholds and thresholds_clr should do the trick.
[HTC Sensation] hinxnz:
I can't seem to bring this up in logcat, I mean it's not in there. So I guess it's not working for me.

Edit: It working, just wasn't up to temp.

This is with your kernel. Do you have the same sensor? pm8058_tz

D/ThermalDaemon( 1603): No rules to monitor sensor 'pm8058_tz' disabled: 1 num_thresholds: 0

All I get in logcat is:

D/ThermalDaemon( 1603): Thermal daemon started
D/ThermalDaemon( 1603): Threshold 0 Action[0] : cpu
D/ThermalDaemon( 1603): Threshold 1 Action[0] : cpu
D/ThermalDaemon( 1603): Threshold 2 Action[0] : cpu
D/ThermalDaemon( 1603): Threshold 3 Action[0] : cpu
D/ThermalDaemon( 1603): Threshold 0 Action Info[0] : 1134000.000000
D/ThermalDaemon( 1603): Threshold 1 Action Info[0] : 972000.000000
D/ThermalDaemon( 1603): Threshold 2 Action Info[0] : 648000.000000
D/ThermalDaemon( 1603): Threshold 3 Action Info[0] : 384000.000000
D/ThermalDaemon( 1603): Sensor '(null)' config: sampling 500000
D/ThermalDaemon( 1603): Sensor 'tsens_tz_sensor0' config: sampling 3000000
D/ThermalDaemon( 1603): 66560 61440 cpu 1134000
D/ThermalDaemon( 1603): 76800 71680 cpu 972000
D/ThermalDaemon( 1603): 87040 81920 cpu 648000
D/ThermalDaemon( 1603): 88064 83968 cpu 384000
D/ThermalDaemon( 1603): Number of cpus :2
D/ThermalDaemon( 1603): Sensor setup:[tsens_tz_sensor0]
D/ThermalDaemon( 1603): No rules to monitor sensor 'pm8058_tz' disabled: 1 num_thresholds: 0
[HTC Sensation] ivanich:
I have the same output

shell@pyramid:/ $ logcat|grep ThermalDaemon
D/ThermalDaemon( 1486): Thermal daemon started
D/ThermalDaemon( 1486): Threshold 0 Action[0] : cpu
D/ThermalDaemon( 1486): Threshold 1 Action[0] : cpu
D/ThermalDaemon( 1486): Threshold 2 Action[0] : cpu
D/ThermalDaemon( 1486): Threshold 3 Action[0] : cpu
D/ThermalDaemon( 1486): Threshold 0 Action Info[0] : 1134000.000000
D/ThermalDaemon( 1486): Threshold 1 Action Info[0] : 972000.000000
D/ThermalDaemon( 1486): Threshold 2 Action Info[0] : 648000.000000
D/ThermalDaemon( 1486): Threshold 3 Action Info[0] : 384000.000000
D/ThermalDaemon( 1486): Sensor '(null)' config: sampling 500000
D/ThermalDaemon( 1486): Sensor 'tsens_tz_sensor0' config: sampling 3000000
D/ThermalDaemon( 1486): 66560 61440 cpu 1134000
D/ThermalDaemon( 1486): 76800 71680 cpu 972000
D/ThermalDaemon( 1486): 87040 81920 cpu 648000
D/ThermalDaemon( 1486): 88064 83968 cpu 384000
D/ThermalDaemon( 1486): Number of cpus :2
D/ThermalDaemon( 1486): Sensor setup:[tsens_tz_sensor0]
D/ThermalDaemon( 1486): No rules to monitor sensor 'pm8058_tz' disabled: 1 num_thresholds: 0

pm8058_tz hardcoded into the thermald binary
[HTC Sensation] little_lerroyy:
Removed 1.944GHz entry. Kernel is much more stable now.
[HTC Sensation] hinxnz:
Your kernel doesn't have the modified fstab and init.pyramid.rc for zram.

By the way are you going to add 2D overclock?
[HTC Sensation] francesco totti:
He added the zram commits from ivanich git i think !! How is it possible that it doesn't have zram ?! How do you check whether zram is enabled or not ?!
[HTC Sensation] hinxnz:
Enter in Terminal emulator:

cat /proc/swaps
[HTC Sensation] hinxnz:
Ok I just tested thermal daemon, I set cpu to 1728000 and thermald working but it causing reboots because my device can't handle 1890000 which it resets to.

D/ThermalDaemon( 1596): CPU[0] frequency limited to 1134000
D/ThermalDaemon( 1596): CPU[1] frequency limited to 1134000
D/ThermalDaemon( 1596): CPU[0] frequency limited to 1890000
D/ThermalDaemon( 1596): CPU[1] frequency limited to 1890000

Edit: I don't know what to change yet or add but something definitely in /drivers/thermal/msm_thermal.c

Edit: I tested on ivanich's kernel too and it's the same, meaning if you set max freq to 1188000 it reverts back to 1512000 afterwards.

Also Sultanxda fixed this in his kernel.
[T-Mobile Samsung Galaxy Note 3] toyanucci:
Download SQLite editor

Open SQLite editor and choose apps

Choose Settings Storage

Choose Settings.db

Choose Global

Type in Search "Head"

Change value from 1 to 0 Save

Then Reboot

Big thanks to user AL_IRAQI for this important fix as it was a MAJOR annoyance and privacy issue for me on lollipop!
[T-Mobile Samsung Galaxy Note 3] PanchoPlanet:
Are you referring to the notifications on lock screen?

If so, they are super annoying.

Pp.
[T-Mobile Samsung Galaxy Note 3] futty:
Would this enable Pandora to be controlled from lock screen?
[T-Mobile Samsung Galaxy Note 3] sacky73:
Nice!
[T-Mobile Samsung Galaxy Note 3] meoshe:
Any idea on how to remove the quick connect and sfinder buttons from the notification panel?
[T-Mobile Samsung Galaxy Note 3] boricua6:
me 2
[T-Mobile Samsung Galaxy Note 3] Don Sly:
go to settings then go to sound and notifications

you find options to control it there
[T-Mobile Samsung Galaxy Note 3] hauhauhau7:
Hello,i had before a Galaxy S5, LG G3, and it worked with the SQlite editor procedure , but when installing SQlite on the M8 (grant supersu acces and all of that) it says that no database found (attached a screenshot below) , the same thing happens on my Moto G 2014, so i thought it can't be that i have the S-ON, i tried also changing SElinux to permissive but no luck :crying:
[T-Mobile Samsung Galaxy Note 3] saeed amindin:
I solved this :good:

install headsoff from google play store. it works for me to disable heads up notification in my note 3.

goooooooood ;)

it dosenot required root device :o
[Xperia Z1 Android Development] venkat kamesh:
Screen Shots Of RockZ1k

Screen Shots
[Xperia Z1 Android Development] venkat kamesh:
What Is Odex / Deodex

How to Odex Your Present Rom

Open Terminal Emulator

Type code : su

after Type Code: odex

Select options as you refer

After completion Just reboot and enjoy the Odex rom

What is an ODEX file?

In Android file system, applications come in packages with the extension .apk. These application packages, or APKs contain certain .odex files whose supposed function is to save space. These ‘odex’ files are actually collections of parts of an application that are optimized before booting. Doing so speeds up the boot process, as it preloads part of an application. On the other hand, it also makes hacking those applications difficult because a part of the coding has already been extracted to another location before execution.

What is an DEODEX file?

Deodexing is basically repackaging of these APKs in a certain way, such that they are reassembled into classes.dex files. By doing that, all pieces of an application package are put together back in one place, thus eliminating the worry of a modified APK conflicting with some separate odexed parts.

So, Deodexed ROMs (or APKs) have all their application packages put back together in one place, allowing for easy modification such as theming. Since no pieces of code are coming from any external location, custom ROMs or APKs are always deodexed to ensure integrity.

How this works?

For the majority noobs amongst us, Android OS uses a Java-based virtual machine called the Dalvik Virtual Machine. A deodexed or .dex file contains the cache used by this virtual machine (referred to as Dalvik-cache) for a program, and it is stored inside the APK. An .odex file, on the other hand, is an optimized version of this same .dex file that is stored next to the APK as opposed to inside it. Android applies this technique by default to all the system applications.

When an Android-based system is booting, the davlik cache for the Davlik VM is built using these .odex files, allowing the OS to learn in advance what applications will be loaded, and thus speeds up the booting process.

By deodexing these APKs, a developer actually puts the .odex files back inside their respective APK packages. Since all code is now contained within the APK itself, it becomes possible to modify any application package without conflicting with the operating system’s execution environment.

Advanteges & Disadvantages

The advantage of deodexing is in modification possibilities. This is most widely used in custom ROMs and themes. A developer building a custom ROM would almost always choose to deodex the ROM package first, since that would not only allow him to modify various APKs, but also leave room for post-install theming.

On the other hand, since the .odex files were supposed to quickly build the dalvik cache, removing them would mean longer initial boot times. However, this is true only for the first ever boot after deodexing, since the cache would still get built over time as applications are used. Longer boot times may only be seen again if the dalvik cache is wiped for some reason.
[Xperia Z1 Android Development] venkat kamesh:
How to Install the Rom and instruction video

Rom For Z1 C6902, C6903, C6906, C6943 and Z1 Compact

This is based on .157 Firmware

Follow these Instructions carefully:-

Make Sure Of these things

Backup your data

Reboot in recovery.

Make a TA Backup Cause this may cause loss of drm keys [Click here]

Root using any method

Install NUT dual recovery [Click here]

[*]Download V3.0 For First time and copy to SDcard

[*] Reboot in recovery, Wipe Data, Cache and Dalvik Cache.

[*] Flash the rom.

[*] Follow AROMA Installer.

Never wipe after the Flash Completed ( Before You install Make a clean wipe Don't forget )

Please Don't Quote this Thread

Hello guys here our friend [MENTION=5022882]NexusGTS[/MENTION] created a video tutorial on how to install and over view of the rom

Thank you so much to make a tut this will help most of the users to install.....

Tutorial on how to install

[YOUTUBE]C1WGL7P0rUs[/YOUTUBE]

Presentation of the Rom

[YOUTUBE]jwM0VPfsfro[/YOUTUBE]
[Xperia Z1 Android Development] repelsteel82:
just wanne say thanks for the update of your rom :D

its fantastic and the kernel working great

and thanks for your free time that you are spending for us to make this fantastic rom

THANKS :good:
[Xperia Z1 Android Development] NexusGTS:
[MENTION=4433143]venkat kamesh[/MENTION] how is the uploading status? I want to install the new version :D
[Xperia Z1 Android Development] venkat kamesh:
Now my internet got down cause of failure uploads

this Xda Server sucked all my net balance

can any one provide me server link which can be recoverable :(

Even Dev-host sucks...... lost all my data ... now its too slow to upload :(

can any one recharge ? or any host site ?

Thank you Best Regards,

venkat kamesh
[Xperia Z1 Android Development] SANTUMIL:
Thanks for your hard work. Waiting the new rom. ;)
[Xperia Z1 Android Development] englishmale:
Thanks in advance, perhaps if you send it to someone via Google drive and ask them to upload it for you??
[Xperia Z1 Android Development] mosespl:
Maybe "Mega" could help its very good hosting server and very fast

Wysłane z mojego D5503 przy użyciu Tapatalka
[Xperia Z1 Android Development] kalios:
That sad to hear ??

Maybe i can give a try to help u upload it
[Xperia Z1 Android Development] NexusGTS:
I can put it on my dropbox and share the link here if you can send it to me :)
[Xperia Z1 Android Development] gaseoso:
[MENTION=4433143]venkat kamesh[/MENTION]

One possible solution, if you want I send you a link MP for the upload to Drive. Do not know if that would be a solution .

Thanks for your work !!!
[Xperia Z1 Android Development] venkat kamesh:
hmm ok guys thanks for your Idea

when i go to sleep i will restart uploading hope sure it will complete by morning

sorry for delay even i completed guys

Best regards,

venkat kamesh
[Xperia Z1 Android Development] Herbert72:
I can can help you.

I waited a long time for your next rom, so i can help everybody, to put it on my own server and share you the link.

How sounds that!

kind regards, Herb72:o:o:o
[Xperia Z1 Android Development] venkat kamesh:
That really sounds great buddy

that really help :good:

Edit:

Upload [5th time] started and i am going to sleep hope it will be successful
[Xperia Z1 Android Development] szaman89:
Most awaited rom on Z1 section I think. Your rom is best of kitkat roms. Lollipop is to messy at this moment so your rom is most attractive to Z1 flashing community. I hope this update will be great! I have two

questions to you Venkant Kamesh. Maybe I'm blind but if you are using in this rom DRM Keys function restoration? And is you're using back led power extension mod?
[Xperia Z1 Android Development] venkat kamesh:
Downloads

thank you for you compliment friend

and yes i am using rom with drm keys (i am restoring them after flash)

what actually this "led power extension mod?" meant for ?

hello guys

thanks for your help,

finally i had finished upload

i prefer xda because this supports OTA update ( this is the only reason)

So Finally a Download link click here
[Xperia Z1 Android Development] kalios:
thanks [MENTION=4433143]venkat kamesh[/MENTION]

downloading now :D
[Xperia Z1 Android Development] protick26:
Small app working well...but album shows unfortunately device has stopped... Update center not working at all.
[Xperia Z1 Android Development] venkat kamesh:
please stop repeated post friends

just reached home the small apps got fixed and give me few time to fix remain two :p

Edit :

Device force close ( now DLNA got fixed and working )

Small apps launch fixed

Lock screen selection need to be and i will do it

Best regards
[Xperia Z1 Android Development] ahmedrockr:
Game lag, and Also no Double tap to wake.

Screen mirroring is not workin tried many times

It wasnt working in 2.1 version either, I HOPED YOU'D FIX!!

Please fix issues with small OTA Zip.....

can you just port Xperia Z3 pause and play record feature, we need pause feature in video recording.

One question last, WHY THERE IS NO STEADYSHOT IN 4K
[Xperia Z1 Android Development] kalios:
wow..sound so rude
[Xperia Z1 Android Development] ahmedrockr:
I AM NOT RUDE, I FORGOT THANKING HIM FOR ROM, ITS BEST ROM XPERIA Z1 CAN GET, BUT THE ISSUES I was mentioning so that he'd fix.
[Xperia Z1 Android Development] ilos:
woow first post and it's to claim (with capslock...) ? You don't deserve a reply from venkat kamesh....

Hello and thank you, was also a good start..
[Xperia Z1 Android Development] venkat kamesh:
i dont know why people dont read previous posts

or just wait .

even i too dont know on WHY THERE IS NO STEADYSHOT IN 4K

sony should answer you ;)

if you find that any where please let us know so we too will enjoy the app :)

ok guys the three bugs had been fixed

soon you will get a OTA ( fix patch)

i think then this would be bug free ( if any let me know :p )
[Xperia Z1 Android Development] mikailmohammed:
Ok so using the rom for 1 full day. Only issues I have is the small apps. Everything else works. My album and Walkman work with no issues at all. Only thing for me is battery life still drains quickly. Will try new governors and kernels later. Other than small apps issues nothing is wrong. No force closes anywhere else. I chose stock audio and some stock UI stuff. I installed dreaming on music sound mod. Works like a charm. Great rom OP. For those with Walkman and album fc I suggest installing the apk over and clearing data and cashe.
[Xperia Z1 Android Development] FahmyAbou:
Thank you for the Rom and the effort you put in to make it close to perfect. I didn't have the time to try it but I'm downloading it right now and hopefully I can install it tomorrow as the feedbacks are mostly positive with minor issues. I'll install the Rom and give you a detailed report so that other interested people can get an idea of it. Again, thank you and I wish you all the best for your next projects.
[Xperia Z1 Android Development] bonilobo62:
I can not download might

indicate how to download?[emoji4]
[Xperia Z1 Android Development] meistr91:
[MENTION=4433143]venkat kamesh[/MENTION] thank for responding so fast to the issues:) thanks for rom ofcourse cuz really nice and smooth!

Just one question how i could get your fix for those bugs? My OTA update app says that my kernel isnt supported..
[Xperia Z1 Android Development] Botandroid:
Since I installed this fantastic Rom I can not put messages from a contact in the same conversation. In the same contact is divided into the messages received and sent but separately. I do not understand this!
[Xperia Z1 Android Development] metalslugxx:
I cannot use my business email in this rom, it asks for put a security pin or password, and then nothing happens... Its stuck...
[Xperia Z1 Android Development] aks.arora11:
Song lag & game lag problem?
[Xperia Z1 Android Development] kuoyuan1:
It's a great ROM!

Thank you for your hard work.

Everything is so great and smooth except chinese keyboard FC.
[Xperia Z1 Android Development] venkat kamesh:
How can i give a support for locked bootloader kernel ?

since you cannot try custom kernel......

hey i love the game metalslug. even now i use to play. :p

and please read all the posts i had already said it was fixed and soon in hours i will upload it :)

yes i got you

i had re-build the framework resources and those will fix :p

but i had degraded Database of the sysmonservice to fix the lockscreen selection bug

this may cause conflict to data hope you need a backup :p

but every thing will work good :)

upload started just 26MB

Best Regards