yashsingh1/xdaforums huggingface dataset:
[HTC Desire S] Mustaavalkosta:
You need to change /sys/kernel/mm/uksm/run from 1 to 0. You can either use echo or some filemanager+text editor that supports root.

echo 0 > /sys/kernel/mm/uksm/run

The value will be set to 1 again when you reboot though since it's set from init script. New 11.0 build is a few weeks away which will remove uksm and a few zram tweaks that may also cause some unnecessary load on CPU.
[HTC Desire S] Sefy:
I'll give it a try tonight and my apologies for "hijacking" the CM12.1 thread ;)
[HTC Desire S] ChristianFerrer:
SAGAOPT

Problem with SAGAOPT. Everytime I install the ROM or Update it, it gives me an error. Error Excecuting blah blah blah I always need to remove the OPT in updater script. Why is that?
[HTC Desire S] Mustaavalkosta:
Remove what? If you are messing with the assert check you have wrong recovery installed.
[HTC Desire S] ChristianFerrer:
remove the word 'opt' in "sagaopt" of the Updater Script.
[HTC Desire S] kchaisu:
Hi Mustaavalkosta,

What have you done on the latest Sagaopt nightly? My device have been in deep sleep since 7:00 o'clock until 15:00 o'clock and still though.

Thanks. It gets very smooth.
[HTC Desire S] Mustaavalkosta:
Haha, bundled with sleeping pills. Nothing though, I've just been losing my mind with adreno drivers lately.
[HTC Desire S] kchaisu:
Thanks. May be the change in GApps recently.
[HTC Desire S] ralfbergs:
What exactly changed? Did you use a different GApps distribution? Or was there an update of the Google core services that makes your phone work smoother?

Thanks!
[HTC Desire S] kchaisu:
I have no cue at all. But there is recently changed on either delta gapps or open gapps on lib. I am not a developer though. Thanks.
[HTC Desire S] ChristianFerrer:
What ROM is this for?
[HTC Desire S] Mustaavalkosta:
Whatever ROM that supports enabling navigation bar with system properties. That zip only enables those in a non-intrusive way.
[HTC Desire S] richardz123:
for what is this
[HTC Desire S] n0f3a6:
is there any difference between "Open Desire Project" "Codefi.re" and "Basketbuild"?
[HTC Desire S] i23098:
No, they're just mirrors...

---------- Post added at 09:20 AM ---------- Previous post was at 09:17 AM ----------

I'm on 20151008 at the moment, and tried last night to install the latest build (20151111) and I get the same error :( Last time I had to do a clean install, any ideas :confused:

I'm using TWRP 2.8.7.1 from http://downloads.codefi.re/jrior001/TWRP-recovery-sagaopt-2.8.7.1.img
[HTC Desire S] Mustaavalkosta:
Have you been messing with root access apps or installed some mods or anything apart from ROM and gapps? I haven't had a single failed upgrade installation on ace so I guess either you have somehow broken the installation or saga recovery is somehow faulty but I suppose it should be the same as ace now that jrior001 fixed the earlier system property issue.
[HTC Desire S] i23098:
I don't think I did something fancy... Installed the rom, gapps + gapps addons (maps, keyboard, webview, youtube, etc)... I also installed SuperSU for root access. The apps that use it are "No-frills CPU Control" (used to set max clock freq, to 1.402GHz) and "Zram Settings" (Used to enable kernel "Allow purging of assets" and "Kernel Samepage merging", as well as "Enable Zram").

Haven't installed any more mods, just regular apps (like amazon, facebook, games, etc)...
[HTC Desire S] Mustaavalkosta:
SuperSU messes with system partition. Try running without it. CPU and ZRAM apps shouldn't touch system files though.

Also you probably shouldn't enable Kernel Samepage Merging. It consumes CPU cycles and slows down the system. I recently turned it off from init scripts because there was very noticeable difference in app installation times. ZRAM is also on by default with 128MB block size so no need to enable that from apps.
[HTC Desire S] i23098:
Does that mean I have to do a clean install now? Or just uninstall SuperSU and try again? If I don't install SuperSU will I be root :confused: I always thought I had to install it to be root (and run the CPU overclock app at least).

With the overclocking I was hopping it would balance it out :) leaving a bit more memory free.

Ok, my next install I'll just overclock... Thanks for all the help :)
[HTC Desire S] Mustaavalkosta:
I don't know how SuperSU preserves itself over the system partition reformats which happens on every ROM flash. You can check if it has created backuptool script in /system/addon.d/ directory. If it has, you can probably remove the script and reflash your current ROM to erase it. Anything it has created on /data partition will stay there though so manual cleanup or full wipe is required to get rid of those. XDA may also have uninstallation instructions somewhere.
[HTC Desire S] vojtah1:
DS is my daily driver so without gapps the phone is like a brick.

I'll test without gapps and without bootanimation. Too bad that booting takes like an hour.
[HTC Desire S] Mustaavalkosta:
I didn't mean you have to run it like that for eternity. I don't have the device so I can't perform any tests on saga myself thus the request for a simple test I'd otherwise do myself.
[HTC Desire S] vojtah1:
I'm aware and I don't have a problem testing.

edit: Even without gapps.

edit2: I removed bootanimation and the phone flies. (with gapps) It's AWESOME.

btw. There is some bootanimation, it is an "android" word right in the middle with some shades going on.

edit3: HOLY ****!
[HTC Desire S] Mustaavalkosta:
Looks like the full resolution boot animation is still being copied over instead of the half resolution one. I didn't verify that the build flag actually does what it should do. My ace probably only works because ART cache creation was already successful once and I upgraded on top of that and it didn't recreate the whole cache so the thing that causes the issue is fixed until it does. You can probably put the boot animation back too once it has successfully booted up once but full resolution boot animation will still slow down the boot due to being very resource hungry which causes ART cache creation to fail too thus causing the low memory warning. I know it doesn't make much sense that these things are related but something goes haywire because cache isn't created properly. Anyways, I will look into really including the half resolution version of boot animation.
[HTC Desire S] vojtah1:
Yeah, you're right. I reflashed with original build (bootanimation is back) and everything seems to be fine.
[HTC Desire S] MIUIMOKEECM:
alipay and evernote can not work

支付宝钱包和印象笔记（中国版）不能使用

alipay and evernote can not work
[HTC Desire S] rambojambo21:
Help in a bootloop

I'm stuck in a bootloop but cant seem to access recovery or fastboot with vol keys, it just goes to boot anim, anyone know how to help, I'm pretty knowledgeable at this sort of thing but I'm stumped if I cant find a way into recovery or fastboot.

I think its bootlooped due to not fastbooting the boot.img. Anyone I can fastboot that without getting to fastboot?
[HTC Desire S] jmcclue:
Pull the battery out for a min then put it back then press vol down + power. It should boot into bootloader
[HTC Desire S] Bl4ck0verlord:
I install CM 12.1.

it work's faster than CM 12,but i have problem. when i call,

interlocutor hears me bad,he

hear what that hissing. help me please.
[HTC Desire S] kchaisu:
Same here, bootanimation problem is solved. No issue for me yet. Thanks Mustaavalkosta for your effort.
[HTC Desire S] qd42:
Does anyone find a way how to set profile picture? When I'm trying to open settings for Owner user I'm getting message "The contact doesn't exist".

This error also seems to be happen on Nexus 6 http://xdaforums.com/nexus-6/develo...ndroid-5-1-t3066269/post59772529#post59772529
[HTC Desire S] MIUIMOKEECM:
Open speaker no sound, Phone can not light up screen

Open speaker no sound

Phone can not light up screen
[HTC Desire S] horbatiuk88:
Hi everybody! I have an issue with some apps in build of 17 apr. For instance, CM browser works about 20-30 seconds, freezes for 1-2 sec and shuts down! It looks like not enought memory. (Other browser works fine) Same thing with other few apps!

I flashed 12.1 + gapps 5.1 once with full wipe ( deleted bootanimation zip before ). And I didn't change any settings. Maybe it can be fixed by updating next nightly? Or I should try to reflash it first :confused:

Thanks a lot for a 12.1! :good:

P.S. Same issue after update 20 apr(((
[HTC Desire S] kylon:
No fix.

You can install google+ and sync your profile picture from there

Cm browser is buggy as hell.

It crashes here too.

The boot animation should be fixed on these builds.

Take a log.
[HTC Desire S] horbatiuk88:
I have logcats of two other apps with same issue:

Boot animation works fine after update
[HTC Desire S] qd42:
Thanks, I will try.

There is also problem with buttons which exist since CM12. It's unable to set custom actions for search button (long press for Menu button doesn't work as well).
[HTC Desire S] ramprabhu19:
Stuck at HTC LOGO

Stuck at HTC logo after clean flash.

I am boot unlocked and s-off.

Flashing the ROM after cleaning my stock ROM. Now after flashing i got stable HTC LOGO...

Do i have to worry about kernel now? Do i have to change it ? if so please provide me the download link
[HTC Desire S] vojtah1:
pull of the battery...
[HTC Desire S] ramprabhu19:
LOL.... tried all the way , seems to be kernel conflict, correct me if am wrong
[HTC Desire S] na1pir:
incredible

I sync code and compiled everything, flash it and wow I am amazed by speed and stability (even my N5 crashes apps more then this ol' little beast)! After reboot I installed mini gapps and still all looks ok...

Strange that build from opendesireproject download page didn't work as good for me.... Only thing that I find not daily driver friendly is a fact that I can't find a way for spirit2_free to play a tune or two, something about kernel not supporting fm ... I might look into that... Sadly I don't know much about android or java to figure out what is the problem, any poiters? I know a thing or two about Linux kernel development if that helps.
[HTC Desire S] mem5449:
Doesn't install on Desire S using TWRP 2.6.3.0 Is a specific recovery (CWM,TWPR, EXT4) or version needed to use this ROM??
[HTC Desire S] Mustaavalkosta:
You even quoted the answer to your question.

Tip: FAQ section is there for a reason.
[HTC Desire S] mem5449:
I was gonna donate UNTIL you were SO helpful.
[HTC Desire S] Mustaavalkosta:
Well, there's no need to get angry to me if you don't even bother to read the FAQ before asking a question that has been asked many times before. XDA itself even encourages you to use search before posting but we have made that even easier by providing FAQ for you.
[HTC Desire S] i23098:
I removed most of the stuff you quoted from kylon. As you can see, when you made the question, you answered yourself ;) :p Dowload 2.8.7.0 or if you are trying to install the sagaopt version, you need a sagaopt enabled one, latest is sagaopt 2.8.7.1.

You can now go and donate Mustaavalkosta and the rest of the guys :p
[HTC Desire S] mem5449:
I wouldn't haven't originally posted if I hadn't ALREADY tried all the versions of CWM,TWRP,EXT4. None have successfully flashed this ROM. BTW, the highest version of TWRP that works on my Desire S is v2.6.3.0 If I load ANYTHING higher, it gets stuck with HTC boot logo and never runs recovery. So, the real answer is I am SOL for using this ROM if it requires v2.8.7.0 Sorry for terse response but I felt your initial response was bit a "smart-aleck-ee". You coulda just said... "Yes it requires 2.8.7.0" Would have been more polite.
[HTC Desire S] Mustaavalkosta:
I get none of the donations. It all goes towards the server bills so not donating is not taking anything away from me. It's actually less work for me if server subscription runs out but then there's no OTAs nor fast/stable mirror in EU area. :p

Well, how am I supposed to know that you have tried all the recoveries and that 2.8.7.0 doesn't work for you? You didn't mention anything you posted now in your original post. If you had mentioned all this, I might have provided something else than an answer to a question that has been already asked several times thus the answer for it is in the FAQ. I don't read minds.

As to your issue with 2.8.7.0 it sounds interesting but I haven't heard anyone else complaining about it so this leads us to wonder what's special in your device which prevents you from running TWRP 2.8.7.0 on it.
[HTC Desire S] ralfbergs:
Maybe he's forgetting to flash boot.img at the end?
[HTC Desire S] richardz123:
oh no what happned its on safe mode ?

http://prntscr.com/9574o1
[HTC Desire S] richardz123:
ok found out why i got into safe mode

i acedently switched from art to dalvik and since 5.0 is more based on art than dalvik it couldent handle it :)
[HTC Desire S] mem5449:
flashing boot.img is done after flashing ROMs, not after flashing recovery.img
[HTC Desire S] ralfbergs:
Oh, right, thanks for refreshing my memory...
[HTC Desire S] richardz123:
what the H the system keeps FC at random batery levels between 60% and 30%
[HTC Desire S] JerseyChewi:
I've used OpenDesire for some time and first tried this version in June. I was initially quite impressed but I think the novelty factor masked the poor performance. Even though I don't install many apps, I had also found myself struggling for space, even after shifting what I could to the SD card.

I was getting so frustrated with it recently that I was on the verge of buying a new phone, which is something I wouldn't do lightly. I decided to give this ROM one last shot and applied the latest "sagaopt" nightly. What a difference! I suspect disabling KSM has had something to do with it but I did briefly try doing that manually before the upgrade and it only made a small difference. There must be more to it than that because it's like a different ROM. The new partition structure is just genius, now I have more space than I know what to do with. I didn't even have to wipe my SD card as I was already using F2FS. :D

The only complaint is that WebView still crashes but I know that Mustaavalkosta has already worked very hard on that. Opera Mini skirts around that issue quite effectively though I do wonder whether it is causing message views in K9 Mail to occasionally throw you back to the inbox.

All in all, I think I'll be holding on to this phone for a little while longer yet. I've donated a little for your troubles, though I know it just gives you more troubles really. ;)
[HTC Desire S] Mustaavalkosta:
cm-13.0 + kitkat adreno test

I need someone with sagaopt capability to test a build for me. I want to know whether saga has additional issue with the newer adreno drivers. Testing should be as easy as checking whether bootanimation shows up and if there are any very visible graphical glitches. First one to respond will get a link in PM hopefully later tonight.
[HTC Desire S] i23098:
Awsome :D

I can give it a try :) If someone more knowledgeable wants to try first, that's ok. But for simple tests, see if it works, that I can do...
[HTC Desire S] kchaisu:
Thank you very much for your kind contribution.
[HTC Desire S] kleest:
These are amazing news! :)

I have a technical question: You were talking about "newer adreno drivers", are those new binary proprietary blobs or is cm13 using the open source freedreno drivers?
[HTC Desire S] Mustaavalkosta:
CAF/kk_2.7 based adreno binary blobs from SGS3. These fix webview crash but brought in rather persistent and annoying LCD panel underflow issue with ace.
[HTC Desire S] kleest:
Ah ok, thanks for the response.

Is it theoretically possible to use the open source freedreno drivers? They support OpenGL ES 2.0 on Adreno 205. If so, they might resolve some graphical issues (if there are any left while using the new adreno blobs).
[HTC Desire S] Mustaavalkosta:
Yeah, I guess it's possible but if we ask whether it's possible that I can make them work, that's a completely different story. :)

ps. I just heard back from Lapyyyyyy about cm-13.0 and apparently saga isn't worse than ace at this point which is nice. Maybe public nightlies will appear in the coming weeks.
[HTC Desire S] ChristianFerrer:
Wow! That's amazing! Excited for it.
[HTC Desire S] i23098:
Hi, just installed 20151127-sagaopt and haven installed SuperSU this time... But then, how to run apps that require root :confused: I'm trying to run No-frills CPU Control to configure max cpu speed but when I try to Apply I get "Error: did you allow SuperUser permissions?"

Edit: Found the answer myself just after asking... Settings -> Developer options -> Root Access (switched to Apps only), in case someone is also looking for it. Don't know where the list of root access enabled apps is shown, though...
[HTC Desire S] Mustaavalkosta:
AFAIK, there isn't a list per se but you can see root access status from Settings > Apps > Select an app > Go down to Permissions and select modify and you should see "Root access" as one of the permissions.
[HTC Desire S] i23098:
I asked them: https://varadgautam.wordpress.com/2015/08/24/freedreno-on-android-current-status/#comments and got a reply :)

Have no idea what they asked...
[HTC Desire S] JerseyChewi:
I was wondering about Freedreno too. I sit in the #etnaviv IRC channel for news of another open graphics driver and Rob Clark sometimes speaks in there. He's a really nice guy. I generally find open drivers to be much more reliable than their closed equivalents so I think this is really worth a shot. If Mustaavalkosta doesn't give it a try then maybe I could but I'm seriously short on time.
[HTC Desire S] Mustaavalkosta:
I know what they mean but I don't have an answer for that either. It goes into the specifics and I'm more of "all over the place" kind of guy.

Yeah, I'd prefer fully open stack too but based on what I've read freedrenos are still more or less WIP. I mean even the device_freedreno page lists very generic issues as known. Maybe at some point but I don't find there to be that huge incentive for this right now. I'd likely just gain another set of issues that I find hard to solve.
[HTC Desire S] kylon:
Freedreno is not a good idea.

It will probably add more issues and glitches.

Also, it does not fully support android phones and you need to write or edit the panel driver (maybe some other files) to work with it.
[HTC Desire S] antimage05:
It's been 5-6 months since I tried this ROM and it was laggy as hell...any improvements on the performance?
[HTC Desire S] i23098:
I'd say so, as I use it as daily phone and it's not that laggy. Getting phone calls is still a bit slow to launch the dialer but even that I think it is better in latest releases. But it's still slower that the original HTC ROM.

For instance, Subway Surfers was smoothly playable on the stock rom, and on this rom sometimes it stops for a few miliseconds or so, making the game less playable (it doesn't read your movement and you crash on a train...). But for games without constant movement, like Alphabetty Saga or one of the Candy Crush games, it's ok.

Other issue, is after clean install of the ROM I can install Facebook. But the phone crashes/reboot when trying to update. It seems facebook uses too much memory or so... But I can use it normally.

Google Maps doesn't have any flickering (can't recall if it was a problem with this rom or CM11) and runs ok (it's a big app, sometimes tiles take a little time to load, but it's very usable most of the time).

So, to sum it up, it's a great rom :D and the sagaopt version is even better, as it allows me to use my 32GB sd card as if it was internal memory (before I had to install one app, use Link2SD to move the app to sd card, install another, the internal memory was always almost full... now it's great :victory:
[HTC Desire S] ltodorov:
I am using cm-12.1-20151129-UNOFFICIAL-sagaopt and couldn't remove Wi-Fi from Battery usage graph. Wi-Fi is turned off and Scanning always available is disabled. Does anyone have the same problem and is there a fix for it? Thanks!
[HTC Desire S] kchaisu:
Thank you very much Mustaavalkosta, Kylon and the team for kind distribution to the community by providing with the first CM-13 sagaopt nightly.
[HTC Desire S] kchaisu:
Both nightlies, CM-13-20151203-unofficial-sagaopt and CM-13-20151204-unofficial-sagaopt, clean flashed are booting up fine without CM account. However, flashing Open GApps-Arm-600-20151204-Pico and Delta GApps 600 20151204 base apps has been facing Setup wizard, Google Play service and System not Response, but mostly Setup wizard has stop. Thanks. Sorry I do not know how to get logcat.
[HTC Desire S] youngboy:
opt version speed problem

I am new to flashing custom ROM but I have tried it on my old phone trying to have a newer android than stock GB, but better than stock ICS. I tried spent a little time with opt version in order to get more storage space but it was killing the phone. It made the phone unusable especially when I tried to install further apps. I tried it with a Class 4 mSD.

Is it normal or what could I do wrong?
[HTC Desire S] Mustaavalkosta:
I didn't notice much difference in initial testing of opt variant between the class 4 card that came with my ace and Kingston Class 10 card. Sadly I also can't think much anything that could cause such issue apart from possible hardware issue/failure with the card that manifests as slowness. If possible you should probably try to rule that out first with another sdcard.
[HTC Desire S] JerseyChewi:
Just a tip. This might be my imagination but I think it takes much longer for apps to install if you sit and watch the progress animation compared to just sitting on a static home screen.
[HTC Desire S] youngboy:
I do not think it is because of the card failure. It is totally new. Even I will give a try with another one.

It seemed slower from the beginning than non-opt one.
[HTC Desire S] youngboy:
Amarullz data to sd-ext ( ad2sdx)

Would the Amarullz script work with non-opt CM11, 12?

I used it a long time ago on Ace with CM7.
[HTC Desire S] Mustaavalkosta:
Well, no one else has been having such dramatic difference between the variants (on the contrary, many have opt variant running faster due to fully utilizing ART's capabilities) which at the moment pretty much narrows it down to your device / setup / something else on your end causing it. I just can't think what that something could be.
[HTC Desire S] youngboy:
I found a post about the same issue mainly during app install from Google Play. I am not 100% percent sure but it was in an ACE topic and I think you tried to answer it.

:)

I will give a second try.
[HTC Desire S] ralfbergs:
What exactly is the problem you're seeing? Is it maybe that /installing/ apps takes ages?

My understanding is that with sagaopt this is to be expected as ART is "optimizing" apps when installing them (or am I confused and sagaopt is identical to saga in this respect?)

--

Sent from a mobile device.

Please excuse my brevity.
[HTC Desire S] Mustaavalkosta:
Well, are you now talking about ONLY about app installs or system as a whole being slow? App install are slow. They even make the current flagships to drop frames so I don't think there's much to wonder about if a 5-year-old device is being slow too. I thought you were having sluggish system altogether but if that's not the case then I guess we have solved this mystery. Opt variant can be, in theory, even slower with app install because it creates larger ART cache but that will help afterwards with app execution speed. I don't know how this situation balances out in real life situation since ART also speeds system up so it's not only negative factors in play.
[HTC Desire S] i23098:
I still can't update the sagaopt version of this rom :( I'm using 20151127-sagaopt and when installing 20151213-sagaopt using TWRP 2.8.7.1 I get the error:

I have attached the recovery.log file. I see some errors about no space left on the device in the end of the file, but I have 25.2 GB free on SD card :confused:

Last time I installed I had to backup my SMSs and stuff, erase everything and do a install, I was never able to do an upgrade :(