yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] acbuitendach:
Battery issue

Hi there all HD2 experts.

First of all THANK YOU Dorimanx and all who contribute to this AMAZING ROM!!

My phone started having a 60mA battery drain all of a sudden while I was on ROM 3.0.8.

Current widget reports between 62mA and 65mA where I normally had between 2mA and 5mA in normal standby with mobile data off. In airplane mode I get constant 61mA where I normally had 1mA. Effectively 60mA + what I normally had.

I know this issue has been talked about over and over again - I have done extensive research and found nothing that is of help to me.

Steps taken (advice from various XDA threads):

Condition battery (charge, clear stats, empty, charge).

Fix permissions.

Turn GPS on, wait for fix, turn GPS off.

Turn blue-tooth on and off.

Tried all different CPU governors and speed combinations.

Task29 followed by clean install of ROM, I have not restored any data, only installed current widget to monitor current.

Task29 followed by clean install of HyperDroid ROM.

Installed new ROM (3.1.0) after 3.0.9.

Flashed different radio's.

Tried different kernels.

Disable/enable lock-screen.

Remove email.apk.

Data to EXT on/off.

ODEX/DEODEX.

After all the above methods, the issue still persists. It is not ROM related as Hyperdroid ROM also had the issue. I have even tried old Dorimanx ROMS (as early as 2.8.0) and I still could not fix it.

I finally had to restore all my data as I use my phone daily.

I also know current widget is reporting correct mA as I have tried other battery monitors as well. My battery only lasts about half a day where I normally got about three days.

If there is anybody out there with a similar experience who got it fixed (or not), please respond with your experience. I am at my road's end :(

I have attached an ADB error report for anyone who is interested in helping out. I should also point out that running logcat for a while reports nothing but garbage cleaning every now and then.

My current setup:

HD2 EU

Dorimanx 3.1.0 LIGHT

CLK v1.5-rc1

ClockworkMod Recovery_5.0.2.7_B6-TOUCH_CWR-FIXED.zip

Data to ext ON

ODEX ON

Radio 2_15_50_14

System partition 200MB

Cache 10MB

Thank you kindly in advance for any assistance.

Erna
[HD2 Android NAND Development] KrewsialNL:
BetterBateryStats, did you try that app?

I had the same thing. Disabled Facebook sync and the problem was solved. My high drains are always related to syncing something. (Gmail, facebook etc...) aside from mail and calendar, I disable all sync options.

Maybe that helps?
[HD2 Android NAND Development] acbuitendach:
Hi KrewsialNL,

Thank you for the quick reply. I have the app on my phone and I can see no wakelocks, long-running apps of any kind or misbehaving services. In my testing I have disabled all syncing and still had the issue on all versions of the ROM's.

Thanks again!
[HD2 Android NAND Development] yerebakan:
Aroma installer is so beautiful and usable... I like it.. :)

thanks dorimanx. new rom is so stable and powerfully.. :)
[HD2 Android NAND Development] KrewsialNL:
No Worries buddy, I hate the high drains myself, so I know how you must feel.

Maybe a silly question, but do you have another SDcard you can test? Don't 'ruin' this one, but try another one (lower class) to see if that lowers it. I can't confirm it myself, but i've seen in different threads, for different ROMS that this sometimes solve the case.
[HD2 Android NAND Development] jonas2295:
Wow aroma installer + dorimanx + touch recovery is legen..... Wait for it.......dary :)) love it!
[HD2 Android NAND Development] KrewsialNL:
3.1.0

In all the commotion I didn't even notice that yet another version was released :o

Downloading now and I'll report back!

Edit: That installer is awesome! :D Whoever built this, is a freakin' genius!
[HD2 Android NAND Development] themadproducer:
Recently, I went through the same deal. All diagnostic means such as Better Battery Stats were not able to track the drain. For me it turned out to be a combo threat.

The Trigger

- All started when I upgraded Kernels and Rom.

The actual Culprits

- Facebook...200-300ma steady drain no matter what settings I had (uninstalled it)

- Kaiten Mail...6-10ma in standby when no other drains where present. Backed up it's data, deleted it's data and cache, restored data....all good

- Tasker...60ma+- drains...disabling it would stop the drain. Fixing some profiles helped but then the drain mysteriously came back. Upgraded Kernel to 4.7 and no more issues.

BOTTOM LINE This always works for me!!! BEST METHOD!

Buy Titanium Backup. Use the BATCH processing option to easily freeze all your 3rd party apps. If you see that you don't have a 60ma drain anymore, then you know it's one of those apps. Start DEFROSTING groups of apps and test for drain. You have to narrow it down to an app (or more). I would freeze 20 apps at a time until the drain disappeared and then I would know which group of 20 had the CULPRIT. Then I would narrow that group down till I found it. (write it down on paper)
[HD2 Android NAND Development] jookdakang23:
can anyone link me to a working touchwiz launcher?
[HD2 Android NAND Development] jonas2295:
There is a hacked one.

Search for "hacked touchwiz "or something similar.

I don't know the thread name exactly sry
[HD2 Android NAND Development] acbuitendach:
Thank you very much themadproducer.

I have installed ROM's without restoring anything after a Task29 and nothing on SD card. So it can't be user apps. I have frozen the system apps one by one using titanium backup until the phone would not boot anymore and still the drain persisted.

The only user app present in my operations was CurrentWidget. It can't be CurrentWidget as I repeated tests with a different current monitor as well.

I will however try to re-install the kernel.

I also verify cecksums after download to ensure no issues.

Thank you very much for your help!!

Thanks again KrewsialNL,

I will try a different SD tonight as it seems to be one last restort. I have even tried a different battery to see if my battery is not going.

Thank you again all!!
[HD2 Android NAND Development] kypeth:
Originally Posted by bullcrapr

I usually install dorimanx roms from 0 (starting with a t29 all the way to a repartition). Everything starts fine until i try and install any apks from my sd card. I don't get an fc or anything - the screen just goes off. When i push the buttons, the led's come on, but screen remains off. I tried fixing permissions already (to no avail.). Does anyone know what's goin on? For now, il try to install 308 from scratch and install 309 over it coz the updaters seem to have no probs... in the meantime im missing out on this new rom! HELP!!

Edit: Just saw v0ryen's and hypergamer1231's post - I have the identical prob. If it helps, I installed on a 190/10, 4gb ext4, with everything enabled (except 240dpi and updatable market) but prob still exists

same prob here . i tried everything adviced but no luck ......

suffering these same problems, not seeing any effort at all to alleviate such issues.
[HD2 Android NAND Development] w0nz3r:
Hi, I have the same problem, with 3.0.9 and with 3.1.0

MAGLDR, repartition 150Mb, no App2SD installed

Now i'll try to reinstall and debugging... HELP!
[HD2 Android NAND Development] pirlano:
After 2/3 months of problems with warrantly, my HTC HD2 is coming back :D YEEEEEEEEE, can't wait to flash your ROM again, thank you dorimanx!!! :D
[HD2 Android NAND Development] Looki75:
Yesterday I was on 3.0.9.

Today with 3.1.0, everything is fine except that 3.1.0 is much slower to launch apps.

It seems that in 3.1.0 the access to data and/or dalvik is much slower than with 3.0.9.

I flashed back 3.0.9 and it's fast again...

I use NO ODEX, NO DATA2SD...

Dorimanx, did toy change something in your scripts?
[HD2 Android NAND Development] Nixda99:
App selector in aroma installation and changed Boot Boost selector for 3.1.0 version

No! You can have more than 2 items of each group, I have changed the Boost option from 2 groups to 1 group with 3 choices:

aroma-config:

"Boot Boost","",2,

"Boot Boost OFF",

"Default speed on Boot", 1,

"Boot Boost ON",

"On Boot, Max speed to 1.47Mhz Warning", 0,

"Boot ATOMIC Boost ON",

"On Boot, Max speed to 1.62Mhz DANGER", 0,

updater-script:

if

file_getprop("/tmp/aroma-data/mods.prop","selected.7") == "2"

then package_extract_dir("bootboost", "/system");

run_program("/tmp/bootboost.sh");

ui_print("Boot Boost ON!");

else

ui_print("Boot Boost OFF!");

endif;

if

file_getprop("/tmp/aroma-data/mods.prop","selected.7") == "3"

then package_extract_dir("bootboost", "/system");

run_program("/tmp/atomicbootboost.sh");

ui_print("Atomic Boot Boost ON!");

else

ui_print("Atomic Boot Boost OFF!");

endif;

I have added an install page where you can choose your launcher and disable some system apps. Copy the content of the attached zip to the 3.1.0 rom.zip and move the *.apk files of the attached screenshot from /system/app to the new customize/* folder in your 3.1.0 rom.zip.

Edit:

@Dorimanx: You can change/expand the application list if you want. Or you can apply only the Boost patch if you dont want to have questions like: "Can you add these app","Can you add these launcher".;)
[HD2 Android NAND Development] lnndinky:
Tried both version 3.0.9 and 3.1.0

Rom very smooth & fast, but always freezed when i trying install any app

Tmous CLK 1.6 DE

CMW : 5 170 5 none ext partion

Install config: dormancy off. Cron off. App to ext off as default. System ui: stock. None boot boosters. System odexed on.

Please what happen to me. With dorimanx rom and kernel too (kernel run fast but still freeze when conected to wifi or data)
[HD2 Android NAND Development] w0nz3r:
Hi dorimanx,

it's my logcat when i finished to download my apk from market and my phone try to install it

./adb logcat | grep E/

E/PackageManager( 237): Couldn't create temp file for downloaded package file.
E/AndroidRuntime( 237): *** FATAL EXCEPTION IN SYSTEM PROCESS: PackageManager
E/AndroidRuntime( 237): java.lang.NullPointerException
E/AndroidRuntime( 237):	at com.android.server.PackageManagerService$FileInstallArgs.createCopyFile(PackageManagerService.java:5247)
E/AndroidRuntime( 237):	at com.android.server.PackageManagerService$FileInstallArgs.copyApk(PackageManagerService.java:5255)
E/AndroidRuntime( 237):	at com.android.server.PackageManagerService$InstallParams.handleStartCopy(PackageManagerService.java:5051)
E/AndroidRuntime( 237):	at com.android.server.PackageManagerService$HandlerParams.startCopy(PackageManagerService.java:4902)
E/AndroidRuntime( 237):	at com.android.server.PackageManagerService$PackageHandler.doHandleMessage(PackageManagerService.java:516)
E/AndroidRuntime( 237):	at com.android.server.PackageManagerService$PackageHandler.handleMessage(PackageManagerService.java:461)
E/AndroidRuntime( 237):	at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 237):	at android.os.Looper.loop(Looper.java:130)
E/AndroidRuntime( 237):	at android.os.HandlerThread.run(HandlerThread.java:60)
E/installd( 90): eof
E/installd( 90): failed to read size
E/InputQueue-JNI( 355): channel '407e06c8 org.adwfreak.launcher/org.adwfreak.launcher.Launcher (client)' ~ Publisher closed input channel or an error occurred. events=0x8
E/InputQueue-JNI( 962): channel '40702008 com.android.vending/com.android.vending.AssetBrowserActivity (client)' ~ Publisher closed input channel or an error occurred. events=0x8
E/AudioHardwareQSD( 1104): Cannot open /dev/audience_a1026 -1
E/HTC Acoustic( 1104): Update ADIE table ID 0
E/HTC Acoustic( 1104): Update ADIE table ID 2
E/HTC Acoustic( 1104): Update ADIE table ID 5
E/HTC Acoustic( 1104): Update ADIE table ID 7
E/HTC Acoustic( 1104): Update ADIE table ID 8
E/HTC Acoustic( 1104): Update ADIE table ID 10
E/HTC Acoustic( 1104): Update ADIE table ID 51
E/HTC Acoustic( 1104): Update ADIE table ID 53
E/HTC Acoustic( 1104): Fail to open /system/etc/TPA2018.csv -1.

Now my phone is with black screen. When i push the buttons, the led's come on, but screen remains of.

Can you help me?

MAGLDR 150MB - dormancy off - Cron on - no app2sd - kernel no2way - no robofont - light version - boost boot (1.4ghz)

-w-
[HD2 Android NAND Development] Nixda99:
3.1.0 installation

Got this 2 errors from saved aroma installation log:

Welcome to DORIMANX COOL ROM!

ROM + KERNEL Install Starting!

mount: failed to mount /dev/block/mmcblk0p1 at /sdcard: Device or resource busy

Installing the 2WAY-REC Kernel...

Formatting System...

...

CRON Tasks ON! dont forget to change the timezone!

about to run program [/tmp/mod-1-revert.sh] with 1 args

mkdir: can't create directory '/data/data': File exists

/tmp/mod-1-revert.sh: cd: line 15: can't cd to /sd-ext/data

cp: can't stat '/sd-ext/data/*': No such file or directory

cp: can't stat '/data/data-nand/*': No such file or directory
[HD2 Android NAND Development] alho:
Awesome!!!! YOU´r great Dori!!!!! YOU ARE THE BEST DEVELOPER EVER! I love the new install-menu. Its a dream! Thank you very very much!
[HD2 Android NAND Development] w0nz3r:
I tryed to reinstall with app2Sd (without ext partition) but the problem still persist.

I had done a task29 before reinstalling the ROM...

Anyone can help me?
[HD2 Android NAND Development] iPAQ 6515a User:
A strange issue and a not-that-strange question/suggestion

Guys

I have been getting this strange bug ever since 3.0.8

My Fancy Widgets Clock keeps on disappearing during a deep sleep. The clock is there before the phone goes to sleep, when it wakes up ... it is gone and nothing brings it back: not refresh, not restart of the launcher ( I run Launcher Pro), not removing and adding again the widget, not fixing permissions. Does anyone have a slightest idea how to fix it?

Another thing goes straight to Dori.

Now with Aroma on board, do you think we could have more options added to the flash menu?

1. More densities: 167 and 160

2. Old Hacked Market 2.3.6 (it is way faster than the new one)

3. GPS libs continent based selection

I know we can do it manually before or after flashing. But now with this great thing we could make the installation even more geared toward personalisation.

TIA
[HD2 Android NAND Development] bullcrapr:
310 alive and kicking...

Hey kypeth, w0nz3r, inndinky,

Installing 309 and 310 from 0 (t29, repartition, etc) will cause this problem. The earlier versions didn't have this problem (I've been clean-installing Dmx roms since 2.5). Fortunately, there is a workaround for this problem. In my post that kypeth quoted I did say that I would try installing over 308--that actually did the trick!

So here's what needs to be done...

1. Install 308 from scratch (enable zram and reboot until stable)

2. Boot into recovery, clear cache and install 310 as usual

3. Boot phone, wait till phone settles, reboot again

Voila! All problems disappear!!

310's smoother than ever!! no data or drain probs!

Dorimanx really outdid himself with this one! And that aroma menu--it rendered me speechless!!
[HD2 Android NAND Development] jonas2295:
My suggestions to add to aroma :

- select and unelected launcher and not necessary system apps (for example stock keyboard remove and ics keeping)

-different densities

-GPS auto config on/off

-I don't know if this is a feature of aroma but if it does : choose user's timezone for cron tasks in installer menu

....

Hope someone has some more ideas :)
[HD2 Android NAND Development] v0ryen:
BSOD when try to install Apps from SD Card.

Anyone found a solution to the problem that bothers many users as you can see from the threads or nobody cares about it?
[HD2 Android NAND Development] jonas2295:
Those issues need to be logged via logcat and have to be redoable by dori to solve it.

Soo probably not but a install from 0 is sometimes helpful
[HD2 Android NAND Development] DaReDeViL:
BUT That's the problem. From 3.0.8, if you install the rom from scratch and try to install an app, it freezes without any message and goes to bsod.

I managed to bypass that by installing hyperdroid rom and letting it boot, then flash dorimanx's rom and it works ...

SO problem is redoable if you flash from scratch
[HD2 Android NAND Development] karapialis:
I had the same problem when i came from clean install to 3.1.0, and had sth to do with the proper utilization of the ext partition.

I solved it by installing 3.0.8 first and then 3.1. I hope this works for yot too because this rom is absolutely insane. :)
[HD2 Android NAND Development] HQ_seppel:
I am very sad. I tried is since three days.

There is no way to solve this Blackscreen-Bug !

I tryed:

complete Installations 3.08, 3.09 and 3.10 (include task99, cache 10MB, System 170MB [tried bigger sice also]. Format SD (with 3 different Proggys !) (8GB Class 10) 2GB EXT [tryed EXT2, EXT3, EXT4,] 256MB SWAP and rest FAT32)

= Every time the same Problem. Install an apk, screen goes black, but backlight be on.

Than i tried all the Tipps in out of the Posts before !

I tried ist with another SDCard. = No solution [fresh format an Prtiotions]

I tried to install 3.08 and update to 3.9 [3.10 too] = No solution

I tried to install other roms and than install 3.9 [3.10 too]

I tried the Kernel onely with other Roms ! = No Problems

(I flashed a lot of other Roms before (i think i know to flash a ROM !?)

I make me ILL ! Pls help me ! I want to use the fastest an smoothest ROM !
[HD2 Android NAND Development] Nixda99:
Launcher selection and apps selector already in my post. But had not add keyboard selector. Should be no problem.

GPS: We could add an selector for the main GPS zones (europe, asia,north-america,...). With this info we create a new gps.conf and add NTP_SERVER=0.%Selection%.pool.ntp.org

NTP_SERVER=1.%Selection%.pool.ntp.org

..

+ the orig gps.conf from system/etc which was cropped of the first 4 NTP_SERVER lines before.

We could do the same in all config files with the density, but only if it is no problem for the file, that the density setting is at beginning of file.

The complete timezone list is long.:mad:

---------- Post added at 04:55 PM ---------- Previous post was at 04:48 PM ----------

Which order have your partitions on your sd.

Looks like you have the wrong order. At first the FAT32 partition, then an ext partition and at last optional a swap partition if you use the high end mode! Try also only 1GB ext partition, there are sometimes problems in the past with 2GB ext partitions!

If this dont help try the 3.2 kernel.
[HD2 Android NAND Development] HQ_seppel:
THX for fast reply !

I tried 1 GB Partion too in the last days.

The partition order i used was Fat32 > EXT > SWAP

:(
[HD2 Android NAND Development] w0nz3r:
Hi...

i've tryed with new clean installation from 3.08, reboot for make stable the phone, install 3.1, the problem is still present... when i try to install an apk the phone freezed
[HD2 Android NAND Development] HQ_seppel:
for Information i have a european HD2 512MB (not branded) HSPL 2.08

I flash with Magan 1.13 but tried cLK too.

ON PC i use HD2 Android NAND Toolkit, newest version
[HD2 Android NAND Development] Bologna:
I've no problem installing apk...even from sd card...maybe you guys have some sd issue...
[HD2 Android NAND Development] HQ_seppel:
Can you tell us, which tool you use to format an partitioning you SD include all parameters ?
[HD2 Android NAND Development] Bologna:
1 - panasonic sd formatter

2 - Gparted

Fat32 (primay) near 28.5 gb

Ext4 (primary) near 3 gb

Swap (primary) 500 mb

Nothing more...
[HD2 Android NAND Development] w0nz3r:
Hi Bologna...

Why with the others ROM i have not this problem?!

Now i will try to format my sdcard.

Thank you for your suggestion
[HD2 Android NAND Development] HQ_seppel:
thx for fast rep. I Try it and give feedback in a a few minutes.
[HD2 Android NAND Development] edwin PR:
I tryed the tips by bullcrapr witch are;

1. Install 308 from scratch (enable zram and reboot until stable)

2. Boot into recovery, clear cache and install 310 as usual

3. Boot phone, wait till phone settles, reboot again.

It work great no more black screen when installing apps from market.Thanks!
[HD2 Android NAND Development] w0nz3r:
i've tryed to reformatted my sdcard (8gb fat32) but the problem is the same. Freezed when i try to install an apk
[HD2 Android NAND Development] jonas2295:
what partitions do you have ?

system,cache etc ...
[HD2 Android NAND Development] Bologna:
so it's something related to installation settings probably...

I don't really know why you can download with other roms but not with the best one...

I've had a BSOD trying to open an app installed from my sd card (button remapper) but one time only...now all works fine here
[HD2 Android NAND Development] w0nz3r:
150mb-5mb MAGLDR

No app2SD - Light version - only fat32 sd card - no swap
[HD2 Android NAND Development] jonas2295:
okay but you said to odex no right ?

Well, l have the High End version so this could be the difference and one tweak doesn´t play nice at the moment :(

What you could do is upgrading to 10mb cache partition ..this is a possible solution to me :rolleyes:
[HD2 Android NAND Development] Bologna:
without EXT?

here : High end - CWM 150/5 - data2ext - deodexed
[HD2 Android NAND Development] HQ_seppel:
same problem :(
[HD2 Android NAND Development] w0nz3r:
i've tryed to repartition my phone with 200mb - 10mb cache

Same problem

Now i try to install with odex... report in 5 minutes

---------- Post added at 07:01 PM ---------- Previous post was at 06:56 PM ----------

Same problem with odex installation

200mb-10mb
[HD2 Android NAND Development] jonas2295:
okay seems a deeper issue lol

hmmm well if you still want this rom you could switch to highend-->swap+sd ext

or you try my settings which are in my signature except highend option and data2ext mod ....
[HD2 Android NAND Development] w0nz3r:
Ok... i will try this night and report

Can you descrive me what is "mod 1&2 enabled -full sd swap"

Thanks so much

-w-
[HD2 Android NAND Development] jonas2295:
this means the rom uses the swap partition on your ext.

there are 2 real mods:

1.DATA To EXT, this mod will move all app data to EXT and speed access to them by 3 times!

2. this will simply turn on the swap usage ....

but this reqires a sd ext partition and swap (eg. created via CWM)

Hope you get this running :D

Edit : you can flash 3.0.8 (if it works then) and upgrade to 3.1.0 to prevent having issues with any new things etc
[HD2 Android NAND Development] dorimanx:
need to tune the script, if you dont have ext then its ok to see the errors,

i need to add checks before script run..

thanks, i will fix the script. and add your change for apps and boot boost :)

Sent from my HD2 development phone.
[HD2 Android NAND Development] HQ_seppel:
I have tried it, but same bug :(
[HD2 Android NAND Development] jonas2295:
Also the upgrading way?
[HD2 Android NAND Development] adityameena26:
same here..having ext4 partition of 1gb..screen goes dark after installing any apk..:((
[HD2 Android NAND Development] HQ_seppel:
yes, i have. But erverytime the same Bug :(

This isn´t my first rom i have flashed, i flash roms since five or six years...

but this Rom is a bit scary :confused:
[HD2 Android NAND Development] w0nz3r:
I have already tryed with 3.06, 3.07, 3.08 fresh install. But when install apk the screen goes dark. 2 page ago there is my logcat error.

Inviato dal mio HTC HD2 usando Tapatalk
[HD2 Android NAND Development] Bologna:
You have another sd card? Try to switch if you can
[HD2 Android NAND Development] HQ_seppel:
i´ve tried, but the same bug
[HD2 Android NAND Development] Bologna:
di you have a logcat for that?
[HD2 Android NAND Development] w0nz3r:
It' s my logcat

Inviato dal mio HTC HD2 usando Tapatalk
[HD2 Android NAND Development] adityameena26:
thnxx bt no luck..:(

tried ext3 and ext4 both..bt still..all in vain..:(
[HD2 Android NAND Development] jonas2295:
Yeah I know that problem somehow :)

But there is no solution in my mind at the moment sry :/
[HD2 Android NAND Development] KrewsialNL:
Do you have this with other roms too? Or only with the Dorimanx ones? Can you access data on the SD? So pictures, audio...etc.

Can you perhaps give me the class of the sd cards that you used?

Very curious why you have this issue and I ll see if I can reproduce somehow.