yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] smint86:
I think I got it. I'm not 100% sure and it does not really make sense to me (because it does not explain WHY it happens), but I think it's related to wrong permission settings in the script. I compared the files changed in the script (minfree and adj) in /sys/module/lowmemorykiller/parameters/ with the other files placed there. While all other files had "rw-r--r--" (644) rights and root:root (owner:group), the modified files got changed to rwx-wx-wx (755) and root:system. The owner:group change is not even mentioned in the script but happened as well.

So I changed the script to:

#!/system/bin/sh
chmod 644 /sys/module/lowmemorykiller/parameters/adj
chown root:root /sys/module/lowmemorykiller/parameters/adj
chmod 644 /sys/module/lowmemorykiller/parameters/minfree
chown root:root /sys/module/lowmemorykiller/parameters/minfree
echo "0,1,2,4,7,15" > /sys/module/lowmemorykiller/parameters/adj
echo "2048,4096,8192,16384,24576,32768" > /sys/module/lowmemorykiller/parameters/minfree

Now the minfree settings stick even after reboot. As already said, I don't really understand this behavior. Particular the part, where the minfree settings get changed to different values, I just don't know where those values are coming from (6364,8107,9850,11898,13642,16824).

Maybe someone with more experience than me can help me out, because I'm really interested in understanding this.

For now, the problem is solved for me, as the settings stick with the 99minfree posted above (also could be found here for testing: http://goo.gl/JsX5h).

An interesting link concerning adj/minfree: http://xdaforums.com/showpost.php?p=5442369&postcount=1

Also, I would be highly interested in experienced answers concerning adj. What are your settings (if you don't use stock, obv). Does it make sense to change them?
[HTC Sensation] consolation:
I use kernel tuner's oom section to set minfree, under settings - "Restore settings on reboot," I have chosen init.d script method (vs having kt set them after boot - I delete the 99kernel script anyway.) The settings seem to stick without any problem.
[HTC Sensation] smint86:
Could you post the created init.d script? Or the stuff inside it, wrapped in

tags.
[HTC Sensation] consolation:
The relevant bit is:

echo 6144,7936,9728,13312,14848,24576 > /sys/module/lowmemorykiller/parameters/minfree
[HTC Sensation] smint86:
No, for me the whole part would be relevant. I think you read my posts, I discovered problems about chmod/chown, that's why I asked you. Not because I want to know your minfree settings ;). (no offence)

edit:

I also would be interested in the adj and minfree settings from users, who are at 100% stock and didn't "play" with lmk settings. You could get them easily with:

cat /sys/module/lowmemorykiller/parameters/adj
cat /sys/module/lowmemorykiller/parameters/minfree

typed into terminal or

adb shell cat /sys/module/lowmemorykiller/parameters/adj
adb shell cat /sys/module/lowmemorykiller/parameters/minfree

from cmd.
[HTC Sensation] smint86:
Mhh... can't see anything there concerning chmod/chown of minfree/adj. I'm waiting for a dev to deal with this problem :). But I'm still interested in your minfree/adj settings, especialle those who are at stock!
[HTC Sensation] Yannick1988:
Ok I will go back.

Envoyé depuis mon HTC Sensation avec Tapatalk
[HTC Sensation] blahbl4hblah:
Back when I was messing with those types of settings, I never really used chmod or chown in the scripts

Simply using echo would always do the treat for me
[HTC Sensation] sromer:
It's not the battery. As i said, it's only been happening with the past 2 builds.
[HTC Sensation] extrem0:
Flash previous build which this "bug" wasn't happening and see if it does fix it. You'll know if it's battery issue or not.
[HTC Sensation] duck0:
Of course. Init scripts are run as root, and thus no access restrictions apply.

There's also an in-ROM function for user defined init scripts. That's that "90userinit" one, it reads /data/local/userinit.sh (or /data/local/userinit.d/* if you want to split it up). Added benefits of this is that you do not need to muck around with the system partition and any changes you do are retained with your data partition.

kernel really ougt to be before userinit (if extant at all, it sets system kernel defaults after all!)... SysV-style init scripts are run in lexicographical order, so perhaps 10kernel is more appropriate?
[HTC Sensation] Skipjacks:
Okay I want to put this business about bad battery life and battery bugs and all that jazz to bed.

Look at my battery graph. I rest my case.

Any battery problems are not with the ROM. It's clearly capable of having disgustingly good battery life.

That's 4 DAYS since unplugging with 8% battery life left as of right now.

That includes 2 hours and 40 minutes of screen on time

45 minutes of phone talk time

This is on the April 26th build. And this is the FIRST charge since flashing that build. So the battery use probably isn't even maximized yet.

My settings are OnDemand 192 - 1242

Anker battery

Auto Brightness is off and I use the notification bar swipe to adjust brightness as needed

Alterations made to the Google Services Framework to eliminate Google Wakelocks (this has nothing to do with Albino's code, hence it's not the ROM) Click here for more details

Greenify to keep other wakelocky apps on a short leash. (I'm looking at you T Mobile's My Account app. You're so useful but you think you own the place!)

Haptic feedback is off for everything. The only thing that's allowed to use the vibration function is the ringer (I don't use a ringtone, vibrate only) and reminder notifications. If you have haptic feedback on for every press on the screen and keyboard you are basically giving up battery power to run a small electric motor. That's not an efficient use of limited battery life.

Full disclosure. I don't keep mobile data on all the time. I turn it on as needed. And I've been very busy doing other stuff the past 4 days so there hasn't been a ton of use time. Obviously if I had been using it more it wouldn't have lasted 4 days. But if the ROM can idle for 4 days and not drain itself dry, then battery problems aren't in the ROM. They are with apps, settings, or user error. Albino's ROM can be configured to run for what may as well be for freakin' ever on a single charge. I'm half expecting him to add "sustainable cold nuclear fusion" to the changelog of the next build.

So if you've got battery issues, go buy an Anker before you do anything else. Even if you have other problem that will make everything better. And stop talking about battery issues in this thread. Come to the FAQ thread (see link in my signature) and ask questions about how to improve battery life there. We'll take all battery questions there with a smile and be glad to help you, where in this thread battery questions will be met with verbal beratement for clogging up the thread with whining.
[HTC Sensation] albinoman887:
Thats a bug in all 4.2 roms as far as i know. its like that on my sisters S3 with cm10.1 as well. dont worry about it i guess lol

It's the battery.

Thank you! :)
[HTC Sensation] johnnyslt:
albinoman887, there's a new pull request on Team-Hydra's media-legacy repo, you should have a look :D
[HTC Sensation] jorra:
Does this ROM use these drivers?

https://developer.qualcomm.com/mobile-development/mobile-technologies/gaming-graphics-optimization-adreno/tools-and-resources
[HTC Sensation] Billyvnilly:
I wish everyone with battery complaints would post them in the Q/A thread: http://xdaforums.com/showthread.php?t=2181751

small suggestion. Albinoman can you default rename the bluetooth device (i know we can rename phone ourselves), but HTC MSM8660 just isn't personable enough for our phone :)

[edit]@jorra, yes it uses drivers for adreno 220 GPU
[HTC Sensation] ceyo14:
not going to quote skipjack but was about to since I read it on another thread.

like I said. everyone change batteries, they are getting old. mine last the whole day with the new battery. its been 8 and a half hour and im at 52% with everything on. obviously no heavy usage, just browsing.
[HTC Sensation] Spr33y:
Just to confirm I'm not going crazy, the 4/26th build is showing a build date of 4/18? Not a clean wipe here...
[HTC Sensation] tdimarzio:
Dirty flash here ... You must be crazay! ;)
[HTC Sensation] Spr33y:
Ooops, forgot that I was pushing an older, edited build.prop to the phone. Nevermind!
[HTC Sensation] marcjw:
Another flashing cell signal story. Happy ending.

I'll be darned. I got the wifi flashing on-off cell signal today for the first time.

Woke up this morning, powered up the phone and a little later happened to noticed that my normally weak cell signal was grey and flashing 2g and 3g. (I never see H where I live). While the notorious flashing cell signal did cross my mind, I didn't think too much of it since my wifi signal was still good. I'd see how things went after I got to work about 21 miles and several cell towers away. I don't have wifi at work so I rely on cell signal there. Alas, it was still flashing a couple hours after I got to work so I power cycled it. Still flashing. Then I recalled that a couple people in this forum reported that they had some luck with airplane mode cycling so I tried that. Voila, it worked. Been good ever since. Hopefully it stays that way. Happy end of a too long story.
[HTC Sensation] Quantum_Sensation:
Erm, from the status bar pull down menu, the user profile picture can't be changed after select or change the profile photo. Any idea how to solve it?
[HTC Sensation] bteljuice:
I have my company exchange email that forces my phone to put a Pin as security Lock.

However i cannot use Tasker to remove lock when i am home on wifi.

How can I get rid of the SECURITY LOCK PIN that is forced by exchange email.
[HTC Sensation] albinoman887:
Try the build prop setting mentioned a few pages back, or wait for a new build it should be in the next one
[HTC Sensation] Masteroshi:
Not sure it will work but try the secure settings plug-in for tasker available on the market.
[HTC Sensation] albinoman887:
Well....Guess What? :P

VIDEO PLAYBACK GLITCHES ARE FIXED!!!!! NEW BUILD SOON :)
[HTC Sensation] d3vilskid:
Anyone having this problem with android os keeping the phone awake?
[HTC Sensation] Martin Sonnek:
Thank you!!! Now your Rom will be perfect for my use! That is such great news!! :thumbup: :thumbup: :thumbup:

Gesendet von meinem HTC Sensation Z710e mit Tapatalk 2
[HTC Sensation] nachopre:
Albinoman887, first of all thanks for your work. Could you take a look to the error while trying to change network operator in settings? I need to change my default provider at work due to very bad signal.

Regards
[HTC Sensation] rp56:
What gapps do I use with this rom.
[HTC Sensation] hz319:
OMG!! Can't wait! post it!!!!!
[HTC Sensation] extrem0:
This : http://goo.im/gapps/gapps-jb-20130301-signed.zip
[HTC Sensation] Draegloth:
After fully reflashed with smarthflash and your WiFi is still messy you all should try WiFix but DON'T RESTART your phone after you installed it. It fixed all my problems related to WiFi :fingers-crossed::fingers-crossed:
[HTC Sensation] albinoman887:
new build uploaded. all video playback glitches flixed. credits to arco for finding the fix and johnny for alerting me

OP updated
[HTC Sensation] Sorin90:
Was waiting for a long time for this ! :D Finaly my daily rom ! Thanks you man!
[HTC Sensation] erdal67:
how to install it over previous version wipe cache or full

Just press thanks:cool:

Sent from my HTC Sensation Z710e with Albino's Cyanogenmod 10.1
[HTC Sensation] jkolner:
Just wipe Cache and Dalvik - then flash the ROM.
[HTC Sensation] ziaulh.ch:
Already 247 downloads! Flashing it now. Thanks albino for being so consistently dedicated.

Edit: One refresh within 10 sex and 14 dl finished! haha! People are watching it tight!
[HTC Sensation] papete:
Nice... giving credit where credit is due.... not everybody does that....

EDIT: Maybe adding arco to the OP credits for squashing this important bug?
[HTC Sensation] szotaa:
How to enable photosphere?
[HTC Sensation] ribou:
Wiith the update of May-1 , I lost the wifi and Max CPU change to 972 Mhz :(
[HTC Sensation] ziaulh.ch:
There no photosphere on this cam.

If dirty flashed, full wipe and flash rom + gapps and restore data only from full back up. Should be cool!
[HTC Sensation] albinoman887:
Yeah i've been meaning to do that for awhile. me and him have gone back and forth with emails and gtalk for weeks trying to fix that issue and hes the one who helped getting the display running so great as well. i'll do it now
[HTC Sensation] albinoman887:
Added
[HTC Sensation] -XoRoX-:
Waw, is it true radio working in this rom?

Btw thanks a lot.
[HTC Sensation] Yannick1988:
Thanks a lot for this rom especially last build for video glitches problem:D

I use cyberon voice commander in my car with an old nokia kit. In ICS when i launch voice recognition through nokia button it gave me first a choice to make between google voice and cyberon app. With this rom not, it launch google recognition and I can't clear default action of this app because there aren't.

Is it normal?

thx

Envoyé depuis mon HTC Sensation avec Tapatalk
[HTC Sensation] msantan:
Fantastic ROM! Really well done!

Already tested: no glitches in camera taking wide ones.

Testing the rest, but I'm really impressed it become even better every week!

Thanks a lot Albino!

Enviado desde mi HTC Sensation usando Tapatalk 2
[HTC Sensation] StuartTheFish:
Typical that it gets fixed the same day I get my new handset! Oh well, the wife will probably end up with my phone anyway so it's all good. Thanks for all the hard work fella!
[HTC Sensation] ziaulh.ch:
What phone did you get? :) HTC ONe or..?
[HTC Sensation] jazzzzzzz:
Now its called as an update ....we have latest android stable ROM...wow..!!!

:thumbup:

Any way panorama mode bug is the only bug for me now
[HTC Sensation] extrem0:
Dev-host mirror for 0501 build.

http://d-h.st/A1u

Will be there until dev-host removes or albinoman ask to.

Keywords: 0501 cm-10.1-20130501-Albinoman887-pyramid.zip 20130501 01 may
[HTC Sensation] StuartTheFish:
I almost got a one, but the camera put me off so I've gone for the s4 instead. Same hardware near enough, just faster memory, overclocked a little and a better camera. But it was a hard decision!
[HTC Sensation] ribou:
You are right :good:

It is the good method :)
[HTC Sensation] albinoman887:
Ya I want an s4 too, can you root it yet
[HTC Sensation] StuartTheFish:
Not even looked into it to be fair, see how well I get on with the latest revision of touchwiz I suppose. When you get one, I may consider using your rom again, did a cracking job on the sensation anyway!
[HTC Sensation] teefa_1985:
is the bluetooth fixed in the new update or not?
[HTC Sensation] biomech91:
I just wanted to say a huge thanks to albinoman for this rom, I'm moving on to a Nexus 4 now, but my Sensation had a whole new life with 4.2 thanks to you. I'm gonna miss this community! See you guys.
[HTC Sensation] Normanski:
Loving this ROM, I also have a hox with a cracked screen bog standard not rooted and this ROM makes my Sensation more fun to use :D

Thanks albino :thumbup:
[HTC Sensation] jkolner:
Last time i looked it was rooted but there was no Recovery yet.
[HTC Sensation] Catnap:
What was the fix, out of geeky interest?
[HTC Sensation] erraggy:
Here's the pull request: https://github.com/Team-Hydra/android_hardware_qcom_media-legacy/pull/1

Hard to believe it was so minor of a change.
[HTC Sensation] AleyKsi:
Nice build so far !

Video playback is great and i'll have to look after the battery drain :)

though, did someone actually take a photo handfree ? I'm yelling Whisky, Cid or Cheese, but no success :(

Edit: Just got it working, i had to be online, but as soon as my phone took the photo, instant crash and i had to pull the battery to reboot
[HTC Sensation] Catnap:
Good grief.

Just read Arco's comments- frigging HTC.
[HTC Sensation] rdelar01:
Come on people, Albinoman has given our Sensation's a new life. He may be shy to ask for donations, but he DEFINITELY deserves it. Call this the "Albinoman Galaxy S4 Fund." With over 2,000 downloads (and counting) on this build, he'll have enough to buy an unlocked phone AND a data plan AND coffee AND smokes, even if you give just a dollar. Job Well Done, Sir!
[HTC Sensation] XeloOw:
I don't have this camera problem !

Envoyé depuis mon HTC Sensation avec Tapatalk
[HTC Sensation] -XoRoX-:
Oh my GOD, its work

I use Spirit FM Unlcoked with 100mgz

Im from Indonesia.

Thank you very much...
[HTC Sensation] ziaulh.ch:
what do you shout to click?
[HTC Sensation] erdal67:
well enjoy your nexus 4:D

If i helped press thanks :)

Sent from my HTC Sensation Z710e
[HTC Sensation] -XoRoX-:
Spirit FM is not stable, the volume can not be reduced. And often suddenly turns off
[HTC Sensation] Krasus:
Go to settings -> Audio -> Volume Scale and set to "10".

Also method should be set to qdsp5v2. Doesn't turn off here.
[HTC Sensation] nhaixin69:
My almost two year old sensation still feels new thanks to new ROMs and great ones like this. Thanks albinoman.
[HTC Sensation] -XoRoX-:
Yes, thank you. My set is 17 scale audio, it is verry good. :good:
[HTC Sensation] papete:
Great update!

Dirty flashed over March 31 and working like a charm... no lags, no video glitches...

Thanks a lot Albinoman
[HTC Sensation] erraggy:
You're so right [MENTION=5003865]rdelar01[/MENTION]!

Here's a tiny bit for ya [MENTION=3322708]albinoman887[/MENTION]:

Confirmation number: 9JF190585D4293742
[HTC Sensation] ziaulh.ch:
Edit: Just experiementing with HTC default notification and ringtone samples. I believe HTC sounds are more loud and compatible as they are high pitched with matches with our ****ty speaker! "D I will post if better results!
[HTC Sensation] j1po:
go to /system/media/audio
[HTC Sensation] Yogimax:
I'll be making another donation shortly!

Well done and thanks for all the hard work...
[HTC Sensation] paradice55:
wifi doesnt switch on. please fix this.
[HTC Sensation] looneylv:
'dirty' flased and my wifi is turning on and off like it should :)
[HTC Sensation] -XoRoX-:
Me too, it is works like a charm, there is no bug so far.

:good:
[HTC Sensation] dr.bono:
Albino thanks for the quick updates:laugh:
[HTC Sensation] corumuk:
I've just installed the PIA vpn client but it fails to connect. Tun Ko Installer app is saying that the 'Tun module is not loaded', which I believe may be the problem.

Does this rom/kernel have a tun module and if it does how can I activate it?
[HTC Sensation] erraggy:
Your answer is in the OP. Hint: 99kernel
[HTC Sensation] corumuk:
Thanks for the pointer. Working like a champ now :)
[HTC Sensation] :
Can I somehow boost the volume of system sounds like the sony Xloud does in ViperS ?

I want my lock screen sound to be much louder
[HTC Sensation] nikola016:
Is video autofocus working now or....i think it doesn't work...but i am on elegancia so i can't check it...
[HTC Sensation] ziaulh.ch:
Not possible. If you may, I was playing ogg sound gain with sound editor. it works 15-20%

Video focus seems to be locked with infinite range. So all are sharp as razor.
[HTC Sensation] paradice55:
dirty flashed? im kinda new to this flashing :D can you explain it to me what dirty flashing is?
[HTC Sensation] szotaa:
My phone instantly shuts down while taking a picture with flash
[HTC Sensation] paradice55:
never mind, its wiping cache and dalvik. I did this, but i will give it another try.
[HTC Sensation] BeriBGood:
Getting tired of those posts!

Search in this thread, already asked dozens of time.

Buy a new battery, this is not rom related!
[HTC Sensation] okgnew:
May-1 version works fine for me, but I still have an old bug - after a reboot the touch screen does not work (no response to touch),

Device off/on fixes it (I have PIN enabled, btw).

It's not a big deal, but may be you can fix it?
[HTC Sensation] szotaa:
I dont think it's battery related. I used to take a lok of pics with flash on ics and everything worked just fine
[HTC Sensation] ziaulh.ch:
Clear data of cam. If not ok then try this cam and see if the problem persists...

https://www.dropbox.com/s/mn3kdk7qvf0ae45/Android_4.2_16_9_Camera_MOD_Jelmertjuhh_v_2_3.zip

Jelmertjuhh has a thread on xda you can also download from there...
[HTC Sensation] szotaa:
Cleared data of cam and now my senny takes flash photos without any shutdowns. I even noticed that right now I'm taking pics in 40MP resolution. Thanks a lot :)
[HTC Sensation] MarcMS82:
hi all, i have a weird issue here. I deactivated root from superuser option in setings menu, cause I would make a test with an app that continually requests access. But now, the superuser option has disappeared from menu, it blocks all requests and I can't do anything. How I can retrieve the option? I tried to install superuser app from market, but it doesn't works.

Thanks in advance
[HTC Sensation] Catnap:
orly
[HTC Sensation] ceyo14:
Thanks albino can now watch HD YouTube clips. If only I could watch porn from rk.com...
[HTC Sensation] erdal67:
lol

If i helped press thanks :)

Sent from my HTC Sensation Z71

---------- Post added at 10:40 PM ---------- Previous post was at 10:29 PM ----------

does chainfire 3D work i tried a few versions before and it stayed at bootscreen:banghead:

If i helped press thanks :)

Sent from my HTC Sensation
[HTC Sensation] ziaulh.ch:
Geez you are in famine for thanks man! I will try to press each of you post a thanks if that makes you so happy!

Chainefire didnt work since ICS! bleh!
[HTC Sensation] draygoomirem:
Thanks!

Im from Costa Rica and I appreciate so much your job, thank you!!!

Just a little battery drain, but the possibility to use android 4.2 in my device is awesome :)
[HTC Sensation] Skipjacks:
Good one. If you're going to break something, break it well!

The first thing I'd try would be to reflash the ROM on top of the broken version. Usethe same version. See if that resets it. It won't do anything bad so you won't end up worse than you are now. I don't think it'll work because existing settings aren't affected by flashing a rom on top of an existing rom. But it will take no more than 5 minutes to find out so it's worth a shot.

You can't install SU from the market because it requires root and you've disabled root. But your recovery (CWM or 4EXT or TWRP) should still have root access to do whatever it wants and you shoudl still be able to access recovery. So you might be able to download a flashable SU.zip (There's got to be one around XDA somewhere) in recovery then reboot and have root access through the new SU enough to fix the stock SU.

If that doesn't work you may have to do a full wipe. The crappy part of that is that is if you've deactivated SU entirely you won't be able to use apps like Titanum to back up your data unless they are somehow grandfathered in because they had root access previously. That'd be weird...

You can also revert to your latest Nandroid backup (and if you don't have one no one has any sympathy for you) and just lose the data since your last backup. Better than nothing.
[HTC Sensation] MarcMS82:
Before writing my question here, I tried to reflash the same rom over "old", but as you say, old settings remains untouched. Luckily for me, I made a nandroid 3 days ago, and I used that. But the weird part is, I didn't disabled root, it only deny all requests. It's normal because I did it. But the superuser option should be in the same place as before. I think it's a bug.