Related
I have a couple of questions about linux-swap.
So I'm on the Hero 2 rom and I have 32MB swap partition. I want to go to the JACxHEROSki-v2.0 rom and at the same time make my swap partition bigger before I flash but I'm unsure if it's safe to go bigger than a 32MB.
"DO NOT USE MORE THAN 32MB SWAP!!!"
They placed this right above the example of how to partition your SD card on the JACxHEROSki-v2.0 but "RECOMMENDED VALUES linux-swap partition = 64MB" is what they placed as recommendations!!! So I'm a little confused. Anyone want to show a little experience?
How about this. Re-partition your sdcard with 96mb for linux-swap. Then when you want to change it go to the recovery console and type
Code:
parted /dev/block/mmcblk0
resize 3 x y
print (to verify it worked)
quit
reboot
Substitue in the start and end points for the file system for the x an y respectively. This will give you the ability to play around with up to 96mb of linux-swap space with the ability to change it out whenever you want without repartitioning the entire sdcard.
Personally testing something is always better than having some one tell you what to use.
Gerson2407 said:
I have a couple of questions about linux-swap.
So I'm on the Hero 2 rom and I have 32MB swap partition. I want to go to the JACxHEROSki-v2.0 rom and at the same time make my swap partition bigger before I flash but I'm unsure if it's safe to go bigger than a 32MB.
"DO NOT USE MORE THAN 32MB SWAP!!!"
They placed this right above the example of how to partition your SD card on the JACxHEROSki-v2.0 but "RECOMMENDED VALUES linux-swap partition = 64MB" is what they placed as recommendations!!! So I'm a little confused. Anyone want to show a little experience?
Click to expand...
Click to collapse
if they suggest something then go with it. they said 64mb for 2.1, so go with 64mb. its not hard to understand
Ignore the warning, I don't really understand why it's there. I have run with 64 mb swap and 32 and 62 is significantly faster. I have even heard of swaps in the 100's that is apparently load screen free.
clefky10 said:
Ignore the warning, I don't really understand why it's there. I have run with 64 mb swap and 32 and 62 is significantly faster. I have even heard of swaps in the 100's that is apparently load screen free.
Click to expand...
Click to collapse
well 32 just happens to be more stable in the long
Or if you use what i posted you can change it any time you want and see for yourself which is better.
32, 64, 96, 200+???
I have browsed around various different forums regarding this issue and couldn't find anything definitive. If possible, can I get a developer to answer this question? What size should the linux-swap be to run hero ROM with minimal lag and no "htc" loading screens? I seen one guy say he has 300MB for linux-swap. Is it bad to have your swap set really high? If so, explain. Thanks to anyone with an intelligent answer.
Twisted uses 100mb, I use 128mb. I havent had any long term bad effects and forgot what the loading screen looks like.
Johnny Blaze said:
Twisted uses 100mb, I use 128mb. I havent had any long term bad effects and forgot what the loading screen looks like.
Click to expand...
Click to collapse
Just to experiment, I set my swap last night to 256MB. I know its kinda high, but just wanted to see the performance difference. The funny thing is that I have not seen any "htc" loading screens, but im starting to see weird lag in other areas. One example is when im switching from screen to screen. It was smooth before with 32MB, but I got the "htc" loading screens. I will repartition it for 128MB to see if I can get rid of the "htc" loading screens and lag. I'll reply after my testing...
Rom: JACxHEROSki-v1.8
SDHC: 4GB Class 2 [I know, im too lazy to order the $10 Class 6 4GB]
When running Hero I usually go with 64mb swap with 60 swappiness. A higher swap will not see loading screens ever but will initially lag like crazy. You can go 96 but I personally saw lag from that also. And actually in JACHEROSki-v2.1 thread he says 64mb recommended.
My testing is complete. I'm using 128MB linux-swap and my hero ROM has been flying. No loading screens and no real lag. It looks like 256MB was too much and 32MB is too little. I'm fine with 128MB.
SG_Shadow said:
My testing is complete. I'm using 128MB linux-swap and my hero ROM has been flying. No loading screens and no real lag. It looks like 256MB was too much and 32MB is too little. I'm fine with 128MB.
Click to expand...
Click to collapse
you phone is going to lag later on. its fast for now. but bad later. 32mb is the most stable according to devs.
in all honesty how long does someone keep a hero rom on their phone without flashing another one? if someone wants to use a large linux-swap partition then just every few days or so destroy it and make another one.
besides we want instant gratification not long term benefits (that's just society in general)
david1171 said:
in all honesty how long does someone keep a hero rom on their phone without flashing another one? if someone wants to use a large linux-swap partition then just every few days or so destroy it and make another one.
besides we want instant gratification not long term benefits (that's just society in general)
Click to expand...
Click to collapse
thats your opinion. i just stated a fact.
and i disagree society want instant gratification. some ppl actually think about long term . i.e. getting dream over magic. magic has a longer lifetime than g1 and is a better investment in the long run. some people loook for longevity
this isn't the forum for sociology, but i do mean look at all the "diet" pills, the easy way out, all the fast food places, the i-want-it-now-an-damn-the-consequences crowd. yes there are some people that plan ahead and think of the future, but there are also those that do not. just from things i have witnessed and observed the second outweighs the first.
brian_v3ntura said:
thats your opinion. i just stated a fact.
and i disagree society want instant gratification. some ppl actually think about long term . i.e. getting dream over magic. magic has a longer lifetime than g1 and is a better investment in the long run. some people loook for longevity
Click to expand...
Click to collapse
If you look for "longevity" you would not mod your phone at all. These actions can result in a shorter life span of your device. *FACT* If you want "longevity" stick with the OTA garbage t-mobile pushes you. I don't mean that to be offensive towards you, just t-mobile.
Right now my G1 is still flying with 128MB swap. Running for more than 18HRS with no re-boots, htc loading screens or lag. I will more then likely flash a new hero ROM once one is available.
I have to agree with David and shadow on this one. Get that rom rollen as fast as you can, then wipe ext3 when needed
SG_Shadow said:
If you look for "longevity" you would not mod your phone at all. These actions can result in a shorter life span of your device. *FACT* If you want "longevity" stick with the OTA garbage t-mobile pushes you. I don't mean that to be offensive towards you, just t-mobile.
Right now my G1 is still flying with 128MB swap. Running for more than 18HRS with no re-boots, htc loading screens or lag. I will more then likely flash a new hero ROM once one is available.
Click to expand...
Click to collapse
i disagree if you want longevity ,then dont mod.
the fact that some older roms run better than new roms. i.e. akirahs 1.5.1 runs better than the other akirah roms. or jac 1.6r2a is more stable than 2.1. longevity is a positive. some people actually stick with older roms just becuz of the bugs contained in newer roms.
and thats 18hrs. thats very short to some people as well.
and some ppl prefer stability than speed and vice versa.
why swap at all it can mess up ur sd card!!!
oh and p.s people suck in general its fact. some are good but most of selfish and needy gluttons.lol
jmon777 said:
why swap at all it can mess up ur sd card!!!
oh and p.s people suck in general its fact. some are good but most of selfish and needy gluttons.lol
Click to expand...
Click to collapse
tho swap will shorten your sd card lifetime, it would take a while for it to be destroyed. by then new sd card and technology are out and cheaper.
right now a 4 gig class 6 is 10 bucks. that should last about a year or a little more using swap.
I thought I had 512MB of ram on this. I opened task killer and it says 117mb free. Surly Android isn't using all of the other ram?
There is a small bug/issue with the stock Android o/s even 2.1 suffers from this.
With the mod/kernel I use below I can get up to about 275mb right after a fresh app task wipe. Then closer to 200-220mb when under normal use which is pretty good.
Macmee said:
I thought I had 512MB of ram on this. I opened task killer and it says 117mb free. Surly Android isn't using all of the other ram?
Click to expand...
Click to collapse
You need to install a kernel that utilizes highmem. Basically, the easiest way to achieve this is to install a rom which has this by default (cyanogen is a popular option).
It's busy doing what it was put in the phone to do.
The other half hasn't woken up yet.
what they are saying is that google has not yet enabled the other half of the nexus one's RAM yet. so the stock nexus one only has half of the 512MB active, which is 256MB. so some of the custom ROMS, when rooted and installed, open up that additional RAM, giving the full 512MB.
who knows why google did this. maybe they thought it was a battery saving issue and that 256MB was plenty for users. or maybe they have some surprise in store for the nexus and will open it up in an upcoming OTA update.
This is a huge disappointment. I can't root because I can't risk breaking my nexus I paid the full price for it!
paid full wack for mine also, but hey what the heck, rooted and stuff as soon as it came through the door.
Macmee said:
This is a huge disappointment. I can't root because I can't risk breaking my nexus I paid the full price for it!
Click to expand...
Click to collapse
I paid full price for mine too and my wife's N1. You wont brick your phone unless you screw up a Radio flash for the most part.
So either get comfortable with it and flash everything you want, just flash to a new modded o/s or just leave your phone alone and wait for Google.
In the end you do have to be comfortable knowing your warranty could be in jeopardy though. I have heard some cases of HTC still fixing hardware defects on rooted phones.
Ahhh I want to, I really do, but I so much don't want to break this
Macmee said:
This is a huge disappointment. I can't root because I can't risk breaking my nexus I paid the full price for it!
Click to expand...
Click to collapse
This has been well discussed at length, and has been one of the bashing points used by the fan boys.
Besides that, the info in here is a bit wrong. It isn't set at 256MB, it is more like just shy of 400 IIRC, want to say 388 to be exact.
Also, have you noticed a lack of RAM yet? You say you still have 100MB free? Well, that is pretty damn good to say the least. Do you really need another 100MB of RAM sitting there doing nothing?
And it isn't a bug either... grrrr... it is because the Kernel's that do support the extra RAM were not stable enough at launch. Can you imagine what sort of uproar there would have been from people if their phone jsut randomly rebooted once every couple days? Maybe even once a day?
You're right. The lowest I've been to is 30mb free, when I was running around 7 apps. I'll just wait for the official google fix
before rooting, task killer would only free up about 70mb, i think. don't quite remember. now, after rooting and flash to enom's rom, task panel can free up around 260mb
timothydonohue said:
before rooting, task killer would only free up about 70mb, i think. don't quite remember. now, after rooting and flash to enom's rom, task panel can free up around 260mb
Click to expand...
Click to collapse
That's because you're killing services and apps that don't need to be kill and actually have a negative impact on loading speeds.
Macmee said:
You're right. The lowest I've been to is 30mb free, when I was running around 7 apps. I'll just wait for the official google fix
Click to expand...
Click to collapse
There you go! It is one of those things, when you notice your numbers are too "low" you are like what the heck? But until you saw the numbers, you never thought to yourself "man I wish I had more RAM since this thing is slow and can't multi-task my apps right".
I ran bone stock for the first month I had my Nexus One, never said once to myself I wish it was faster or had more RAM, ok that is a lie I always want faster, but never once was I honestly sitting there saying that because the phone was so slow.
I did finally root and start flashing (a month without flashing is a REALLY long time for me, longest I have ever owned a smartphone without flashing). And to be honest, despite what some may say, the custom ROMs really are not that much faster, and it matters about the kernel more than anything. And actually, I run into lag at times with custom ROMs that are not there with the stock ROM, granted some tasks are a bit quicker, I have themese, and what not to make up for it. None the less, speed and stability can co-exist, but you have to give up one for the other in general.
just root the thing and move on with life... ive got news for you... if you drop the thing on concrete and shatter the screen, HTC doesnt care whether its rooted or not... YOU BROKE IT YOU FIX IT
my car has like 50,000 mile warranty on it, but im pretty sure if i pour jet fuel into it instead of gasoline and I blow my block, the dealership is going to laugh at me and my warranty even if my car only has 200 miles on it...
root it and take care of it... its really not that hard...
By installing the new ROM my phone works better and faster, no lagg.
But I understand that it can be even better...
I have deleted bloatware (using root explorer) and at this point have not reinstalled many of my apps (waiting for the next DC ROM release)
How can I find how much free space / memory I have left on my phone?
RAM, MB, etc?
I have read that if you monitor the use of space then it will be a fine tune machine.
I read about Ap2sd and that might help? Others say it doesnt beacuse it slows the response time when running an app.
Any words of wisdom?
Thanks
Any help will be appreciated.
I know, I know...DB comment but get an EVO. No substitute for raw horsepower.
4 Things.
1. Over Clock
2. JIT
3. Remove Sense (optional)
4. Class 6 SD card, not a cheap-o
should be in q/a or general forum. not here for future reference this forum is really for devs and ROM discussion only...not general questions like this.
with that said...
each person could probably give you their own ways of tinkering with their ROM and making it "faster".
You can download systraymonitor from the market, which gives you RAM/MEMORY/BATTERY, etc.
A2SD could be beneficial if you are installing more than 25+ apps, as it allows your system memory to combine with a partition of your SD card, thus keeping available memory higher, which leaves plenty of room for browser cache, app cache, etc.
Welcome to the wonderful world of ROMs for our Hero.
riggsandroid said:
should be in q/a or general forum. not here for future reference this forum is really for devs and ROM discussion only...not general questions like this.
with that said...
each person could probably give you their own ways of tinkering with their ROM and making it "faster".
You can download systraymonitor from the market, which gives you RAM/MEMORY/BATTERY, etc.
A2SD could be beneficial if you are installing more than 25+ apps, as it allows your system memory to combine with a partition of your SD card, thus keeping available memory higher, which leaves plenty of room for browser cache, app cache, etc.
Welcome to the wonderful world of ROMs for our Hero.
Click to expand...
Click to collapse
Thank you for your input. Will check that app.
aisseleacim03 said:
By installing the new ROM my phone works better and faster, no lagg.
But I understand that it can be even better...
I have deleted bloatware (using root explorer) and at this point have not reinstalled many of my apps (waiting for the next DC ROM release)
How can I find how much free space / memory I have left on my phone?
RAM, MB, etc?
I have read that if you monitor the use of space then it will be a fine tune machine.
I read about Ap2sd and that might help? Others say it doesnt beacuse it slows the response time when running an app.
Any words of wisdom?
Thanks
Any help will be appreciated.
Click to expand...
Click to collapse
ap2sd only helps really if you have a fast sd (ie aftermarket class 6 or 10) but ap2sd is mainly to free up space, you won't notice a preformance boost this way.... at least I haven't even with a class 6 card. It's just to allow you to install tons of apps.
android self manages it's ram but there are times where it doesn't do it very efficently, there's roms out there esp from flipz and darch that optimize the internal task killer/memory management to give a more fluid expereince.
I would reccomend agianst a task manager as I've had nothing but problems with it.
as far as making it faster look for roms that have JIT, BFS, and/or overclock. Mind you each one of these removes stability from a stock based rom, they're not perfect but they are pretty nice. And in my opinion the leeway you give is worth the benifit with that type of thing. But each one of those has a significant preformance boost advantage. BFS being what I reccognize as the biggest improvement in overall system preformance.
I would personally reccomend fresh toast, really research how to install it correctly but it's one of the best most stable I've personally tried. Next being my personal favorites darchdroid.
hope this helps.
Kcarpenter said:
4 Things.
1. Over Clock
2. JIT
3. Remove Sense (optional)
4. Class 6 SD card, not a cheap-o
Click to expand...
Click to collapse
Excuse my ignorance...I have heard of all the option but number 1.
Over Clock? I dont know what does that mean.
Thanks for the info though.
aisseleacim03 said:
Excuse my ignorance...I have heard of all the option but number 1.
Over Clock? I dont know what does that mean.
Thanks for the info though.
Click to expand...
Click to collapse
short: makes your processor go faster than it was designed to do within proven stable(ish)/safe(ish) limits
long: http://en.wikipedia.org/wiki/Overclocking
Kcarpenter said:
1. Over Clock
Click to expand...
Click to collapse
...at your own risk. My phone runs great without this. I don't think it's worth the risk of cooking my proc's bacon.
Grease Lightning yo!!!!
In all seriousness, if you wanna rev up your performance but at the expense of our already limited battery life, try out FreshToast 2.1 or if you want a clean trimmed vanilla feel try out DarchDroid and make sure you follow the directions for getting the OC app configured (OC Widget or SetCPU)
That'll definitely give you the max possible bang out of your phone. Buyer beware, these roms are not without their quirks, so please for the love of NY Cheesecake (oh hush, haven't eaten since 8am this morning heh) read through each of the respective threads to hunt down and possibly cure the kinks that plague your configuration.
Thread Moved to Q&A.
subcypher said:
...at your own risk. My phone runs great without this. I don't think it's worth the risk of cooking my proc's bacon.
Click to expand...
Click to collapse
Ive had my phone overclocked to the max the last few days. Running smooth. I underclock while phone is sleeping
I made mine 3x faster by picking a rom with no sense, rm EVERY apk that I don't use ( friendstream, flickr, tweet, etc...everything except what I USE) and apps2sd. I run a buke naked pure hero, installed apps i DO want,and it never lags. I Only get 2.2 mflops
-------------------------------------
Sent via the XDA Tapatalk App
I am currently a XT720 user, and had rooted and Apps2carded my new great machine (used HD2 android before)... however, i found that my new supermachine is lack of ram (only 45Mb in average...) .Therefore, i am thinking is it possible to use the memory of SD card to build "virtual ram" just like what the guys doing in HD2...
Does any one agree this idea and can give a big hand for me....
If I understand correctly, you're looking for something like swap space? If so, there have been countless attempts at getting this to work. However, all have failed because we lack one simple feature...an unlocked bootloader.
Even if there are other ways to do it, it most likely requires access to the bootloader, and hence we are back to square one. For now, we can only rely on good task managers and overclocking to get some more juice out of our Milestones.
MrP.
Dear MrP.
Understood your answer and thank you very much for your information. The key is to get the right to get into the bootloader...... seems far away....-_-...but I still hope it can become true in the road of android development....
Add
With a 2048Bit RSA encryption? Unlikely...^^
RW-Speed on your SD-Card is to slow to be used as RAM anyway..
m0jo said:
RW-Speed on your SD-Card is to slow to be used as RAM anyway..
Click to expand...
Click to collapse
I had swap setup on my G1 and it made one massive difference anything with a class 6 is fast enough for it and on the milestone would make a massive difference with the Desire HD rom and sense loading.. It's a shame that we can't get it cause it'd make me happy until I get enough cash to get a milestone 2 and hopefully be able to break the bootloader...
avatar_43 said:
I had swap setup on my G1 and it made one massive difference anything with a class 6 is fast enough for it and on the milestone would make a massive difference with the Desire HD rom and sense loading.. It's a shame that we can't get it cause it'd make me happy until I get enough cash to get a milestone 2 and hopefully be able to break the bootloader...
Click to expand...
Click to collapse
i got a class6 and i tested the new DesireHD image on my SdCard, as its a huge 400MB+ image odex'd, and its actually slower although its odex'd for little loading improvements.. so putting everything on the sdcard makes it slow.
using menus and starting apps were unacceptable..
my conclusion is that using internal flash + deodex was much faster, so no good..
but! maybe its just a badly compiled ext2 module we have on milestone..
Hi
I asking how much ram is you getting in a g1
I'm running froyobylazlo and getting beetween 20 - 30 mb free ram
Is any possibility to increase the amount of avaliable ram?
I'm also using the radio hack
Sent from my HTC Dream using xda premium
yes, use a smaller rom, use cmtd or possibly update your radio/spl.
i assume your radio hack refers to the 2708+ (dont think fbl works with out it) so you should be good here. search for a thread on custom mtd. this is the mapping layout for your phone. you can adjust how much space is given to the system and cache. with fbl i think you can gain at least 20mb this way. and if you dont mind changing roms there are some that are a bit smaller that can help you trim down a bit too.
good luck!
demkantor said:
yes, use a smaller rom, use cmtd or possibly update your radio/spl.
i assume your radio hack refers to the 2708+ (dont think fbl works with out it) so you should be good here. search for a thread on custom mtd. this is the mapping layout for your phone. you can adjust how much space is given to the system and cache. with fbl i think you can gain at least 20mb this way. and if you dont mind changing roms there are some that are a bit smaller that can help you trim down a bit too.
good luck!
Click to expand...
Click to collapse
... are you sure you understood the difference between RAM and internal memory?
Try advance task killer app it always worked for me.
Sent from my HTC Glacier using xda premium
AndDiSa said:
... are you sure you understood the difference between RAM and internal memory?
Click to expand...
Click to collapse
i should pay more attention to what i read!
ram something like 96mb, remember these phones are the dinosaurs of smartphones, well android anyway. the hardware is around 4 years old and wasnt set up to run todays android or todays apps. so it will always seem slow. you will find that using a task killer isnt always the best way to free up ram, you could end up with lost text messages or alarms not going off and such, i know we wont to try anything for our old phones so try something more like watchdog that will tell you if an app is actually slowing the cpu or not.
ram in our android phones is not like ram in your pc, for android ram almost full isnt bad it means things will load faster
im guessing you asking this because your phone is slow, the best fix is a 1.6 rom or a new phone! even with overclocking our phones cpu arent fast enough for what we need, froyobylaszlo is a good rom, not much better or faster so with out a good way of freeing ram or adding speed just be happy with what you have!
running COS-DS, have 40+MB ram free all the time