yashsingh1/xdaforums huggingface dataset:
[Desire HD Android Development] a user:
hmm, sounds strante as you seem the only one or at most one of two with such an issue.

anyhow, did you tried my new settings? EDIT: wait use this ones:

100 000

70

1

250
[Desire HD Android Development] winwintoto1234:
Wwooah!??

Look at my post HERE...:D
[Desire HD Android Development] andreasy:
Your post reminds me of my case. The reason is because in China there may have been more 3G antennas available close to you so, your phone didn't have to work very agressively to get signal. Back in your country, the 3G antennas may not be close enough to you (like in my case also) and your phone gets very agressive to keep the signal at acceptable level and hence, the more battery drain. For my case, it will go away if I stop using 3G and revert to GSM only. However, I won't have high speed 3G Internet and I won't be able to use concurrent voice and data. I believe it's the same with you.
[Desire HD Android Development] andreasy:
Ok, I wasn't talking about 4ext anyway because I haven't seen it yet. Now, about benefits of ext4 on a smartphone, I agree with you that we won't see benefit, but on the other hand, since it's not worse, why not use the ext4 which might be 0.01% better (assuming that there is no real cost in effort and time). Anyway, I get your point but I thought to go with 3.0.2.8 ext4 and I have all my partitions (even devlog) as ext4. Again I agree that I can't notice any benefit as the IO throughput on a smartphone is not so measurable in reality.
[Desire HD Android Development] andreasy:
By the way, anyone tried the new 4.0.0.5 recovery? any issues?
[Desire HD Android Development] mossywell:
Two possibilities spring to mind. 1. Because of all the testing I've done, I'm more sensitive to tiny differences, or 2. Because of all the testing I've done, I'm starting to see differences where none exist!

As I mentioned once, my plan is to get my wife to change the settings without me knowing which it is. (I'm happy to admit that it's all psychological: the brain is a weird thing!)
[Desire HD Android Development] zaxos3:
@lee

hey lee i have to take my phone to service.... what i have to do to revert it back from your rom to stock?
[Desire HD Android Development] henv:
First flash original ROM (for example 1.32) and radio. Then temproot with visionary and use the tool(s) from jkolko to remove s-off etc. Then phone is stock

Sent from my Desire HD
[Desire HD Android Development] zaxos3:
where i can find the original rom 1.32.... is there a link with instructions?
[Desire HD Android Development] Palmahnic:
Follow this thread - http://xdaforums.com/showthread.php?t=905003
[Desire HD Android Development] tmh:
Has anybody else experienced quite a bit more battery drain after flashing sense 3 stuff? I've lost 28% in about 7 hours with pretty much no use, apart from 2 short calls. Been on 3G all day and all of a sudden my standby drain seems to idle at about 25 mA, normally it's about 5 :-P
[Desire HD Android Development] mossywell:
I guess is that it's way down the priority list - as in, if I restore to ext3, it doesn't matter in the slightest to me because there is no user-discernable difference. ext4 is faster in most heavy-duty IO tests on servers, especially big sequential IO transfers, but there are some where ext3 comes out on top. Add to that the fact that we're dealing with a mobile phone and no spinning things, and it all becomes irrelevant anyway. What does surprise me is that none of the speed freaks have suggested ext2. :) Not exactly the safest file system out there (e.g. no journaling), but my guess is that if any are going to be faster, that would be it. (But again, probably not discernable on a mobile at a guess.)
[Desire HD Android Development] andreasy:
Agree 100% :)
[Desire HD Android Development] supRshine:
nice one! :D

though i made a couple of calls, send texts, wifi or 3g was on all the time, played games a bit, listened to music for 1-1,5 hour, syncing was on (4 emails, weather, facebook). so i would say it was normal usage instead of light ;)
[Desire HD Android Development] kuailan:
Need help

Can anyone point me to the right direction? After flashing the sense 3D add on V5, my widget just look weird? I cant find "People" widget? I have clean up my cache etc before flashing? Only way, I have to flash Kalagas theme then all my widget is fine, except I loose the 3d. Am I missing something here???:confused:
[Desire HD Android Development] Darius_III:
You should clean the htc sense cache AFTER you flash Sense 3 All in One v5, not before.
[Desire HD Android Development] kuailan:
.....thanks...fixed it =)
[Desire HD Android Development] winwintoto1234:
I have to agree with you.

In my own country, my battery drains 1% in every 1.5 to 2 hours if I let my phone idle (on standby, data off, no call, no sms and no screen on).

If I on the data, regardless of gsm or 3g, my battery drains about 5% per hour. Syncronise set at 3 hourly. Kindly read my previous post about my battery drain. Do you think it is normal?

Was thinking not to use Juice Defender to get full use of whatsapp, viber, skype...etc but I afraid the battery won't last for 1 day without assistance of Juice Defender...:(

To me, Ultimate Juice (paid version of Juice Defender) can't even compete with the free version...
[Desire HD Android Development] tmh:
Hmm, down to 61% now, with just 40 min screen on and 2 short calls on 3G - 9 hours standby. Something is definitely acting up while on 3G :P One thing's for sure, it's using a hell of a lot more juice than before the Sense 3 stuff. I just can't see how those two things can collide...
[Desire HD Android Development] Hakimy:
hey guys has someone tried this? I saw it today in the main page of xda :D

http://xdaforums.com/showthread.php?t=1111145
[Desire HD Android Development] Riekr:
maybe it would be useful with lower ram devices, dhd has 768mb wich is ways more than the average android device (only latest devices have 1gb of ram)
[Desire HD Android Development] a user:
i really doubt that Guy knows what he is doing there. He changes some values there that only affect a system that uses swapping. Since when does android users swap files or partitions -.-

Well but depending the situation his memory manager settings could be useful.
[Desire HD Android Development] tmh:
About the Sense 3 vs. battery drain: Could it be something like the weather service keeping data alive constantly? If so, is there some kind of fix for it, other than removing all the Sense 3 stuff again? (not using the weather lock screen or live wallpaper btw.)

I hate that damn lockscreen for not just working on its own ::P
[Desire HD Android Development] tmh:
Sorry, doublepost :( XDA going really slow for me atm. - but hey, 1337 posts :cool:
[Desire HD Android Development] andreasy:
Yes I've seen your post and if you are measuring values properly (with phone idle, screen swtched off for at least 30-60 mins) then it is quite high power drain you got. I don't think that juice defender or any other task killer will help you unless you have a bad app that drains your battery.

I suggest you use the built-in battery monitor (menu-settings-about-battery-battery usage) and see what is eating your battery most. It should be related to phone I assume.
[Desire HD Android Development] krzych:
This is a result of changed hosts. I think ti would be much better to REJECT packets from iptables chans than editing hosts. Or anything else... I dunno until tests (and I have no time for this right now).

Additionally, built-in task manager (I dunno whether is it Ginger's one or Lee's) shows no SSHDroid app preventing me to kill it coz it does not die automatically, yet password is not set so i cannot ssh-in too. Stupid situation I think. I'm reporting this coz it's standard way of disabling ads for LeeDroid and it's even advertised at the first page of this thread, but it's quite buggy - who wants to block apps? I think noone.

Second picture (tellhtc) is always after normal shutdown or normal restart on a fresh system (nothing installed after flashing). I cannot reproduce situation further coz I just installed some apps (but it still shows up every boot, so I think it's not dependent of installed apps)
[Desire HD Android Development] a user:
it is long time known and discussed in sshdroids thread since page ONE that sshdroid denies working if it detects adblocker! this has always been so and has nothing to do with this rom.

only way to prevent this is buying the app (like i did) or don't use adblocker or anything that blocks loading adds (including firewall like droidwall)

second is htcs tell htc feature. go into settings, telefon info (or about) and disable tell htc.

EDIT: your sugested way to block ads to allow sshdroid to work will never work. sshdroid will only allow you to use it if it succesfully authentified with the adds server and also got ads.
[Desire HD Android Development] spookamiester:
Anyone tried Juwe11's Ramscript yet?

It looks pretty awesome

http://xdaforums.com/showthread.php?t=1111145

Gonna do a backup and give it a whirl
[Desire HD Android Development] a user:
i did.

The first tweak may have an effect. Didn't tested it.

The second one shows that he has no clue what he is doing ;-)

Androids phones usually don't swap. No swap files, no swap partitions hence it has exactly zero effect.

Thre next tweaks also don't make much sense without swapping.
[Desire HD Android Development] krzych:
yes, it does. Only reasonal blocking of ads is when the app is still working, so this method is a failure. Just disabled it in my phone. Forever. (ads are less annoying than apps that do not work) - by the way - it is same as removing radio to get rid of spam sms from carrier ;) hyhyhy - just laughing ;)

Wrong. Iptables can block ads based on app. Hosts can only block for all apps. Rules for iptables would be more complicated to allow some apps to use ads, but this IS another method which you do not mentioned.

I dunno much about this one, but it seems that if you mod the way system shuts down, you should mod either the way that system detects wherther to report anything to HTC or not. This is not a problem of "reporting" - this is a problem of detecting "proper shutdown". I'm almost sure of this. Maybe it is hard to repair, but still, reporting has nothing to do with this issue in my point of view. It's just reporting (like sending mail - do you imagine to blame mailer for accepting mail sending request?)

I suggested anything different - now I just suggested next one. I will suggest maybe more if I will know android better - now I just know linux (and still more as C++ programmer than admin, so there can be multiple more methods, but the one present today is bad in my opinion - one more bad thing which will go wrong with host method is when Google will use their adservers to search or other crucial services, coz its not a problem to have few daemons on the one part of the cluster.. or even on few different but with the same IP/interface/etc., and so on, this could be counted and counted, its just bad... but easy).
[Desire HD Android Development] a user:
krych:

no, you did not understand.

No matter how you block ads, if an app refuses to work if it does not get access to ads to show (not talking about ads server!) you can't do **** about it!

You can block access to the add server, you can filter the communication but this will allow you only to use an app if this app accepts to be used when it is not able to retrieve adds to show. So do most apps work.

But not this one: no connection to server -> stop, no verified and signed add got from server -> stop!

The only possible way to her around this beside hacking the app itself its only to crack the signing of the servers answer and to substitute the add both a black image.

Edit: no one claimed the addblocker is the perfect way to go, but it works for nearly everything but this single app. Use it or not. It is a simple gift, don't like it don't use it.

I don't use it as I already block any apps access to internet that does not need internet to work. For me a matter of safety.

Buy if you do not want adds then ****ing buy it and don't steal the authors work. The is not for free. You have to pay either money or by allowing adds!
[Desire HD Android Development] cgorki:
So you did or you didn't?
[Desire HD Android Development] scuarapopas:
change HTC Sense 3.0 All in 1 ADDON version

Hello everybody I have flashed the ROM LeeDrOiD HD V3.3.1 GB [KERNEL]V3.2.0 >EPIC! on my HTC Desire HD and then installed

V5 HTC Sense 3.0 All in 1

Rosie 3D, Widgets, Lockscreen, Weather, HTC trace, fixes & NEW LeeDrOiD mods - Updated 06/07 (FTP)

How I can replace the above ADDOns with the below ADDOns,

V4 No Rosie - HTC Sense 3.0 All in 1

Lockscreen, Weather, SMS, HTC Trace, fixes & NEW LeeDrOiD mods - Updated 06/07 (FTP)

without re-flasing the rom?:confused:
[Desire HD Android Development] tmh:
I'm not totally sure, but I would say reflash the ROM but without doing a wipe, then flash the addon right on top, before booting up for the first time. That way you'll keep your settings and apps.
[Desire HD Android Development] Madaz2:
i think you just flash the v4 Rosie that you want over the top
[Desire HD Android Development] a user:
this works
[Desire HD Android Development] a user:
I did took a look. That's what you asked. The only tweaks from him that may work is the first one. All other are actually useless, without any effect.

I already confronted him with these facts a month ago but he never answered on his tweaks that can't work without swapping ;)

Try it yourself, they do no harm.
[Desire HD Android Development] fvs:
GPS used to work great on leedroid, but recently it stopped working. I cant seem to get a fix. (I tried with my old SE Xperia X1, just to make sure, and got a fix within seconds, even inside buildings). I tried to redownload A-GPS data, without a result.

Im on Leedroid 3.3.1 right now, with 3.2.0 BFS. Downgrading to 3.2.1 ROM with 3.2.0 BFS had no effect.

Also, i cant seem to get a WiFi signal anymore in my room. (I dont mean this as a visial issue, i really dont have a wifi signal)

I've also added these issues to the leedroid bugtracker :)
[Desire HD Android Development] mossywell:
I didn't try this script but I did once try supercharger v6. I can't honestly say it made a difference. However, if you want to have some fun with memory management, give something like Auto Memory manager a go. :) Problem is, with so much memory sloshing around the DHD it's kind of not quite as much fun!
[Desire HD Android Development] makbil:
Since I don't have any of these issues, I'm going to say that they are not ROM related.
[Desire HD Android Development] EmptyArea:
I sometimes find that my wifi stops working, and I have to disconnect and reconnect to it to fix it. That's the worst I'm suffering..
[Desire HD Android Development] vuedesprit:
i just flashed the arabic patch v6 over rom 3.3.1 and then i get a restart loop after 3 seconds of OS login, did a wipe and rom reinstall, arabic patch reinstall and i got the same loop, any fix for this problem with arabic patch?
[Desire HD Android Development] nodiaque:
I have the same problem. I also have another problem. I use player pro to play music at the same time. When the GPS talk, the music get muted, gps says what it have to day then sound fade in to music. But now, when gps talk, there's no talk (music is mute, no sound, fade in). If I stop the music, gps talk.

It was all working fine in 3.3.0
[Desire HD Android Development] tmh:
Something was definitely eating my battery with Sense 3. Lost 25% in 5 hours of sleep. Tried reverting to the backup I made prior to flashing it, hopefully that'll fix it. Nothing unusual in CPU usage or wake pick, just 150-200 mA spikes constantly :-( Nobody else experienced anything like this with the Sense 3 addons?
[Desire HD Android Development] Hunt3r.j2:
Did you restart and make sure wi-fi was off?

I've also noticed a possible bug where wifi will cause the phone to not sleep.
[Desire HD Android Development] freemanteo:
Hi i just did my 1st root and installed Leedroid, dang took me 2days to figure out how to root an android and changing radio.....

once a day my phone would reboot itself and cycle thru, it will not boot up to the main screen till i remove the battery and all is well till the next day.

does anyone experience this? i have setcpu installed, 1400mhz on max, lowest is 250mhz.

thanks.
[Desire HD Android Development] COOLBGT:
Have you tried lowering the cpu speed. Not every phone and ROM can handle 1.4 well
[Desire HD Android Development] tmh:
Try setting your oc lower, sounds like your phone doesn't like 1400 MHz.

Yeah, I've rebooted several times. According to currentwidget, it goes down to 1-5 mA but then there's a 160 mA spike like every 15 minutes, so probably some ****ed up app or something.

Tried reflashing 3.2.1 and 3.2.0-CFS kernel without wipe, to see if that did anything. Doesn't seem so, still draining like hell on 3G. Just switched over to wifi to see if that changes things.
[Desire HD Android Development] winwintoto1234:
I have done this long ago. It seems that everything is normal. Calls and Screen always on the top.

With juice defender set to "data on" every 15 minutes, my phone can easily last for 2 days with light to moderate use. BUT, if I disable juice defender (it means data is ALWAYS ON), then most likely battery can't last for 15 hours with the same usage.

So I suspect it must be the signal strange issue because it is the very same devise I'm talking about. Probably it's due to unstable data connection.

edit: OR may be something similar to wifi battery drainage issue as found by others?:eek:
[Desire HD Android Development] a user:
i did till i disabled periodic sync for weather. although i had it previously set to sync every 3h i had far more often such spikes.
[Desire HD Android Development] tmh:
Just seems odd that it keeps doing it even after reverting to my Sense 2.1 backup and even reflashing 3.2.1 on top of it to kill of remains of Sense 3. But we'll see in a bit, whether it's only on 3G or also on wifi. No idea what the hell to do if it's only on 3G though :P
[Desire HD Android Development] winwintoto1234:
I for one having this issue.

If you read my few posts back, I addressed this issue but seems that no one is interested in discussing this.

My phone too drain about 5% or more in 1 hour if I disable juice defender (i.e., data connection always on).

If I off data connection, my battery drain is about 1% in 1 1/2 hour.

My weather syncronise every 3 hours. Background data ON. Auto sync on for google mail, viber and whatsapp.
[Desire HD Android Development] a user:
my guess:

did you guys have activted checking location? if so disable it and also remove or freez all htc locations apps.

i am not sure but i think this helped me a bit.
[Desire HD Android Development] tmh:
I haven't activated anything, but I don't know if flashing Sense 3 stuff will do that?
[Desire HD Android Development] winwintoto1234:
lol, not me.

Just don't understand why people likes to check in location (especially in facebook) to let even strangers know where is he/she...:confused:
[Desire HD Android Development] mathewr:
Hi Lee and others,

I have been using your ROM for a long time and loving it. But recently I have noticed the battery drain becoming unacceptable and I think it’s the radio or signal or something like that.

I was lucky enough to be on holiday last week and before I left I did a complete wipe and install of the latest ROM and kernel and I have the recommended Radio already installed.

I used the full wipe script found in the first post.

I did not install any additional apps or unnecessary add-ons (didn’t have the time).

In the city I was holidaying in I noticed that the drain was again quite a bit higher than what I consider the “Lee Level”, but I could deal with it.

Then I was in the country for 3 days and there was literally no signal at all, so I turned on Airplane mode.

Over the 3 days I lost 20% battery life and I was using it to take down numbers and notes etc. Compare that to the over 30% I will lose overnight when it is doing nothing but sit on the bedside table, and it is a large contrast.

Currently these is battery stats states:

21 hours on battery

Display: 30%

Dialer: 29%

Cell standby: 14%

Phone Idle: 12%

Wi-Fi: 11%

Android OS: 4%

Interestingly in the last 21 hours, I have not made or received any calls at all.

This post is not a complaint at all, I just feel that there is something not quite right with the ROM and more information for Lee is always better.

And maybe someone can point out something I can try, or neglected to do that could fix this.

Thanks for reading!
[Desire HD Android Development] tmh:
30 min. standby with WiFi and spikes are not nearly as big or as often as on 3G. One could claim bad signal, but this is at home, where my signal is always great...

Any ideas?
[Desire HD Android Development] andreasy:
There is a guide somewhere with a Youtube video on how to remove the camera flash behind the housing of your phone and there is the GPS sensor which you could try cleaning. I'm sure you can find it easily with a quick search.

You can easily do the same for wifi by removing the back SIM cover of your phone and clearing the 2 golden contacts and then, with a sharp tool, pull them (slidely and carefully) upwards in order to make better contact. That helped a few people who were affected by hardware issue and not software which as you described, have tried to go back and forth between different rom versions.
[Desire HD Android Development] krzych:
No, you do not understand. First post was about a way of blocking. And yes, it can help for few apps which will work (no, sshdroid will not) if communication with google fails or simply you do not have internet connection with UNALTERED hosts file. And it's easy to see if google ad server has IP 127.0.0.1, so it is easiest to detect that you have blocked ads and it is not the fault of internet connection (and this is exactly what sshdroid says to me - whether it will work without internet and proper hosts or not - sshdroid simply knows about changed adservers). If you change iptables, try to tell me then from within application that it is a connection failure or blocked by iptables... I wish you luck analyzing iptables. And thats whats in my first post about it.

In the second post which you've just replied now I did agree (by not continuing to saying that there is a method for sshdroid) with you that there is no perfect way, so it should be blocked based on app, so u could turn off adds for all but SSHDroid for example, and this you DIDNT understood for sure, and this is perfectly possible by iptables (AGAIN).

So, generally don't shout on me before u understand clearly the point :P I think we can close the case if you do not want to upgrade adblocking (again, I'm not saying it will be perfect then, just better, usable even, and I'm not saying you have to do it, or anybody have to do it, I just posted an

idea

which you didn't understood, but you like to defend the old way - what for? Is it worth talking about the thing that is

already

there?)

[edit]

And it

could

be faster to have those IPs in the kernel table than caching the in userspace after reading (depends of quantity and frequency of access).

EOT.
[Desire HD Android Development] tmh:
Alright, back on Sense 3 addon pack, 25 minutes standby or so, on wifi. 2-6 mA drain, not a single spike. I wonder what the hell is going on with 3G - tried switching it back on now, let's see how it handles.
[Desire HD Android Development] freemanteo:
thanks for the quick replies, i uninstalled setcpu to see if its the culprit as no one has experienced this. means its not a bug in the ROM. :)

my batt last longer now

thanks Lee
[Desire HD Android Development] tmh:
Going crazy... 30 min. standby on 3G, 175 mA spike every FIVE MINUTES :( Right on the dot, 11:05, 11:10 etc. etc.

And the phone has been in the exact same position, so it's not as if the signal should be able to change that much.

And, as mentioned above, this doesn't happen on wifi, it's so damn weird. If it was an app polling data every 5 minutes, I should see the same spikes on wifi, agreed?