Next question, if you open a terminal and type ifconfig what does it
tell you.
Try downloading an app called "Android System Info" -- it will give you your IP address and a big pile of other stuff too.
splain me that thing you were talking about about partitioning the sd
card so it can be used for main memory and swap...
ROM Manager --> Utilities / Partition SD Card
However, I found that running apps from SD wasn't really all that reliable.
YMMV.
stupid question: why add swap to phone? you can only run one app at a
time and you'd only be swapping from memory to.... memory. Where's the
value?
Especially in Android, where memory is often saved by shutting down the application at the bottom of the stack. (Obviously this doesn't apply to apps that need to stay resident to do stuff in the background.)
ahhh.. that's what I wanted to know. It can forcibly shut down applications
that there's noroom for.
I haven't had a chance to watch that video, but I gather somewhere it will explain if there's non flash runtime memory or not.
hopeully this weekend.
I haven't had a chance to watch that video, but I gather somewhere it will explain if there's non flash runtime memory or not.
hopeully this weekend.
I ran skype off the SD card, worked well enough.
I've been trying to find any reliably information on if you can use google voice like skype. Some say yes, some say google doesn't do VOIP period.
It's just a number forwardin service and really fancy voicemail. You can't supposedly make calls with the number they give you, only accept calls and bounce it to a real number of yours.
I was hoping to use it instead of skype, because my money is on google being better at writing software.
I've been trying to find any reliably information on if you can use google voice like skype. Some say yes, some say google doesn't do VOIP period.
It's just a number forwardin service and really fancy voicemail. You can't supposedly make calls with the number they give you, only accept calls and bounce it to a real number of yours.
I was hoping to use it instead of skype, because my money is on google being better at writing software.
Try downloading an app called "Android System Info" -- it will give
you your IP address and a big pile of other stuff too.
THAT'S THE SHIT.
Thanks.
I found an article where lots of people speculated but one guy made a lot
of sense.
when android kills an app becaue of lowmemory it gives it the opportunity to save state, which it may or may not do, but it doesn't usually save much, so it reloads the app when you ask for it, and it has to restore what it can from its saved state.
In the case of the browser, reloading the page and state and location is a lot slower than just pulling it from swap.
So I can see where swap makes sense in that case.
I also found an article that said the bus speed from main memory to the sdcard is limited such that anything more than a class 2 sd card won't be helpful because of the limitation of the bus speed, and that's on a droid, gotta figure a g1 isn't any better.
But I will play.
In repartitioning my sd card it had to reboot, and for what reason I don't know, I tried to run dropbear and it said address already in use this time. So I tried it and sure enough I can ssh now. YAY.
So now I feel at home I can poke around.
I wish it was a full linux install. that would be dreamy. Someday...
So a lot of busybox stuff doesn't work which explains ifconfig.
and /etc is /system/etc which is in the rom which is read only so you can't fix a lot of things, but it's still fun to poke around.
I WANNA COMPILE SOMETHING!
when android kills an app becaue of lowmemory it gives it the opportunity to save state, which it may or may not do, but it doesn't usually save much, so it reloads the app when you ask for it, and it has to restore what it can from its saved state.
In the case of the browser, reloading the page and state and location is a lot slower than just pulling it from swap.
So I can see where swap makes sense in that case.
I also found an article that said the bus speed from main memory to the sdcard is limited such that anything more than a class 2 sd card won't be helpful because of the limitation of the bus speed, and that's on a droid, gotta figure a g1 isn't any better.
But I will play.
In repartitioning my sd card it had to reboot, and for what reason I don't know, I tried to run dropbear and it said address already in use this time. So I tried it and sure enough I can ssh now. YAY.
So now I feel at home I can poke around.
I wish it was a full linux install. that would be dreamy. Someday...
So a lot of busybox stuff doesn't work which explains ifconfig.
and /etc is /system/etc which is in the rom which is read only so you can't fix a lot of things, but it's still fun to poke around.
I WANNA COMPILE SOMETHING!
further playing around (thank god for national holidays) I tried all the
compressed swap and the swapfile/partition thing.
It was nice seeing I had 250meg of swap available, but what it comes down to (probably rather quickly) is that it is an SD card, and it will get eaten by using it for swap, so even if it does make things faster, it's probably not worth it in the long run as you'll have to keep buying sd cards as they burn out.
That brings up the question though, if the g1's internal memory is also flash, using it for compressed swap doesn't sound like much of a bright idea either because it'll burn up and you CAN'T replace it...
It was nice seeing I had 250meg of swap available, but what it comes down to (probably rather quickly) is that it is an SD card, and it will get eaten by using it for swap, so even if it does make things faster, it's probably not worth it in the long run as you'll have to keep buying sd cards as they burn out.
That brings up the question though, if the g1's internal memory is also flash, using it for compressed swap doesn't sound like much of a bright idea either because it'll burn up and you CAN'T replace it...
They're probably figuring that the lifetime of the flash memory in the phone
will exceed the expected service life of the phone itself.
By the way, if you ever get a chance to play with a Windows Vista Phone 7, don't put any of your flash cards into it. Their software stack does something permanent to flash cards that makes them permanently unusable in any other device.
By the way, if you ever get a chance to play with a Windows Vista Phone 7, don't put any of your flash cards into it. Their software stack does something permanent to flash cards that makes them permanently unusable in any other device.
neato.
So I've been reading about wear leveling and they say that the map sector that maps the unworn sectors around (which has to get written to a lot more than any other sector) is special and was built not to burn up nearly as quickly as all the other sectors.
Well gee then, why don't they just make the entire airplane out of the same stuff the black box is made out of.
So I've been reading about wear leveling and they say that the map sector that maps the unworn sectors around (which has to get written to a lot more than any other sector) is special and was built not to burn up nearly as quickly as all the other sectors.
Well gee then, why don't they just make the entire airplane out of the same stuff the black box is made out of.
Cost.
Don't quote me, but I believe you can buy flash memory cards that are constructed entirely with materials that will last longer than typical consumer-level memory cards, but they cost a lot more.
Flash Binder
Don't quote me, but I believe you can buy flash memory cards that are constructed entirely with materials that will last longer than typical consumer-level memory cards, but they cost a lot more.
Flash Binder
also the cards are sort of 'disposeable' since you can easily swap them.
next is, that the price target moves while the androids pcb is taking from first manufacturing to last, and then from the fab to your hands.
found it rather unpleasent that my acer aspire one had 512 mb onboard ram, so I couldn't pop in 2G since the chipset won't support it and simply refuse to boot.
So for $6 I got a sim card from tmobile just so I stop getting 'no sim card'
errors on my phone.
so now it connects to a cell tower yay. Just to the left of the signal power bar graph I get a number. It's either -119 or -109.
Possible the -109 is when I have 2 bars and -119 is when I have 1.
Is it supposed to be 0-100 or something and is it even supposed to be signal strength?
Can't find any info on it on der web.
so now it connects to a cell tower yay. Just to the left of the signal power bar graph I get a number. It's either -119 or -109.
Possible the -109 is when I have 2 bars and -119 is when I have 1.
Is it supposed to be 0-100 or something and is it even supposed to be signal strength?
Can't find any info on it on der web.
this handbrake thing is AWESOME. I just give it a DVD and say GO, and it
makes it playable on my g1. I'll never actually WATCH a movie on my phone,
but I CAN!
So... the android sdk comes with an emulator.
With the emulator running, you can get a shell on it and I've managed to get my hello world c and cpp programs pushed on it and running from the adb shell.
so I'm wondering why it was hard to root the phone in the first place if ou you can get root access to the machine from the dev kit.
I heard about all these bugs that were being exploited, but why not just fire up the sdk, install a prebuilt program that just copies a new prebuilt rom and reboots?
Something else must have been going on.
With the emulator running, you can get a shell on it and I've managed to get my hello world c and cpp programs pushed on it and running from the adb shell.
so I'm wondering why it was hard to root the phone in the first place if ou you can get root access to the machine from the dev kit.
I heard about all these bugs that were being exploited, but why not just fire up the sdk, install a prebuilt program that just copies a new prebuilt rom and reboots?
Something else must have been going on.
thats what I realy like about the squeezebox.
third menu layer, 'enable ssh' <click> your ip is, your rootpassword is, if you broke it hold down these keys during boot to restore it to factory defaults
aha, I have reached nervana. I got my little bitty webserver running on my
g1.
Gah. It's a little shy of useful features, but it runs and accepts connections and spits out files...
Gah. It's a little shy of useful features, but it runs and accepts connections and spits out files...