[Q] Virtual Ram by using SD card memory - Motorola Droid and Milestone General

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..

Related

No donut for Dream?

I wanted to throw this in the development forum as I feel it pertains to such but I didnt want to risk a ban
So MobileCrunch tells me that donut may not make it to the Dream. I feel it is safe to assume that the modders here would be able to make it fit, am I right?
chuckhriczko said:
I wanted to throw this in the development forum as I feel it pertains to such but I didnt want to risk a ban
So MobileCrunch tells me that donut may not make it to the Dream. I feel it is safe to assume that the modders here would be able to make it fit, am I right?
Click to expand...
Click to collapse
officially no, by the time it is out the g1 will be obselete and you will probably have a new phone however if i comes out any time soon the devs here will work their magic and port it over.
JJbdoggg said:
officially no, by the time it is out the g1 will be obselete and you will probably have a new phone however if i comes out any time soon the devs here will work their magic and port it over.
Click to expand...
Click to collapse
this was proven to be a false statement.. donut will still come to the g1... confirmed on tmobile forums... im looking for the link now
http://forums.t-mobile.com/tmbl/board/message?board.id=AndroidDev&thread.id=8520
we already have some of donut so honestly this isn't a big deal unless you don't root your phone
palosjr said:
this was proven to be a false statement.. donut will still come to the g1... confirmed on tmobile forums... im looking for the link now
http://forums.t-mobile.com/tmbl/board/message?board.id=AndroidDev&thread.id=8520
Click to expand...
Click to collapse
dosent say anyhing about dohnut here is what is there "We plan to continue working with Google to introduce future software updates to the T-Mobile G1. Reports to the contrary are inaccurate." im not saying there will be no updates but im not sure about dohnut according to this article they even had a hard time fitting cupcake on the g1 http://androidandme.com/2009/08/news/the-g1-storage-problem-in-charts-and-numbers/. Although i see your point
The issue seems to be that Android OS is becoming bigger and bigger, and non-rooted G1s are limited by the amount of onboard memory they have. Since most of us here on xda run A2SD ROMs, we will have no problems with Donut stuff. Heck, cyanogen has a lot of Donut stuff already included in his ROMs.
If you don't root your G1, your phone will soon run out of space for the newer versions of the OS.
derfolo said:
The issue seems to be that Android OS is becoming bigger and bigger, and non-rooted G1s are limited by the amount of onboard memory they have. Since most of us here on xda run A2SD ROMs, we will have no problems with Donut stuff. Heck, cyanogen has a lot of Donut stuff already included in his ROMs.
If you don't root your G1, your phone will soon run out of space for the newer versions of the OS.
Click to expand...
Click to collapse
yup, exactly
JJbdoggg said:
yup, exactly
Click to expand...
Click to collapse
Do you think its possible in the next release or update they would just force apps2sd to create the space they need and obviously create their own tools to maintain it.
xenoaurora said:
Do you think its possible in the next release or update they would just force apps2sd to create the space they need and obviously create their own tools to maintain it.
Click to expand...
Click to collapse
That's something that I've defintally pondered myself. But I don't think they should force, they should give the option. Because some people may not want to buy another SD card..
Best way for it to be done is give you options to install the components you want, i dont use music on my phone i have an mp3 play so would happily swap that for some amazing feature, or simply optimize and release applications
i guess this is on topic since it concerns dream and donut. but to anyone not following cyanogen on twitter. he is pretty damn close to a functioning donut. the last donut he did didn't have any kind of data or signal access and he said that he got mobile data working which is a huge leap forward so maybe we will donut on the g1 soon enough.
just a thought... i wonder if someone could make a spl that got rid of all the unneeded space in cache that is supposed to be for ota updates that would brick the phone? that would be great but i don't see that happening
xenoaurora said:
Do you think its possible in the next release or update they would just force apps2sd to create the space they need and obviously create their own tools to maintain it.
Click to expand...
Click to collapse
the problem is most people wouldnt be able to format to ext2 or 3 and if they remove their sdcard it could break their system (unless they alloww it on fat32)
which almost all other mobile operaing systems do so im sure they could.
JJbdoggg said:
the problem is most people wouldnt be able to format to ext2 or 3 and if they remove their sdcard it could break their system (unless they alloww it on fat32)
which almost all other mobile operaing systems do so im sure they could.
Click to expand...
Click to collapse
Yes good point.
My main thing was just that after reading some articles on the topic everything was so glum. Like saying there may not be many more updates. In which i think i would hesitate to buy another product from them if they offer that up as an excuse and quit supporting updates and just move on to the next/ better phone.
From what ive read it really seems like the options are 1. Quit Developing new stuff, or 2. Give root to everyone and move stuff over to the SD. (Maybe im wrong but i think they would need to give us root to move the stuff to the SD).
They could possibly do it by the size of the SD card for the normal user. If its one gig, maybe just apps. If its 8 then apps, cache, audio resources, etc. That would be accpetable IMO.
I need to read up up i have no idea what donut actually is, i have cyan 4.01 but never followed the updates so i have no idea what the features are, etc.
Good day!

Linux-swap

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.

Is 192 RAM a not enough?

I am planning on buying a HTC G1, but after I read that there is only 192mb RAM I decided to wait.
I have a few questions:
1. Can you make a swapfile on the G1?
2. Would there be a big speed/stability difference with 192 and 256 RAM?
3. How does 2.0/2.1 run compared to 1.6?
I will be using this as a PDA, not a phone and will be doing lots of gaming and web browsing on it.
Thank you,
~moonscapex
Buy a Nexus......
I would, but I can't afford one
moonscapex said:
I would, but I can't afford one
Click to expand...
Click to collapse
save up for one. Don't get a g1, it's already too outdated. save up and buy a good phone that'll last a while. By the time you have the money tucked away I'm sure you'll see phones even better than the nexus one.
Yes, I already have a high-end winmo PDA, so I am looking for a lower end Android phone.
I agree with others that say to get a different phone. I love my G1 to death, but there's no way I'd buy one today if I were in the market. It's just too limited.
That said, I'll try and answer your questions.
1. Yes, running swap is possible using a rooted phone and custom ROM. It's debated whether this actually helps any.
2. The 192 vs. 256 MB difference helps a great deal. There's just not a lot of memory left to run many apps and do much task switching on the newer iterations of the OS with only 192MB. The number of apps you can install is also limited by this number (unless you're running a rooted phone and installing apps to your SD card.)
3. On a G1, 2.0/2.1 is pretty slow. At this point I wouldn't use it as a daily use ROM.
The two functions you listed as your primary activities are the two things that the G1 does the worst. It's underpowered for a lot of games (not to mention the horrible battery life when you start playing games) and browsing the web can be a chore given the limited memory and CPU. It works great for basic things like email, maps/navigation, music, productivity apps, but it's pretty slow for other stuff.
OK, thank you. That is the kind of answer I was looking for. I will look into some other phones.
The G1 is ideal for what your looking for. Man people love to drift off don't they
Yeah they do...
Has anyone else tried Android 2.1 on their G1?
If you root it, in addition to the debatable swapping to the SD for more ram and cache, you can overclock the things. Probably a bit hard on your battery and might generate unacceptable heat, don't know. You might just get it up to 2/3's to 3/4th's the speed of a Nexus for the cost of a bigger battery. Maybe then you could run 2.1 effectively. Who knows.
I'd buy it used. They go for about $175 on ebay unlocked. If you screw it up you've not lost that much. You can resell your broken one on ebay for about $75
Regards, PK
Overall the G1 for me has just been fun to root and flash multiple roms. =P Some roms are moderately fast, but are limited to games as we have no video drivers
Thanks for the good answers. So the Open GL drivers are not available on the G1? And how easy is it to brick a G1. Ive flashed many roms on winmo with no problem.
EDIT: Yes I will overclock. Are the Vid drivers available on the Magic?
moonscapex said:
Thanks for the good answers. So the Open GL drivers are not available on the G1? And how easy is it to brick a G1. Ive flashed many roms on winmo with no problem.
EDIT: Yes I will overclock. Are the Vid drivers available on the Magic?
Click to expand...
Click to collapse
Yeah they are
Personally
I preordered a G1... rooted it early in the beginnings of Haykuro and JF... and 16 months later I still say there isnt a replacement... I got a full upgrade and I still havent taken advantage... The N1 is nice, if you can live wo the hard keyboard... If you want a low end android, the G1 is a good starter phone...
I run both 2.1 and 1.6 roms.. The 1.6 roms are really fast, The 2.1 roms are worth having on your phone to show off... I can stream music on 3G from 8am to about 230-3pm at work on either so batt life is fine either way on a normal day...
I dont know what kind of gaming you do, but my old school emulators do the trick nicely run on any rom and with the hard keyboard controls are great... I use a ram hack that removes the 3d accelerator for another 8mb of usable ram, so I cant comment on 3d games...
Bricking a G1 is almost impossible now with all the good tutorials... the G1 is the easiest to root, hack, flash, customize... all that in my own eyes... Ive brought noobs down the rabbit hole and now they are cookin up roms and themes like crazy...
I on the other hand still patiently wait for a new bigger better stronger phone (with a hard keyboard) to replace my G1 and I know it will not be in the low end android bracket..
protomanez said:
Overall the G1 for me has just been fun to root and flash multiple roms. =P Some roms are moderately fast, but are limited to games as we have no video drivers
Click to expand...
Click to collapse
My setiments exactly. Hate to say it but it's just fun to see or learn somthing new.
Good thread for Android noobes.
Regards, PK
So far I'm convinced about the G1, thanks everybody. When I found out that the keyboard on the magic would not work with a stylus, and only your fingers, it made it obvious for me.
PS: Can you disable the RAM hack without reflashing?
moonscapex said:
So far I'm convinced about the G1, thanks everybody. When I found out that the keyboard on the magic would not work with a stylus, and only your fingers, it made it obvious for me.
PS: Can you disable the RAM hack without reflashing?
Click to expand...
Click to collapse
Not really. You must replace the kernel, so it's basically just as complicated as reflashing.
I'ts simple.
Flash the boot.img and reboot.
All gone.
(and vice versa)
you wont loose any data or anything.

[Q] HTC Incredible S internal storage shipped?

I'm thinking of getting htc incredible s but i want to know what is the internal storage it come with it , in the specs they said its 1.1 GB but what is the real left that i can use for storing apps ?? i don't want the problem i faced with htc desire happen again with incredible s
I don't know about when it was clean but I installed a ****load of apps and games (mostly gameloft) and I still have around 700mb of space. I owned a desire in the past and you won't have space problems with this one for sure.
Mine is pretty much clean (still waiting for the HTC Unlock code), and what's avaliable for apps is slightly over 1GB (installed 3-4 things and it's down to 0.98GB)
Thanks guys for the info , yeah i think 1 GB is good for apps , another thing since you already buy the phone , how do think the design ? some review said it look cheap ? what do u think ?
I think that the Incredible S looks solid for it's design. The back is unique but it actually fits the hand quite nice.
In terms of build quality, the battery can get slightly creeky but it can be solved by putting some tape/padding on the battery cover to help it stop flexing. Other than that shortfall, it feels quite nice and fits the price you pay.
i read in some threads that they got dust under their screens ? do u have this issue ?
I've only had it for a few days, only started using it today since i received my unlock code.
Only time will tell, but so far no dust.
Hey Guys, please keep the original post in mind...
The Incredible-S has 1.1 GB free for User-Apps and User-Data.
So i also can confirm: You should not run into internal-space-problems. It's about 8-times more space compared to the classic Desire.
But (now i'm going offtopic, too ): The Incredible S has a locked Bootloader. Therefore, as far as i can see, it's not possible to install a custom ROM. This could be a no-go, especially, if you follow the XDA-forum...
prinzhernan said:
I don't know about when it was clean but I installed a ****load of apps and games (mostly gameloft) and I still have around 700mb of space. I owned a desire in the past and you won't have space problems with this one for sure.
Click to expand...
Click to collapse
gamesloft files are mainly stored on the memory card.
You can unlock the bootloader but it requires a specific hardware called xtc clips.

[Q] does anyone have this phone?

It seems like nothings happening with this phone and I dont know if I should buy it, because if I cant root it or do anything with it its just not as fun? so does anyone know how to root this phone and flash roms on it etc etc?
my gf bought this phone
i'm just waiting for someone to come up with a way to s-off and root it so that i can move apps for her
it's irritating cause only some apps can be moved in its current config
hoping someone comes up with something soon
my gf thinking to buy a salsa, it seems a nice phone, however based on what u people's comments, the biggest problem is internal memory! so would u people recommand salsa or Nexus S?
DDFF said:
my gf thinking to buy a salsa, it seems a nice phone, however based on what u people's comments, the biggest problem is internal memory! so would u people recommand salsa or Nexus S?
Click to expand...
Click to collapse
NexusS is FAR superior (Hummingbird ARMv7,powerVR sgx540 GPU, MUCH more internal memory, community support, development....).. the thing in my case, is that my GF was on a x10mini pro before and find nexus S huge.. She wanted something small and didn't care about performance (as probably anything would be better than her previous x10minipro) .. As I have a desire she thought HTC are well built and bought this one..
As I said on another post, besides internal memory I think it is a good smartphone, but if your gf doesn't mind size.. then go nexusS.. you/she won't regret.
thanks man, very useful....I am using DHD and I would recommend my gf of Nexus s,and if she wants, i can get it root which not gonna happen on Salsa.
Crudeoil said:
NexusS is FAR superior (Hummingbird ARMv7,powerVR sgx540 GPU, MUCH more internal memory, community support, development....).. the thing in my case, is that my GF was on a x10mini pro before and find nexus S huge.. She wanted something small and didn't care about performance (as probably anything would be better than her previous x10minipro) .. As I have a desire she thought HTC are well built and bought this one..
As I said on another post, besides internal memory I think it is a good smartphone, but if your gf doesn't mind size.. then go nexusS.. you/she won't regret.
Click to expand...
Click to collapse
thanks man, very useful....I am using DHD and I would recommend my gf of Nexus s,and if she wants, i can get it root which not gonna happen on Salsa.
I have this phone as well. Overall, it's actually a pretty decent phone. Performance, size, speed, etc are all mid-range quality and I do love the smaller size.
The only down side to this phone as has been mentioned is the limited internal memory. I'm just waiting on a method of rooting so I can get rid of all the useless bloatware and move the rest of the apps over to the SD card. The phone comes with 512 mb of memory but on my particular phone here in Taiwan, after the OS install, and all the bloat ware I have around 120mb to work with. Between email, contacts, and like 4 apps. I'm out of space and can't do anything else. It's very frustrating.

Categories

Resources