yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] the-fallen:
Another Idea to save more power

As we know, pixels in OLED displays do not use a background light but they are emitting the light itself.

Most people ( me, too ) like to use a nice and mostly colourful background image. But a black one will save a lot of power when you have the screen on.

What about combining that to the governor used in Teppic74's powersave mod?

I hope it would be simple to replace the user-selected wallpaper with a black one when power saving is needed.

I am not sure about the SLCD-Display. But lets assume it will dim the back-light if there is nothing bright to display.

If so, that power-saving mod would work for SLCD Desires, too.

Maybe someone with a SLCD can check that (set the display to not being shut off after a minute and let the display run half an hour with a bright background and half an hout with a black one and compare the battery usage)
[Desire Android Development] raynerape:
I vote for that, too!
[Desire Android Development] fotoboogie:
Thanks Merely Teppic for advice
[Desire Android Development] dotcodotuk:
I'm really liking what I've seen of this ROM thus far but I'm a bit stuck with a couple of things and would appreciate some advice if possible?

I've managed to install the ROM with init.d Support along with the Radio, MINOR TWEAKS, UPDATE APPS, A2SD+ and Reboot in Power Menu, but I'm not seeing the option to reboot in my power menu.

Have I done something wrong?

I'd also like to give the Powersaving Modpack a go, but I wasn't sure which version I needed to download. Is it g6a358a9-14-signed.zip or g6a358a9-15-signed.zip? Or both?

Oh, and one last question; do you apply the FLASH PLUGIN REMOVE/UPDATE and then the FLASH PLUGIN SYSTEM REPLACEMENT?
[Desire Android Development] teppic74:
Reboot in power menu requires the deodex change, but don't do this unless you know what you're doing.

1.4 is an older version, 1.5 is the current uploaded one. I will upload a new one, 1.6, when I get back to my computer.

And the two flash mods do different things.
[Desire Android Development] dotcodotuk:
Oh bloody hell, I should learn to read things properly before I post stupid questions.

Ditto.

Ah, looks like it's the second one I'd be after then.
[Desire Android Development] teppic74:
Update to powersaving modpack.

1.6 now uses the ondemand governor instead of interactive. This removes the lag problem experienced when you come from idle, and it doesn't really seem to reduce overall responsiveness either. It may also improve battery life a little.

Additionally the performance drop doesn't begin now until only 20% of battery remains, and the cut is small (to 80% normal, enough for regular use). It drops a further step at 15%, and then again at 10% when it is noticeably cut.
[Desire Android Development] casca:
Teppic, on the first post when you describe the 16 version of the powersaving module you have:

- Ondemand/Powersaving governors - for good power/performance

but this is now incorrect, it should be

-Ondemand/

Ondemand

governors - for good power/performance
[Desire Android Development] ecstasyado:
will this radio (32.48.00.32U_5.11.05.14.zip) work with this rom second version? And it s better because is the latest or new one?
[Desire Android Development] bluppfisk:
Yes. It works for me.
[Desire Android Development] teppic74:
Yeah, I'll change it. The powersave and interactive modules are still there for people who want to use them.
[Desire Android Development] Frank_FC:
Could this be patched over the last test powersaving modpack (the last "test release" that you were testing before this)??
[Desire Android Development] Large Hadron:
I did that last night, and it's worked fine today.

Of course I'm going to look very silly now if Teppic says not...
[Desire Android Development] teppic74:
Any time that one mod can't be installed over the top of an older version of the same one and I'll make it very clear. There's no problem with the current ones.
[Desire Android Development] veryjiggy:
Oh, I already applied the 'signed' 1.6 version over the 'test' 1.6 version. How do I undo it? Do I need to wipe and reflash the ROM all over again now? :(
[Desire Android Development] casca:
no mate,there is no need to do that.Just install the one you want and you are good to go :)
[Desire Android Development] oggiet:
Installed new powersave mod and gotta say its much much better ten previous version, no more stuttering once phone is woken up :D

Thank you for all your hard work !!
[Desire Android Development] foXenNA:
From super-circle-mod-op:

So what? Do i need only your rom with Init-d and than can apply the above mentioned one or do I need another and therefore deodexed rom? - I want yours! :-D
[Desire Android Development] bg_man:
@Teppic

Thanks for your hard work. Everything is working good.

I have Rooted and Updated pack with powersaving modpack 1.6.

I used to do the power management with SetCpu, but your modpack

is just awesome.

Can I ask you to make mod for double click trackpad to unlock?

Can't find a version for this kernel.

One suggestion is to add warning for Cifs and Open VPN modpack

that the battery will drain faster.

Thanks in advance!
[Desire Android Development] iL_FeD:
You can install this ROM, afterwards apply the deodex patch and then apply any other mod you may want
[Desire Android Development] mithrandi:
The ROM already comes with a deodexed framework-res.apk, no need to apply the deodex mod just for super-circle-mod.
[Desire Android Development] raynerape:
New YouTube app is available in Market as of yesterday, it's time to update the Updated Apps addon. Oh, and it's AWESOME!
[Desire Android Development] be4con:
Thanks for all your hard work on this.

I can't get the radio ROM to install.

I get the message:

Can't open /sdcard/32.44.00.32U_5.09.05.30_2.zip (bad)

Installation aborted

I've redownloaded the file to see if I just had a corrupt version but that hasn't solved it.

Are there other radio ROMs I could install instead if I can't get this one to work?

Thanks
[Desire Android Development] kulik98:
Work perfect with PowerMod 1.6, thanks for update
[Desire Android Development] bubble:
Hi Teppic,

Does the Cifs and Open VPN modpack affect battery life even when no share is mounted?
[Desire Android Development] teppic74:
The modified wifi driver could potentially reduce battery life a little.
[Desire Android Development] IeU:
How to check if the scripts were installed successfully ? (Used Clockwork / Install zip from SD...)

Btw, how to check if A2SD was installed successfully ?
[Desire Android Development] Znuff:
I still haven't managed to mount a samba/cifs share. I did a full wipe, I reinstaled the rom, reinstalled all the modules. I can't pinpoint the problem, can't figure out what it's breaking it for me.

I have the module loaded:

# lsmod | grep cifs
cifs 211522 0 - Live 0xbf02c000

But when I try to mount it:

-sh-3.2# busybox mount -t cifs //89.45.83.4/share /mnt/cifs
mount: mounting //89.45.83.4/share on /mnt/cifs failed: Invalid argument
-sh-3.2# toolbox mount -t cifs //89.45.83.4/share /mnt/cifs
mount: Invalid argument

I tried both busybox and toolbox. No luck. I tought that some other application replaced the roms busybox / toolbox binaries, grabbed them back from the zip, got the same result.

What else could I try? In the example you provided, are you sure you used the same busybox you are shipping with the rom? :-/ I'm getting desperate here. I'm gonna build my own busybox and try with that.
[Desire Android Development] bubble:
Hi Znuff,

You have to specify the login/password. Won't work otherwise.
[Desire Android Development] the-fallen:
Some devices do not suspend

Heya, yesterday I noticed in the dmesg output, that there was at least one device unable to suspend as the rest of the device suspended (don't remember the devices name but I can get it later if necessary).

How ever, can others have a look at the dmesg output if they have those problems, too? (I used System Monitor but you can also run "dmesg | grep suspend" in a shell or use any other program )?

Could be useful to determine unwanted power draining.

By the way... you can shut down the device with "shutdown" but you are not able to start it with the "power-on" button... you need to remove battery. (just found out). :)
[Desire Android Development] zaphyr:
Decided to give a non-sense rom a try, and this seems like a good place to start.

But, when I try to flash the rom I get an error message

-- Installing: SDCARD:froyo/2.10.405.2-initrd-rooted-stock-v2.zip
Finding update package...
Opening update package...
Installing update...
Formatting SYSTEM...
Copying files...
E: Can't symlink /system/bin/bugreport
E: Failure at line 10:
symlink dumpstate SYSTEM:bin/bugreport
Installation aborted.

Any suggestions?
[Desire Android Development] lurbi:
Teppic could you have a look at this thread?

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

Somebody claims to boost the SD card read performance by using more read ahead on the driver level.

And indeed the performance of the SD card is extremely poor when compared to the same SD card in a SD card reader on a PC.

Maybe there can be done something. (AFAIK HTC has finally released the 2.2 kernel source??)
[Desire Android Development] LuftWalk:
Can anyone tell me if it's possible to deactivate Sense on this ROM if I'd like to go with a different launcher or such?
[Desire Android Development] madd0g:
You can remove add the Vanilla Launcher and Lockscreen easily, but behind, there's still Sense running (which aint that bad, with its Dialer and such).
[Desire Android Development] ecstasyado:
I know that this ROM is supose to be near the original stock version. But any one knows if I can overclock with this ROM second version and witch guide should I follow?
[Desire Android Development] RTP:
This would be cool, tripling the read speed under the gallery would be great. That said, don't know how far this would take the ROM away from stock which I'm sure Teppic74 won't want to do. Can the update be applied by modpack?
[Desire Android Development] Znuff:
Oh, lol... Didn't know that the busybox mount binary requires the username and password options :-) Got used to the linux "normal" version. Thanks.
[Desire Android Development] teppic74:
Yeah I'm very unlikely to provide a custom kernel for this ROM. This change sounds like it could be very useful but there's no guarantee it wouldn't affect something else badly. A few people posting isn't the same as full testing. It's also quite possible that with a new update from HTC a similar change would be included in the official kernel.
[Desire Android Development] DomFel:
teppic I've to admit that I've never had a ROM in any of my previously owned smartphones that lasted more than a month. You're doing a terrific job with this! Thanks a lot for your effort and please keep it up!

P.S.: the idea of the mods is simply outstanding!
[Desire Android Development] pilgrim011:
+1. Great job, teppic74!:cool:
[Desire Android Development] Zeljko1234:
I flashed moded kernel and it seems everything is ok. SD card is much faster now (3x) with phone or mounted to PC.
[Desire Android Development] jimmy-fix-it:
Top Job Teppic

Couldn't agree more. After holding off tinkering with my Desire like I used to with my previous WM handsets, you finally tempted to take the plunge.

Brilliant job Teppic, thanks.
[Desire Android Development] jimmy-fix-it:
First Custom Rom - couple of questions

Hi Teppic,

As I've just said above, this is my first custom rom on the Desire. Everything went without a hitch but I have a couple of questions:

I booted into recovery and did a full wipe and cache wipe.

After loading the rom I rebooted and let the device get to the first boot settings, I then turned it off and booted back into recovery and loaded the deodexed mod.

After this booted and did the same again and then applied

FLASH PLUGIN SYSTEM REPLACEMENT (1.2)

POWERSAVING MODPACK (1.6)

A2SD+ (1.4)

UPDATE APPS (1.4)

Super Circle Battery Mod

Compressed dalvik-cache

all in one recovery session loading them from zips on the SD card one after another.

Was this OK to do and will it mean all the mods work OK?

I forgot to wipe the dalvik cache again after installing the Rom and deodexing before installing the Compressed dalvik-cache. Given the sequence of events, do I need to do this again or will I be OK?

Thanks for a great rom and any advice you can offer

cheers, Jimmy
[Desire Android Development] the-fallen:
powertop and nano

Heya teppic74,

i extracted the necessary binarys and libs from cyanogenmod and copied it to my phone and now have powertop and nano working (including terminfo) with your rom.

(I want to find out what's draining so much power on my phone).

Those tools might be quite useful to other's, too.

Maybe you will make another mod for your ROM? I would make an update-zip out of it if you want me to do so and send it to you / post it here.

Screenshots:
[Desire Android Development] teppic74:
It's fine to do it that way. Just go back to recovery and wipe the dalvik cache - you won't need to reinstall anything. The first boot will take a few minutes as it rebuilds it, so don't worry about that.
[Desire Android Development] spitjo:
I'm new with androi

I flashed this rom (package with radio) via amonra recovery

After one (only one!!!) reboot i'm in recovery with Formatting cache...

I can use the recovery menu

Is it safe to reboot????

please help

i'm scared, i don't want to brick my brand new desire....
[Desire Android Development] jimmy-fix-it:
Thanks Teppic, appreciate you responding, will wipe dalvik cache from recovery again as you recommend.

cheers, Jimmy
[Desire Android Development] Heppieboeddah:
Youre save to reboot. There is only one reboot after flashing. The '' formatting cache..." appears because the radio in the rom was flashed to.
[Desire Android Development] Heppieboeddah:
Tryed that kernel to speed up the sdcard as well. Messed up my phone. My Rom is NOT deodexed! No apps, ext3 ruined...etc. So my advice, nandroid backup before applying.

EDIT:

After downloading the kernel again and re-flashing it, it works.

Screenshot made with QtADB
[Desire Android Development] bubble:
I also noticed a speed improvement after flashing kernel_2.6.32-frankoid.zip.

But within the first hour using it I also got my first ever self reboot (while using GPS Status).
[Desire Android Development] lurbi:
I understand and appreciate that this rom stays as close to stock as possible, and offers additional functionality with mod packs.

This is why I wanted to know if this can be made a kernel module.

As I have understood HTC released the source of their kernel modigications.

The SD card read speed is really low on the stock HTC kernels would be glad if this could be improved by a kernel module.

If this is not possible, well than it cannot be helped ;)

Also it would be a good thing, if nano, midnight commander and powertop could be added as an additional mod.

THANK YOU teppic for your great work!!
[Desire Android Development] Moe5508:
Don't flame me now but just checking to see if there has been a response to an earlier question about a DEO-DEXED version of this ROM?
[Desire Android Development] MightySashiman:
About the browser replacing, i am used to Dolphin. I've installed it, selected it as the default browser to use (ticked the "always do this" box) but strangely when i open up a weblink it first opens htc's browser, starts loading (but page stays blank), then it seems it's the htc's browser itself which opens dolphin. Then the page loads in dolphin. Really weird...
[Desire Android Development] teppic74:
I don't think I will be releasing a deodexed version, it's too far from stock.
[Desire Android Development] dorin89:
hy teppic,so u wanna tell that setcpu and some app for root roms may interact with the stock rom and damage or make it work slow?
[Desire Android Development] teppic74:
If you're using the powersaving modpack, please apply the update.

Changes:

Updated version of screenstate scale, now compatible with SetCPU (FloHimself)

Fix for undervolt script
[Desire Android Development] teppic74:
Another update to powersaving modpack. I've made the undervolt settings a bit more conservative.

A2SD+ and CIFS/VPN packs are ready, just need further testing.
[Desire Android Development] psybill:
Hi mate and thanks for your great work.

I installed your rom today, and till now all working fine. I really like "near to stock" roms. I have just remove some apps (maps, stock etc)after installation with adb.

I also istalled a2sd and I think it is working ok. I am not sure because it's the first time I use the a2sd option in my desire. you can see it at screenshot below.

super circle mod also installed with no problems.

my wish now:p

I'd like to add the reboot option in power menu, but as far as I understand is not compatible with this rom.

can you do something for us?
[Desire Android Development] teppic74:
That's unfortunately not compatible, it requires a deodexed ROM.

As for A2SD+, it looks like it will be fine. I'll add the link later if nobody reports a problem.
[Desire Android Development] dorin89:
what program is used in the screenshot?
[Desire Android Development] psybill:
ShootMe

you can find it on market, and ofcourse root required
[Desire Android Development] sookster54:
I installed A2SD and when I boot up it loops nonstop until I adb a2sd command but it works otherwise, I guess there's no way of removing it from the system without reflashing your rom again?
[Desire Android Development] teppic74:
If you have apps from a previous rom on your ext partition it might cause bootloops. I'd recommend a wipe before adding a2sd unless it's a clean partition.
[Desire Android Development] sookster54:
I installed it after a partiton/cache wipe, still was boot looping. I reflashed anyways.
[Desire Android Development] teppic74:
Was the partition ext4? That isn't supported.
[Desire Android Development] MrFastXX:
Actually not without any hassle after all.

MMS can't be sent, error pops up:

The application Messaging
(process com.android.mms)
has stopped unexpectedly.
Please try again

And then 'Force quit'.

Same when receiving, MMS appears on the messaging app but when initiating download I get the popup.

Incoming SMS is ok, outgoing results in popup but the message does go through.

Popup also when trying to change the message font size from settings.

This might have nothing to do with the ROM, though.

I'll try couple of things before opening a new thread for this.

Many people seemed to have similar problems - several forum posts around - no clear answer, tho.

Wouldn't like to immediately wipe everything and start over - however I'm compelled now to install the other one of your ROMs...

Would be best to try and investigate first for the future, but I might be too eager to get the damn thing working.

BR,

-P
[Desire Android Development] sookster54:
ext3, I partitioned it on my Linux laptop. It was working, I had files on it, busybox df -h showed 489MB (roughly) and maybe 100MB used and /data/app was symlinked to /system/sd or so. Just that it was looping on bootup when I rebooted it. I also decided to do cachepart because the SDcard isn't class 4 or 6, I accidentally bought a class 2.
[Desire Android Development] teppic74:
The A2SD stuff is fairly straightforward, it just moves things over and creates links. There's no reason it should cause a bootloop if there aren't apps already on the sdcard.
[Desire Android Development] sookster54:
Oh didn't know you added an A2SD+ update, gonna have to try that.

Yeah I know it shouldn't, but it did and stopped when I adb'd in and did an a2sd command, strange stuff.
[Desire Android Development] teppic74:
There is no a2sd command in my ROM... (even with the add on). I'm a bit confused about what you've done, though it's looking like a full wipe might be a good idea.
[Desire Android Development] teppic74:
I've tried sending an MMS to myself and it sent and received without any problem. It could be an issue that needs wiping, or it could be something to do with your APN settings (often a cause of problems).

The difference between the first and second ROM would not cause any issues.
[Desire Android Development] the-fallen:
The default HTC kernel has most of the drivers compiled-in (everything but the WiFi driver).

Drivers that are compiled-in can not be replaced (unfortunately).

To use a kernel module to replace the compiled-in driver the compiled-in one need to be disabled somehow. If not it would block the ressource (the device) and the module can not work.

I think there is no other way than replacing the kernel.

Edit:

I am compiling a stock kernel with those readahead-modifications (everything else is stock) and if it works I will post it here (if that is ok to you).

Edit2:

Kernel works, SD Card Speed Test shows that write-speed is now 2Mbyte/s and read-speed is 6Mbyte/s (with stock kernel I get writing 2Mbyte/s and reading 1MByte/s using a Class2 SD Card).

I am going to pack an update image that can be flashed in the known ways and post it here if that is okay for you, teppic74.

Edit3:

Kernel Update as an update.zip is working, a quick test shows that everything seems to be working.

Teppic74: in the kernel config there is a (not-activated) menu point to have the kernel locking to a range of frequencies when screen is off. Seems that HTC prepares to do the same like you do with your powersaving mod. You should get a patent for that soon :)
[Desire Android Development] btuser001:
Hi, I tried using your kernel in the other thread with this ROM and it didn't work (it put my phone in a reboot loop [but granted.. i didn't flash the kernel on a fresh ROM install]).. I'm wondering, with this new kernel you've made, is it safe to install when I don't have a fresh ROM installed (i.e. lots of apps and stuff already installed on the ROM)??

Thanks!
[Desire Android Development] the-fallen:
What other thread?

I never posted an Android kernel somewhere, seems that you confound me :)

But it should be save to install this kernel (once I have posted it) because it uses the stock configuration (but the sd card speed fixes).

Only if you have used a highly modified kernel before it might be that some special apps that need those modifications do not work. But in that case I am sure you would know that already.
[Desire Android Development] teppic74:
the-fallen: feel free to post your zip if it works fine, but it might be a better idea to do it in another thread in case people want to ask questions about it.
[Desire Android Development] btuser001:
Ohh hahah, I thought you were the OP of http://xdaforums.com/showthread.php?t=815557

And thanks for making a kernel specifically for this ROM, can't wait to try it out :P
[Desire Android Development] the-fallen:
Opening a new Thread? Hmm.. there are other stock or nearly stock kernels with that patch. Mine would only be another one. I just thought it might be interesting for you to offer it as an modpack, maybe with those powersaving-settings activated (like mentioned in my previous post).

How ever, for those who want to try it, here it is:

It can be flashed using the recovery menu. It is the stock kernel from htc.com with those sdcard speed fixes. The zip-package has been made using "koush's any kernel" - tool.

I have tested that kernel but you should make a nand backup before you flash this one - just to be on the safe side.
[Desire Android Development] bubble:
Hi the-fallen,

How's your flashable zip different from frankoid's?

Aren't both based on stock kernel?

On another hand, why do they both include a new wifi module?
[Desire Android Development] wolfeno:
Do we need new powersaving modpack for this kernel?
[Desire Android Development] schalmers:
Thank you for making this available for us to try. I am just curious if we are using the powersaver and wifi/cifs modpacks already how will this impact them? Will we (can we) reflash teppic's modpacs or updates over your modified kernal?
[Desire Android Development] IeU:
Anyone ? :)
[Desire Android Development] scutworker:
Is it possible to update the 'update pack' with the new version of the Youtube app? It is quite a big file, so is taking up a lot of space on my phone.

Cheers.