yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ Themes, Apps, and Mods] GenomeX:
enable ini.d at Xperia XZ

1- download term-init.sh

2- copy the sh file in root of sdcard

3- reboot device to recovery mod

4- in TWRP, go to advanced/mount then mount the "system" partition

5- go to advanced/terminal and run built-in terminal

6- type this commend line by line in terminal:

cd /sdcard
sh term-init.sh

7- reboot device. go to /data folder and check any Test.log file is there? YES??? woow you now can run any init.d scripts from boot :laugh:

-------------------------------------------------------------------------------------------------------------

NOW copy 99governor file from last post to /system/etc/init.d/

set all permissions "rwxrwxrwx" then reboot your phone

-------------------------------------------------------------------------------------------------------------

​
[Sony Xperia XZ Themes, Apps, and Mods] karrouma:
Working fine

I will test in some hours and days and give a feedback
[Sony Xperia XZ Themes, Apps, and Mods] karrouma:
Phone speed lower than before.

Before flashing my phone running fast, but now battery are a bit better
[Sony Xperia XZ Themes, Apps, and Mods] GenomeX:
Tanks for your feedback

The interactive tweaks change to cpu clock jump step. In medium usage like web surfing or lesson to music you don't need max freq.

Now cpu need more time to raise to max frequency

This profile set gpu clock at maximum for little frame drop in games (play AAA games drain battery fast)

If you no need that only delet init.d folder or delet governor file.
[Sony Xperia XZ Themes, Apps, and Mods] cal_l_lka:
please, help!

sh: can't open 'term-init.sh'

why is it happening?
[Sony Xperia XZ Themes, Apps, and Mods] GenomeX:
First mount /system in twrp (your device must be rooted and busybox installed)

Run terminal and

cd /sdcard

sh term.init.sh

OR

sh /sdcard/term-int.sh

Check sh file saved at root of sdcard and check file name
[Sony Xperia XZ Themes, Apps, and Mods] cal_l_lka:
UB - done

TWRP - done

SuperSU - done

in TWRP:

mount system - done

run terminal - done

"cd /sdcard

sh term.init.sh" - done

terminal says "sh: can't open 'term-init.sh' "

term-init.sh is in the root of sdcard, redownloaded it several times (file size 8kb)

what am I doing wrong?

kernel is stock with restored ta and drm fix
[Sony Xperia XZ Themes, Apps, and Mods] Smacksmack206:
Can you make one for drunksauce gov it's the best on Nexus 5X and is used in D.U. has crazy SOT on my Nexus can we get this ported to XZ. If not what do I do to get it ported just open the init file and edit the frequencies and how many CPU like ex: cpu0 cpu1?
[Sony Xperia XZ Themes, Apps, and Mods] Smacksmack206:
Well I tried to port drunk sauce my self using the 99gov for Xperia XZ I found in this thread as a reference for the frequencies on our device. I'm running it now can confirm it is a success. I'll m working on it over the week. If anyone wanna try and give me feedback that be cool. I'm noticing a small drop in proformance in stamina mode but there no lag and SOT seems to be great. Give it a shot :good:

https://drive.google.com/file/d/0B2bXgjj9jECcZkVXOFNfVGYtMXM/view?usp=drivesdk
[Sony Xperia XZ Themes, Apps, and Mods] sonice21:
It´s necesary keeping root to use your modded governor?

thanks in advance
[Sony Xperia XZ Themes, Apps, and Mods] GenomeX:
Of course...
[Sony Xperia XZ Themes, Apps, and Mods] Smacksmack206:
:good::good:
[Sony Xperia XZ Themes, Apps, and Mods] Smacksmack206:
The latest update to my port, tried doing a pull request to get help from original devs. I cleaned up some code and changed some values. much better now

https://drive.google.com/open?id=0B2bXgjj9jECcSU5mcmZ0ajFpR3c
[Sony Xperia XZ Themes, Apps, and Mods] GenomeX:
TNX

I check your tweak and feedback.
[Sony Xperia XZ Themes, Apps, and Mods] Smacksmack206:
I appreciate it fam. let me know what you think
[Sony Xperia XZ Themes, Apps, and Mods] Smacksmack206:
New update to my DrunkSauce port now on Version 4, Noticed that when I was checking CPU statistics I was showing the most used frequency on LITTLE Cluster was 1593MHz, Also noticed the associated battery drains from this. Added 3072MHZ Target load to LITTLE Cluster and Also changed the Input boost to have LITTLE Cluster firing at lowest frequency 3072MHz for CPU cores 0-3.

Enjoy!!!! Because im loving this thing right now buttery smooth and power saving.

https://drive.google.com/open?id=0B2bXgjj9jECcUVpHQXlYVUFrTDg
[Sony Xperia XZ Themes, Apps, and Mods] Smacksmack206:
Here's what I was talking about earlier
[Sony Xperia XZ Themes, Apps, and Mods] Smacksmack206:
Just updated here is my GitHub so anyone can snag my recent edits. Major improvements overy last commits. Got the original devs looking over my commits. Happying Drunksauce FTW!

-Edit- Drunksauce is the 99governor for our device in my GitHub. And 100drunksauce is the original file from Nexus 5x in my branches. and download from the readme branch

https://github.com/Smacksmack206/Sony-Xperia-XZ/tree/readme-edits
[Sony Xperia XZ Themes, Apps, and Mods] cal_l_lka:
hi! I've installed everything and activated the last edition of governor99, but still get about 3-4 hrs SOT

what am I doing wrong?
[Sony Xperia XZ Themes, Apps, and Mods] Smacksmack206:
are you using one in OP or the ones I posted in the treads?
[Sony Xperia XZ Themes, Apps, and Mods] cal_l_lka:
your latest one from github
[Sony Xperia XZ Themes, Apps, and Mods] Smacksmack206:
Strange. not sure tbh I know battery life has a lot to do with userspace and usage. on top of the script I created I also use other methods of keeping battery life in check, like I use hebf optimizer to stop battery drains associated with google play services, I use greenify to stop general app drains, im testing my SOT as we speak ill give you a screenshot of my current progress give me a min as im at work right now as well.
[Sony Xperia XZ Themes, Apps, and Mods] Smacksmack206:
Had enough time to upload current screenshots im in SEATTLE so this is PST. Hope this helps give an idea
[Sony Xperia XZ Themes, Apps, and Mods] Smacksmack206:
My latest test ended up as 2hrs SOT killed 7 % battery from 100% to 93%. I keep the screen on the whole time
[Sony Xperia XZ Themes, Apps, and Mods] Smacksmack206:
Current results
[Sony Xperia XZ Themes, Apps, and Mods] cal_l_lka:
looks completely unreal for me: by the time sot reaches 2hrs, I have about 50% or less

installed hebf and greenify, will report how it goes later
[Sony Xperia XZ Themes, Apps, and Mods] Smacksmack206:
It all depends on what your doing. If your gaming or watching a video. Even you touching the screen often over the course of 2hrs activates touch or input boost, lol I don't got time to be fucing with you on some bs I always have my set up for both my phones in my signature you can try to duplicate but in the end it all goes back to userspace. We may have the same phone and similar set up and get different results cuz we use the phone differently and have different apps used and installed

---------- Post added at 02:14 PM ---------- Previous post was at 02:08 PM ----------

Furthermore if none of our scripts is doing it for you why don't you go visit another forum that has a SD820 like the OP3/OP3T or HTC10 and visit their advanced interactive Governor page, I suggest using AKT scripts from OP3 XDA forum. And run the terminal installation after you flash in TWRP and choose 1.battery and the highest battery saver which is 7.Project XANA battery extreme. But still I bet you waking and unlocking your phone periodically throughout the day is gonna waste more than leaving it on a video and not ****in with it
[Sony Xperia XZ Themes, Apps, and Mods] Smacksmack206:
Here is an example. If I keep using the phone the way I was yesterday I would of kept a consistent battery drain. I fell asleep and woke up this morning smoking dabs doing a live video on Facebook while using Bluetooth to play music in my car so I don't wake up my son or girlfriend lol was watching a ton of videos and taking videos on Snapchat and what do you know from all of the activity I killed the battery very quietly. Now heres the meat and potatoes, correct CPU idle saves battery, when where doing **** on the phone however ramps up the CPU to complete tasks. So it's gonna kill battery. Camera use as you know kills alot of battery. These scripts optimize SOT how much you get is only relative. I'm sure some one can get 14hr SOT just like some OP3/T users mentioned in their theads
[Sony Xperia XZ Themes, Apps, and Mods] Smacksmack206:
And behold 30 mins later of me continuously on my phone but not the same heavy usage that just killed my battery earlier and Wala back to the kind of drain from yesterday
[Sony Xperia XZ Themes, Apps, and Mods] Smacksmack206:
What 8hr SOT looks like IG
[Sony Xperia XZ Themes, Apps, and Mods] Smacksmack206:
Use a root explorer and go to system/ECT and find the init.qcom.post_boot.sh open file in text editor and scroll all the way to the bottom of the big file. And at theses lines

echo 'N' > /sys/module/msm_thermal/parameters/enabled echo '1' > /sys/module/msm_thermal/vdd_restriction/enabled echo '0' > /proc/sys/vm/laptop_mode echo '60' > /proc/sys/vm/overcommit_ratio echo '70' > /proc/sys/vm/vfs_cache_pressure echo '20' > /proc/sys/vm/dirty_ratio echo '10' > /proc/sys/vm/dirty_background_ratio echo '2000' > /proc/sys/vm/dirty_expire_centisecs echo '3000' > /proc/sys/vm/dirty_writeback_centisecs

And reboot, it should help save you a ton of battery as Sony messed up the nougat update memory settings. This with the init scripts in this forum or other sd820 device's / greenify / herb optimizer / and nap time should do wonders for your battery
[Sony Xperia XZ Themes, Apps, and Mods] cal_l_lka:
i'm tesing duality rom right now, it has these lines included afaik
[Sony Xperia XZ Themes, Apps, and Mods] faizanfaizan:
It's really amazing. Running marshmallow in my Xperia xz. After applying governer, ui is liquid smooth and battery life is awesome. Im using androplus kernel v5 with this governer. After one week when there is some lag etc then just clear cache and ART cache and again governer is doing magic.
[Sony Xperia XZ Themes, Apps, and Mods] Smacksmack206:
Gotcha

---------- Post added at 10:47 AM ---------- Previous post was at 10:46 AM ----------

which one are you using the OP or mine?
[Sony Xperia XZ Themes, Apps, and Mods] faizanfaizan:
Its OP. Till now i am using that one. Will try your modified governer soon.
[Sony Xperia XZ Themes, Apps, and Mods] Smacksmack206:
Created a Post in the guide thread on our Xperia XZ for the work I did on the Drunksauce Port. Also left some info on battery saving i think it's worth checking it out if you haven't already
[Sony Xperia XZ Themes, Apps, and Mods] krzych086:
Hi guys, sorry for noob question, but would be great to know, what happens when I use your modified governor and add some more settings in kernel adiutor like switching off some frequencies? Does it affect governor or excludes it at all? Or maybe they can work together just fine?

And what if I change in kernel aduitor from interactive to ondemand, does this stops script from working?
[YotaPhone] zolee166:
Hello!

Can i set somehow to automatically enable Extreme Power Saving mode, for example at 5% battery level???

Thanks
[Google Pixel XL Questions & Answers] mike489:
I just reinstalled the software from a factory image thinking this was an issue with the rom I was installing. When I click restore from a previous backup, it sits on the completing setup (when it downloads necessary apps) and then jumps to the launcher. In the past, it has been on the completing setup page for a lot longer. When it jumps to the launcher, it doesn't restore my launcher layout, sms, or app settings. I've tried resetting the phone multiple times and tried multiple roms and have had no luck.

P.S. If I go to the Drive backup page, I can see the specific backup and can confirm it saved the things I mentioned, but I just can't restore from it.

Any help would be greatly appreciated
[Google Pixel XL Questions & Answers] cam30era:
This is a long shot, but Google is having a LOT of problems today, with Google account access, WiFi routers shutting down, etc. Perhaps this is related??? Anyway, I'd wait a few hours, or until tomorrow before throwing in the towel.
[Google Pixel XL Questions & Answers] mike489:
I'm really hoping these problems end soon because I haven't been able to properly restore from a backup for a couple of weeks now. Do you know what the restore issue is related to? I've gone through my Drive settings, account settings, etc. and can't find the source of this issue
[Google Pixel XL Questions & Answers] cam30era:
Sorry, but I was grasping at straws. I don't know for a fact that this is related to your problem. And considering that these Google account issues just started last night, I doubt that there is a link.
[Google Pixel XL Questions & Answers] thacounty:
Mine worked great from 6P, to 6P, back to original 6P, then to my first Pixel XL, but when I tried to get it to happen on my current 128 Pixel XL with the bootloader unlocked, it didn't work. I am not sure that the bootloader being unlocked was the issue, but it is the only time it didn't work correctly.
[Google Pixel XL Questions & Answers] mike489:
I tried re-locking the bootloader and it still hasn't worked for me... Have you had any luck? It's worked in the past

but starting last week, it didn't work when I installed PN and then last night when I reverted to stock
[Google Pixel XL Questions & Answers] thacounty:
No, I didn't. Mine is a Verizon version so I didn't re-lock. I ended up just starting over and trying to get all the apps where I had them. It is much better when it works correctly!
[Galaxy S6 Edge+ Q&A, Help & Troubleshooting] Tarbruh:
Hey guys im buying a used GS6 Edge+ with no damage except the guy says there is a little spot on the display like burnt pixel but it fixes it self with more usage of the phone.He thinks it software because the phone was never dropped for it to happen.Im asking because i don't know anything about dead pixel just that if it has one i need a new screen to fix it. Do you think it can be software or is he lying just to sell the device?
[Galaxy S6 Edge+ Q&A, Help & Troubleshooting] KatariaMax:
Not necessary that pixel has to be damged by dropping if phone dropped this phone is too delicate i am serious you will know[emoji1] when you see it there will be scratched there near the damaged part but screen pixel could die sometimes even if phone is in pocket and something sharp comes in contact just be careful and see if it doesn't irritate you
[Galaxy S6 Edge+ Q&A, Help & Troubleshooting] Tarbruh:
Maybe its not dead because he says it disappears if you use the device more.I will ask him for a picture of the spot and then i will see if i will buy it or nah.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] a1Pha:
Screenshots:
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] jacobw15:
where is the md5 file , and is it needed?
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] a1Pha:
Sorry, forgot to add the m5sum file to my export script - I just added it.

If you want to verify that your file is not corrupt you can generate an md5 hash of the .zip on your local computer and validate that hash against the one in the .md5sum file - technically you don't need it for flashing though.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] jacobw15:
Oh right thanks so do u flash the md5 file with the .zip file?
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] a1Pha:
Nope, you use a tool like WinMD5Free (Windows) or MD5 Checker (Android) after you downloaded the ROM. Those tools calculate a checksum of the zip file. You compare the checksum to the one inside of the .md5sum-file. If the checksum you generated is equal to the one I generated while building the ROM, you know the download didn't go wrong since identical checksum = identical file.

After you verified that the file is not broken you can throw the .md5sum-file away and go ahead flashing the .zip as usual.

Feel free to send me a PM if you have further questions on that topic :)
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] jacobw15:
Ah okay thanks for the help
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] kenosuke117:
Link?

Edit: nvm I guess I'm bling
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] Klaudas:
Snapchat video is working? Can't try it myself right now too busy to play around with roms :/
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] jacobw15:
Nope I tried it
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] a1Pha:
Nightly builds are fixed again as of 28th February.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] a1Pha:
Snapchat video is working with latest build 20170306-1838. Enjoy!
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] weedeater84:
hey people,

is the ambient display is working ?

facing issues with every rom i tried
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] jacobw15:
Thats actually really impressive
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] slaz13:
Been running this rom for a couple days now and it is running fantastic! Great work on this! Thanks for bringing it to the S7.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] MrJiM:
How is the camera compared to TW? And batterytime?
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] wadiehabib:
Keep it up mate! you are officially the only dev that provides daily updates aside from Jesse.. OctOs is great, hope you never abandon the project.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] titaniumcocacola:
i need flash rom -> md5 -> gapps -> supersu and reboot?,i have 7.0 stock with TWRP latest version.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] a1Pha:
Builds are based on 7.1.2 starting with 20170420.

Yes.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] shaggyskunk:
Nice work guys!
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] danny19901:
I'm on 22nd April build and have to say audio is best so far out of all ROMs I get zero music playback stuttering etc... Only thing is needs more customization features

Tried 23rd and 24th build on clean installs and mic seems buggy on google assistant setup I reverted to 22nd as also 23rd and 24th caused bootloop with swift black substratum theme 22nd build seems most stable
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] Baffsuki:
Dead thread? The builds are still getting regularly updated tho, downloadinh it and see how it performs.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] XpShiva:
+1....download

---------- Post added at 07:25 PM ---------- Previous post was at 06:42 PM ----------

no sound....someone else has the same problem??
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] XpShiva:
new build 0609...maybe the problem with the sound is solved
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] Baffsuki:
l think i'm blind i can't find the download link:eek:
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] XpShiva:
https://www.storozhev.net/oct-n/
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] Baffsuki:
Thanks.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] Baffsuki:
Sound problem has not been fixed. Alarms and songs are not appearing, when i try to open on file manager it just gives an error, back on RR for now.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] XpShiva:
Can confirm...:(
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] shivam bitw:
Sim card not being recognized

Update-- Rom Review

Bugs: Can't play and audio file.

I was trying to use HTC camera app, quality was at par with stock s7 camera but after clicking 2-3 shots camera didn't work and video recording didn't work either.

Everything else was working great. The rom is really smooth and much better than touchwiz, these two bugs need to be fixed.

Thanks
[Samsung Galaxy S7 Questions and Answers] waqas11:
Hi I usually download from sammobile where they have one file and I select ap it does everything itself. However I have downloaded from updato website it has given loads of small files like ap, bl, csc.. Do I use all them for the upgrade on odin or can I just up the ap?

the files are like the following: BL_G935FXXU1DQB3_CL10422490_QB12410567_REV00_user_low_ship.tar

my version on my current phone is g935fxxu1bplb

Thanks
[Samsung Galaxy S7 Questions and Answers] thundastruck:
Do NOT select the regular CSC file that starts with CSC in its name, as that would replace your CSC and thus would result in a factory data reset of the device.

Click on CSC tab and select the firmware file starting with HOME_CSC in its name ;)
[Samsung Galaxy S7 Questions and Answers] coto39:
You need to flash all of them (bt/ap/cp). Regarding the csc: if your csc is equal (or included in case of multi-csc roms) to the one of the rom you are going to flash (meaning: you have installed a BTU rom and you are going to flash a rom with the BTU csc) then use the home_csc as it will update the csc to its latest version without making a factory reset. If your csc doesn't match with the one of the new rom then you either use the home_csc of your actual rom or use the CSC file (bot the home) of the new one (this will factory reset your phone so backup first)
[Samsung Galaxy S7 Questions and Answers] G S W:
I have used Sammobile to download all the required files but when I go to try and put the AP file into Odin it freezes and stops rsesonding completely?

---------- Post added at 02:01 AM ---------- Previous post was at 01:54 AM ----------

The BL, CP and CSC all work fine, but when I load the AP file it crashes. PS, I have a home_csc and and a different csc, which one should I use to get my phone to work again?I just want the phone to load as intended as a sotck unlocked internationall s8 right now

the files are named;

CSC_OXM_G955FOXM1AQK7_CL12502677_QB15780981_REV00_user_low_ship.tar.md5

HOME_CSC_OXM_G955FOXM1AQK7_CL12502677_QB15780981_REV00_user_low_ship.tar.md5

CP_G955FXXU1AQK7_CP8112561_CL12502677_QB15780981_REV00_user_low_ship.tar.md5

BL_G955FXXU1AQK7_CL12502677_QB15780981_REV00_user_low_ship.tar.md5

and the file that freezes Odin:

AP_G955FXXU1AQK7_CL12502677_QB15780981_REV00_user_low_ship_meta.tar.md5

These were all downloaded from samfirm from this post; Latest Firmware Multi-CSC OXM https://xdaforums.com/galaxy-s8+/how-to/official-stock-firmware-update-odin-t3582175/post71668023

---------- Post added at 02:02 AM ---------- Previous post was at 02:01 AM ----------

OMFG i just realized that post was from you! Can we talk in a chat or something to help me get my phone back to stock and also get tmobile features implemented?

---------- Post added at 02:04 AM ---------- Previous post was at 02:02 AM ----------

Sorry I've mistaken you with another user I think, but I STILL neeed your help mate
[Samsung Galaxy S7 Questions and Answers] G S W:
Finally fixed the issue. I just had to let the AP file load even though the widnow said it was not responding, aslong as i didnt click on the window and make it freeze, it eventually settled in there. along with the CSC files bl.cp. etc/ Thanks for this life saving info you've got going here guys
[Moto X Q&A] StormTrooper_115:
Hello everyone! ive been running with this issue for some time and after diggin and trying i managed to turn wifi and bluetooth on everything was working perfectly in android 4.4.4 but the Motorola OTA came with lollipop and while updating as expected it couldn't finish causing the phone to hardbrick, after that i managed to save it thanks to the tutorials here in XDA but now im facing this problem with the wifi.

Hope someone can save me from this hell.:)
[Android Apps and Games] Calenislija:
Visit the city of light by playing our new game - HIDDEN OBJECTS LOVE IN PARIS!

❤ 2000+ objects!

❤ Amazing graphics!

❤ Catchy sounds!

❤ Hint system to help you!

❤ Zoom function - for mobile phones only!

❤ 100 % free of charge!

For love birds only! If you're looking for crazy Paris expedition, now is the time to embrace the newest puzzle adventure under the Eiffel Tower!

A date in Paris sounds great? Well, click on this link - https://goo.gl/gH9Pcp