yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] orhtun01:
Reboot + Battery Issue...

Hi Guys,

For sharing.

I think I have resolved battery drain and reboot issues for myself. So, this may or may not work in your case if you have the same issues. But it works for me. I am on the NL Telfort Network in the Netherlands (roaming through KPN).

1. Repartitioned NAND to 150/44/5 --> No Reboots any more

2. Changed build prop as follows (only additional build properties part shown below) --> Now I have 2 % battery level decrease per hour in standby

3. DISABLED Automatic Brightness and set manually to 25%

4. Replaced RPC GPS Libs with NMEA

The reboot issue might also be solved due to combination of all above points.

Note: I am using 167 density. Change ro.sf.lcd_density value to 240 if you are using the default density.

#

# ADDITIONAL_BUILD_PROPERTIES

#

dalvik.vm.dexopt-data-only=1

dalvik.vm.dexopt-flags=m=y

dalvik.vm.heapsize=64m

dalvik.vm.lockprof.threshold=500

dalvik.vm.stack-trace-file=/data/anr/traces.txt

keyguard.no_require_sim=true

media.a1026.enableA1026=1

media.a1026.nsForVoiceRec=0

mot.proximity.delay=150

net.bt.name=HTC HD2

rild.libpath=/system/lib/libhtc_ril.so

ro.com.android.dataroaming=false

ro.com.android.dateformat=dd-MM-yyyy

ro.com.android.wifi-watchlist=GoogleGuest

ro.com.google.clientidbase=android-google

ro.moddevice=HD2

ro.opengles.version=131072

ro.ril.att.feature=0

ro.ril.avoid.pdp.overlap=1

ro.ril.def.agps.mode=2

ro.ril.disable.power.collapse=1

ro.ril.ecc.HTC-ELL=92,93,94

ro.ril.ecc.HTC-WWE=999

ro.ril.emc.mode=2

ro.ril.enable.3g.prefix=1

ro.ril.enable.a52.HTC-ITA=1

ro.ril.enable.a52=0

ro.ril.enable.a53.HTC-ITA=1

ro.ril.enable.a53=1

ro.ril.enable.dtm=1

ro.ril.enable.enhance.search=0

ro.ril.enable.managed.roaming=1

ro.ril.enable.prl.recognition=0

ro.ril.gprsclass=12

ro.ril.hep=1

ro.ril.hsdpa.category=8

ro.ril.hsupa.category=5

ro.ril.hsxpa=2

ro.ril.htcmaskw1.bitmask=4294967295

ro.ril.htcmaskw1=14449

ro.ril.oem.nosim.ecclist=911,112,999,08,118,120,122,110,119,995

ro.setupwizard.enterprise_mode=1

ro.setupwizard.mode=DISABLED

ro.sf.lcd_density=167

ro.telephony.call_ring.delay=500

ro.telephony.default_network=0

ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html

ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html

wifi.interface=eth0

wifi.supplicant_scan_interval=80

And as usual, after changing some important settings or updates or restoring data: clear cache + dalvik cache, boot phone, enter pin, wait 10 min and don't touch the phone, shutdown and restart (not REBOOT!)
[HD2 Android NAND Development] islamicwarrior27:
I just switched to MIUI and was wondering if i can get a wifi hotspot shortcut in the notification bar grid. I had this in a previous rom (CM7) and was shocked that MIUI did not have this shortcut. I posted it here because if MIUI does not have it standard, maybe the developer can implement it if possible.
[HD2 Android NAND Development] pathaniya:
Mr. Williams, can we have your 2.3.4a build, untill this gets stable, links anyone?

I got rebooted just because i didn't take the waiting call.
[HD2 Android NAND Development] moskito-hd2:
the new release ...

Hi JAN,

You already have a temporal notion, when can we expect your release 1.8.12?

Thank you ever ...
[HD2 Android NAND Development] jan-willem3:
Yeah you can expect but if you don't mind I would like to include my new upcoming goodie (kernel). So I think about 1 or 2 days before the kernel is ready. If the kernel gets delayed (more then 2 days). I will update the rom with the kernel ;)
[HD2 Android NAND Development] seaman2k:
we will wait JW ...but please give us some info about your Kernel:)..cause i think it will be more than our expectations:D
[HD2 Android NAND Development] moskito-hd2:
Perfect, but chances are very good ... ;)
[HD2 Android NAND Development] jan-willem3:
Yeah it is looking good so far with the kernel but you never know.;)
[HD2 Android NAND Development] jan-willem3:
Uploaded kernel still under construction.
[HD2 Android NAND Development] Zimaia:
Thank you jan

I can't download the rom!! it gives me an error!!
[HD2 Android NAND Development] moskito-hd2:
The Download-Link is broken ... here the right LINK

Hello,

here is the correct link to download: LINK: http://htcfanboys.com/CleanEx/MIUI-Ginger/JW%20MIUI%2015Aug.zip

THX to JAN for great work ... :)
[HD2 Android NAND Development] gokkko:
The link on the first page is incorrect.

It should be: http://htcfanboys.com/CleanEx/MIUI-Ginger/JW MIUI 15Aug.zip
[HD2 Android NAND Development] aknamot:
czech language suport?
[HD2 Android NAND Development] moskito-hd2:
not at the moment ...
[HD2 Android NAND Development] jan-willem3:
Download linke adjusted watch out current link posted above doesnt work anymore.;)
[HD2 Android NAND Development] aknamot:
exist any MIUI rom with cz support
[HD2 Android NAND Development] jan-willem3:
Yeah this rom. But you have to wait for straggen to update the languages.

Here they are:

http://www.mediafire.com/?dd6n6g6lffy09

As you can see there is support for JW MIUI 1.8.5 so if you download that one there is czech.

This the 1.8.5 version.

http://htcfanboys.com/CleanEx/MIUI-Ginger/JW MIUI-7Aug.zip
[HD2 Android NAND Development] Protoo:
Hi

how can i set this settings " -Standard network on 0 should be better for most users. On CLK I still recommend using

*#*#4636#*#* and set default network on gsm auto prl. "

best regards
[HD2 Android NAND Development] blax123:
Is your Kernel now included in this version or will it be in the next release?
[HD2 Android NAND Development] ogoglass:
Hi jan-willem3, very nice and stable ROM. I have only one question. Can you tell me why your flash.cfg is with 44 Mb cache and I saw other MIUI ROMs requiring 5 Mb? Thanks.
[HD2 Android NAND Development] ogoglass:
Hi Protoo, you have to dial this code from your keypad and you will see the menu.
[HD2 Android NAND Development] pathaniya:
Coming release, which could be in next 48 hours.:)
[HD2 Android NAND Development] Vapika:
I'm waiting patiently for the new JW kernel version :) I just tried to save my settings in MIUI backup, but it's wrong (it stops in the waiting phase ...:mad:)Any idea how to solve it guys ???:confused:
[HD2 Android NAND Development] pathaniya:
Are backing up in "English" language. I mean it has backing up issues if it ain't in English. Try and search the thread, or just change the language to english and then back up.
[HD2 Android NAND Development] Vapika:
I've just realized that JW mentioned it before, anyway thanks for your kindness :)
[HD2 Android NAND Development] pathaniya:
Is this with your new kernel ?
[HD2 Android NAND Development] jan-willem3:
Not yet hd2 kernel code is not perfect so I need to review every change. Plus make sure the config is right.
[HD2 Android NAND Development] vincentt84:
I currently using the latest jw miui, everything is good n smooth, the only problem is the battery drain on phone call, but I never made any calls, may I know how to solve this problem? Tq
[HD2 Android NAND Development] pathaniya:
Are you saying, battery drain is only when you receive calls and not, when you make calls?
[HD2 Android NAND Development] pathaniya:
MIUI 1.8.12 running smooth, no hot reboots yet, last one was excruciating. Still under observation, too early to finalize to call it stable. Thanks JW !!
[HD2 Android NAND Development] pathaniya:
any chance or mod for doing away with "call connecting vibrating tone" or call end vibrating tone " I want do away with both. Mr. Williams do you think it's possible?
[HD2 Android NAND Development] _scooter:
jan-willem3 could you update info on first page about memory configuration for your rom, please.
[HD2 Android NAND Development] moskito-hd2:
Where is there a problem? 135/44 for MAGLDR and 140/44 for cLK as a minimal...

more space works also fine... ;-)
[HD2 Android NAND Development] greg17477:
this is the old info ;) cache partition size should be 5. In case you ask "why", because in this rom the cache partition is symlinked to data partition (just take a look into initrd.gz). So all your data partition is your cache partition. Setting cache to 44 is a waste of almost 40ms space, wich we all need for the userdata ;)

cheers
[HD2 Android NAND Development] _scooter:
I think it should be on the first page:)
[HD2 Android NAND Development] SiLeNcE28:
It is on the first page.....
[HD2 Android NAND Development] blax123:
Jan,

could you test this and if it works, could you implent it into your kernel. It should fix the wakeup lag for AUO Panels.

http://xdaforums.com/showthread.php?t=1222427
[HD2 Android NAND Development] lemar123:
Battery "drain"

It is nothing new, but I found that turning ON battery monitoring Settings->System->Battery Settings->Battery power usage is responsible for average -60mA battery drain.

Turning this thing (default) off is reducing power usage to typical 4 mA (GSM on, WiFi/GPS/BT off).
[HD2 Android NAND Development] greg17477:
looks like you need to check your eyes ;)
[HD2 Android NAND Development] pathaniya:
Ok guys, here is my observation, MIUI backup didn't back up my Language and Input Settings. Secondly, my phone hangs or freezes, the moment i try to take call while listening to music. To be specific, here's the scenario, am listening to music (with non HTC headphones, am using Philips earphones) a call comes, i take my headphones out of the headfones jack, press recieve, the screen shows accepted but no voice, either side.

The unlesss i reboot am not able to make calls or recieve them with voice. Any ideas?
[HD2 Android NAND Development] test4vibrant:
Hello I'm new to HD2, I previously had vibrant. I had to give it to someone else. But I want to know whats the best way to improve the battery life. I'm still learing this phone and rom. thank you in advance.
[HD2 Android NAND Development] dev-host.eu:
Hey guys..

I have a quick question for the snappy ones :-)

Is it possible, to divert which folder all images are saved to?

For instance, when I take a picture, the file will be saved in ../SD-Card/Media/Pictures, and when I make a movie, it will be saved in another location - like ../SD-Card/Media/Movies??

../ = root ;-)

I'm on MIUI 1.8.12 btw - And it's G R E A T!!!!
[HD2 Android NAND Development] mrmiceguy:
Recieving SMS reboots phone

Hi,

after jeg upgraded to 1.8.12 my phone reboots every time im receving an SMS.

Here is the fix for it, if others have the same problem: http://miuiandroid.com/2011/06/miui-1-6-10-reboot-issues-phone-and-messaging-apps-fix/
[HD2 Android NAND Development] jan-willem3:
Yeah it is a miui bug. Default the options is on always ask. However I never saw that popup and most of the time if it needs the permission and it doesnt get it. It just restarts the phone.
[HD2 Android NAND Development] mrmiceguy:
Battery consumption

I think that MIUI uses a lot of power, but JuiceDefender (basic free app) helps with the battery consumption.

I will also install setcpu from here: http://xdaforums.com/showthread.php?t=505419

But first remove the screenstate scaling script by removing it in the system/etc/init.d folder by using rootexplorer.

Set setcpu as following:

Scaling: OnDemand (max 998400 / min 384000 )

Profiles:

Screen Off: 614 max / min 384 (If set lower the phone takes a long time to turn on the screen, when its ringing)

Battery<25%: 652 max / min 245
[HD2 Android NAND Development] pathaniya:
What 's the standard for/of battery consumption? How much is correct?

An have the graphics improved or am i just hallucinating ?
[HD2 Android NAND Development] expl0id:
+1 from me.

This fix really works fine.
[HD2 Android NAND Development] cinemusic:
Support Greek lang? GR
[HD2 Android NAND Development] blax123:
Hey Guys,

i like the CM7 Browser because of its features like Inkognito and the User Agent. I extracted the .apk from an CM7 Rom but if i install it, it replaces the MIUI Browser and i cant start it anymore. If i delete the CM7 Browser and i can use the MIUI again. And now I wanted to know how to get CM7 Browser working on MIUI?

Thansk and Regs
[HD2 Android NAND Development] prulleman:
Here too!! Good fix!
[HD2 Android NAND Development] orhtun01:
CM7 browser gives force closes. I tried it previously as well.

Alternatively you can try the dolphin hd browser from the market. It looks similair.
[HD2 Android NAND Development] CasualStarlord:
Install CM7 if you want that browser, it's very integrated with the rest of CM7
[HD2 Android NAND Development] blax123:
I used CM7 for a long time, but then 1 day i tried MIUI and since this day i never wanted anything else. But the CM7 Stock Browser is Amazing
[HD2 Android NAND Development] jan-willem3:
Yeah miui had stock browser before but the browser is to deep integrated in the system to use it . But I can tell you it is just a matter of time and you will love the default miui browser. Please take a look at the settings menu some really nice options are there. Another good browser you can try is opera.

Oh with deeper in to the settings I mean you can do stuff like hid the notification bar when scrolling arround.
[HD2 Android NAND Development] guamhtc:
HI Jan,

I'm having the hardest time flashing anything past your April 26 release...granted that I never needed to till today when the market automatically updated to the latest version and now I can't get anything on the market. I've tried do a complete wipe with the HD2 tool kit (i.e. Task29, Install MagLDR 1.13, then CWM w/both 150 & 200MB system and 45 & 5MB cache partitions). Still no go. I then reformatted my SD card just in case and made a new 1024MB ext partition w/ CWM recovery sd-ext tool. Still no go. I really want to use the latest version, but for some odd reason, I can't make it work, but if I re-flash the April 26 version, it will load.

I'm using and Australian HD2 from Telstra with the 850mhz AT&T bands. My SD card is a 8GB class 4. Hopefully you can tell me what I'm doing wrong as I'm not new to flashing roms...I mean I've went from WM6.5>Android on SD>Android on Nand> WP7 on Nand and now back to your roms (the best if I say so myself), and this is driving me nuts. Appreciate your help or anyone else's that can solve my dilema
[HD2 Android NAND Development] Zimaia:
Try to go back to wm 6.5 and then start from there!!

Other thing that in the past caused me problems was the cwm version. Use 3.0.2.5 or above
[HD2 Android NAND Development] guamhtc:
NEED Help...cannot flash any new rom.

Forgot to mention that I'm using 3.0.2.5 for the CWM version. I haven't gone all the way back to WM6.5 but wouldn't doing a task29 fix all that as we can circumvent installing WM6.5 and go straight to installing MAGLDR 1.13>CWM 3.0.2.5 and then flash a Zip file with the Nand Rom of choice based of course on the correct partition sizing for the rom. Or is there something in WM6.5 that does something to the rom filing structure that would enable me to flash a newer rom again.

How long is the wait time from when the green HTC logo pops up till I see the MIUI wave graphic...shouldn't be longer than 5 minutes i'm assuming.

Oh and do you mean go back to complete stock with the removal of HSPL 2.08 or can I just flash a stock rom and keep the HSPL?

Really frustrated, but will give it a try...anyone else with a sure fire answer? I'm all ears. If anyone can solve my problem, it's guaranteed to be a XDA member.
[HD2 Android NAND Development] prulleman:
check also this thread about bad blocks in NAND:

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

There is also a way to check this described in that topic

maybe your memory is getting corrupt...
[HD2 Android NAND Development] Zimaia:
I can't explain that but believe me, in the past that workaround was the only way for me!!!

And yes, keep the hspl

So, do a task29 and then flash back the wm 6.5

After that, mgldr, cwm, rom

Give us feedback

good luck :)
[HD2 Android NAND Development] vincentt84:
jw, i flashed ur miui, i love it, but i cant find google map in market even i fake to others, and i download 5.8.0 from internet and install to my hd2, the apps show "login fail", how can i fix it?
[HD2 Android NAND Development] Roger_Wilco:
Hello,

Very good Job but wrong Keyboard for Swiss French. The Swiss French is QWERTZ not AZERTY.

Regards

RW
[HD2 Android NAND Development] guamhtc:
will give this a try tomorrow...hopefully it works! :-)
[HD2 Android NAND Development] Gripstone:
Weather widget app name

Weather widget app name, please :-) Very nice!

Thanks for answer :-)
[HD2 Android NAND Development] moskito-hd2:
Hi,

try "Fancy Widgets" from the market ... simply perfekt.

Get a free and a pay version ... ;)
[HD2 Android NAND Development] agormog:
I'm using GO Weather with the MIUI style, it looks fantastic!
[HD2 Android NAND Development] Vapika:
Fancy Widgets with the skin called Nicki Minaj :-)
[HD2 Android NAND Development] ame81:
Or use berryweather which is very nice and free as a beta
[HD2 Android NAND Development] ayosopov:
High battery consumption.

Hi,Interesting ROM.

This is my first try in MIUI.

Its look great but the battery consumption is awful.

How can I reduce the overeating of my battery?

Thanks.
[HD2 Android NAND Development] SiLeNcE28:
Hi Jan... The guys from miuiandroid now have a working OTA updater for their builds. Is something like that also possible for your rom or is it better the usual way?

Keep your great work up!
[HD2 Android NAND Development] agormog:
Guess that won't be possible due to Jan improving the standard HD2 MIUI very much! :)
[HD2 Android NAND Development] intrygue83:
random booting

has anyone had this issue?

random reboots

market force closing and can't update anything

========

the rom was going fine until about a week ago and i started having issues. can anybody help? MIUI 1.5.27
[HD2 Android NAND Development] jan-willem3:
No did you do an upgrade or an fresh install?
[HD2 Android NAND Development] Zimaia:
Hi jan,

usually i do not ask about this but this time is different because of miui stable version and 1.8.19 beta

Are you working on any release soon??

Thanks
[HD2 Android NAND Development] jan-willem3:
Today or tommorow I will try to release it.
[HD2 Android NAND Development] prulleman:
Will you include your own new kernel or Tytung's r10 or r11?

I really love the wakeup lag fix in r11!!
[HD2 Android NAND Development] expl0id:
I think everybody loves this fix)

Would be great if we have it in the next update
[HD2 Android NAND Development] hebbe:
I'm loving this rom, been using it for a long time now.

but the last two roms, i have problems with my network-connections. i often lose radio and have no reception. swithcing to airplane-mode and back solves it.

also with the latest 1.8.12 version, my wifi-connection is very instable. never had a problem with this before.

before flashing these roms, i always wipe everything.

do you know what might be the point?

thanks for your help :)
[HD2 Android NAND Development] jan-willem3:
Try to go to *#*#4636#*#* then phone information and try to find what the best network mode is. WCDMA preffered or GSM auto PRL.
[HD2 Android NAND Development] expl0id:
jan-willem3

Very sorry for the rude question but, should we expect release today?:)
[HD2 Android NAND Development] jan-willem3:
Yeah this evening :)

Unless I run in to a weird issue.
[HD2 Android NAND Development] prulleman:
Cool! i kinda messed up my install with tytungs new kernel :) wifi is broken... can't wait for the new version
[HD2 Android NAND Development] moskito-hd2:
What a surprise ... :)

JANs "[23 Aug][KERNEL]-{---------JW_tytung_S1----------------}"

THX ... ;)
[HD2 Android NAND Development] jan-willem3:
Yeah rom will be updated soon. About the kernel suprisingly it won't be included by default it need to be properly tested first.

Upload is going right now.
[HD2 Android NAND Development] moskito-hd2:
once more you recognize the true champion of MIUI ... ;)
[HD2 Android NAND Development] jan-willem3:
Updated enjoy.
[HD2 Android NAND Development] Zimaia:
Thanks jan

does the r11 kernel have problems??? some people are saying that data conection doesn't work well with this kernel
[HD2 Android NAND Development] hebbe:
thanks for the hint. but don't i lose the ability to get a 3g/hsdpa data-connection if i switch to a gsm mode? currently wcdma is set. :)
[HD2 Android NAND Development] jan-willem3:
No you wont lose hdspa abilty. Just try it you can easily set it back.
[HD2 Android NAND Development] Necrodaemon:
Great rom, work fast for me, MIUI is the best in my HD2 ... ;)

Thanks
[HD2 Android NAND Development] pathaniya:
Congrats Jan! on your new Kernel, should I install your new kernel first, then the ROM or vice versa. Which way si better, has anyone done yet.
[HD2 Android NAND Development] jan-willem3:
Rom and directly after that the kernel:)
[HD2 Android NAND Development] pathaniya:
Wake up lag fix needs some fixing :p it works best with all animation off or Windows transitions off in Spare parts. Which makes it no fun. Before the screen wakes up it also shows the last screen that I wason then it shows the lock screen. Am I the only one??
[HD2 Android NAND Development] jan-willem3:
No this is a known bug even after applying the wakeup lag fix.
[HD2 Android NAND Development] valro:
Screen problem

Hello,

I am using your rom and find it the best there is, i have a problem with the touch screen that is not responding do i something wrong??? sorry for my poor english

valro
[HD2 Android NAND Development] jan-willem3:
Are you sure the touchscreen is responding in other roms. Touchscreen is fully related to kernel wich is in this case tytung r11. On previous rom everything was working?

Here try this package if it doesnt work there is really something wrong with your device/touchscreen.
[HD2 Android NAND Development] pathaniya:
Your English is fine, don't worry:) and I am not facing any touch screen issue. Is it with this particular rom or otherwise too. HD2 is known for screwed up digitizer check this :

http://www.youtube.com/watch?v=YdOC3Xxo_k0
[HD2 Android NAND Development] pathaniya:
WI-Fi is taking time more than necessary to connect. Never had problem with previous versions. Is it the ROM or Kernel or sheer luck.
[HD2 Android NAND Development] prulleman:
No problems sofar with the latest version... feels very responsive en everything works (miui backup and complete wipe)

Not sure if i'm happy with data on cLK though.. looks like the complete radio disconnects when switching from 3g to 2g (which happens quite a lot in places with barely 3g coverage). I have tried the GSM auto prl, but this seems worse then 3g preferred (wcdma preferred). Had this also with the previous version (tytung r10)

Do you have vodafone NL consumer or enterprise (maybe the different APN does something??? I'm on office.vodafone.nl instead of the default live.vodafone.com)
[HD2 Android NAND Development] roelofs1977:
location

he jw. i'm using your rom it is very very good the best i ever had. but i've a location issue (i know use your miui 1.8.12 with tytung r10 kernel). in your previous rom i've had locations without gps. But with this buuild i need gps to see mij location in for example google maps. is there a fix for it. already thanks your the best.
[HD2 Android NAND Development] prulleman:
My location is 30m acurate without gps in gmaps. Clk latest jw version default r11 kernel
[HD2 Android NAND Development] roelofs1977:
ok thanks i'll try the latest version
[HD2 Android NAND Development] roelofs1977:
:)

thanks it works greate now. now it is the best rom ever

:)