just like to say thanks! and... - G1 Q&A, Help & Troubleshooting

Thanks to all you guys on here I have a rooted g1, cyanogen Rom, recovery and a partitioned sd card!
So thanks, couldn't have done it without you!
Now a few quick questions:
My rom is running a lil slow. I've got a 2gb sd card with a 500mb apps2sd partition. Can I speed it up if I take some of that memory and create a swap cache?
If so can I do this without erasing any data? I used parted.
Secondly can I install the htc widgets on the g1 or do they have to be ported (I installed the mail widget but I didn't show up in the widgets)
Thanks

First things first.. You cannot install hero widgets unless you run hero. By the time you import libraries and adjust framework to run the widgets you going to end-up with pretty much hero build
As for the slugginess: Tell us about your set-up: how many widgets do you run, what's running in your background, etc. Too many widgets will slow the system down.
What class is your sd card? Anything less then class 6 will have negative effects on the speed if you're doing apps2sd, swap or comcache.
Last, but not least: It has been recently discovered that "Wireless network location" and "GPS location" will slow the **** out your system. Turn them off in the settings and watch how your phone comes back to life instatnly (look in Cyan's experimental thread for more info on that). Also, uninstall any programs that use location (ie Sherpa, weather apps, etc). Now it is perfectly fine to use gps and wireless network location when you need to use them... just don't let any program use it constantly and you should be fine.
Good luck

Wow that location thing seems to have worked! Thanks! I use the weather widget but dont want to uninstall that!
Is the 500mb partition a bit of an overkill? What about the swap cache? Can this be done?
Thanks

do you have a linux swap partition if so what size is it?

no linux swap just a fat and an ext2, can i upgrade to ext3 and what will this do?

Related

Is their a way to make the G1 fast?

I have the CyanogenMod and It comes with 5 screens but I cant use advantange of it because my phone gets so slow.. I use like 5 widgets and everytime I go to my home its frozen for like 10 seconds untill eveything is loaded again. I have apps2sd so im wondering is their a way to make the G1 lightning fast because its acting so slow it was like this in the stock rom also
What 5 widgets? Have you experimented with disabling them? What other apps do you have installed? Some wait in the background and use up memory / CPU. CM is pretty much the fastest ROM, so you need to look at the apps if things are slow.
You can also try the links in my sig for info on using compcache or swap to reduce the delays when you switch back home or in and out of the browser.
Well I have the free weather widget, retro time, retro date, and a battery widget and a few other application shortcuts on the home screen and it still lags when I go to home and its always like this and what does a swaper do?
blackfire1 said:
Well I have the free weather widget, retro time, retro date, and a battery widget and a few other application shortcuts on the home screen and it still lags when I go to home and its always like this and what does a swaper do?
Click to expand...
Click to collapse
I would activate your linux-swap partition or use the compcache userinit.sh. I wouldn't use swapper, its out-dated.
Basically what swapper (and linux-swap) is, is like creating extra memory for your phone to use, but places it on the sdcard. The increased memory allows for you phone to do more at once without having to constantly close programs left and right, speeding it up. But, the constant read/write of the sdcard wears it down quicker (don't worry, you'll still get about 2yrs of life out of that sdcard) and can become slow if it is writing/reading to the memory at the same time is it reading an app or file from the sdcard. Not noticeably slower, but slower nonetheless.
Compcache is a better solution IMO (its the new thing haha). What happens is that whatever RAM stores is compressed instead. Because its compressed, you can store more stuff on it. so like 24MB of RAM would be extended to 72MB of RAM and then you wouldn't have to read/write to the sdcard so often, saving its life and allowing for a small speed boost compared to a swap file.
There are threads on how to do both of these things in the development thread. The compcache is pretty easy, all you have to do is copy userinit.sh to your /system/sd/ and your pretty much done. Linux-swap requires you to create a 3rd partition in addition to the FAT32 and ext2/3. A little extra work, but well worth it. Most ROMs will automatically activate the linux-swap partition if you have it.
Note: Compcache can also use linux-swap as a backup, allowing for an even faster phone. I'm using jacHEROskiv1.4C_a2sd and it works pretty fast IMO. Certainly not as fast as Cyanogen's but fast enough for day-to-day use.
If you really really really really, don't want to mess with any of that, I would just use swapper. Its like linux-swap (follows the same principle), but its not as fast. If you do choose to use this solution, make sure you place the swapfile on /system/sd/ so that when you mount your SD you won't mess up your phone.
Can you please show me a link of how to do the Compcache because ive searched and only found nothing yet.
blackfire1 said:
Can you please show me a link of how to do the Compcache because ive searched and only found nothing yet.
Click to expand...
Click to collapse
Link: http://forum.xda-developers.com/showthread.php?t=537236
Also, the command to include linux-swap as a backup (if you choose to) is on page 14, last post on the page. Good luck
Does having 5 home screens use more memory than the original 3?
slightly, but not enough to make the kind of differences that the OP is describing. I know cyanogen and dude's builds both have 5 home screens, not sure about the rest, but this is the first slowdown complaint I've really heard.
The two questions I would ask to the OP is this: 1. how many applications do you have installed? 2. What size and class SD card are you using?

Low Internal Memory - SMS Warning too

I was surprised to see my wife's N1 only had 20 MB of internal memory. She is running Enomther's Rom, which runs great.. I don't think the issue is tied to that.
She has hardly any apps on her phone, and rarely does anything other than work emails (Touchdown) and Facebook/Twitter.
Considering how little she has on the phone, and how little she does with it I, was just really shocked that she would have so little internal memory. She called me just now and stated she has a notification that she missed a text message because she did not have enough memory.
What the heck could be taking up so much memory?
What's the fix? There isn't really anything to delete (that I'm aware of)....
Search seemed helpess with "internal" and "memory" there were WAY too many posts. Please help if you can!
Browser cache might be huge, if she has many sites opened in many browser windows.
Her "not many" apps might be "many" enough for a phone with limited internal memory like Nexus - having ~200MB for apps, data and cache together.
There are exactly 3 solutions:
1) Keep browser in check. It's always a good practice.
2) Use native Froyo method and move apps to SD.
3) Use Apps2EXT method and move apps to SD. You can also move Dalvik-cache to /cache.
Hmm, she has MAYBE 10 apps?
I downloaded a cache cleaner and ran that, it removed maybe 8 MBs? That was this past weekend, and she got that message about low memory today. I doubt she has even opened the browser since then to be honest. Very light user.
I sent enomther a tweet, his reply was:
RT @enomther @CallipH need to implement either dalvik-cache-2-/cache or apps2ext in SpareParts (DataStorage options) ... sysdc-2-/cache is default on cm6
okay, so option 1 is to move dalvik cache to sd, which I think you do in Advanced > Amon's recovery, right? Any ill effects from doing this if I switch roms?..
Option 2, apps2ext... she does not have an ext partition and frankly surprised this is needed... is the nexus that low on memory? My Vibrant has 1.6 GBs. same question, any ill effects if moving to another rom with the apps on the ext? I did that a lot back in the day with the G1. I remember having some issues and having to do fix permissions a lot.
Thanks for all the help man.
Check, what's using the memory. Just go over the apps.
You can't do Dalvik-to-SD, because it requires EXT partition, which you don't have. You can do Dalvik-to-Cache.
There is no hassle in having apps on EXT whatsoever. The only hassle is getting them there.
ROM has nothing to do with application data usage either.
Have you tried wiping the Dalvik cache? Worth ago in case there's some built up crap I spose.
^^ thanks.
^ I did before flashing the rom. Will do it again.
I know it's relative, but how much internal memory would you expect someone to have when they just have about 10 apps?
Depends on the apps. I can count 2 - Google Earth and Motonav, for example - that take together 50MB of space without even counting the cache part. Another 4 apps like that, and you're out of memory (if you don't move them to SD using Froyo's method or old Apps2SD-EXT method).
There's also numerous games that are > 10MB, can easily add up.
I'm curious if Touchdown (Exchzange work email) is doing something funky... I know the apps on her phone and they are all very small. Thank you guys all for the posts.
I think I may format her card and partition it and move the cache to the ext partition and see what her memory looks like after that.
Any issues you guys can think of with that, or other ideas?
Download DiskUsage, and it will give you a good idea of what the problem is...
Sent from my Nexus One using XDA App

[Q] heating problem and internal storage

Problems with my N1 are continuous...
I really need your help guys...
If some of you read my topics, the most terrible problem I have had was that I lost signal and sometimes I have "only emergency call"...now this problem disappear, and it works fine...
but I can't understand if another problem is important or not!
I mean, my phone became hot...some times warm when I play, or using many many apps...and more I use it and more it became hot...but not so hot that i can be burned!
but yesterday I starting to worry about it, because I've done a 20 minutes call without 3G (only wifi ON but not connected because no hotspot was usable) and the phone became really hot, we are in summer and it was pleny annoying have it in hand...
Is it normal?
Can I monitor the temperature of the phone? how?
I hope that I don't have to give my phone to htc for warranty
Another 2 question:
Can i reinstall the radio rom? what is the lastes for nexus1?
Can some one explain me the problem of the internal storage? because I'm on cyanogen and I've activate the option that all app have to be installed on SD, but I've read that someone make an ext partition, someother use script with app2sd, other said that app2sd is old from froyo...
I didn't unsterst if I have to wipe and make this partition or not...
thanks a lot in adavance
Temperature:
Relax. Phones, and their CPU, get hot.
A2SD:
Read FAQ, question 9. Then read the thread it points you to. Then read some more threads, until you know what you want. It's not one answer, it's a matter of preference.
thanks how much space I have to reserve to ext4 partition?
Again, it's a matter of preference. If you see yourself loading a LOT of apps, and/or want to try MIUI or Sense-based custom ROMs, then you'll be good with 1GB EXT4. If you just want to move your apps but use stock or CM - 512MB EXT4 will be enough.
thanks jack
I have CM...but...i cannot understand:
1. what is the difference between DT, Data2ext e data2whathever
2. if I make an ext partition of 512Mb then all apps goes there? or it work like the internal memory so part of the apps goes in the ext partition and the other part in fat partiton?
3. what is better using Miui with integrated script? or CM + DT?
really really thanks a lot
I'll try to explain.
The OS isn't aware of the change, so it keeps acting just like it usually does - putting the apps either on internal memory or on internal+FAT (depends on your settings, app preferences, etc).
Each app consists of 3 parts:
1) The app itself.
2) The app's data (saves, logs, databases, etc).
3) The system's Dalvik-cache for the app (the environment which is running the app).
DT by default moves part 1 to EXT. Unlike Froyo default method, it moves the whole app to SD (which isn't always the case with default method), and allows this also for widgets etc (which isn't the case with default method). It can also move parts 2 and 3 to SD, but it isn't default and requires explicit user command to initiate. The common use is to move parts 1 and 3 to SD, and leave part 2 on internal NAND.
Data2ext and Data2whatever do essentially the same, but they're moving all 3 parts by default, AFAIK.
thanks a lot!
but if the whole app goes in the ext4 partition 1gb is really few I can't install offline navigator, games and really heavy size apps...
so maybe it's like the default froyo app, one part in the FAT partition and the other in the internal memory...
and with DT one part in the EXT4 and the huge part in the FAT and if it is like I said 512Mb or 1Gb is enough
Each big app - game, offline navigator etc - is by default programmed to use the FAT for the huge databases that it holds. When you download a Glu game, for example, it asks you if to save the data to internal memory or to the SD card. This is additional mechanism, that doesn't depend on the OS at all, and is completely app-specific. ALL the big apps have it, since they're all aware of the low internal storage in smaller/older devices.
I had quite an amount of apps installed on the Nexus, and never needed more than 512MB EXT4, using DT's A2SD with Dalvik2SD enabled (options 1 and 3 enabled from the previous post). I think 1GB should be more than enough for 99% of users.
thanks now it's clear...
I've installed everything...
after giving the a2sd cachesd command
i have to give also the a2sd datasd command? or it is unecessary?
EDIT:
Before I execute the a2sd cachesd the a2sd check working fine, now after the a2sd cachesd if I check I always have permission denied
no one ansewer but I have another problem...
I've installed the last CM 7.1 RC1
I've done a full wipe
installed CM
installed DT
installed gAPPS
everythings works fine but, I see in the Application Manager some app that doesn't appear in the launcher...
for example street view and google books...
I've try to flash again the zip via recovery but nothing change and I can't uninstall them -.-
(Streetview work via google maps however, but google books is a ghost app)
About cachesd and datasd - it's all about your preferences. My suggestion is - if you're light user, don't use any of them, if you're a heavy user - use cachesd (don't execute datasd).
Can't help you with Google books, sorry. Street View isn't considered a separate app, it's add-on for Maps, so it's not supposed to show, AFAIK.

[q] sd-ext s2e

Hello all. I have problem with my sd-ext. What i mean. It happend with 2 different ROMs. Yesterday with CM9 and today with Apocalypse. All works ok till i use S2E. I checked in S2E option Mount as ext4, reboot, checked move apps to sd-ext and all gone. No have them and system looks like after reinstal - fresh. Inn app manager apps are but only as browser.dolphin.firefox.opera... or com.sygic.aura. But they are invisible in drawer. What i am doing wrong. How to move safetly to sd-ext without that problems. Help!
try darktremors app2sd
But i want to know what heppend... It is S2E fault or sd-ext sth wrong?
Wojtys said:
But i want to know what heppend... It is S2E fault or sd-ext sth wrong?
Click to expand...
Click to collapse
I tried S2E today, and it did not work. Looks like undocumented rubbish to me.
I tried moving only the Dalvik cache, but after I activated that function and rebooted, all the settings but the last were greyed out, so I could not even undo what the piece of garbage had done.
Another point is that it has a setting allowing you to choose between ext3 and ext4. This is stupid, because the normal user cannot possibly know what to choose there. He cannot know whether his ext partition is ext3 or ext4, because the most common recovery, Clockworkmod, has no such choice in its SD card partitioning function. If the program itself cannot find out, how can the user? It is not even clear what the setting actually does.
So we keep wading through the idiot swamp, until somebody writes a usable program and documents it properly, if a really good program needs documentation at all.
My general advice is, look carefully at a program. Check its settings. Check its documentation for quality and completeness. As soon as you spot the first sign of madhouse style, drop it like a hot potato and look for something better. There are too many garbage programs around these days to waste our time with.
If you cannot find any that fulfills the minimal requirements for decent software, give up on the apps-to-ext idea. Buy a phone with more internal memory, if you have money to spare, or delete the programs you can do without.
The minimal requirement for an apps-to-sd program would be that it can cleanly move installed programs to the ext partition and back. Since you may have installed too many programs to move them all back, I would think that the program should help you to uninstall enough programs to make the rest fit, if you have to move them back.
hgmichna said:
I tried S2E today, and it did not work. Looks like undocumented rubbish to me.
I tried moving only the Dalvik cache, but after I activated that function and rebooted, all the settings but the last were greyed out, so I could not even undo what the piece of garbage had done.
Another point is that it has a setting allowing you to choose between ext3 and ext4. This is stupid, because the normal user cannot possibly know what to choose there. He cannot know whether his ext partition is ext3 or ext4, because the most common recovery, Clockworkmod, has no such choice in its SD card partitioning function. If the program itself cannot find out, how can the user? It is not even clear what the setting actually does.
So we keep wading through the idiot swamp, until somebody writes a usable program and documents it properly, if a really good program needs documentation at all.
My general advice is, look carefully at a program. Check its settings. Check its documentation for quality and completeness. As soon as you spot the first sign of madhouse style, drop it like a hot potato and look for something better. There are too many garbage programs around these days to waste our time with.
If you cannot find any that fulfills the minimal requirements for decent software, give up on the apps-to-ext idea. Buy a phone with more internal memory, if you have money to spare, or delete the programs you can do without.
The minimal requirement for an apps-to-sd program would be that it can cleanly move installed programs to the ext partition and back. Since you may have installed too many programs to move them all back, I would think that the program should help you to uninstall enough programs to make the rest fit, if you have to move them back.
Click to expand...
Click to collapse
Undocumented rubbish? What? The app or ur brain? You cant just call an app like that just because you cant make it work. Alot of users have been using it without problems.
Sent from my GT-S5830 using xda premium
Shadow xD said:
Undocumented rubbish? What? The app or ur brain? You cant just call an app like that just because you cant make it work. Alot of users have been using it without problems.
Click to expand...
Click to collapse
What exactly do you mean by, "make it work"?
S2e moves all non System apps to SD-ext. So, it will move itself to SD-ext aftwr reboot. This means the SD-ext won't be mounted at boot, and non System apps won't be accessible after boot (even if their shorcuts are there).
Simple solution for this problem; make s2e a system app before running it, and use some common sense before flaming a great app.
How to make it a System app? Move s2e to System/app and give rw, r, r permissions.

FuFu 98swaponv5 mod - Internal storage swap!

Hello there! now that we have custom kernel, I want to share with you this Little trick I used in my old Motorola z6 when I used to develop xD
Due to the fact that memory cards have sometimes low data transfer rates, swapping on our devices sometimes is a Little bit slow... to solve the issue, I used to place a swapfile in the internal storage of the phone, wich has pretty fast data transfer rates... so I did this once again with my milestone, and the peformance is amazing!! I'm currently using CM7.2.4 with a 48mb swapfile placed inside /data...
Just wanted to share this with all the people of this community, I also modded the script written by FuFu, so the script insted of creating the swapfile in the sd-card, it creates it in /data
I won't post the modded script because I want FuFu himself to decide if the mod is OK, and make his own reléase! Just a matter of respect...
So that's it, try it out people, you're gonna be amazed....
no Problem, you can post your modded script here
i also tryed to use a swapfile on /data, but for me it wont work, if i try to use swapon on /data it sayes:
invalide argument
but i will take a look at your modded script and also i will include it in future updates
i think it may be very interesting for all users to get some extra performance
I'm not sure it is as good idea as it sounds first.
Memories based on flash technology are degrading when writing on it. (I know they are degrading anyway.)
Swapping means a lot of writing and reading and while you can easily buy a new SD-Card you cannot change your phone's internal memory.
Maybe my fears are baseless, but i don't wanna risk.
May someone with better knowledge correct me.
Plus, it is not possible to enable swap on yaffs filesystem "out-of-the-box" as they are incompatible.
I have CM7.2.4 now and three primary partitions on SD Card: Fat32, Ext2 and Linux Swap.
I installed 98swaponv5 after CM7.2.4 rom with OpenRecovery. Does 98swaponv5 have some settings or how I can know it's working?
Well it seems that I can multitask and change from Facebook to other apps and back and it doesn't reload, so I guess the swap is working.
But the default browser always reloads the page when I switch to the browser. Looks like all the other apps work great with the swap except the browser, I wonder why?
EDIT: Right now the browser doesn't reload anymore when I switch to it. I have rebooted and installed some apps, killed some apps. Looks like the Milestone just keeps getting better.
If you have Terminal Emulator installed, you can type free and it will show you the amount of total/used/free memory and in the row "Swap" the informations about swap.

Categories

Resources