yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] axetilen:
it is easy

go to system/etc/init.d

MOVE 90zram to your sdcard (backup it if you need it later)

when 90zram disappears from the init.d folder, reboot your device and zram is disabled => you can use hardswap without zram
[HTC Sensation] alien44:
I flash rom and mods again, and everything now work OK (i turned off zram on aroma). Now i have another question. I like to know how some things is working :P So how is working auto calibartion battery? Its waiting to 100% battery level and calibrate and after that never repeat this operation? I was searching the answer, and nothing ;)
[HTC Sensation] axetilen:
something like that

when the input current is 100mA and you unplug the charger, it automatically delete batterystats.bin => battery is calibrated

the sign is that: settings -> power -> you will see the usage time is resetted
[HTC Sensation] groovepeppy:
i try to use this kernel but it was constantly waking up my phone hence i only wake the display 3 times

i guess i better use the kernel from viper instead :((
[HTC Sensation] axetilen:
1st, try to reflash the kernel. I dont have that thing

2nd

try this:
[HTC Sensation] kruzyk:
I also have bootloops with 3.1... I will try Aroma version...

/edit: Aroma version also gives me a bootloops... I choose battery save conf without swipe2wake, zram, vsync, -9%, rest was default for battery save profile.

I think I will install clean Vipers 1.3.5 and again Aroma version...
[HTC Sensation] alien44:
But this mod is activated every time when battery is full, and I unplug a charger?
[HTC Sensation] XxXPachaXxX:
So? No requests? :)
[HTC Sensation] HC4Life:
USB OTG working without external power is possible?
[HTC Sensation] XxXPachaXxX:
No, it's an hardware feature :(
[HTC Sensation] mehr1369:
no more code fix for performance improve XxXPachaXxX ?

more smooth UI ?

I am just giving suggestions .... no LED color change ...battery improvement ? ....

thanx in advance ;)
[HTC Sensation] XxXPachaXxX:
Yes, i will Always try to improve performances and battery life :)

For LED color change, what do u mean?
[HTC Sensation] axetilen:
it is activated everytime, not depend on battery level

unplug the charger and it will do the rest. but rememeber, it will check the battery is calibrated or not every 2 minutes

this is not my script, so that is what I know :)
[HTC Sensation] XxXPachaXxX:
TO BETA-TESTERS:

New testbuild available on dropbox. Test it and report me. Principally, test if the boot.img bug is gone.
[HTC Sensation] Super-Android:
Hey... the boot.img problem is gone for me pacha... Gr8 work man... :victory::victory::victory: Now i ll test the performance and battery then report back..

P.S: I flashed faux kernel, and got back the other boot image too... Den over faux, flashed the test build.. Sope.. Yipeeee... Boot image problem solved atleast for me :D

EDIT:

ISSUES

1) App drawer is laggy with current test build :( (Will report back more soon...!!)
[HTC Sensation] XxXPachaXxX:
Thanks for the feedback :) so the problem is the zimage dimension.
[HTC Sensation] axetilen:
did you try to reflash old ViperS backup??

I tried to restore boot.img (16mb) but it still work with 3.1 :|

=> now I'll restore full vipers 1.3.5 backup and then report later
[HTC Sensation] nosferatu997:
Can you provide me the link;) i'd love to test it. In previous version i had this problem with boot.ing but kernel was great:)
[HTC Sensation] :
It's for the beta tester ;)
[HTC Sensation] axetilen:
REPORT: ===> NOT WORKING :|:|:|

still got bootloops
[HTC Sensation] nosferatu997:
Well...ok... Can't wait for the official release...
[HTC Sensation] XxXPachaXxX:
Try to do a clean install from rom's zip and then apply this kernel
[HTC Sensation] axetilen:
clean all the ROM with 2 times fullwipe => still not work :|:|:|

the only way is to flash the newboot.img manually

=> I'll try to turn on smartflash

EDITTED: still not work :|:|:|
[HTC Sensation] Yank555:
Hmm ... don't be happy too soon, if you flash faux kernel, boot.img is not changed !!

Faux kernel flasher (and my Aroma version as well) will extract the current boot.img, and replace the kernel (zImage) in your current boot.img.

So to get back the original boot.img, you have to reflash the ROM (or make yourself a boot.img flasher with your ROM's original boot.img).

JP.

---------- Post added at 08:07 PM ---------- Previous post was at 08:07 PM ----------

Little hint, if in fact your zImage is too big, check if you enabled the kernel-menu option "optimize for size", might help, but might as well not be enough ;)

JP.
[HTC Sensation] Super-Android:
Hey, I did that... Installed faux n den flashed old boot image...
[HTC Sensation] axetilen:
try to extract boot.img from the backup that you had bootloop and then flash it by fastboot

I did it and I got bootloop with v3.5, Tried sebastian kernel and it worked as usual

so I had to flash the new boot.img and the problem was gone

===> v3.5 doesnot work for all devices
[HTC Sensation] Yank555:
Well that way around won't make much sense flashing faux's, since if you flash a different boot image "after" flashing faux, you'll end up with a boot.img containing whatever kernel was in there, but likely non corresponding kernel module in "/system/lib/modules" (faux's) ?!

I don't really see the point in that...

Reflash the ROM, so you have stock boot.img and corresponding kernel modules, will make much more sense testing that way.

JP.
[HTC Sensation] tikis45:
Guys..i tried both kernels.Yank and Pacha on viper 1.3.5.yank working very good but eating battery like hungry homeless dog.pacha has excellent battery stats but many times has lags and many time needs many sec to open an application.Plus Pacha's kernel never goes deep sleep...can u work together guy to solve those problems????
[HTC Sensation] Yank555:
Well "my" kernel is actually faux's kernel, I just do the Aroma Installer and script generator (user customizations during install) and did a few mods (LED notifications, fast charge).

I never had any deep sleep issues whatsoever on any faux version starting somewhere at 006b...

Plus battery life is fantasic on faux, here's what I got :

Look here : http://xdaforums.com/showpost.php?p=29604560&postcount=2145

Read here : http://xdaforums.com/showpost.php?p=29620332&postcount=2150

Anyway before making an assertion on battery life (on any of the kernels), please start on a proper ROM (reflash the ROM without wiping to have a clean base), only after that flash the kernel, and don't flash any voodoo-kind of mods while testing ;)

Then give the kernel 2-3 battery cycles (full - empty) and only then you'll have a proper view of a kernel's battery draw. Anyhting faster than that is not worth looking after... honestly.

JP.
[HTC Sensation] justin6162:
viper 1.3.5 plus your kernel 3.1 are perfect for me already, i got 8093 on antutu benchmark. Thanks!
[HTC Sensation] XxXPachaXxX:
i need to solve boot problem!!! Where are the beta testers??

Yank, can u give me some infos on this issue? there isn't no problem in installation scripts.
[HTC Sensation] chielin:
I get it, I delete it?

I get it, I delete it?
[HTC Sensation] hinxnz:
Hi :)

Just got some questions :D

Are you going to update to the latest linux version 3.0.43?

What are the governors included besides ondemand?

Also is there no need for thermald and mpdecision?

Are you going to include usb fastcharge?

Does your kernel support vpn tun.ko?

Already read the threads OP and all pages and couldn't answer my questions myself..

Many thanks in advance :good:
[HTC Sensation] xdviper:
I really think you should make something like this for AOSP roms also. Just sayin..
[HTC Sensation] jaysun3000:
running hypernonsense with this kernel at 1566max 192min ondemand... I was having reboot issues and random vibrations...I did clean out init.d and it got better but I was in the market uninstalling an app and it froze and rebooted I will try to get logcat....

awesome work dude:cool:
[HTC Sensation] realsis:
I've had no issue with freezing or rebooting at all! Also for those who ask how to disable sweep to wake , it's quite simple Don't install it.... Great work thanks!

Sent from HTC sensation 4g, S-off, rooted with revolutionary, running Viper Rom, Sense 4.1, firmware 3.33, Kernel -xxxPachaxxx PYDX-stable 2, Mugen battery 3500mah, Please press thanks :)
[HTC Sensation] TJD319:
I'm on ViperS 1.3.0 and this is my setup:

No UV

No S2W

Pretty much as it comes. I stuck with the Bricked v1.36 kernel that came with ViperS until I installed PYD-X v2.

No reboots, no freezing, the games I play work fine. Everything seems a bit snap pier and more responsive. I'm very pleased with it so far. Been running for a couple hours. I'll report back but I've been using my Mobile Hotspot for Netflix on the Wii and I've been playing some games, texting, all while tethering and its super snappy still.

Great work. If you could add two way calling support as I saw mentioned before that'd be perfect thanks for an awesome kernel!

Sent from my HTC Sensation 4G
[HTC Sensation] derricancy:
after having read all the posts, do you mean that I can not use UV? If I can, how much can I UV at most?
[HTC Sensation] haifish9999:
It's amazing,everything worked fine,very smoothness. Verygood work,thanks man!
[HTC Sensation] sssurfer:
Any way to disable swap and zram ?

- sent from my Venomous Viper.
[HTC Sensation] marseillesw:
Works very well for me, very smooth. I enabled vsync cuz I was having distortion, but now works great, using kernel tuner app allows me to completely customize kernel parameters and set up different governors for each core allowing to keep both on, but cpu1 at a lower max clock speed. Great for battery life. This kernel is nice Pacha..good work bro

Sent from my HTC Sensation 4G using Xparent Blue Tapatalk 2
[HTC Sensation] haifish9999:
The way to disable zram: delete 90zram in system/etc/init.d.Then reboot device.
[HTC Sensation] :
does this kernel work in JB rom?
[HTC Sensation] ronattack:
Bluetooth failes when starting up sixaxis controller ?
[HTC Sensation] LEGOracer69:
Great Work! I hope I can help you again next time!
[HTC Sensation] sssurfer:
I have undervolted it -75 n it's working fine.. :)

- sent from my Venomous Viper.
[HTC Sensation] erraggy:
AMAZING!

@XxXPachaXxX you truly made my night!

I have been so pleased with the functionality and looks of my themed ViperS 1.3.0, but performance and battery life were not up to par with my previous experience on the rock solid ARHD by mike1986.

After flashing your v2 tonight, I have it ALL! Well, no way to tell how the battery life is yet of course, but performance and UI fluidity is just like BUTTER!

Not sure if this will cover the cost of a beer, but it's what I had now and feel you deserve a nice drink!

Confirmation number: 71402615XK838871F
[HTC Sensation] bstylz911:
battery life?
[HTC Sensation] blahbl4hblah:
I'm still waiting for your source ;)
[HTC Sensation] axetilen:
This new kernel. I don't see vsync script anymore => Do I need to delete it??? Does it affect battery life? I'don't care about smooth UI -> battery is the highest priority
[HTC Sensation] ninjabadger:
Removed 69force script from seb mod 2 and frame rate issues have gone.

Nice!
[HTC Sensation] XxXPachaXxX:
I doubt that my kernel give you lags....my work is based principally on performance and optimization. For the deep sleep issue, i have it only if i use fast boot on sense 4.
[HTC Sensation] axetilen:
here here, beta tester here!!!

It is great that you work with Yank to solve this problem

1 question: Did you set swappiness at 90? I looked around the system and I saw swappiness value = 90, not 60 like normal

does it cause lag because the swap size is only 64Mb ?
[HTC Sensation] razvanwin95:
Hi all!

With this kernel can I ``flush`` the system when it seems laggy ?
[HTC Sensation] axetilen:
yes, you can flush. I is able to reduce laggy situation but you still have to manage your free ram level and avoid the laggy threshold (below 120mb) ans super laggy threshold (~90mb free)

In the next release, I'll add a new option in AROMA which is my Optimal minfree level, so it can help the amount of free RAM hopefully stay at the non-laggy level
[HTC Sensation] kurtlar1414:
hi guys

is this kernel works on miui china 2.10.12 (sense based) rom?

i got boot loops
[HTC Sensation] razvanwin95:
thx for help .... i will try this kernel very soon
[HTC Sensation] axetilen:
I download the ROM and have a look

==> it is not a sense based ROM. It is simply a JB based ROM and it doesnot use HTC sensation RUU => You cannot use this kernel on this ROM

YOu can use AOSP or AOKP kernel instead

I'm really not sure about this but you can try this way to install the kernel:

open the ROM zip file: copy the boot.img to the folder that you store your fastboot

on that folder -> Shift + right click -> Open command window here

reboot your phone into bootloader and choose FASTBOOT

type in the CMD window:

fastboot flash boot boot.img

boot to the recovery and then flash the kernel
[HTC Sensation] ganeshp:
Hi pacha... I'm sorry.. Right now I'm on jb rom and out of station so.. Can't possibly test the new kernel as of now.. Sorry again :(
[HTC Sensation] tikis45:
http://xdaforums.com/showpost.php?p=32741610&postcount=984

http://xdaforums.com/showpost.php?p=32741689&postcount=985

never used fast boot..i dont trying to judge u guys,,,just to tell u about my experience...:D thank u for the hard job..
[HTC Sensation] XxXPachaXxX:
Yes, swap is slow. use zram 150mb to optimize performances. I setted swappines to 90 in the kernel.

Yes, u must! :)

Thanks, so let's solve your problems. I haven't any problem with deepsleep, so probably the casue can be an app or other. Give me details:

-rom

-kernel version

-mods intalled

-Apps that requires root

-Apps in your ram

Use kernel tuner app (in the op) to view the up/sleep time states
[HTC Sensation] hinxnz:
Hi, yes it should but as far as I know first you need to flash an unsecure boot image :)

Sent from my HTC Sensation with Beats Audio
[HTC Sensation] kurtlar1414:
yes i know.

i flashed insecure boot.img but when i flash this kernel i got boot loops.
[HTC Sensation] Yank555:
Well the issue most certainly is not the size of zImage, it's rather small, faux's is bigger.

So no need to look in that direction.

I'd be checking the ramdisks, comparing the one of the boot.img that works with the one that doesn't...

JP.
[HTC Sensation] tikis45:
well

viper 1.3.5 fresh install 2 days ago.kernel 3.1.1,zram no s2w,192-1512-540 rom's and installed apps no more 90,flush,and i am using kernel tuner.....thank u Pacha...:cowboy:
[HTC Sensation] XxXPachaXxX:
mMm the kernel installation zip is the same. It only push the zimage inside the boot.img. It don't touch the ramdisk.

But i never had this problem...only some users...so i think the problem isn't in my kernel or zip!
[HTC Sensation] XxXPachaXxX:
TO BETA-TESTERS:

Testbuild v3.6 available on dropbox. New features!

Refer to the VERSIONS file to know what to test!!!

EDIT: don't report Bluetooth errors. I know. Easy fix in the next version.

Report me info about performances and battery and all the Others please.
[HTC Sensation] Yank555:
That is exactly what I meant ;) The problem can then just be in or caused by what you don't touch, the ramdisk... something makes it not work with your kernel while it works on the other ramdisk.

Which is why I suggested looking into what is different.

JP.

Sent from my custom ARHD 11.0.0 / Yank555.lu JB kernel v1.3a (Linux 3.0.38) powered Samsung Galaxy S3 using xda premium
[HTC Sensation] XxXPachaXxX:
I did this. But there isn't differences in ramdisk before and after the flash.
[HTC Sensation] Sharpi1:
If there are no beta testers right now I would one, I always look every 10 minutes into this Forum so its no problem at all to test always the new releases.

Just an propose. Tell me the special test things and I will do my best :)
[HTC Sensation] gen129:
What about kernel modules?
[HTC Sensation] XxXPachaXxX:
What do you mean?
[HTC Sensation] axetilen:
REPORT:

- boot.img ===> still not work :(

- speed is a bit faster (still testing - not so sure or just a placebo effect)

- battery life (still testing)

- fsync = disable is faster and saves more battery (should be disabled by default :))

But it has a problem with Kernel Tuner v2.4, when I try to set CPU frequency by Kernel Tuner, it freezes CPU1 = always off. Uninstall kernel tuner and try with 69force init.d script => it works normally

What did you change to make it faster and more battery-friendly? :)
[HTC Sensation] Yank555:
Modules are not in the ramdisk on the Sensation, they are in /system/lib/modules.

So the ramdisk as such is not modified nor even unpacked, it's just extrscted from boot image to be replaced into it as is.

JP.

Sent from my custom ARHD 11.0.0 / Yank555.lu JB kernel v1.3a (Linux 3.0.38) powered Samsung Galaxy S3 using xda premium

---------- Post added at 07:17 PM ---------- Previous post was at 07:15 PM ----------

No, I meant the ramdisk of the boot.img that causes issues compared to the ramdisk of the boot.img that works.

JP.

Sent from my custom ARHD 11.0.0 / Yank555.lu JB kernel v1.3a (Linux 3.0.38) powered Samsung Galaxy S3 using xda premium
[HTC Sensation] axetilen:
Can I ask you 1 thing? :)

Do you think that I should make a new minfree setting called Optimal? I think that Aggressive 128mb and Very Aggressive 256mb are very far to each other. Aggressive may not help users to avoid lagginess when they reach a free ram threshold, less then 120mb? Very aggressive kills all background apps

This is quite helpful for the users who do not want to use ZRAM and Hardswap

I decided to make a new value which is between aggressive and very aggressive (empty apps = 180mb and content providers = 140mb) => users can have a safe amount of free ram and mostly above laggy threshold
[HTC Sensation] rorycs:
KUDOS

Yank, I just want to acknowledge your willingness to help these guys even though you maintain/work with Faux. This is really in the true spirit of XDA and I hope that everyone can learn (or re-learn) from your example.

It is sad that some dev/chef seem to have gotten so full of themselves that they no longer ask questions, allow input, or even respond when addressed directly.
[HTC Sensation] Sharpi1:
+1 on this
[HTC Sensation] Stephen:
Confirmed known issue with bluetooth. Also testing speed, seems a bit faster and still testing battery. Will report standby time tomorrow.
[HTC Sensation] razvanwin95:
where is located file with vdtables ? (undervolt values)

//thx
[HTC Sensation] axetilen:
/sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

and the UV file: it is system/etc/init.d/21uv
[HTC Sensation] razvanwin95:
I`ve one more question.

I don`t remember exactly how to make a flush ... ?

what should i write in terminal ?
[HTC Sensation] axetilen:
1st, follow my instruction in the post#2 to add flush in your homescreen in order to execute it quickly. And if you want to receive the full power of my script, let's finish all the steps :)

http://xdaforums.com/showpost.php?p=32078805&postcount=2

2nd option, just open terminal and type: flush

very easy and concise
[HTC Sensation] razvanwin95:
if i type flush in terminal

/system/bin/sh: flush: not found

//and one more thing .... 69force isn`t in init.d folder.....so that`s why flush is not working...

/thanx
[HTC Sensation] axetilen:
it is due to you just installed the clean version v3.1 of pacha. If you want flush and 69force, you have to install the aroma version v3.1.1

aroma version is the same as clean version but it has flush and some other scripts

if you want to manage your device by your own settings, let's choose "all default settings of kernel"

or if you want to customize the kernel and install additional scripts, let's choose "customize it!!!" in aroma option
[HTC Sensation] razvanwin95:
Is that normally , 69force to dissapear from init.d after adding the flush widget on screen ?
[HTC Sensation] axetilen:
no, you might delete it by mistake
[HTC Sensation] Yank555:
Wil certainly not hurt to add a further step. Thing is, everyone will have to test until he/her finds the best match for his/her use, there will not be a 'perfect' value working for everyone, I'm afraid :(

JP.

Sent from my custom ARHD 11.0.0 / Yank555.lu JB kernel v1.3a (Linux 3.0.38) powered Samsung Galaxy S3 using xda premium
[HTC Sensation] nosferatu997:
Is there any Elegancia beta tester? No problems with boot loop?
[HTC Sensation] razvanwin95:
no no no.....i reflashed kernel again , but it doesn`t seems to appear in init.d folder
[HTC Sensation] axetilen:
you reflash the clean kernel???

NOTE: if you flash AROMA version, just flash it and never flash the clean version over the AROMA one

because I gave Pacha my script to delete all the leftovers from other kernels that I can find (so-called Powerful Kernel Reset) and he added it to the clean version ==> it also delete 69force in init.d folder ==> clean version -> AROMA is dead

It just leaves flush script alive and delete everything

Therefore, if you want 69force to be appeared in init.d => reflash the AROMA
[HTC Sensation] topjohnwu:
Me too. I reflashed the aroma version again and I can find flush script. However, I can't find 69force in init.d. I DIDN'T reflash the clean kernel.
[HTC Sensation] axetilen:
sorry, I forgot to tell you

if you flash the AROMA and you choose Default kernel settings ---> 69force won't be created because it leaves you change the settings yourselves

It only appears when you choose "customize it!!!" --> 69force will be created in order to store the configurations that you chose in the AROMA menu

==> so if you choose "all default kernel settings", get rid of 69foce, forget it. If you choose Customize it, care about 69force
[HTC Sensation] razvanwin95:
69force....for what it is used ?
[HTC Sensation] axetilen:
store the configurations that you choose in AROMA, system will load this file in every boot and configurations will be loaded and applied

It includes:

- CPU configuration

- GPU configuration

- i/o schedulers

- Read ahead cache size

- sweepwake option

@pacha:

- I have seen some users who want to have a new CPU governor which is more battery-friendly than ondemand and most of them prefer badass

ondemand usually jump between min, 2nd phase and max frequencies and not frequently used other freqs, but badass uses all the freq and it also has 3rd phase freq, so it saves some battery

it is cool that there is 1 more CPU governor which helps user to save more battery than ondemand :)
[HTC Sensation] tikis45:
where located zram file please????
[HTC Sensation] axetilen:
system/etc/init.d

---> 90zram
[HTC Sensation] tikis45:
hmmmmmm weird....i dont have file with this name....but i can see a zram partition...weird.....
[HTC Sensation] Yank555:
Seeing a partition (or better device) doesn't mean it is actually used !

Type "cat /proc/swaps" in a terminal to see if it active.

JP.
[HTC Sensation] tikis45:
it said not found.how to enable it please..thanks Yank
[HTC Sensation] axetilen:
extract and copy the file in my attachment to system/etc/init.d --> reboot --> done
[HTC Sensation] tikis45:
Thank u so much axetilen

---------- Post added at 03:30 PM ---------- Previous post was at 03:15 PM ----------

BTW can i use in Yank kernel too that file?>??
[HTC Sensation] Yank555:
Yes, that's rather generic, works probably on any device with any kernel that has zram support ;)

JP.
[HTC Sensation] armini0:
I did this but my command prompt keeps stuck at: fastboot flash boot newboot.img

< waiting for device >

The device keeps bootlooping Sensation splashscreen.

Anyone had this too?
[HTC Sensation] axetilen:
pull out the battery

then boot to the bootloader by volume (-) and power ---> press power to open fastboot

finally, type that command
[HTC Sensation] alex1301:
hey guys,

which boot.img should i take for the new beta if i am at vipers?
[HTC Sensation] armini0:
Thank you so much!

Just had to boot into bootloader and select fastboot. I did have to install drivers, used this guide to install the drivers.

After using the command it did write the bootimg to the device.
[HTC Sensation] alex1301:
Hey other Beta-testers,

Is this only my phone or Do you also have not badass as govenor in the cpu control apps?