Any very naked adroids out there? - Android Software/Hacking General [Developers Only]

ATM Im working with a HTC Touch diamond and dual booting win 6.5 and adroid 2.0.1(2.1) (looking for the links, so you know exactly wich ones).
Its all working very well, except for the android nuking my battery in 2hours (known issue, I know). But besides the battery issue there is another thing I dont like about android: There are too many (for me) useless programs installed. Atm Im working with a prepaid card so I dont have use for any services using internet.
Now my question: Is there a program around that lets me delete the useless program from the image so they dont show up in the menu? Or is there a way to delete the useless programs from within the booted OS?
Im talking about:
Browser, Email, Car Home(?), Gmail, Talk, News and weather and then Market.
So basically: Is there a rom around with just all harware support up to date and all options but with only the phone functions working? (messages, phone call and maybe allarms)..

I don't know much about what ROMs are available, but I have heard for system roms you can just delete them from the file system. You have to be careful because some programs use other ones for resources(market uses IM for auth, at least in 1.5, not sure about 2+). There are plenty of apps that analyze CPU usage to help you determine what applications are using the most battery. I'm not sure what version it was introduced in, but the OS now has something too(Settings > About Phone > Battery > Battery Use). My office gets very little reception so as of right now Cell standby and Phone idle have used 71% of my battery that has been used so far. It even tells you how much the display has used. I use the Fresh 2.0d ROM and it is relatively naked compared to the Sprint ROM.

Related

Funman v.1 Faria Base Rom

IMPORTANT
You MUST have an IPL and SPL at 2.xx or higher (BOTH not just one or the other).
The Phone NEEDS to be CID unlocked or it will not flash correcly​
Well I have been keeping my Faria Base Rom to my self uptill now. But I have run out of ideas what I can do to it.
Well I have made my version that is is simple but has some very usful apps.
I would like to have 3-5 People test out for me and tell me what can be changed, if it is ok like I am thinking of maybe putting it out there for people to play with. But it all depends on the poeple that test it.
So my ROM is for someone that would like a FAST and stable rom that has just what is needed.
Rom version; 2.18.0.0
Build aku 15341 aku.4.0.0.01 WWE
Radio version recommended 2.19
Splash screen Funman v.1
31Mb Free Ram on boot
43Mb Free File space
Whats in the Rom :-
Apps (Program)
Total Commander 2.5PB2
dotFred TaskManager 2.7
Screen Capture
Pocket RAR 3.60
NotePad
Gotan (Like Bubble Breaker, but alittle longer)
Adobe Reader LE v.2.0
Windows Live Messager
Windows Live v.10.6.0026.1400
Live Search v.1.0.2592.31374 (Linked with Google setup, not Mircosoft)
Apps (Settings)
Check Notifications v.1.9
PIM Backup v.1.9.0.0
SMS Notifier v.1.2
SynchroTime v.0.94
HTC X-Button
Other
Comm manger 10 button is installed
Startclean
Bluetooth in Start Menu
Office folder taken from Start Menu to Programs
Added a default SMS MP3
Default Set to UK settings
Reg Hacks
Moved IE cashe to SD card
Scroll bars are thinner
System Sounds are turned off by defalut
Power Batt set to 5mins
Power External set to 5mins
Backlight set to 2nd lowest, batt 5mins turnoff, External 5mins turnoff
Cleartype on both port and lang
Text size to 2nd lowest
Taken out of the ROM
All Themes
All Wav, MP3, and any other useless media files (for Ringer, just place a mp3 in My Documents on your phone or in your card). Please note that you will see the 3 default, but these do not work
MMS items (Will be doing two ways, one with, one without) I don't have these in by default as when I sync I get them all.
Old Keyboard and replaced with mUn Keyboard Skin
Old PhonePad and replaced
SAP
SIMManger
Autoupdate
VoIP
Voicecommand
Transcriber
Java manager
With this Rom you should not have any problems with speed, It runs fast and when using BS it will run faster, but not really used it so dont know if your phone will smoke!!
Download link
Will come soon​
........................................................
Closed for now!!! Need to look at something! Dont know when I will have the time to look at again!​
Tester please complete below:-
Top 10 Good points of the Rom
Top 10 Bad points of the Rom
Apps found useful
Apps no use for
Volunteer
I volunteer... gladly... my basic requirements are working outlook and windows live... and windows media player... i don't need mms... lemme know if this suits your rom
Hey Funman!
Good job [email protected]@
Like to try it out during my transition to the new one build!
I'm ok and in the position....
Let me know if I can testify for ya!
Take care!
Hey funman your rom looks great.
I can test for you. Let me know.
Bye.
Rom looks Great... Def willing to test this puppy!!
Hey your roms looks great to me.
So I volunteer...
Downloading now will report back!!!
Thanks
suggestions
I have got 31mb free ram on boot.
It is quite fast.
Suggestion
What to ADD:
New office2k7
New HTCtask manager 1.5
Audio manager
Java manager
New Sim manager
And Smartskey(it is one of the most useful application)
What to remove:
Customer Feedback
Error repoting
(I think these two are the most unuseful thing.)
Thanks, and there is no extended rom, and if you plan one then move it windows folder for G4 support.
samy.3660 said:
I have got 31mb free ram on boot.
It is quite fast.
Suggestion
What to ADD:
New office2k7
New HTCtask manager 1.5
Audio manager
Java manager
New Sim manager
And Smartskey(it is one of the most useful application)
What to remove:
Customer Feedback
Error repoting
(I think these two are the most unuseful thing.)
Thanks, and there is no extended rom, and if you plan one then move it windows folder for G4 support.
Click to expand...
Click to collapse
Java manager (Left out as my Rom is made for the person that like min but useful, and this is not useful!!!)
New Sim manager (Took out as pointless, as with pimbackup on the phone, you dont need to save your contacts tot he SIMcard)
And Smartskey(it is one of the most useful application) I left it ou as it is not need!!! But you do have the button mapping, but i would not use it for boasting the CPU
New office2k7 Thought about this, and i did put itin there, but took it out again as the new one does not give much yet, as 2007 is not so widly used for the lose of rom space!!!
New HTCtask manager 1.5 Well did not know of this update, so i guess i could add it Do you know what is better?
Well I did not add the extended rom for that reason!!! So maybe will have to put the MMS stuff back in to the ROM
I think its bricked...
It finished flashing... went off... n now it wont start back up again....
Removed the battery and put it back in... its come on now... whew!! it sure gave me a scare at that point...
love the splash screens....
here we go with the set up...
Customising now... will update one its done...
its fast for sure...
Lotsa stuff i dont need... t zones... tmobile customisation...
CPU usage stays low between 1 - 3%. Will update battery drain once it settles...
One can get rid of error reporting and autoupdate... both are useless tools for a custom ROM
Have always had a problem with memory leak and suspect its because of tmail.exe... i use a lot of mail... outlook, windows live and sms put together would easily be more than 200 a day... this seems to be leaking as well... am already down to 25mb within an hour but that culd be because its updating my outlook mail... havent set up windows live yet...
more updates will follow in the morning... my wife's gonna lock the room door from inside anytime now...:-/
rajivshastri said:
Lotsa stuff i dont need... t zones... tmobile customisation...
CPU usage stays low between 1 - 3%. Will update battery drain once it settles...
One can get rid of error reporting and autoupdate... both are useless tools for a custom ROM
Have always had a problem with memory leak and suspect its because of tmail.exe... i use a lot of mail... outlook, windows live and sms put together would easily be more than 200 a day... this seems to be leaking as well... am already down to 25mb within an hour but that culd be because its updating my outlook mail... havent set up windows live yet...
more updates will follow in the morning... my wife's gonna lock the room door from inside anytime now...:-/
Click to expand...
Click to collapse
Ya the t-mobile stuff is just for this!!! If it gets lt out it will not have this!!! And t-zones is not in the rom!
Runs Great, But Phone Ringers Are Corrupted On My End Which Is No Biggy Man. T-Zones Dont Need To Be In There Cuz For Some Reason It No Longer Works Anymore. Might be the reason because T-Mobile Upgraded There New T-Zones For HTC Wing But Im Not Sure Just Know That When you Check Your Account It Wont let you. Another One you Should Add Musicplayer Today For Alittle Bonus And Add The new HTC Taskmanager Like Everyone Is Suggesting. Just So it Could Look Like A Stocked T-mobile Phone. I Love The Splash Screens. Really Fast But There Is A Battery Drain I Noticed But Might Be Because I have to let the battery drain first cuz I flashed. It Is At 50% And I dont have no push email, GPRS, Internet,Wifi, Or Bluetooth Running. I Would Hate To see when I Use Them It would Of Probably Already Been Dead! I Also havent Installed Any Program Either Everything Is Still Stocked. Also Recommend You Put Some Sort Of Battery Task On The Today Screen Like HTC HomePlug So You Can Check your Battery Life. But Pretty Much After That Runs Great Keep up The Good Job. I Will Still Monitor The Battery Situation More!
First view
Hey Funman!
Here it goes to my results...
Top 10 Good points of the Rom
I liked the way you cooked!.
Clean, simple and fast.
It really is and I still didn't have to overclock! Nice!
Got 43.40 of storage and 30.02 of program memory. Ok for me.
Good Customizations like text reduced and folders
Top 10 Bad points of the Rom
Customer feedback and Error reporting could be really removed as it really means nothing.
Phone settings seems to be not working properly. When I tried to change ring tone and clicked OK button, I got nothing. I still kept on that settings tab instead of back to today screen. I tried several times without luck. But I think is just a little thing coz you may get away from that just clicking on today icon and choose today itself.
Noticed duplicated task manager: programs\accessories\settings and in start\settings\system folder.
Apps found useful
Oxios
Windows Live and Search
Adobe Reader LE
Apps no use for
Check notifications.
SMS notifier. I like others like secretary mobile but it can be fine.
Total commander. I prefer Resco Explorer
Registry Editor. I prefer use Resco 2007 built in version
In an overall and as my first impression, I loved it! You did a very custom ROM without a lot of craps and just cooking basic and usefull apps. Good job.
I'll keep going little more now installing my apps. Let you know what happened after that!
Great day Funman!
Regards
funman said:
Java manager (Left out as my Rom is made for the person that like min but useful, and this is not useful!!!)
New Sim manager (Took out as pointless, as with pimbackup on the phone, you dont need to save your contacts tot he SIMcard)
And Smartskey(it is one of the most useful application) I left it ou as it is not need!!! But you do have the button mapping, but i would not use it for boasting the CPU
New office2k7 Thought about this, and i did put itin there, but took it out again as the new one does not give much yet, as 2007 is not so widly used for the lose of rom space!!!
New HTCtask manager 1.5 Well did not know of this update, so i guess i could add it Do you know what is better?
Well I did not add the extended rom for that reason!!! So maybe will have to put the MMS stuff back in to the ROM
Click to expand...
Click to collapse
OK
But Java manager is useful as sim manager, not at the time but may be required in future coz there will be programs that will require java and same for Sim manager. But this is your choice, im just trying to make your rom perfect and complete.
And for new X button go here
im using it and it is very good no bugs.
And office2k7 is also essential coz there are new format (for eg: docx) which will run on new word only.
And yes there are two shortcut of taskmanager(dotfred), one is in programs/accessories/settings and other in settings/system.
Thanks
LiQuiD FrEeZe said:
Runs Great, But Phone Ringers Are Corrupted On My End Which Is No Biggy Man. T-Zones Dont Need To Be In There Cuz For Some Reason It No Longer Works Anymore. Might be the reason because T-Mobile Upgraded There New T-Zones For HTC Wing But Im Not Sure Just Know That When you Check Your Account It Wont let you. Another One you Should Add Musicplayer Today For Alittle Bonus And Add The new HTC Taskmanager Like Everyone Is Suggesting. Just So it Could Look Like A Stocked T-mobile Phone. I Love The Splash Screens. Really Fast But There Is A Battery Drain I Noticed But Might Be Because I have to let the battery drain first cuz I flashed. It Is At 50% And I dont have no push email, GPRS, Internet,Wifi, Or Bluetooth Running. I Would Hate To see when I Use Them It would Of Probably Already Been Dead! I Also havent Installed Any Program Either Everything Is Still Stocked. Also Recommend You Put Some Sort Of Battery Task On The Today Screen Like HTC HomePlug So You Can Check your Battery Life. But Pretty Much After That Runs Great Keep up The Good Job. I Will Still Monitor The Battery Situation More!
Click to expand...
Click to collapse
Where you heck are you seeing t-zones? IT is not in the rom!!! I have this running on my phone right now!!!
-No T-Zones,
-No Ring tones as I said above (just place a ring tone on your card in my documnets)
-Do you have a extended rom installed, as this is your problem with the batt drain!
I think i need to pull the rom and look at a coup-le of things, cus you should not be seeing t-zones for one thing! And i might move the extention to windows folder then you dont have the batt drain problem!
p.s Task manger is there two times out of design!
update: Ok I see why you had the problems with the ring tone!!! Cus you have not put a MP3 in your my documnet folder!!! The OS has put the default ones in but there are not in the rom!!! It must be a reg key or some thing I will look into getting rid! Well i looked at the ringtoens and i think the 3 defaults must be hard coded as i have not been able to find any reg keys that go with them.
epimazzo said:
Hey Funman!
Here it goes to my results...
Top 10 Good points of the Rom
I liked the way you cooked!.
Clean, simple and fast.
It really is and I still didn't have to overclock! Nice!
Got 43.40 of storage and 30.02 of program memory. Ok for me.
Good Customizations like text reduced and folders
Top 10 Bad points of the Rom
Customer feedback and Error reporting could be really removed as it really means nothing.
Phone settings seems to be not working properly. When I tried to change ring tone and clicked OK button, I got nothing. I still kept on that settings tab instead of back to today screen. I tried several times without luck. But I think is just a little thing coz you may get away from that just clicking on today icon and choose today itself.
Noticed duplicated task manager: programs\accessories\settings and in start\settings\system folder.
Apps found useful
Oxios
Windows Live and Search
Adobe Reader LE
Apps no use for
Check notifications.
SMS notifier. I like others like secretary mobile but it can be fine.
Total commander. I prefer Resco Explorer
Registry Editor. I prefer use Resco 2007 built in version
In an overall and as my first impression, I loved it! You did a very custom ROM without a lot of craps and just cooking basic and usefull apps. Good job.
I'll keep going little more now installing my apps. Let you know what happened after that!
Great day Funman!
Regards
Click to expand...
Click to collapse
Oxios ? Ok i cant remeber what this is?
Please can you give me screen shots of T-zones then i can see where you are seeing it!
Okay last night i flashed my Wizard.
This weekend we have Whitsunday festival overhere.
So give me sometime to test your rom.
I will post my findings tommorrow.

benefit of built-in software in ROM

If there is anyone guru enough to answer me that, is it better to include the softwares while making a ROM or using those software after flashing the ROM. including the software in the ROM, wont it make the OS little slow.
I would be grateful if anyone answers in a bit.
as i understand it, the cooks are maximizing the apps in their rom because you will not be able to use the part wherein there is no apps included, unless you make it into more pagepool, but this will come with a price, a faster rom with more battery drain and less program mem
From a chef's point of view, it means less time configuring and installing cab files after flashing. Or suppose you have to do a hard reset on your device? you dont want to have to install/find all those cabs or apps that you use on your phone all the time.
Sometimes the included applications are used to enhance performance
plus you can compress those files and save alot of extra room to install more programs!
Apps built-in your ROM , not to use the memory space
is it better to include the softwares while making a ROM or using those software after flashing the ROM.
including the software in the ROM, wont it make the OS little slow.
Click to expand...
Click to collapse
my point of view..slightly OT, maybe.
+.i am not talking about 4mb-trendy-touch-apps here...1 touch cube app ROM space = 1-30 other(useful) apps.
+. software installed from card takes storage space..(until installed..on card),
+. not all software can be installed on card(info for those with storage mem shortages..)
+. usually yes, it is better to include software(unless you can live a day/week without hardreset) in rom, but,
+. depending on what you include, OS will(touch soft, gigantic unoptimised today plugins, ****ty resident apps), or won't(tcpmp, gsplay, ebook reader, pdf reader, another browser, synchrotime...etc..) be slower.
+. software that is not running won't make OS slower / won't eat your mem,
+. imo, it is good to have softkey applet in rom, gsgetfile, tgetfile, fmodce libs in rOM....
+. you may have added 34580 programms inside rom without almost any RAM usage, until you launch one of them(nonresident apps of course..).
+. you can include cabs in OS, not just extrom - fast method for making reversable customisations, g4 friendly ROM building,
+. you can add things like cleartemp, pimbackup and other useful utilities,
+. applications added to ROM may use your configurations, customized settings, resources.
+. manual installation proces may take some time(these 23 programs, then configuration, 5 softresets...you know..), customized/automated rom may speed things up.
+. upx may be useful,
+. XIP modules may be useful(commgr can be xipped...todayagenda CAN be xipped(400 kb used mem LESS)...etc).
+.you can edit some resources to make things faster(smaller files, optimised resources - commgr, dialer gfx etc)
-.new versions of may be nightmare for some cooked in software(update problems, etc) - cab inside rom instead of oempack may help here - you can uninstall such thing, but when your card die you will know that your java/communicator/browser cab is there, ready to be installed on new card.
-.not all things can be upxed(to save space in ROM), not every program can be built into rom(i.e. gsplayer - cab only), not many can be XIPped,
-.it takes some time to build oempacks, especially with preconfigs...
of course, it's ok to keep soft on card, especially that not needs installation - emulators, unpacked apps, etc..but when card dies..
sorry for poor english..just my 3 cents.
it is not important, if you will just add tcpmp, or whole swarm of apps, will be there always ready to run.
Would agree
Think, I would also go with the idea of including all the necessary softwares in the ROM package...will help while doing Hard Reset...
A Question: Are we going to see your ROM here???
mikaarce said:
as i understand it, the cooks are maximizing the apps in their rom because you will not be able to use the part wherein there is no apps included, unless you make it into more pagepool, but this will come with a price, a faster rom with more battery drain and less program mem
Click to expand...
Click to collapse
Any evidence that larger pagepool means more battery drain ? Thanks...
Miraco said:
Any evidence that larger pagepool means more battery drain ? Thanks...
Click to expand...
Click to collapse
the problem with the batterydraining is with this programs that stay resident
and take some processing time.
also a common problem is a corrupt extended rom due to wrong settings or
changed pagepool and such. Hardreset sometimes help but it wont set things
right if they werent so in the first place.
having bad reception also drains a lot battery as it needs to search over and
over thus keeping the antenna activated. (for example look at the
batterydrain when making a call.)
Leaving the backlight on.
the bluetoothstack when its on takes also a lot of batterypower.
in combination with wifi it will have a huge drain.

G1 Startup Manager

Running Applications
Hi, im considerably new to the whole android development i have a g1 since early december and have upgrade it to the modded JFC 1.31 ADP. I also have the adp spl i think thats what u call it .
My question relates to the running processes/tasks/programs. I am concerned about the amount of programs that run in the background. Is there a way to cut down on this?
I have already removed Calendar, Amazon, Calculator, Calendar Provider seeing as how i do not intend on using these as for calculator i have installed a scientific calculator.
Its more or less Facebook, Craigslist, Imeem. The other bckg progs Gmail, Messaging, Alarm Clock are all smth i use so therefore i have no issue on that but ive tried editing settings on Craigslist, Facebook, Imeem and others to change the update interval and have maxed those out but still tend to run in the background i use the programs but i dont need them to update themselves.
Edit: I have also stopped the auto sync on Calendar, Gmail, Contacts Seeing as for Calendar i dont need it, Gmail i check it often, Contacts i dont use on my gmail service.
Have you got the task manager app from the app store? Thats what I do, and kill all the apps I don't need active.
TimSykes said:
Have you got the task manager app from the app store? Thats what I do, and kill all the apps I don't need active.
Click to expand...
Click to collapse
Yes i have, however they keep coming back up!
yeah I know some of them do. to me I don't know why alarm does. I don't even have a alarm set on my phone.
They come back due to the way android handles and saves tasks. The OS will keep resurrecting them thinking they are just dormant and were axed by them.
ArronL said:
They come back due to the way android handles and saves tasks. The OS will keep resurrecting them thinking they are just dormant and were axed by them.
Click to expand...
Click to collapse
So is there a way around this or not?
yeah.. im having the same problem, i shut them all down via task manager, but after like 1 minute i go back in there and they all come back up, is there any way to make them be off permanentally till you use them again?
tbh, the way the android works, if it keeps bringing these programs back they're probably not eating up too much memory.
in fact, no matter how much crap is running in the background i've never experienced any lag or anything. makes me wonder if there's any point in killing apps, except for ones that may be constantly connected to the internet.
Meltus said:
tbh, the way the android works, if it keeps bringing these programs back they're probably not eating up too much memory.
in fact, no matter how much crap is running in the background i've never experienced any lag or anything. makes me wonder if there's any point in killing apps, except for ones that may be constantly connected to the internet.
Click to expand...
Click to collapse
Well i definitely notice a lag, although i agree with you on the applications i removed like 80% of them now just using ones i need and just installed the 1.41 everything works great. But run about 10apps let them run in the bckgs and slide the main application tab on the home screen up and down and scroll through the programs. Then kill about all apps but 3 to account for ones you need and try it again you should most likely notice a difference.
Not on lag but background processes use up battery to, I did a wipe and have like four apps on my phone: aim astro any cut and ak notepad (wow must like A's) but my battery life is noticible better than before, I can go a whole day with out having to charge vs having to charge every few hours
does anyone know of a startup manager for the G1 for EG when i reboot or start up my phone i get a lot of services and programs which i use but do not want to start on boot.
i can use task manager to close them once the phone is started but wouldt be happy for something that disables these from the start.
Has anyone found a way to modify what OEM apps boot at startup?
So using Task Manager for Root Users we get this peek into what's ?running? on our phone. or am i sadly confused..
upon initial boot and after letting the phone boot fully (about 3 minutes) i get this list in my taskmanager..
Task Manager ---not oem
Service Viewer ---not oem
MyFaves storage
Messaging
Voice Dialer
Google Talk
Maps
Calendar
Alarm Clock
Power Manager ---not oem
Missed Call ---not oem
Messaging
Phone Recorder ---not oem
MyFaves Storage
Voice Dialer
Google Talk
Maps
The list remains the same even after several refreshes..
...oddly only after killing a few tasks this is added?
Gmail
note: at this point in service viewer/tasks, only taskmanager, launcher and service viewer are present..
After killing every process through multiple refreshes messaging (which I assume is a critical app tied to the notification bar) is the only thing that remains until i load something else..
First question..are the apps listed in task manager actual hurting my battery/memory/cpu performance?
Secone question..Is there any way to auto-kill these tasks upon boot, other than by removing them? Or is there some boot.ini type file that could be editted?
sry for the long post, just curious if something can be done...
Yeah id also like to know how to manipulate what starts up on boot.
Any dev should be able to tell us.
Plenty of apps start at boot.
Seriously I would LOVE the answer to these questions. Thanks
Now while this isn't coming from a dev, when I look at the running app list I often see things I haven't touched, but they won't start unless the phone's been idle. I think what happens is it actively fills empty ram with programs so they will start faster, so I think it's just in the nature of Android.
Fushichou said:
Now while this isn't coming from a dev, when I look at the running app list I often see things I haven't touched, but they won't start unless the phone's been idle. I think what happens is it actively fills empty ram with programs so they will start faster, so I think it's just in the nature of Android.
Click to expand...
Click to collapse
yes but dont they use up cpu/memory/battery? plus i dont think the programs are so resource heavy that they would need a process running.
An answer from a Dev is what we need
I think what we need is an explaination as HOW a program can autostart on boot. If every program on my phone (stored to sd) started automatically when I turned on my phone I'll be waiting a week for it to start up. There has to be a script that these programs add to or something to run these program automatically. Either that or it's the programs themselves that are set up to start up by themselves. Where if that's the case I think we're screwed.
I'm also VERY interested in this.
Also, how to keep apps from auto-restarting once you kill them. PixelPipe has a background service that, once you start the app after reboot, it won't die. Their app support guy states otherwise tho, heh.
Also, I like how the OS says a program has "died"
I wouldn't really worry about it. For one most of those processes will be sleeping. They use no CPU time when they're in this state. Some processes register an event with the kernel and just sleep forever until that event occurs and the kernel reactivates the process. Some processes sleep for a specific amount of time, wake up and do some task, then go back to sleep. In both cases the number of CPU cycles being used are likely negligible. Most of those start-up programs will fall into one or the other category. The stuff that does take up a fair amount of CPU cycles are things like the multimedia system, the UI system, messenging, etc. In other words, the stuff you want to keep running.
Also, I wouldn't pay too much attention to those memory usage numbers. There's heavy use of shared libraries in the system. Ordinarily processes are only allowed to access memory that is allocated to them. This memory is where the process stores the bits that make up its code (stuff that doesn't change) and where it stores its working data (stuff that does change). Its actually more complicated than that but this will suffice for now. Libraries that are not shared are accessible only to the process that is using it and is stored in the memory allocated to it. Libraries that are shared can be used by multiple processes. These shared libraries are allocated to one place in RAM and when an app needs to use one of them the kernel takes care of mapping the location of the library so the app can access it as if it was in its own memory space.
The memory usage numbers you are seeing do not take into account these shared libraries. An app may be using only 1 or 2 MB of RAM but since it uses a shared library the RAM being used to hold the library is also counted and the size could be shown as 20 or 30 MB higher that what it actually is. You could kill a process and recover some memory but its probably not enough to be worth it since more than likely most of the RAM being used was in shared libraries and they'll still be there after the process is gone.
numerik, thanks for the info. But now I guess my bigger concern would have to do with this part:
Some processes sleep for a specific amount of time, wake up and do some task, then go back to sleep.
Click to expand...
Click to collapse
Similar to the problems we run into in windows. Some lame program gets added to msconfig (be it a m$ app or wicked virus), it sits there idle when you fire up your computer uses a minimal amount of cpu amd memory then does who knows what whenever it wants.

Free RAM issue!

hi there...am a big fan of the vox....but the problem that i face after say 2-3 days of continuous use is the memory leak. it has abt 22 mb free when i soft reset, but after this time, has less than 10 mb remaining. i shut down programs regularly, use the hibernate function on smart toolkit, and i use sk tools lite to use the memory free function. could anyone solve this problem? i read somewhere that a rom upgrade may solve this issue. tried the htc website, it says the rom upgrade is not suitable for my device. can someone help? someone like dr. martin gonzo or frauhottellmann? r u there? my device details are below
CE OS 5.2.1236
Radio 4.1.13.41_02.88.90
ril version 2.002
Pls tell me which ROM is the most stable, if i need to update any thing else too that is available on this forum/ I have photo contacts pro v 5.05 andfacade 1.4.10 running in the background.
Oh i forgot. I use smart toolkit too
The ROM is 5.2.1236.17741
I would prefer a light ROM, as I dont use word mobile. I have documents to go instead.
scanman1 said:
hi there...am a big........
I would prefer a light ROM, as I dont use word mobile. I have documents to go instead.
Click to expand...
Click to collapse
Try fireburned's Clean ROM or fraun's Lite ROM, both of them are super fast and super stable .
Backup - some doubts
thanx.....downloaded it, will it work and install with my vox as per the details ive mentioned above?
my second query....im not too particular abt my messages and stuff, and ive just synchronised the data on my mobile to outlook ( contacts, tasks and appointments )....is this enough or must i properly back up everything else? pls lemme know. as ive never flashed a rom before.
also, will flashing a new rom delete the stuff on my storage card?
scanman1 said:
thanx.....downloaded it, will it work and install with my vox as per the details ive mentioned above?
my second query....im not too particular abt my messages and stuff, and ive just synchronised the data on my mobile to outlook ( contacts, tasks and appointments )....is this enough or must i properly back up everything else? pls lemme know. as ive never flashed a rom before.
also, will flashing a new rom delete the stuff on my storage card?
Click to expand...
Click to collapse
Search for PIM backup, that is a software which back up all your PIM information to Storage card, or whatever folder you wish. No flashing will not delete anything from the storage card. But be sure that you are not using Encryption on the SD Card.
thats ok...i have sprite backup with my phone. will have to reinstall it though/
my question is....is a fullback up necessary or will an outlook sync be enough? when i reconnect after the flash, active sync will set up a partnership again right? will that delete all the outlook data stored on my comp or will my comp refill the pim data back on to my device? thats what i want to know.
also, will the new rom significantly alter my battery life? am a doctor, and it may not be possible for me to keep charging my mobile when i am on rounds and so on
one more doubt, addicted2xda. will flashing one of these custom roms solve the memory leak issue? its driving me crazy. cant go 3 days without doing a hard reset. and how much will teh free memory be with say, fireburned lite rom?
Well after a couple of days you will of course have less RAM available. You always have to close apps in the task manager and use some RAM-free-up app! I use the function of sktools lite!
frauhottelmann said:
Well after a couple of days you will of course have less RAM available. You always have to close apps in the task manager and use some RAM-free-up app! I use the function of sktools lite!
Click to expand...
Click to collapse
yes boss...i use sk tools lite too. but it doesnt make too significant a difference, with the end result that after say 3-4 days, memory dips to less than 8 MB, and voila! my phone hangs!
am now trying out fireburned's lite rom, seems good for now. lets see! any further ideas to minimise the ram leak?
Use the taskmanager - as frauhottelman said already - to identify the processes that grow over time. You can use the built-in, just change the view to "process" and sort by memory. WMPlayer or Audiomanager are memory hogs from my experience.
For debugging you may also want to execute "devicehealth.exe". This will create a decent summary of memory consumption to the root (or card-root). You may have to search for it (in the forum or or the web). It is a tiny tool from the SDK afaik.
tobbbie said:
Use the taskmanager - as frauhottelman said already - to identify the processes that grow over time. You can use the built-in, just change the view to "process" and sort by memory. WMPlayer or Audiomanager are memory hogs from my experience.
For debugging you may also want to execute "devicehealth.exe". This will create a decent summary of memory consumption to the root (or card-root). You may have to search for it (in the forum or or the web). It is a tiny tool from the SDK afaik.
Click to expand...
Click to collapse
have been using fireburned's rom, seems pretty stable. however, after doing a sync with active sync, the memory which was say 17 mb, dips to 14 mb or less. any hibernate function or say, the task manager or even the sk tools function brings it back to only about 15 mb or a little marginally higher. the more times i use activesync, the same problem occurs. say i use it three times, the memory lands up around 12 mb, after all programs have been shut down. and after using the hibernate function on smart toolkit. any ideas? did a search and found that it s a process called gwes.exe which hogs memory mostly. but this is guess is a system process and cant be shut down i suppose. any suggestions? ur take on this, frauhottellmann?
Still problem not solved!
hmm..tried using the ram free function on sktools. seems to actually decrease the amount of ram available!!! and with each use of active sync, the available ram decreases sharply. my wife has an imate spl, and the amount of ram remains constant around 25MB even after 10 days....anyone have any ideas? have read somewhere that it is a problem peculiar to vox. the problem with decreasing ram is, after 3-4 days, the dialler starts malfunctioning. i am able to make out the calls ringing, but no way i can pick itup. max, i can cut the call. it registers as a missed call....any body with any ideas out there? any way to cut the ram leak?
one more doubt,,,the old sk tools had an optimize wizard. the latest one seems to be lacking this feature. is there anyway that the active sync filesystem can be made read-only ?
Pretty strange. Are you using any third party software that may be causing the problem? Also note that after using activesync, it doesn't shutdown on its own. You have to manually shut it down to release the memory. Further try using the default home screen, instead of the sliding panel which comes with new 6.1 ROMs.
Because I normally have more than 20 MB free . No matter how long I have kept my device on.
Or better still, just reboot the device before going to bed .
yeah. i use photocontacts pro and smart toolkit in addition to microsoft voice command. and is it a good idea to keep rebooting the device daily? i thought the rom upgrade was supposed to fix that!and i love the sliding panels. the default homescreeen sucks
scanman1 said:
yeah. i use photocontacts pro and smart toolkit in addition to microsoft voice command. and is it a good idea to keep rebooting the device daily? i thought the rom upgrade was supposed to fix that!and i love the sliding panels. the default homescreeen sucks
Click to expand...
Click to collapse
Sliding panel really drains the battery like hell. Its not a problem if you reboot your ROM daily. I flash my device (both), well almost once a week atleast . So that requires rebooting as well. I really don't know whats wrong, but I never had the RAM issue, try fireburned Clean ROM or fraun's lite ROM for a change and see if you find any difference
I have same problem with my htc vox

*RANT* bad Android memory management

Guys I have problem with Android smartphones. I am not the youngest anymore and remember the first PCs and first smartphones with 32x less memory then an average handheld device has today. I played with them all and know what they could do. The thing that still continues to surprise me till today on Android is WHY the heck can't an app stay in memory without being quit on the first occasion?? I really think that Android will never be usable for any serious work if things keep closing or reloading just after a few switches between apps!
Some examples: why can't I switch between Chrome browser and Onenote to type something without having that webpage be reloaded again using more data and sucking more battery power? I learned not to risk writing any bigger post into some forum lately because if I would have to switch to another tab to check some info or switch to another app the in progress text would most likely be lost because webpage would reload! Why is it so risky to switch out of some game to write a message or check calendar because it is very likely to be killed and my progress lost? The phones I used recently (Xiaomi Mi2s, Xperia Z3 compact, Xperia Z5 compact) have frikin 2GB of memory, so I wonder if nowadays apps are so much more memory demanding then before that this is simply still not sufficient. I just checked settings and some apps I just tested use few tens of MB, so it is still comparable to the times of Windows 98 or Windows mobile IMHO.
My first smartphone was windows mobile Samsung Omnia II with just around 90MB of usable memory and let me tell you that this problem was not happening on it! I could have several tabs with webpages (even non mobile versions) open and could safely switch on the camera, take pictures, write an sms and go back without having to worry that anything will be closed or reloaded! Why can't I open a camera app on Android and take a photo without having the previously open app be closed?
I can even compare today's android phones to one of my oldest pcs back in year 2000 or so. Imagine that it had just 64MB of RAM. I could have open many webpages in Internet Explorer (yeah it was far the best at that time , a few editors for web and text editing and I could even play some game and alt+tab back and forth without any problem! That was Windows 98 guys. Of course you will tell me that today's web pages for example are much bigger then in 2000. OK but what about mobile versions huh? I don't think they are that big so a phone with 2GB of RAM would choke.
I always thought that apps are supposed to be paused/frozen when I switch out of them but left in memory. Unfortunately it seems apps are being killed surprisingly often even when settings / memory shows hundreds of RAM free. The thing that is even more weird to me is that apps I had open just a few seconds ago are being closed upon switching to some other one and back, but the ones which I had active hours ago often stay in memory! That does not make much sense. Why doesn't android kill the longest not active apps first instead? OK, so do I have to buy OnePlus 3 or Meizu Pro 6 with 6GB of RAM to be able to keep simple 3 apps open without worrying that they will reload when switching out of them? As I showed this does not happen on much older devices with similar specs, so is this some fundamental flaw/feature of Android architecture or am I missing some simple explanation?
If you have experience with Windows Phones or iOS regarding this please share and compare.
So it seems everybody agrees
But I would really like to know some of your experience with other phones from the fruit company for example...
java
---------- Post added at 07:20 PM ---------- Previous post was at 07:11 PM ----------
> Why doesn't android kill the longest not active apps first instead?
There is some heuristic going on that calculate the oom priority and modifies /proc/PID/oom_adj so. For example (foreground) services have lower oom_adj (less likely to be killed by oom-killer). Actually I ended up adding code to my app that overrides /proc/PID/oom_adj to a really low number to keep it running (but that requires root - I also dont understand why *the user* does not have a chance to say "hey android keep running this app in the background!")
> Unfortunately it seems apps are being killed surprisingly often even when settings / memory shows hundreds of RAM free
Yeah that "low memory value" (ie when to kick off the oom-killer) is also set somewhere in /proc (?) It's 200MB on my phone with 2 gigs ram IIRC. To test what's getting killed (and whenl, etc.) this app is superb: https://play.google.com/store/apps/details?id=com.tspoon.androidtoolbelt
it's all even more annoying because starting even basic apps (like dialer or contacts etc. etc.) takes even seconds(!) if they are not in memory already (on any phone!) ... oh, well, java
Thanks for a reply! Have anybody tried MIUI? There is an option to lock an application and supposedly prevent it from being killed when multitasking. Just swipe up in tasks view and it marks it with a lock. I have just read this article and it seems manufacturers set these LMK values. I have a feeling they are really high for Sony phones. Maybe if I root mine I would be able to change those. Unfortunately it seems without root I cannot even view these values. They show as 0 in /sys/module/lowmemorykiller/parameters/ and cannot be opened. I can't open those oom files either.
yeah, defo need root for this
Oh and it gets worse. Because of this behaviour many apps use a nasty trick of setting up an alarm (usually with wake lock) triggered every second to make sure they are running (if a process is not running and there is an alarm for that process set up, the process is started).
So what happens is that the OOM/low-memory killer kills the app it is started by android framework the next second ... and it might get killed by oom-kiler again ...
It's interesting to run "apktool d foobar.apk" and grep the smali for "AlarmManager.set" on apps that want to run in the background ...
CleanMaster app is good and it saved me from exhausted internal capacity issues many times (on Z3Compact) and it also shows apps which frequently restart. Is that because of what you just wrote? I remember it was Pinterest a lot for example.
and it also shows apps which frequently restart. Is that because of what you just wrote? I remember it was Pinterest a lot for example.
Click to expand...
Click to collapse
sounds like it could be the case but you it's hard to tell for sure - you would have to have a look at logcat at least
I have logcat. What would you search for there?

Categories

Resources