yashsingh1/xdaforums huggingface dataset:
[Windows Mobile] Lechux:
Hi,

I was searching a little but can't really find topic with some tips and tricks for speeding up/optimizing our roms.

Let's say that my ROM is completed coz it is very stable, now I would like to make it as faster as it can be.

I recently noticed that on 23xxx build RAM usage is huge without any extra application running (even 70% with 195mb total avaliable). I know that is probably 23xxx "feature", but is there any chance to prevent it?

How about slots(?) (I found somewhere info about, but don't really get it) and optimal pagepool (but this question I should probably ask in X1 chef center).

Hope you guys don't mind I'm making to thread for that, but maybe that would be nice if we had that kind of informations in one place.

Cheers
[Windows Mobile] teorouge:
I do second the idea, a "Tweak your latest builds" thread to go in pair with "New WM Builds"! would be nice and interesting for any cook (at least, it would for me!). :D
[Windows Mobile] indagroove:
Read about optimizing XIP:

http://www.mobileunderground.info/showthread.php?t=5438
[Windows Mobile] Nokser:
You have more options :D
[Windows Mobile] cruiserrr:
you can optimize xip and you can also check which background apps you want to be launched at startup. search for launchxx and dependxx and you will find people telling you to disable launch120 and a few others.

I think there is no a single answer to you question: the rom must be optimized to what it has inside: manilla? mega? naked? each one needs its own tweaks.

I think manilla is better for people who want a nice interface for most common operations but it takes lots of resources you may want for other things. The same for mega: nice looking or fast?.

You can also optimize png depending on you device resolution. Eg I have 320x240 qvga so I am downsizing 96x96 png icons.

Another way is to keep you wm folder as clean as possible or use windows extendir. This means modifying the way how you cook programs and icons and there is a lot of posts on these. eg. I cook icons and install non OS cabs with mortscipt from the sd card.

In my signature, you ll find a link to a post covering many of these things.

I think this post it a great idea, not as an inventory of tricks since each configuration needs its own tweaks but as a way to share knowledge.
[Windows Mobile] Farmer Ted:
Yeah, if you're not worried about looks and what-not, then removing manila, using the stock MS dialer, and using the old-style lockscreen will save a boatload of RAM, and things will be a bit peppier. It just sort of depends on how you want to use your resources. Managing startup is also important. There can be a bunch of crap running that just may not be necessary to you. I personally have disabled tmail.exe, poutlook.exe, sapsettings.exe and sipgt_app.exe (I don't miss any of them). They don't necessarily slow things down much, but they do slow down startup considerably.
[Windows Mobile] + Que PPC:
Well optimizing images is great for lil devices... read this

http://xdaforums.com/showthread.php?p=4504081#post4504081

Thanks noonski

and i will post my performance EXT pkg regs... i gues they are needed and so many ppl change them depending on the device as ppl said.

[HKEY_LOCAL_MACHINE\System\StorageManager\FATFS]
"EnableCache"=dword:00000001

[HKEY_LOCAL_MACHINE\System\StorageManager\FATFS]
"CacheSize"=dword:00001000

[HKEY_LOCAL_MACHINE\System\StorageManager\Filters\fsreplxfilt]
"ReplStoreCacheSize"=dword:00002000

[HKEY_LOCAL_MACHINE\System\StorageManager]
"PNPUnloadDelay"=dword:000005dc

[HKEY_LOCAL_MACHINE\System\StorageManager]
"PNPWaitIODelay"=dword:000005dc

[HKEY_LOCAL_MACHINE\System\GDI\Glyphcache]
"limit"=dword:00020000

[HKEY_LOCAL_MACHINE\Drivers\SDCARD\ClientDrivers\Class\SDMemory_Class]
"DisablePowerManagement"=dword:00000000

[HKEY_LOCAL_MACHINE\Drivers\SDCARD\ClientDrivers\Class\MMC_Class]
"DisablePowerManagement"=dword:00000000

[HKEY_LOCAL_MACHINE\Comm\AsyncMac1\Parms]
"DisablePowerManagement"=dword:00000000

[HKEY_LOCAL_MACHINE\Comm\Irsir1\Parms]
"DisablePowerManagement"=dword:00000000

[HKEY_LOCAL_MACHINE\Comm\PPTP1\Parms]
"DisablePowerManagement"=dword:00000000

[HKEY_LOCAL_MACHINE\Comm\L2TP1\Parms]
"DisablePowerManagement"=dword:00000000

[HKEY_LOCAL_MACHINE\Software\OEM\Power]
"ShowMovingChargeBar"=dword:00000001

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Power\Timeouts]
"ACResumingSuspendTimeout"=dword:0000000f

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Power\Timeouts]
"BattResumingSuspendTimeout"=dword:0000000f

[HKEY_LOCAL_MACHINE\Software\HTC\Camera\Captparam]
"EnableCapKeyDelay"=dword:00000000

[HKEY_LOCAL_MACHINE\Software\HTC\Camera\Captparam]
"EnableKeyDelay"=dword:00000000

[HKEY_LOCAL_MACHINE\Software\HTC\Camera\Captparam]
"CapKeyDelayTime"=dword:00000000
[Windows Mobile] seeM_ZA:
I like the idea of this thread :) I hope it builds nicely.

A few more simple (but still effective) tweaks not yet mentioned here:

;Disables HTC ResProxy
[HKEY_LOCAL_MACHINE\SOFTWARE\HTC\ResProxy]
"ShareMemSize"=dword:00000000
[HKEY_CURRENT_USER\Software\HTC\BootLauncher\Services\ResProxy]
"Module"=""

;Disables Push Internet
[HKEY_LOCAL_MACHINE\Services\PushInternetEngine]
"Flags"=dword:00000004
[HKEY_LOCAL_MACHINE\Software\HTC\PushInternetEngine]
"Enable"=dword:00000000
[HKEY_LOCAL_MACHINE\Software\HTC\Manila\InternetPush]
"EnablePushInternet"=dword:00000000
[JASJAR, XDA Exec, MDA Pro Accessories] BLRplex:
Hi, I need some parts for HTC Universal:

1. Touch screen

2. Plastic body (only in good condition)

I live in Belarus, for contacts using that forum (this thread and private message) and e-mail BLRplex@gmail.com

p.s., if you know russian language, write on it

----------------------------

Здравствуйте, мне нужны некоторые запчасти для HTC Universal

1. Тачскрин

2. Корпус (только в хорошем состоянии)

Я живу в Беларуси, для контактов использую этот форум (эту тему и приватные сообщения) и электронную почту BLRplex@gmail.com

п.с., если вы знаете русский, пишите на нем
[JASJAR, XDA Exec, MDA Pro Accessories] Simon_WM:
have you tired Ebay US for us body / houseing..

you can get a silver Vodaphone case with:

LCD Cover

Body Cover

new keyboard

Back Cover

for lyk: $32
[JASJAR, XDA Exec, MDA Pro Accessories] orb3000:
Move to marketplace

It´s better if you use dedicated marketplace section, you´ll have more chances.

There is a member selling Universal, have a look!
[JASJAR, XDA Exec, MDA Pro Accessories] BLRplex:
ebay not supported Belarus...

sorry, where is "Marketplace section"?
[JASJAR, XDA Exec, MDA Pro Accessories] orb3000:
Here :eek:

A mod will move this thread soon to that section
[JASJAR, XDA Exec, MDA Pro Accessories] cheapusenet:
it would be deleted, not moved since only 11 posts.
[XPERIA X10 General] McHan:
I use Outlook (through Exchange) calendar intensely and need it on-line on my phone as well. In my old WM-world this has always been seamless. On the X10, however, I'm having difficulties. The phone's calendar app is linked directly to G-mail which I absolutely don't want to use and while there seems to be the possibility to add other calendars to the phone's view this is actually greyed out in the settings menu. Anyone know how to fix this? I.e. I want to have my Outlook/Exchange calender synchronized with my phone's calendar directly. On the Hero this seems to be standard (HTC no doubt), but here I don't have a clue how to proceed. Hating Moxier with a vengance, BTW...

:confused:

Help?/M
[XPERIA X10 General] cashaw:
I think that Exchange is not implemented in Android 1.6 which is why SE included Moxier in the basic functionality*

I am using Moxier Mail and Calender and they work a treat and sync with my work email/calender with no problems...

* Although a friend with a Nexus ONE has also had difficulties syncing his phone calender with Exchange, so it may not be just an Android version issue.
[XPERIA X10 General] McHan:
Indeed Exchange is not in 1.6 but it is in 2.1. It IS however on the X10 Mini Pro which is also 1.6. Put that in your pipe and smoke it. I'll find out more when I get a Mini tomorrow...

As any widget I've found to put my short-term calendar on the screen (like in HTC Sense) takes its data from the phone's calendar and NOT from Moxier, I'm screwed. Or not good at finding widgets?

Thanks anyway/M
[HD2 General] Swampie:
Sorry if other people have already seen this, I did a search and couldn't find anything. I just noticed that T-Mobile have released (via HTC) an official UK (and Germany and Czech Republic) a 1.72 version of the ROM for the HD2 on the 26th April 2010 (2 days ago).

http://www.htc.com/uk/SupportViewNews.aspx?dl_id=936&news_id=638
[HD2 General] pdahunter:
Is .net 3.5 included in this ROM?
[HD2 General] g__:
Im installing now...where do I find that info ? biggest noob of em all
[HD2 General] danhare:
Is this just for T Mobile usres as the name sugests??

Im on O2, completely new to Winmo and smart phones at that!!!

Not rele sure what i need to do, but im trying to sort things out.;)
[HD2 General] Neville.Holland:
No to 3.5..... shocker

Manila 2012 but I can't see any differences over the former 1920..... please feel free to correct me

Personally, I can't see / feel many if any decent changes.......

If you install, your phone will be as you originally received it (save the updated software) so you will have to re-install everything...

If I had the previous 1.43 I would flash back...
[HD2 General] danhare:
I havent added anything as yet as i only had it since monday!!

Sorry to sound dumb, was is flash back??
[HD2 General] Neville.Holland:
Then you have nothing to worry about....
[HD2 General] quasi_mojo:
is there some sort of changelog for this?

please do report on what its like, particularly stability and messaging :)

then i might do my first HD2 flash...
[HD2 General] jonyid:
i upgraded from original 1.43 stock rom and must say its a lot smoother than before, doesnt freeze up as much very little lagging.

no real difference in battery life, maybe a touch better but the main difference for me is that HTC messaging works instead of me having to rever back to wm messaging.

also, it came with .net 3.5 so i dont know why others have said it doesnt.
[HD2 General] quasi_mojo:
well im sold!

will DL and flash tonight!

thanks for the report jonyid
[HD2 General] bLaZeR666_uk:
Any Ideas

Hi Guys

I cant seem to be able to download the T-Mobile rom from HTC's site. When I enter my serial number the site says that	Sorry, this software download is not suitable for your device. Yet I am a UK user on T-Mobile with rom version 1.66.405.2 what am I doing wrong? :confused:
[HD2 General] fred_up:
What ROM are you using, as T-MobUK have only had 1.43 and now 1.72?

I am also with T-MobUK but I quickly dumped ROM 1.43, HSPL'd and went for the HTC standard WWE 1.66 ROM. Since T-MobUK 1.72 is WWE1.66 with T-Mob bloatware added, then there is no point updating.

If you really want the 1.72 ROM, I'll get it for you.
[HD2 General] bLaZeR666_uk:
Hi Please ignore above I have just discovered even though I bought my phone as a t-mobile one it is in fact the unlocked phone, so am I right in understanding that the latest rom for my phone (according to HTC's Site) is 166.405.2
[HD2 General] Mark3110:
Yes indeed.
[HD2 General] htc-hd2:
Nevermind.....
[HD2 General] I Punch Babies:
Can the US HD2 use this rom?
[HD2 General] sike222:
sorry noob question but how did you know/find out it was the unlocked phone? i also tried to get the new rom and it said i could not have it.
[HD2 General] william-johnson:
I recently upgraded my Tmobile 1.43 Rom to the new 1.72.110.4 from the HTC website. So far it seems to be ok. Not much of a difference: Solitaire and Bubble breaker have been added, You Tube, Bing search and one or two additions as well. Most importanly however is the performance of the HTC messaging program. I used PIM back toback up for my text messages, contacts, calender. Ugraded the ROM, (took about 10mins or less) and restored text messages from the back up file.

Restore process showed me 7000+ texts copied to the device. Restarted the device, checked messaging and got the "restoring messages" status bar. Took about 1 hour since then, I have noticed a marked improvement in the HTC messaging application. Can now continue using the phone even when a text comes in, can delete without having to wait ages for the device to start up again.

BTW I have some apps installed: TomTom 6, Swype, Skype, TCPMP player, Registry editor, etc.

Hope that information helps or encourages someone!

does anyone know if its possible to go back to the 1.43 ROM??? (just curious....)
[HD2 General] stokedanuk:
Noob question here... as I have flashed my device and installed a custom ROM (or many) already will this take HSPL off my device? Will it be ok to do the normal install or will it brick my device?

I'm just trying to get my phone back to stock Rom levels as I need to return it to Tmobile and this is the only place I've managed to find the TmobileUK stock ROM.

Help? Please?!
[HD2 General] stokedanuk:
Can anyone help with this at all? Please?!
[HD2 General] hollinshead:
If you flash it using an SD card it will overwrite HSPL, there are several topics on this. Do a search.
[HD2 General] stokedanuk:
I've searched and read a lot on this subject. I know that flashing from an SD card will overwrite HSPL. I have flashed many a cooked ROM. The problem with this is that the official ROM update utility is an executable file and not a .nbh ROM image. I was trying to find how the official update with the RUU would affect a handset that had been modified or would the official update utility detect the HSPL and brick the phone.

So thanks for the patronising help. Just stop being pretentious and if you want to help people be a little more patient and realise what they're asking without coming on here just to belittle people. Thanks again.
[HD2 General] nosh10:
my friend if you intend to send your phone back to tmobile dont you think you should change the spl back to stock aswell, and no if you flash the rom via usb it will not affect the hspl.

ps check out http://xdaforums.com/showthread.php?t=611433

to return to stock spl.:D

good luck
[Nexus One Themes and Apps] bio-man:
I could be cool to have a soft that edit and trim videos like the IPhone do.

Here, a video that shows how we can trim video on the iPhone

http://www.youtube.com/watch?v=2pGYOkJBJQM

Does someone know an application in this style?
[Desire General] kvmanohar:
Hi

Today I have recieved a Samsung 8GB micro SD card (Class 4) from play.com. I bought this to replace the existing 4GB card i am currently using in HTC desire.

I need some help from the form as I wonder can I just switch of the phone and replace the existing card. What happens to the HTC desire when a new 8GB card is placed... will all my contact (sync with Gmail) still stay??

Anyone in the forum please help...

Thank you,
[Desire General] ohyeahar:
Swapping the memory card won't affect your contacts.

It may be wise to copy everything on your 4GB card to your new card before you swap it in. That way, you can keep your photos and other stuff that your applications may have saved onto the card.
[Nexus One Android Development] britoso:
This has happened twice to me:

1) I modify a xml file in framework-res.apk (using apktool)

(I modified the two slide lock screen xmls. apktol rebuilt it without any errors)

2) push the rebuilt apk back. (didnt sign it)

3) reboot

During the reboot i get a ton of app permission errors, and then a "Failure starting core service" error, a few seconds later the phone restarts

The permission errors ("no group null"):

http://pastebin.com/p2ut8MmB

And then the actual errors:

http://pastebin.com/Hg4M9jcA

Fixed by:

1)pushing the backup framework-res.apk back.

2)fixing UID mismatches using the utility in AMON-RA's recovery

Solution

: http://xdaforums.com/showpost.php?p=6334647&postcount=5

Questions:

What am I doing wrong? :confused:

What triggers the permission errors?
[Nexus One Android Development] djmcnz:
My suggestion didn't work, see below for alternative.
[Nexus One Android Development] Brut.all:
I don't know much about all these signing mechanisms, but I had exactly the same problems when I was testing framework-res rebuilding capabilities of apktool. Tried to sign it using testsign, but had no luck.

I searched for help on IRC and prash told me that I must testsign update.zip file, not framework-res.apk. I did as he said and it worked for me :-)
[Nexus One Android Development] britoso:
Thanks for the info. Great tool by the way :cool:

Will try the update.zip method, and the method djmcnz mentioned.
[Nexus One Android Development] britoso:
Update:

Brut.all's tip worked!! thanks again man. I learnt how to create update zips now :)

Also tried djmcnz's test but it did not work.

update 11/19/2010:

All you need to do is copy/install the file while the OS is not running. The signing part was only needed to allow the update to be flashed

Since AmonRa 2.0 has an option to turn off signature checking all you need to do is

1) update whatever you need in framework-res.apk

2) put the new framework-res.apk in any update.zip whose script copies it to /system/framework. (get a CM nightly if you dont have one)

3) reboot to recovery

4) turn off update signature checking (options>)

5) flash the update. and reboot.
[Nexus One Android Development] herrlado:
Hmm, is this nexus specific? I'm trying to update framework-res.apk

on motorole milestone, but I get only crashreport after my device boots up.

I jarsign and zipalign this apk and set mode 644 before reboot.
[Nexus One Android Development] rori~:
see #3 "..I must testsign update.zip file, not framework-res.apk. I did as he said and it worked for me :-)"
[Nexus One Android Development] herrlado:
OK Thx, do not need we to zipalign framework-res.apk?

Lado
[General Questions and Answers] Stiflerlv:
I have seen ppl saying these htc G1, G2 G3 and G4...

What are actully these models? What phone is what?
[General Questions and Answers] anarchyuk:
G1 is the HTC dream, G2 is the HTC Hero and the others I havent heard of, its just T-Mobile branding of the phones.
[General Questions and Answers] Peteryoung:
anarchyuk has it spot on with g1 and g2.....the only other g3's and g4's that spring to mind are actually for the older htc wizard, which i believe came in two flavours, like the new leo, the g3 and g4 wizards had different specs (slightly) which meant you had to specify your model before performing any rom updates etc. obviously now things are progressing quickly with htc's android development, g3 and g4 are branded about as potential new handsets, but as nothing has been confirmed (i don't believe any of the current handsets are actually g2's by vendor naming convention, or indeed htc's naming convention, it just 'stuck' because it was appropriate for the handset at the time) there technically isn't a htc g3 or g4 ....for the time being at least....

hope that sheds some light:)
[Desire General] Aitese:
So we've got root access. Awesome. Everyone has been looking forward to installing apps to their SD card as well as other neat tricks.

Well, I haven't.

I hate to be the buzz killer but there is a fundamental flaw with the way apps are installed and uninstalled that means even moving them to a spacious SD card is not solving the problem.

Before I go rooting the phone and hacking as a way to eliminate some of the more annoying problems with Android, we need to first distinguish between bugs, technical limitations and poor implementation. Not allowing installs to the SD card out of the box is a technical limitation...Apps2sd creates a Linux partition on your SD but it's not ideal.

But that's neither here nor there. I'm not here to discuss the reletive merits of rooting or using apps2sd. What I want is the underlying code to work properly before I go hacking. It doesn't matter if we only have 100mb of space or 2GB for apps. If I install a 2mb app and them remove it I want the WHOLE 2mb back.

This morning news of the pre release alpha of Fennec (mobile Firefox) was announced. I attempted to install it but there was only 25mb of space on my phone. Apparently this is a BIG install and needed about 39mb. Anyway long story short, it didn't work. No matter how much space I cleared (up to 40.89mb at one point) it still told me I didn't have enough space.

So now I have a phone with 40mb of space and I had to clear out some unused apps to get there...I also cleared out my IM app, Nimbuzz, which I DO use. So I figure I'd install it again...but I'm thinking, it was big! Over 4mb installed. I figure I'll look for a smaller lighter app. I try Meego. Nice, small, but no Skype chat. So I uninstall and try Fring. Nice, has Skype...but no Facebook. The only one with the features I want is Nimbuzz. So I uninstall Fring. Two apps installed. Two apps removed. I look at my space. 35mb.

5mb has seemingly vanished into nothing!!! Meego was only about 500kb. Fring about 1.5mb. Where did all that space go?!?

I reset and there's no difference.

So to my experiment. I needed to verify the space suck bug.

Reset phone. I'm starting with 39.89mb.

Install Robo Defence Free. It's advertised as 1.25mb.

Reset phone. 38.02mb. I've used up 1.87mb with that install. According to App Manager Robo Defence is using up 1.41mb.

Uninstall Robo Defence. 38.18mb. Restart. final = 39.42mb.

In just one app install and removal, I've lost 0.47mb

Why? What has used that space?

Despite having 40mb of space this morning when attempting to install Fennec, I have since removed Nimbuzz, Shopper, Robo Defence, Poker, Layar, and Google Translate and I've not gotten back up to 40mb.

Can someone tell me what the hell is going on?
[Desire General] subharmonic:
Yeah this is a major worry.

I hope someone can get to the bottom of it...
[Desire General] atconc:
Try going to settings - applications - manage applications then hit menu and choose sort by size. This should show you the biggest space hog. My guess is that the browser and/or market caches are getting big as you're browsing for these apps. You can press on market and there will be a button to clear the cache, same for internet.

Hope this helps
[Desire General] Aitese:
Nope, that didn't even dent it. This is a real bother.
[Desire General] yeepeekai:
Have you tried to delete the cache and the data of the application before uninstalling it ?

Under settings/applications/manage applications when you choose an app you can see the size of the application but also the size of the data and the size of the cache. Maybe uninstalling an app don't remove at least the data and/or cache...
[Desire General] JupiterDroid:
Guy's, honestly... You are looking far to deep into this and the word "control freak" comes to mind..

Enjoy your phone and dont quibble over 0.47MB when you have 32gb to play with. A massive thanks to Paul for getting us this root in the first place, we now have options to do anything we want with the phone.

Worry if your phone cannot be used, yes

But worring over small, irrelivant problems will just lower your enjoyment of this beast! Take a chill pill and enjoy that wee can now install apps on the sd card and are not limited to space;)

Cheers Paul;))))):)

JD;)
[Desire General] Raul Duke:
What about those of us who don't plan to root? I think the OP's point here was that this is an issue and rooting isn't really a solution for a lot of people.
[Desire General] JupiterDroid:
Why would you not root? I dont see why you would not open your phone up to obvious advantages and extra app's, especially when these apps have the potential to extend battery life and volume levels, two of which we know with the Desire are pretty dire.:confused:

JD:confused:
[Desire General] EddyOS:
Perfect volume and 2 days battery here mate ;)

I'd only root for A2SD, but might see if Google sort it themselves first as I don't use a lot of apps anyway - it's just a phone after all