Browser reloads pages unneeded! - G1 Q&A, Help & Troubleshooting

Hi folks, my problem is the unneeded page reloads when re-opening a Tab or going back to the , in background running, browser!
like... when having 2 or more tabs open and switching around (or back) it reloads the page! That nervs! Its not needed in my opinion! Same when surfing, going to the "desktop" and back to the running browser, it does the same! anyone has a tip for me ??

enable compache with backing swap

how? im little new with a rooted phone. i've done one or two things, but nothing really special.

tranceonline said:
how? im little new with a rooted phone. i've done one or two things, but nothing really special.
Click to expand...
Click to collapse
partition your sdcard here
get a userinit.sh and user.conf file here
there are detailed instructions in each to get them working

As u see in my signature my sd is paritioned!! So i need these files ok. I'll look when home tonight. Thx alot for now!! I'll post if it worked or not

tranceonline said:
As u see in my signature my sd is paritioned!! So i need these files ok. I'll look when home tonight. Thx alot for now!! I'll post if it worked or not
Click to expand...
Click to collapse
you will need to add a linux-swap partition for backing swap. compache is enabled by default. to do that use the resize command in parted in the recovery console

david1171 said:
you will need to add a linux-swap partition for backing swap. compache is enabled by default. to do that use the resize command in parted in the recovery console
Click to expand...
Click to collapse
i have a swap partition with about 64 MB i think.

Related

Need help with partitioning to ext3 and linux-swap

how do you do partition your sdcard to ext3 and linux-swap without adb?
i have a class 4 8gb sdcard
Go to link in my sig.
supremeteam256 said:
Go to link in my sig.
Click to expand...
Click to collapse
i dont have ubuntu im running on windows and browser is not letting me open up the link
http://forum.xda-developers.com/showthread.php?t=534479&highlight=Hard+SPL
scroll down to Formatting SD Card... 1st post
AndroidFiend said:
i dont have ubuntu im running on windows and browser is not letting me open up the link
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=535914
Try this link, if it doesn't work go to the development section and it's on the second page. I run windows to, but I explain how to do everything on ubuntu with out installing anything. It's a live cd so you just boot it, it don't install anything and when you done it goes back to windows. Its easy.
Tarantino5 said:
http://forum.xda-developers.com/showthread.php?t=534479&highlight=Hard+SPL
scroll down to Formatting SD Card... 1st post
Click to expand...
Click to collapse
oo thats on the recovery image...didnt know that now i jus have to figure out all the size i want for part. and wut is the best size for linux swap from what ive seen 96mb its good bcuz it matches up to the actual hero memory
AndroidFiend said:
oo thats on the recovery image...didnt know that now i jus have to figure out all the size i want for part. and wut is the best size for linux swap from what ive seen 96mb its good bcuz it matches up to the actual hero memory
Click to expand...
Click to collapse
Really you should have the linux-swap extension at 32 meg. Anything more can cause lag.
supremeteam256 said:
Really you should have the linux-swap extension at 32 meg. Anything more can cause lag.
Click to expand...
Click to collapse
ok if you say so

JacHero 2.7.4r2 Compcache? Help

So I'm currently running JACHero 2.7.4r2, and I'm still encountering long loads htc screens and lag. I'm aware that compcache starts up automatically at boot and that its supposed to reduce lag ect, and help the rom smoother and works better than Swap linux. How is it that others are having so much success with their roms performance? Am I supposed to tweak the settings of compcache?
I did some research and this is what I got...
Edit the userinit.sh file you're using. Check the proper threads for compcache in development forums.
As far as Compcache vs swap, I've gone back to no swaps, it seems snappier by itself without these methods. It could be a personal preference though depending on what apps/services you use the most.
Click to expand...
Click to collapse
How do I get to the userinit.sh file? and what are good settings to use?
Also on the first page of JACHeroski2.7.4r2 it also says...
**Please do NOT use userinit.sh for Swap it is already done in this build and that will cause you to have swap issues
Click to expand...
Click to collapse
So I'm a bit confused as to what I'm supposed to do here. I'm also running a 32 swap linux partition, should i keep it? Or Remove it?
Thanks
Mine is running really good on linux-swap.... I'm not switching to CompCache until it's 100% ironed out.
So can we enable compcache? My class 6 might not arrive before I go on holiday (Tuesday) and Im thinking linux-swap will be too slow on a class 2 :-S
AdrianK said:
So can we enable compcache? My class 6 might not arrive before I go on holiday (Tuesday) and Im thinking linux-swap will be too slow on a class 2 :-S
Click to expand...
Click to collapse
Yes, you can enable compcache, its already on by default in 2.7.4r2. He said not to use userinit.sh for linux-swap as he already added command into a2sd.sh. So that's automatic as well. You can check if they're working by going into Terminal and typing:
#cat /proc/ramzswap
#free
#cat /proc/swaps
mines working but still is slow, ect. Is it cause its only experimental?
I think i found my issue, i reset overclock to be default so its NOT overclocked anymore, and i see improvements.
h.nocturna said:
Yes, you can enable compcache, its already on by default in 2.7.4r2. He said not to use userinit.sh for linux-swap as he already added command into a2sd.sh. So that's automatic as well. You can check if they're working by going into Terminal and typing:
#cat /proc/ramzswap
#free
#cat /proc/swaps
Click to expand...
Click to collapse
So compache runs automatically? So no need for a swap partition?
If you have compcache and a swap partition, you're going to have problems. Use one or the other.
goldenarmZ said:
If you have compcache and a swap partition, you're going to have problems. Use one or the other.
Click to expand...
Click to collapse
Or you might try using linux-swap as a backing swap for the compcache. If you wanna find out more, just check out the compcache tutorial thread.
So this is why my newest jacheroski lags that much.. But in the tutorial, there's nothing about disabling the compcache. So how can I remove it, or make linux-swap backing up compcache?
edit: I'd rather disable compcache, because I'm too lazy and not willing to create linux-swap in the future again. (gah, if there's something wrong in what I wrote - sorry, but my english isn't perfect. i'm trying ;p)
BolecDST said:
So this is why my newest jacheroski lags that much.. But in the tutorial, there's nothing about disabling the compcache. So how can I remove it, or make linux-swap backing up compcache?
edit: I'd rather disable compcache, because I'm too lazy and not willing to create linux-swap in the future again. (gah, if there's something wrong in what I wrote - sorry, but my english isn't perfect. i'm trying ;p)
Click to expand...
Click to collapse
It's easier to just delete your swap partition.. boot into recovery, enter console with [alt+x] and do this:
Code:
parted /dev/block/mmcblk0 rm 3
Its easy enough to create a new swap partition in the future.. just follow the instructions in the 1st post of the jachero thread again.
I've not looked into compcache so I'm not sure how to disable that.

tutorial link please

FINALLY got cyanogen rom working. i've almost pulled my hair out over buying this phone(att user so i had to unlock and learn root, etc.)
anyways, got .999 installed and saw the * Apps2SD is automatic! All you need is a second partition (ext).
can someone point me in the right direction on how to do the partition part? i have full version of paragon and know how to use it but just don't want to fubar anything up.
i apologize for the noob question but i just need to know what to set my 2gb(although i have a 4gb class 6 in the mail now) sd card to what size partitions so i can run the add2sd.
thanks guys and love the site.
There is a sticky post in this section. I found it in less than 2 seconds. without searching.
blackinches said:
FINALLY got cyanogen rom working. i've almost pulled my hair out over buying this phone(att user so i had to unlock and learn root, etc.)
anyways, got .999 installed and saw the * Apps2SD is automatic! All you need is a second partition (ext).
can someone point me in the right direction on how to do the partition part? i have full version of paragon and know how to use it but just don't want to fubar anything up.
i apologize for the noob question but i just need to know what to set my 2gb(although i have a 4gb class 6 in the mail now) sd card to what size partitions so i can run the add2sd.
thanks guys and love the site.
Click to expand...
Click to collapse
Example for 8GB card.
Reboot and enter recovery (home+power) then go to console. Enter the below pressing "enter" after each line.
Code:
parted /dev/block/mmcblk0
print (to verfiy we know what size card we are dealing with. Mine was 8166 read below if yours is different)
rm 1 (if you had more than 1 partition you would want to rm them as well)
mkpartfs primary fat32 0 7622
mkpartfs primary ext2 7622 8134
mkpartfs primary linux-swap 8134 8166
quit
upgrade_fs
recovery
NOTE: this will reformat your entire card, so i suggest you back up your files.
and btw tell me the size of your sd card and i will type up the code for you...
use this method to tell me your exact size
go into recovery via home+power
go to console
pres enter
type:
parted /dev/block/mmcblk0
print
i am pretty sure you can see what number represent your total card size.
Easier Way!!!
OK,so I also have Paragon Partition Manager 9.0 Special Edition.
1.Go into your Paragon Partition Manager Software
2.Click on Partition Manager at the first screen
3.Click on your SD Card drive (ie. F:/)
4.Click on create partition in the left hand side of your screen.
5.It will ask you how big you would like your partition to be,then what type of partition. Paragon only supports EXT2 and EXT3 if your looking for an EXT partition. Paragon also only supports Linux-Swap2 and not Linux-Swap3.
If you need any more help man let me know.
Follow me on Twitter: http://twitter.com/andy_lowe02
andy_lowe02 said:
OK,so I also have Paragon Partition Manager 9.0 Special Edition.
1.Go into your Paragon Partition Manager Software
2.Click on Partition Manager at the first screen
3.Click on your SD Card drive (ie. F:/)
4.Click on create partition in the left hand side of your screen.
5.It will ask you how big you would like your partition to be,then what type of partition. Paragon only supports EXT2 and EXT3 if your looking for an EXT partition. Paragon also only supports Linux-Swap2 and not Linux-Swap3.
If you need any more help man let me know.
Follow me on Twitter: http://twitter.com/andy_lowe02
Click to expand...
Click to collapse
well i wouldnt say ur way is easier... it does require using a computer, mine uses the phone.. and mine is simply typing what u see.
Also im pretty sure you need to use linux-swap and not linux-swap2
(i think 2 works but im not sure that its recommendable sicne the rom cookers themeselves use 1)
I would also use the method brian posted. its much more effective
thanks guys, i got adds2sd working and everything. on a 1gb right now until my new 4gb class 6 comes in this week.
i haven't done the swap things yet as i'm not sure of them just yet. i've learned quite a bit over the last week without trying to bug too many people on the forum. your replies are MUCH appreciated.
what is the different between ext 2/3 and linux-swap? i'm running my current 1gb 514mb fat32 and 445mb ext3.
ext3 has journaling which reduces corruption a lot. linux-swap is used as virtual memory.
thanks for the reply so in turn the swap will make the phone run faster right?
also, since no one answered my question in another thread:
although i'm running .999 when i press the camera button it open a box with a 'To:' entry and 3 button 'open', 'call', and 'send'.
i've looked in the settings to see if i can change what the camera button does(want it to open the camera like before obviously) without any luck..
any idea?
Click to expand...
Click to collapse
any ideas?
thanks again
blackinches said:
thanks for the reply so in turn the swap will make the phone run faster right?
also, since no one answered my question in another thread:
Click to expand...
Click to collapse
In theory swap should make it faster as it has more memory to play with.
For your other question, a file on the ROM containing the keymaps has been changed. The only way to change what the camera button does is pull it, edit it, and push it back.
AdrianK said:
In theory swap should make it faster as it has more memory to play with.
For your other question, a file on the ROM containing the keymaps has been changed. The only way to change what the camera button does is pull it, edit it, and push it back.
Click to expand...
Click to collapse
oh boy, i tried to avoid the adb stuff as i had a few problems with it. wonder how it got 'changed'.
i'll give it a try sometime.

Another sdcard thread....cm 4.2.5 apps2sd/swap is locking me up

Hello.. as the title states im having issues.
ok, so i recently rooted my g1when i saw Gnav was live (w00t) and all was well until i decided to partition my pqi class6 4gb partitioned as listed below.
ok heres the kicker.. every thing is fine until i start installing apps then it will just lock up then when i try to restart i get a black screen after the cm loading screen and thats it.. only way to get it back to life is to delete then repartition the card...... i reflashed, repartitioned and factory reset about 10 times and finally gave up and wiped card back to full fat32 and no swap or ext3 then reflashed cm 4.2.5 and have been running flawless for a week now so i have narrowed it down to my sdcard... any ideas on WTF could be going on here?? are pqi cards no good maybe?? it was real cheap i caught a deal on it about a year ago.. something like 2x4gb for 15 bucks shipped. I have never had any file loss when using it just for storage or anything.
heres how i had the partitions layed out
0 3459
3459 3971
3971 4003
i also tried ext4 aaaand out of desperation cm 4.2.4 with no luck
any insight greatly appreciated, I didnt know if i should post this here,in development or accessories but its a Q and im lookin for a A
Thanx
-Bop
Well I had the same issue with my phone, but I switched over to Amon-RA recovery and it does SdCard partition for you, You just have to enter the number's you want and it does the rest in recovery mode. This is how to flash it on this page. http://forum.xda-developers.com/showthread.php?t=566669.
errrm i dont think the recovery is the issue, i really like cm 1.4 for the fact that it has a console
thanx.
Next
Amon_RA has a console too....
if you dont want to use that, then format it through parted with 1.4
Amon_RA's does the same thing but its much easier (he basically added automated scripts to the 1.4 recovery, since it is actually based off 1.4)
Thanx.....but that's not my issue, please thouroghly read my opening post.
Thanx again
Also I should probably add one note here....it don't lock up as soon as I install a app.... I can get 3 to 5 apps in be4 what's explained in my OP happens.
BopChie said:
Thanx.....but that's not my issue, please thouroghly read my opening post.
Thanx again
Also I should probably add one note here....it don't lock up as soon as I install a app.... I can get 3 to 5 apps in be4 what's explained in my OP happens.
Click to expand...
Click to collapse
Well get us a logcat of when that crash happens. It seems like bad partitioning but get us a logcat and we can narrow down the issue
B-man007 said:
Well get us a logcat of when that crash happens. It seems like bad partitioning but get us a logcat and we can narrow down the issue
Click to expand...
Click to collapse
ok, i dont know how to do so and is this something i can fetch after the os is crashed via recovery console and dump to sd??
and as i said i am a root newb here.. so i have to ask... if i do a nandroid backup and save the backup to my pc be4 i go through and recreate my issue... will i beable to restore back to how i am now after i wipe and format back to full fat32 (if needed)
also.. take a look below, am i not doing something right here???
i did all the partitioning in parted as below
after removing all partitions i have a 4003MB chunk
mkpartfs primary fat32 0 3459
mkpartfs primary ext2 3459 3971
mkpartfs primary linux-swap 3971 4003 <---maybe i should try 4000 and not goto the end of the sd??
then after i'm out of parted
upgrade_fs to get ext3
tahnx again
BopChie said:
ok, i dont know how to do so and is this something i can fetch after the os is crashed via recovery console and dump to sd??
and as i said i am a root newb here.. so i have to ask... if i do a nandroid backup and save the backup to my pc be4 i go through and recreate my issue... will i beable to restore back to how i am now after i wipe and format back to full fat32 (if needed)
also.. take a look below, am i not doing something right here???
i did all the partitioning in parted as below
after removing all partitions i have a 4003MB chunk
mkpartfs primary fat32 0 3459
mkpartfs primary ext2 3459 3971
mkpartfs primary linux-swap 3971 4003 <---maybe i should try 4000 and not goto the end of the sd??
then after i'm out of parted
upgrade_fs to get ext3
tahnx again
Click to expand...
Click to collapse
that seems right..
if you have ADB setup, type in
adb logcat
just before installing apps. When it crashes, it should give error messages which we will be able to help you with. Post it here in code tags or post it on pastebin.com
BopChie said:
and as i said i am a root newb here.. so i have to ask... if i do a nandroid backup and save the backup to my pc be4 i go through and recreate my issue... will i beable to restore back to how i am now after i wipe and format back to full fat32 (if needed)
Click to expand...
Click to collapse
..........
B-man007 said:
that seems right..
if you have ADB setup, type in
adb logcat
just before installing apps. When it crashes, it should give error messages which we will be able to help you with. Post it here in code tags or post it on pastebin.com
Click to expand...
Click to collapse
currently i dont but i can get it setup again and give a try.. see my nandroid Q please
BopChie said:
..........
currently i dont but i can get it setup again and give a try.. see my nandroid Q please
Click to expand...
Click to collapse
Yes to the nandroid but your EXT will not be backed up. make sure you grab the right nandroid folder
if you want ext backup, you will need a BART or SwitchROM backup with the EXT backup
B-man007 said:
Yes to the nandroid but your EXT will not be backed up. make sure you grab the right nandroid folder
if you want ext backup, you will need a BART or SwitchROM backup with the EXT backup
Click to expand...
Click to collapse
ok think i got it solved here... using logcat on a boot after partitioning the card i could see it was hitting a infinite loop and had todo with some prop's i had swapped out for Gnav.. but since that is official on 1.6+ now i was able to reflash cm and sofar so good, installed 10 apps with apps2sd live and notta prob
Thanx a ton
B-man007 said:
Yes to the nandroid but your EXT will not be backed up. make sure you grab the right nandroid folder
if you want ext backup, you will need a BART or SwitchROM backup with the EXT backup
Click to expand...
Click to collapse
ok think i got it solved here... using logcat on a boot after partitioning the card i could see it was hitting a infinite loop and had todo with some prop's i had swapped out for Gnav.. but since that is official on 1.6+ now i was able to reflash cm and sofar so good, installed 10 apps with apps2sd live and notta prob
Thanx a ton
haha ok well its good to know you got it working
yeah so far so good.. 1last q...i have read mixed angles on enabling swap on sd.. i saw some1 say if its there cm4.2.5 will use it.. but i have saw ppl say it needs to be enabled.
I have never saw my mem get lower than 20MB should i even bother with swap?
its not enabled by default, you have to do it yourself. You shouldnt really need it on a cyan ROM.

cyan apps2sd help....please

So this is supposed to work automatically as long as I have my sd partitioned And its ex3. But its still clearly using my phone memory, cause my phone told me the memory is low and the partitioned part of my ed had barely anything on it......why?????
Can someone help
What does the print command show in parted?
What rom are you running?
hug
evilkorn said:
What does the print command show in parted?
What rom are you running?
Click to expand...
Click to collapse
I dnt know wat print command in parted means
And I'm running cyan 4.2.5
spazoid said:
I dnt know wat print command in parted means
And I'm running cyan 4.2.5
Click to expand...
Click to collapse
How did you partition the card? I am a total noob like you but I have a decent grasp of this stuff. I'll try and help using noob language. Did you partition the card using adb or using an auto-partitioning function from a recovery screen?
spazoid said:
I dnt know wat print command in parted means
And I'm running cyan 4.2.5
Click to expand...
Click to collapse
Read up on this helpful guide. That will help you partition your card right. Once that is done.... apps2sd is automatic.
Good luck
borodin1 said:
Read up on this helpful guide. That will help you partition your card right. Once that is done.... apps2sd is automatic.
Good luck
Click to expand...
Click to collapse
Even easier would be to use the recovery in my sig.
evilkorn said:
Even easier would be to use the recovery in my sig.
Click to expand...
Click to collapse
Easier but not as beneficial for someone who doesn't even know how to partition a card. Trust me I don't sit there and do everything in terminal neither... but... I know how if I had to and I think it's the right way. Also... I was not about to instruct someone to install a recovery just to partition a card.
This is happening on both my mytouch and g1....so I need help for both
So you cannot go into terminal on mytouch...
Used the recovery screen on Ra dream 1.2.2
spazoid said:
So you cannot go into terminal on mytouch...
Click to expand...
Click to collapse
I believe "Better terminal" let's you use VK. It's in the market.
Used the recovery screen on Ra dream 1.2.2
Click to expand...
Click to collapse
Good to know you got it done.
I didnt get it done. Apps are still taking up memory from both the phone and sd..????
My sd memory from the partitioned portion has only gone down From 447MB to 352 MB
And my phone memory is at 281MB
I deleted some things already, correct me if Im rong, but there should be no internal storage being used right?
Have you dumped your caches? That is the main culprit for me when my internal phone memory gets low...
yes I did...but like I said if apps are going to sd then they should not be taking internalk memory
I guess I see what you are saying... I have the same issue... I just thought it was the name of the game...
do you have adb? if not, you should set it up. you can view the directories on your phone and see where apps really are for sure. i think root explorer in the market will allow you to see it to, but it's a paid app. adb is something you should have either way.
I had 55MB / 89MB left on my g1 running the newest cm.
went into the application settings, then manage applications. Went down to GMAIL and Browser and cleared cache and data.
Now my memory is:78MB / 89MB

Categories

Resources