yashsingh1/xdaforums huggingface dataset:
[Desire HD Android Development] a user:
i am not sure. currently still testing stuff around. hoped i found a way to fix it but seems to not work as expected. i don't know what miui did but they ****ed up 1.10.28.

it is not only the drain issue. no sound is working if you do not include aicbootfix.apk which actually makes no sense. i decompiled aicbootfix.apk and compared it with older ones. even though the apk size got smaller since 1.9.23 (interesting coincidence) there is no difference within any of the files within oO

it actually does only one thing. it invokes the mediarecorder and records a bit then stops it again. this was previously together with a kernel mod needed to stop the old dsp drain. since cm7.1 we do not need that kernel mod and also not the aicbootfix.apk

why now sound is broken if you do not have this is more than strange.

edit: you can fix the missing sound without aicbootfix.apk by doing what it actually does: start the sound recorder and record a second.

the drain is unrelated to this it seems. i indeed observed a higher drain, but not 50mA though 36. so i assume as i have seen this previously that it will vanish after some time. somehow i have the feeling that the reason we had no drain on 1.10.21 was some kind of luck.

don't know :(
[Desire HD Android Development] djcsurf:
Ah ok, appreciate the effort in trying to eradicate this damn bug.

Dont waste the day on it, .21 was a good build anyway.

Not too long to wait for 1.11.4 hopefully miui devs will pull their fingers out and surprise us :rolleyes:
[Desire HD Android Development] a user:
i just flashed 1.10.21 again and the drain is gone. considering that there were no reports of drain on 1.10.21 i think i will not release 1.10.28.

i opened again a bug report on miui-germany.de and hope miui china will be informed about this.
[Desire HD Android Development] farinacci_79:
I think you are right, but if you have some optimization to add to 1.10.21, think about a v.1.1 or similar
[Desire HD Android Development] dekkyy:
I worte to miui.cn over twitter about the drain again. Waiting for an answer.
[Desire HD Android Development] a user:
there are only some cleanups in my settings scripts. but most already are using it via systune settings. not really worth releasing a new version only because of this. the differences are minor anyway.

@dekky, thank you for contacting miui.cn. i for myself do not have twitter. i think i should start making an account...
[Desire HD Android Development] Stilleh:
Tried starting a bugpost on miuiandroid too

http://forums.miuiandroid.com/showthread.php?11308-Batterydrain-on-DHD-devices
[Desire HD Android Development] djcsurf:
It's being reported on MrGarak thread that an earlier beta of LorD's kernel has beaten the drain bug...

https://www.dropbox.com/s/2lar8mywh2u9ctk/lordmodUEv8.1-CFS-MIUI-b8.1.zip

Not tested myself as not had a .28 SCI to install :p
[Desire HD Android Development] a user:
The drain happens with stock kernel too. This is no kernel issue. It may happen to not be affected by the drain no matter what kernel you use

Sent from my SysTune tweaked SCI MIUI powered Desire HD
[Desire HD Android Development] mrbubba999:
What's the issue with the sound then? Works fine on Mr G's latest release, seems odd if you have sound issues, as you use the same base?
[Desire HD Android Development] hawkwind:
I had a reply from Mark (MiuiAndoid Mark) and he suggested to try another kernel to fix the drain.

Looks as though its working as well for those who are tring it.
[Desire HD Android Development] a user:
I explained it above. If i remove aicbootfix.apk sound is not working. Mr garak kept it.

But it should work without. It is a symptom of sombre deeper problems

Sent from my SysTune tweaked SCI MIUI powered Desire HD
[Desire HD Android Development] a user:
just flash over it. if you need multilanguage pack flash it second (usually there is no reboot needed between the two).

boot and after that if you want you may reboot again into recovery to flash lordmods kernel (get the version from my op).

do not edit build.prop. use this and test your speeds. report the speeds here please and then we talk again ;)

EDIT: when you boot frist time after the rom flash please give it 15min or so for the media process to finish its work. during that time your phone is working much ;)
[Desire HD Android Development] getaceres:
I've installed only v 1.2 (not language pack since I can use english). Still 120kbps.
[Desire HD Android Development] a user:
Sorry guys, i forgot the backup fix in the latest rom. though as i explained in the op you simply can flash the available backup fix (and wipe cache and dalvik cache) or flash the multilang pack (this one will wipe caches on its own).
[Desire HD Android Development] a user:
this drives me nuts!

you have a desire hd right? not an inspire?

ok, lets see... first would you please go to settings (system) ->mobile network

and tell me what Networktype says? oh and when you actually are doing your speed tests, what icon do you see on notification bar, H, 3G, E, G?

well, try inserting the following stuff at the end of the build.prop:

ro.ril.hep=1
[Desire HD Android Development] djcsurf:
Will download 1.2 this afternoon. I swapped over the GPS.conf files and installed Google maps 5.5.0 did an hour journey without a single drop :D

Will install newest version of Google maps later to test it.
[Desire HD Android Development] a user:
@getaceres:

if the previous didn't worked try this:

search for and change:

ro.ril.enable.dtm=1

ro.ril.hsdpa.category=8

ro.ril.hsupa.category=5

add at the bottom:

ro.ril.enable.prl.recognition=1

EDIT: reboot two times after changing that!

edit2: these are the settings from miui spain for desire hd.
[Desire HD Android Development] getaceres:
It's a Desire HD (vodafone spain). It says 3G preferred and the icon that I see is H.

By the way, I added the property and still 120kbps. Since the upgrade, ro.ril.hsxpa is 2 again. Should I change it to 3?
[Desire HD Android Development] getaceres:
Will try but I came from MIUI Spain ROM before yours and the 3G speed was equally bad. The only ROM that seems to have good 3G speed is ARHD, but none of the MIUI versions that I've tried seem to get decent speeds.
[Desire HD Android Development] a user:
wow this sounds bad. i must say i run out of ideas.

did you tried asking for this in the forums at miui spain? maybe one of them has an idea. if you find a solution i would highly apreciate reporting back.

also if you can find another miui user also using vodafon in spain to find out if he has similar issues.

meanwhile i am searching myself for infos regarding this issue.
[Desire HD Android Development] getaceres:
Nothing. I tried with your settings and still 120kbps. I could restore ARHD and post the build.prop file if it might help...
[Desire HD Android Development] a user:
no need. i just downloaded it to check that out.

you did wiped /data when swtiched from arhd to miui right?

edit: which app do you use for speed testing btw?

edit2: go to settings -> system -> proxy and disable it. repeat your speed test.
[Desire HD Android Development] LorD ClockaN:
It seems to me that you'r dhd doesn't work good with aosp rom.. I mean aosp roms have RIL G, and sense roms have RIL HM version. Maybe you should try installing. Hm version of ril

Sent from Desire HD with CyanogenLordMod!!!
[Desire HD Android Development] a user:
is ril flashing supported for miui roms meanwhile?
[Desire HD Android Development] LorD ClockaN:
Offcourse

I always flash 1003g ril on my cm build because it works better for. Me than stock cm ril

Sent from Desire HD with CyanogenLordMod!!!
[Desire HD Android Development] a user:
thanks for the info. i found a small bug related to mobile data myself which currently only happens rarely. i will check that out if i can fix it with a different ril.
[Desire HD Android Development] getaceres:
I disabled proxy but it didn't help.

Where do I find RILs? and how do I flash them?
[Desire HD Android Development] a user:
http://xdaforums.com/showthread.php?t=996630

rils are flashed through recovery. but i didn't checked if they work as they should and how to verify if they actually got on your phone. look through that thread for details. i will be able to check that out later at home.

EDIT: seems you have to manually mount /system in recovery BEFOR flashing the ril zip. have not tested it but to be sure do this. if the flashed ril then does what you expect i don't know. still haven't tested ;)
[Desire HD Android Development] getaceres:
I've installed 12.54.60.25P_26.09.04.11_M2 RIL (http://www.multiupload.com/ELJ4AYHVOG) and it's still 120kbps. My radio is exactly this version. It's supposed to be this RIL that I have to install but I don't know if they are G or HM RILS. ARHD seems to be using this same RIL but it's a Sense ROM. Maybe AOSP ROMs need another kind of RIL...
[Desire HD Android Development] a user:
open a terminal on your phone (assuming you have one) and type:

getprop gsm.version.ril-impl

what does that say?

p.s. you read my edit on previous post?
[Desire HD Android Development] getaceres:
HTC-RIL 2.2.0018G (Mar 24 2011, 20:20:09)

I didn't read your edit. Will try mounting system.
[Desire HD Android Development] djcsurf:
a user please try the earlier LorD beta kernel I linked to previously

dekkyy also confirms that kernel has solved the drain bug.
[Desire HD Android Development] a user:
Will upload new version later when I am back home.

Sent from my SysTune tweaked SCI MIUI powered Desire HD
[Desire HD Android Development] sonydesouza:
I confirm too...Drain issue is gone with this kernel...
[Desire HD Android Development] a user:
SCI MIUI 1.10.28v1.0

uploaded. though i still recommend 1.10.21 due to the drain back that reapeared. i also do not trust the internal changes of the sound system as it has some strange effects (you currently wont observe them as a normal user).
[Desire HD Android Development] a user:
i have the drain bug even with lordmod 8.1 cfs.
[Desire HD Android Development] djcsurf:
Very early results but flashed .28 = drain

Flashed lordmodUEv8.1-CFS-MIUI-b8.1 = no drain

btw loving the boot anim, class :)
[Desire HD Android Development] a user:
so am i the only one that has drain with 1.10.28 and lordmod 8.1 cfs?

in any case i wuold say it is as i said and similar to how it was on previous version: simply luck that it doesn't appear sometimes. though this time it seems to be that all except me are lucky.

am back to 1.10.21 now.
[Desire HD Android Development] djcsurf:
Im hoping the drain stays away, if it does come back im more than happy with .21 for time being.

One thing regarding the boot anim, I think the gears turn too quick a little slower would look nicer imo.

Regarding the splash screen, I flashed it and it doesnt look as nice on the phone as the pic posted because the light makes the white surrounding too bright and you dont really get the smooth blending effect.
[Desire HD Android Development] a user:
i agree. thought the same about the animation when i first saw it.
[Desire HD Android Development] LorD ClockaN:
nothing changed regarding battery drain in my kernels since that version..

kernel is not affecting (should not affect) battery drain in this case
[Desire HD Android Development] JagDave:
You're not the only one. Very frustrating. Back to .21 for me, also.

Sent from The App that Time Forgot.
[Desire HD Android Development] dekkyy:
I tryerd to flash diffrent kernel versions but with that one i don't have drain. Looks like that something is diffrent with that kernel.
[Desire HD Android Development] MarcoG::
i can confirm that, no Batterydrain with the Kernel from my signature
[Desire HD Android Development] gillepy:
So you are recommending the .21 release? and are you still using one of lord clockans beta kernals?
[Desire HD Android Development] a user:
@gillepy: am using 8.1 release one, cfs version.

@dekky: wait, you are using the 8.1 miui b8.1 kernel not the final one? this would mean that the old drain fix in the kernel is needed again. miui must have removed the fix in the new audio drivers of the cm7.1 base.

coud you or anybody else who is running 1.10.28 test another kernel that was design for miui? one of the older ones? also test it with one of the talon kernels that had made also one for miui to verify that this old bug fix within the kernel is needed again.
[Desire HD Android Development] a user:
MarcoG did the tests i asked for also with the talon kernels.

it confirms my theory. so i add this information to the download link:

You must use either a lordmod kernel or a talon kernel that was made specifically for the older MIUI version. The kernel must include the old AIC DSP drain fix The included stock kernel does not have this anymore which indicates that miui actually is currently not really knowing what they are messing with.
[Desire HD Android Development] shadowlabs9:
Hi,

I can also confirm that there is no drain with lord 8.1 beta 8.1...

but the drain is back if I flash any other kernel.

best regards
[Desire HD Android Development] horsetastic:
New Boot anim updated.....

http://dl.dropbox.com/u/42365766/SCI Miui Boot Animation/bootanimation.zip
[Desire HD Android Development] farinacci_79:
I'd like to well understand: in your first post there are 3 link to kernels:

lordmodUE 8.1 CFS SCI

lordmodUE 8.1 BFS b9.1

lordmodUE 8.1 CFS b8.1

The first doesn't solve the drain issue, but the b9.1 and the b8.1 yes... is this right?

When you write "kernel that was made specifically for the older MIUI version" about what do you speak of LordmodUE?
[Desire HD Android Development] a user:
the lordmod kernels for miui had in the past the string "miui" in their file name.

lordmodUE 8.1 BFS b9.1 is not such one but lordmodUE 8.1 CFS b8.1 is such one.

you should go to lord clockans lordmod kernels thread. there you find the kernels i mention. and remove libsqlite.so from the zip before flashing.
[Desire HD Android Development] a user:
lord clockan will again release special miui version of his upcoming kernels. so that we need not to rely on the older ones as long as this is not fixed by miui.
[Desire HD Android Development] farinacci_79:
... I'm still the only one that post his lang pack for SCI roms.... :(

In the first post Addons section, you can find italian langpack for 1.10.28...
[Desire HD Android Development] a user:
yes. but as soon as i get again a bit more free time i'll try again making a multilang pack.

@all:

but doing a language pack for my rom based on available official ones is very easy and i can help with that.
[Desire HD Android Development] farinacci_79:
It is very very very easy and usefull....
[Desire HD Android Development] MarcoG::
here is the new Miui Kernel for 1.10.28 (with aic powerdown sequence enabled)

http://www.multiupload.com/8BWXAMJNBU

sorry LorDClockan
[Desire HD Android Development] LorD ClockaN:
you could leave link to my post or my original link, so I know how much time has been downloaded ;)
[Desire HD Android Development] karanx:
Call recorder enabled in this kernel?.

Sorry english
[Desire HD Android Development] LorD ClockaN:
No, but here is!

http://www.multiupload.com/RUW70AL4IH
[Desire HD Android Development] a user:
BATTERY DRAIN FIXED

Get new SCI MIUI 1.10.28v2.0

no need for special miui kernels.
[Desire HD Android Development] LorD ClockaN:
so what about me?

no need for MIUI kernels?
[Desire HD Android Development] a user:
no. not anymore or at least till miui china finds a new way to brake this :P

i informed the other miui custom rom devs here about the fix.

no, i didn't waited for them to ask me ;) i sent them a pm so all can fix the asap.
[Desire HD Android Development] djcsurf:
Nice, downloading now.

Does it included the slowed down gears boot anim?
[Desire HD Android Development] a user:
yes. i nearly forgot it but i did included it. though even i booted 3 times i missed it every time. so no idea how it looks like :D
[Desire HD Android Development] djcsurf:
:D

Have you tried the splashscreen yet?
[Desire HD Android Development] a user:
no sorry.

i still don't know a way to flash it from the rom or the installation.

but i could add it to the op for people to flash it themselves.
[Desire HD Android Development] djcsurf:
It's very easy for people to flash it themselves...

I flashed it using a simple app called androidflasher (on xda)

The first one was very bright but jameslsmith has now modified if, not tried it myself yet.
[Desire HD Android Development] gillepy:
What was the fix then boss?
[Desire HD Android Development] a user:
don't call me boss.

we need to substitute the libaudio.so with the one from cm7.1 (used the one from newest nightly). i assume 1.10.21 had it and somehow they messed it up and included an older one without the moved drain fix (cm7.1 movbed it into the audio drivers).

so the aic fix was missing from the kernel and the audio libs -> drain.

quite simple and thanks to woSaa we have it fixed now.
[Desire HD Android Development] horsetastic:
Looks better then anything in the world ever of course :P

thanks for the thanks in DL post :D
[Desire HD Android Development] gillepy:
Thanks for the explanation. Sorry if there was any offence calling you boss. There was non intended.
[Desire HD Android Development] a user:
no no offense. i simply don't like names that imply a classificartion be it good or bad. i am no ones boss here, not their guru or anything like that. only small minded people have the need to blindly follow others and i do not want that anybody be like this.

edit i know you didn't meant it like this but i do not like the sound of such names.
[Desire HD Android Development] hawkwind:
Thanks a user for your perseverance, pass on our thanks to woSaa as well :)
[Desire HD Android Development] horsetastic:
He missed that he's not the boss, he likes to be called 'The Daddy'
[Desire HD Android Development] a user:
@hawkwind : i will do so.

@hameslsmiith: lol
[Desire HD Android Development] floepie:
Clearly, "a user" has never been to New York. There, everyone calls each other 'boss'. It's meant as a term of endearment. It has nothing really to do with the way it was meant to be defined. It's like 'mate' in Australia or England.

Glad you got the battery issue sorted!
[Desire HD Android Development] horsetastic:
lol in england 'mate' is what we say to mock the aussies....dude, man, geeza, chap or fella is better!!
[Desire HD Android Development] woSaa:
Thank you! ;)
[Desire HD Android Development] gillepy:
I have never said geeza! Back on topic though is anyone else having trouble with the miui backup app. Its crashing my phone every time I try and back up my apps.
[Desire HD Android Development] a user:
i once had that too. only thing that helped was a full wipe. but oyu may try clearing data of the backup app.

but honestly: do not use it. i had so often various issues with it, always when i needed it it failed somehow.

use titanium for user apps and if it works use the miui backup for system settings only or restore them manually.
[Desire HD Android Development] gillepy:
When it happened to you did it change the time to something in the 80s?
[Desire HD Android Development] a user:
hmm, not that i observed this. the issues i had with the backup was either FC, or on restoring apps failing to restore ir they got corrupted afterwards.
[Desire HD Android Development] jodey:
Very nice job, thank you. ROM runs very smooth and stable!
[Desire HD Android Development] Selec1:
Is it save to flash the kernel mentioned on the end of the first post?
[Desire HD Android Development] a user:
you mean the three kernels in the kernel section? yes
[Desire HD Android Development] victoryo:
Hi mate,

Can i just pick a multilanguage pack from the other version on your latest rom? :D
[Desire HD Android Development] a user:
no. language packs of any kind are never compatible over different versions.

what language are you looking for?

isee, you are looking for dutch

go here

http://www.miui-nl.com/

and look if you find a language pack. i can explain you how you can fix it to be compatible for my rom (very easy).

maybe ask there.

if you do not find a pure language pack then we will have to make one out of their rom release. also no very difficult.
[Desire HD Android Development] victoryo:
I would like to have a dutch language :o

Maybe it's already included, but thought i just ask it before i try it :p
[Desire HD Android Development] a user:
check my edit above
[Desire HD Android Development] victoryo:
Thanks mate! They don't have a language pack so i downloaded there rom so we can extract the language out of it! :D Maybe we can talk further on a PM if you don't wanna do it on your ROMS thread! :D
[Desire HD Android Development] a user:
lets keep it here so others can do the same for their language if they want to:

1. get the attached file and rename it by removing the suffix ".txt". replace the file in your language pack/rom with this one. you'll find it in META-INF/com/google/android/

2. remove everything from system except the directories:

app and framework

4. remove all file in framework except: framework-res.apk

5. remove all files in app that you do not find in my rom in system/app

so the result should have under /system only two directories and nothing else.

in /system/framework only one file.

this should work.

edit: stop.

recheck step1. changed it.
[Desire HD Android Development] victoryo:
I will wait for the attached file! But i need to remove those thing from the DUTCH miui or from your ROM?
[Desire HD Android Development] a user:
i attached it.

of course remove it from the dutch one. we want to make a language pack out of your dutch rom, a language pack for my rom, right?

you first flash my rom. then you flash your modified dutch rom over mine.

you do not change anything on my roms zip. all changes are only for the dutch one.

edit: of course the durch rom must be the same miui version as my rom, currently 1.10.28
[Desire HD Android Development] victoryo:
Oh, it's totaly clear! Need to remove from the DUTCH rom! Making my language pack now! Shall i post it when done for maybe other users? :D

And what shall i do?

Flash your ROM than the language pack or flash ROM, reboot and than the PACK

?
[Desire HD Android Development] a user:
it should work without booting in between.

try it out and if all works fine and you want to keep it up to date i suggest making an online directory with your weekly updated packs. i will add a link to it to the first post.

e.g. you could use wuala or dropbox or similar to share a directory.

we have already one guy doing this for italian.

EDIT: once again: be sure to remove everything out of system/app that you do not find in my roms system/app
[Desire HD Android Development] DroidXAce:
Hi,

This ROM is translate in french please ?

Thanks ! :)
[Desire HD Android Development] a user:
as the info below the download link says it is englsih and german only.

the multilanguage packs are currently not updated.

if you want to make a language pack yourself, which is very easy, you can just follow the instructions i gave to victoryo in the few post before yours. you have to find an official french miui language pack or rom. there is miui france, google for it.
[Desire HD Android Development] DroidXAce:
Ok, thanks ! :)
[Desire HD Android Development] a user:
if you intend to make a language pack for your language and you need further assistance don't be shy and ask me.
[Desire HD Android Development] adanoss:
And what if I'll take your ROM and localized one and replace above mentioned files in SCI with corresponding files from localized and will flash the resulting zip without changing script? Will it work?)
[Desire HD Android Development] victoryo:
Works great man! Got your rom running in dutch now! :D

One bug i found is that the keyboard doensn't vibrate but i turned it on! But it's not a big problem! :D
[Desire HD Android Development] gillepy:
The keyboard not vibrating is a miui bug i believe. Other keyboards from the market do vibrate though. Its a bit odd.
[Desire HD Android Development] a user:
yes, should work too.

edit: but it has a disadvantage: if i upload an update (but with the same miui base) you have to do it all over again.