yashsingh1/xdaforums huggingface dataset:
[Desire HD Android Development] Trig0r:
I checked the APN and it does show giffgaff so thats good enough for me, I just didnt know if there was a way to change it somehow..

---------- Post added at 11:06 AM ---------- Previous post was at 11:04 AM ----------

Fast and smooth here, looking at a way to remove some of the home screens, I only use 2 so tend to get rid of any unused ones, there a way to do it here or is that really an out of ROM thread discussion?
[Desire HD Android Development] dvhttn:
Another random crash this morning (previous was when using Dolphin). This one happened when the phone was asleep - came back to it to have to put my PIN code in. Definitely something in 4.2.2 that disagrees with the DHD somehow. Or just a bug in 4.2.2 ...... Anyone know if Nexus owners are seeing random reboots?
[Desire HD Android Development] pnoire:
SR12 is the very first version with 4.2.2 so issues or unexpected reboots could occur. To help devs to fix bugs and problems, the best is to add a logcat or, in case of randomly reboots, a copy of last_kmsg.

Look at 3rd message (near the end) to learn how to easily get logcat or last_kmsg
[Desire HD Android Development] t0mas_:
Re: [ROM][AOSP-4.2.2 JDQ39][Linaro 4.7.3-toolchain][SR12] OFFICIAL codefireX Nightlie

i also got some random reboots on sr12, clean flash, but with some restored apps. i havent got one since i switched to sio scheduler...
[Desire HD Android Development] kurtph1969:
Re: [ROM][AOSP-4.2.2 JDQ39][Linaro 4.7.3-toolchain][SR12] OFFICIAL codefireX Nightlie

Same problem only with Opera Mobile. Latest build of CFX 20130215. Clean install,

Stock keyboard. Log cat attached

http://pastebin.com/HYPAv2d7
[Desire HD Android Development] iopetja:
Re: [ROM][AOSP-4.2.2 JDQ39][Linaro 4.7.3-toolchain][SR12] OFFICIAL codefireX Nightlie

Download flash from adobe site, and manually install. Restart phone.

----

If I helped, press Thanks button...
[Desire HD Android Development] Stoffl_:
No issue with browser crashes here.

Also no reboots so far.

Had one freeze that required me to remove the battery but that was before I fixed the gapps keyboard issue.
[Desire HD Android Development] PAOLOPALMA272:
I'm thinkin' to change rom, because the game's experience with this rom is very sick, too many lags and for me they're too important. I hope in next release. Otherwise, best rom ever
[Desire HD Android Development] kinkade:
Offline voice search

HI, I´ve been keeping my eye on this for a while so apologies if someone has already posted, my search-fu hasnt found it.

What is the reason that we cant have offline voice search, its not only for nexus phones as a friend of mine has it on his One X, cant remember which rom but i think its cyanogen 10.1.

All answers or ideas welcome.

also, great rom, thanks team.
[Desire HD Android Development] i8890321:
t

yes,install flash pplayer helps but still not fully support, in the video flash web site some video will keep flashing/glitch,its hard to enjoy the video, some even can't full screen

but s far as i know,some other Android 4.1 above device still having a fully working flash video playing experience.

hope this message rasie the concern of all dhd users and developers
[Desire HD Android Development] vermaekansh:
In SR12 flashed the gapps without keyboard so there is only one keyboard swipe is also working but no word is getting populated while trying to write a word.

m i missing sth in this.
[Desire HD Android Development] s0ulreaver:
I had no reboots either but Opera Mobile had not worked for me for quite a few builds now. keeps on crashing when loading websites.
[Desire HD Android Development] Lord_JABA:
Anyone else having problems with Ustream Broadcaster? The app won't start for me. Would be very grateful for a fix.

For the record : tried re-installing and cleaning app data.
[Desire HD Android Development] evronetwork:
First time I flashed SR12 (clean flash), I had battery issues, FC's with Greek language and unstable function.

Flashing back to 20130213(clean flash) and then again to SR12(again clean flash) fixed everything, no issue at all.

Just try not to flash gapps exactly after the rom flash or try not to flash it at all :}
[Desire HD Android Development] Lord_JABA:
Flashed gapps in one run with the rom. If someone could confirm that ustream working for them i would know i'm not wasting my time...
[Desire HD Android Development] Largamelion:
Re: [ROM][AOSP-4.2.2 JDQ39][Linaro 4.7.3-toolchain][SR12] OFFICIAL codefireX Nightlie

Just had my first random reboot on SR12. Happened when I wanted to reply to a Whatsapp conversation from the lock screen. Installed 'Notifications Widget' today so might be a conflict.
[Desire HD Android Development] hypnz:
Απ: [ROM][AOSP-4.2.2 JDQ39][Linaro 4.7.3-toolchain][SR12] OFFICIAL codefireX Nightlie

Just had a reboot. I was at web browser (Firefox) and just hangs and reboot. As I see eats a lot of resources but can't find another browser to suits my needs.
[Desire HD Android Development] sberla54:
Hi,

you all talk about random reboot (that i once had, moving an app to SD, but never had again) but i've a slightly different problem: sometimes the phone turns off and when i start it again, the battery is at 0%.

Just one minute after it was a 95% or so.

If i plug the phone to the charger, the battery comes back to 95%.

I've flashed yesterday and this already happened twice.

I would like to know this stuff about memory too because it seems that "System slowing down: can sometimes (not always) slow down until unusably slow if free memory sinks below 100Mb" as said in first post, and i have often less than 100 Mb (don't know why).

I've tried the first soluting ("CFXsettings - System - Performance - Manage Memory: Enable the options") but it only helps a little. I'm gonna try the second one.

Are you experiencing my same problems?

What is it "low memory killer"?

Do you mean like INT2EXT+? http://xdaforums.com/showthread.php?t=1716124&highlight=link2sd

INT2EXT+

-Mounts /sd-ext to /data

-Leaves /data/data on internal for speed

-Works with EXT 2/3/4 filesystems

-ZipAligns /data/app on every boot

-No symlinks

-First universal INT2EXT method

If it doesn't work on Android 4.2.2 there's a fixed version on last posts: http://xdaforums.com/showpost.php?p=37939052&postcount=1121
[Desire HD Android Development] damac:
Re: [ROM][AOSP-4.2.2 JDQ39][Linaro 4.7.3-toolchain][SR12] OFFICIAL codefireX Nightlie

Well, the inherent problem is that we have devices with low ram, so if you're prepared to risk shortening the life of your sd card, consider a Linux swap partition at the end of the card. About 256 MB should be more than sufficient. There's already an option in this rom to use this partition, use it. This should help reduce out of memory problems. Also, if you look in unofficial cm nightly thread, there will be links to scripts by 'a user', which periodically clear SQL databases amongst other things. That also helps. I'm also using a users's excellent app called Systune to tweak kernel parameters like swappiness, you might want to give it a go... It's in his signature.

Big thanks for that! Will check it out! :thumbup:
[Desire HD Android Development] Muikkuman:
Re: [ROM][AOSP-4.2.2 JDQ39][Linaro 4.7.3-toolchain][SR12] OFFICIAL codefireX Nightlie

Nexus 4 :thumbup:
[Desire HD Android Development] sberla54:
LOL

I had an sd-ext + swap and i've just deleted them before flashing this ROM, because i weren't using them anymore :)

What's the use for periodically clearing SQL databases?

And what is it the swappiness?

Sorry for the newbie questions :)
[Desire HD Android Development] Triversity:
The default value is 90.
[Desire HD Android Development] a user:
actually i must apologize. i just fixed that dbcleaning was actually not working until my just uploaded version. a small typo caused it to silently fail.

though, there are some other things that actually are more important than the db cleaning, fstrim for example.

regarding swappiness and swapping:

1. swappines controls how fast the system will try to swap. a high swappinesss means it will try to put pages early into the swap, even if you still have free mem. low swappiness will wait longer, for less free memory before it swaps.

iuf you do not have a swap device/file, swappiness does nothing.

2.

i very doubt using a swap on your sdcard or internal memory is a good idea. i expect to actually slow down things, at least if you use higher swappiness values. with higher values you actually give up the speed of your ram for the slow speed of your flash memory.

with low swappiness value you might think it could help. but i don't think so. the reason is that due to dalvik cache a fresh app startup is not much slower than detecting missing pages and loading them from flash memory. sure it is slower, but overall it is not what makes our device slow and it won't kick in when you think you need some speed up.

but that's only my theoretical believe. try it out over some days if you wan't. don't forget to report back ;)

3. finally, an old toppic... why is my free memory so low?

short answer: don't bother!

long answer:

1. linux doesn't wastes your ram by keeping it free. free memory is wasted memory! if there is nothing usefull, an app to run on it then it uses it for caches (inodes and block data caches - vfs pressure controls wich one to prefer).

android on the other side also fills it with apps (active apps or not). the reason is that the app will started faster next time you launch it.

3.1 ok ok, sounds great, but why is my device getting so slow when my free mem drops below ~70MB ?

well, from here on the low memory killer usually starts kicking in and a new app launch evtl. first needs some memory freed. this is something you usually won't oberve most of the time. but if you start to start multiple apps short one after each other the system had not enough time to provide free mem for all of them. one app start is no issue, LMK already keeps free memory for one new app. but the next one gets tied.

well you can give up some multitasking ability and configure LMK to keep memory for two new apps at once. though this could (most probably) kill more apps than you want when you launch a bigger app, like a game.

my personal advise is to keep LMK at defaults. most of the time its working fine. trying to tune it for more free memory has side effects that i found annoying on the long run.
[Desire HD Android Development] espmartin:
Re: [ROM][AOSP-4.2.2 JDQ39][Linaro 4.7.3-toolchain][SR12] OFFICIAL codefireX Nightlie

Sorry to hijack your thread synergy, but "a user", we can just flash this new version over your previous one? I get this msg about skipping default values when I do that:

Sent from my Inspire 4G
[Desire HD Android Development] a user:
yes you can.

the skipping default values stuff is explained in the changlog (kind of a manual :P ).

the tweaks contain a file called "settings.dafaults". upon flashing it makes a copy of it called "settings". both are after the flashing in your /data/local.

the scripts will first load settings.dafaults and afterwards the settings file. so what is in "settings" will overwrite "settings.defaults".

this way you still have my defaults while you can edit the settings file for your taste.

now when flashing you usually do not want settings changed. that's why you get that message. it installs the new settings.defaults file but skips your existing settings file- if there are introduced some new options don't worry. if they do not exist in "settings" the ones from "settings.defaults" will be used.

due to this system you can always revert easily to my default settings.

p.s. the changes made in the recent update to not affect the settings files.
[Desire HD Android Development] kesh_33:
hello people quick question...Does CRT screen ON animation (Electro beam) work on Desire HD's builds ??
[Desire HD Android Development] sberla54:
I'll give it a try anyway, because i've spent the last hour re-formatting the sdcard for creating the swap space :)

How can i see how much swap is used?

Do you suggest LagFix for fstrim? I used it before but i haven't enabled it yet on this rom.

What's the dbcleaning for? For freeing RAM? Where can i find your script? In this: a_user_cm10_1_tweaks_v1.3.zip ?
[Desire HD Android Development] espmartin:
Re: [ROM][AOSP-4.2.2 JDQ39][Linaro 4.7.3-toolchain][SR12] OFFICIAL codefireX Nightlie

"A User", you are a class act! Thank you very much for your explanation, and your hard work on your scripts!!

Sent from my Inspire 4G
[Desire HD Android Development] a user:
open a terminal app and type

swapon -s

you can turn it off with swapoff btw. and on again with swapon ;)

i think "df -h" should also show some info, not sure though.

just looked after lagfix. actually lagfix is an app containing "fstrim". when you press the button in lagfix it executes once fstrim.

i compiled fstrim for our arm myself. the source used (slightly modified to compile) is available at my download link. my scripts though, use cron to periodically execute fstrim. so it is a fire and forget ;)

my scripts are found in the big red link in my signature :P

EDIT: sorry forgot your question about db cleaning....

apss (and the system) uses sqlite databases to store settings and other things. an sqlite databases to work fast does not actually delete data when the app deletes something. it just marks it as deleted. so over time the db increases and also gets slower because the indexing may not fit in the ram anymore. so cleaning it from time to time can help. this is done by the vacuum command... sqlite vacuum db.file (something like that). i have a script finding all your database files on the system and cleaning them.

again i use cron to periodically execute that. see my changlog file for infos etc.
[Desire HD Android Development] sberla54:
Both commands don't work for me.

swapon -s is not an available options. swapon -a gives me "/etc/fstab: No such file or directory" error. df -h is not an available option. With df i can't see any swap...

And i'm root...

Anyway, i've activated the swap under CFXSettings > System > Performance > Memory management. I hope it's enough to really enable the swap but i'm not sure, at this point...

Thank you! I'm installing them right now!

I just flash them and they're active?
[Desire HD Android Development] a user:
oops, seems i forgot that busybox cut off some features of that commands...

seems swapon from budybox doesn't support the -s option.

and df not the -h option (human readable output). though here just use "df" to show free space on all mounted devices. i think it should include the swap device too. but not sure if this corresponds to the swap usage.

am on the cm10.1 rom so can't tell what that option is doing.

well, for most of the things it is. please read the changlog found in the download directory to see what options you have in the settings file. also read the comments within the settings file. most things work out of the box, but for example custom hosts file needs you to first download one and configute where my script to look for it.

edit: after some time (after you installed my scripts) you should checkout the log file "/data/localo/userinit.log" to verify everything is working. if unsure you may pm me that file and i take a look.
[Desire HD Android Development] JediDevil:
AW: [ROM][AOSP-4.2.2 JDQ39][Linaro 4.7.3-toolchain][SR12] OFFICIAL codefireX Nightlie

I have random reboots with SR11 and SR12. :confused::banghead:

All flashed with fullwipe?

What can i do?
[Desire HD Android Development] damac:
Re: [ROM][AOSP-4.2.2 JDQ39][Linaro 4.7.3-toolchain][SR12] OFFICIAL codefireX Nightlie

Another way to quickly check if swap is working or not is to open a terminal, type free and press enter, it will show you how much of your swap partition is being used.
[Desire HD Android Development] Muikkuman:
Re: [ROM][AOSP-4.2.2 JDQ39][Linaro 4.7.3-toolchain][SR12] OFFICIAL codefireX Nightlie

1. Relax.

2. Grab a beer.

3. Play Skyrim and/or StarCraft.

4. ???

5. Profit!!!
[Desire HD Android Development] woti23:
you can use the command free in terminal to see if and how much swap is used

you can activate swap with command

swapon /dev/block/mmcblk1p2

asuming you have a second partition on external sdcard for swap

---------- Post added at 11:46 AM ---------- Previous post was at 11:37 AM ----------

/system/etc/init.d/77vacuum

#!/system/bin/sh
for i in \
`find /data -iname "*.db"`
do \
sqlite3 $i 'VACUUM;';
done
[Desire HD Android Development] Largamelion:
Re: [ROM][AOSP-4.2.2 JDQ39][Linaro 4.7.3-toolchain][SR12] OFFICIAL codefireX Nightlie

Well, I just had my 3rd random reboot since the release of SR12. When I have some more time, I will try and grab a log. This time it happened while trying to open a mail from the Status bar. I did however dirty flash so not really a bug report, just information. Will do a clean install this week if possible, but from what I read in this thread, it happens on clean installs too.
[Desire HD Android Development] Triversity:
Yeah it´s not the best idea, because you´re killing your sdcard. For me it is still faster than starting each app everytime again, especially when using a lot of apps at the same time (>4). But i have a fast samsung class10 32gb card, so this is likely one reason why it works relatively well.

at the moment i still have the default swappines=90, but i will try other, lower values to see if they work as well and still don´t drain my sdcard that much.
[Desire HD Android Development] bafk:
Points observed in the SR12.

I've been noticing that besides the spontaneous startups that have already happened 5 times and unfortunately I did not take the log, the keyboard does not wake the word. In every reboot I have to choose the ring tone and message tone.
[Desire HD Android Development] ©h®is:
AW: [ROM][AOSP-4.2.2 JDQ39][Linaro 4.7.3-toolchain][SR12] OFFICIAL codefireX Nightlie

nightly 0216 running fine so far :)

OT someone has an thread link for dark/inverted gmail?

thx

Gesendet von meinem Desire HD mit Tapatalk 2
[Desire HD Android Development] a user:
actually no one has to worry about draining his sdcard. everything else on the phone will die long before your sdcard will die due to swapping o your DHD, especially your battery.

if you observe good results with swappines of 90 defnetly go lower. you are at the moment swapping ALL the time. you should try something around 10-30.
[Desire HD Android Development] lululala:
Re: [ROM][AOSP-4.2.2 JDQ39][Linaro 4.7.3-toolchain][SR12] OFFICIAL codefireX Nightlie

I had the same symptoms earlier until someone mentioned to change the io scheduler from bfq to sio. Have no reboot since.

Sent from my Surface Pro
[Desire HD Android Development] Triversity:
But would be still nice, if i could use it in my next phone :) (if it will have a slot at all...)

I want to, but at the moment i don´t know how to change it. Before it was implemented directly into the ROM, i put a script to /system/etc/init.d where i could change the swappiness. Now i don´t know anymore where these settings are stored.
[Desire HD Android Development] JediDevil:
I have random reboots with SR11 and SR12 with SIO Scheduler
[Desire HD Android Development] a user:
i used for my app for this ;) but you can do it as you mentioned via a script. the file to set the setting is:

/proc/sys/vm/swappiness
[Desire HD Android Development] Z0R:
Don't have random reboots but stange things happen on my device. My GPS show enable but if I go to GPS navigation the app note that I need turn on the GPS. :(

The keyboard also doesn't work properly. If I want switch from english to russian language it doesn't work.

Install SR12 with clean flashing.

Any suggestion?

Thanks
[Desire HD Android Development] DesertEagleSlim:
the newest nightly (16) has my GPS acting up again it won't let me turn it on. keeps saying its disabled. but nightly (15) didn't do that. had to flash back.
[Desire HD Android Development] jeffhui:
Re: [ROM][AOSP-4.2.2 JDQ39][Linaro 4.7.3-toolchain][SR12] OFFICIAL codefireX Nightlie

I have a quite great battery drain (when using) and random shut down and reboot in SR12. Anyone have the same issue? Quite disappointed :( Never have such problem on codefireX rom before.
[Desire HD Android Development] Triversity:
Before you complain, you better help fixing problems by attaching a last_kmsg after a reboot. If you don´t know how to do that, look at the 3rd post in this thread and you´ll find an explanation there.

Also the battery drain is most likely not the ROMs fault, but some wakelocks from installed apps. Use BetterBatteryStats to find the culprit.
[Desire HD Android Development] bur2000:
It's not a must-have but it's actually quite useful to quickly add several apps all at once. I guess I'll just do without it.

So that's probably another good thing Sense offered. Every app that was added to the quick-select (or whatever it's called) bar at the bottom of the home screen was automatically available from the lock screen. So there was no need for special widgets.

I checked the settings on the phone but apparently missed it. It's in Interface -> Button Settings -> Softkeys in case anyone needs it, too.

Yes, it seems Sense wasn't as useless as I thought. It's not just cosmetics but offers some handy features. Maybe they'll make it into AOSP one day. Another thing I don't like is how freshly installed apps automatically add their icon to the home screen. Reinstalling 100+ apps after wiping left me with a lot of icons to delete...

Some more questions:

1) I noticed the magnifying glass softkey globally opens Google Now which I don't use. So I removed it but now the softkey just does nothing. I'd like it to work related to the app I'm using, i.e. opening the search in Google Play or the address bar in Dolphin. Is there any way to restore that functionality?

2) Is it possible to get "recent apps" back to the notification bar?

3) Wifi signal strenghts seems to be lower than on Sabsa Prime. Is it just the way strength is displayed (number of bars) or is that an issue with the ROM/radio? I remember Android Revolution ROM always stressing the point to use the proper radio for the ROM. Is there a recommended radio for this ROM as well?
[Desire HD Android Development] Zeitraffer:
You can disable this in Google Play Store -> Automatically add widgets
[Desire HD Android Development] daniello8:
Batch restoring stuff with Titanium Backup on SR12 is really giving me a hard time .. even if I only select a few of the 100 leftovers it sais resorting but doesn't really starts .. I have no idea how to overcome this. I never had a problem like this before .. usually it just runs through and everything is there again. Any hint/help/tipp is very much appreciated .. this is a pain.
[Desire HD Android Development] pnoire:
If you mean that the screens are messed up, it's an annoying issue but you can install another launcher (Nova or Apex for ex. free on Play Store).

I use Nova, Home screens and widgets etc.. work perfect
[Desire HD Android Development] zahir.dk:
Using Apex as it has been my favorite since long but the Clear button in Notification Bar goes way to the right and is only half visible :(
[Desire HD Android Development] Li0nHeart:
I clean flashed AR6 yesterday. Used GPS to navigate home yesterday. Worked like a charm for me.

Desire HD - Netherlands.
[Desire HD Android Development] faizal ali:
I use nova luncher..before that apex luncher..when i use apex luncher there got some lag when you scrolling home and the animation not so good..nova is more better.that base on my experience..
[Desire HD Android Development] pnoire:
There is a nice theme for CFX 4.2 available here: http://xdaforums.com/showthread.php?t=1925807

Download and flash Blue_Framework_IceCold_CFX_JellyTime.zip and Blue_CFX-AR6_Set_SystemUI.zip to have the full theme

Red_Framework for cfx 4.2 is available too but Red set_systemUI is not for now, I'm sure that Claude96 will do it soon ;)

EDIT: and here the link with explanation how to revert to stock theme: http://xdaforums.com/showpost.php?p=34670338&postcount=65
[Desire HD Android Development] born_fisherman:
Fantastic work team! :thumbup::thumbup: