helllpppp - G1 Q&A, Help & Troubleshooting

ok so im using RA v1.2.3, i did the partition the way its set up on a 2gb mem. how do i get it to give me a bigger linux swap bcuz my hero seems to b running kinda slow in terms of loading the apps, im running the mlign hero rom

Search for parted.

The Amon RA recovery will give you a 96mb swap partition. This really is the maxium size you should make the partition. Anything bigger and you phone will seem a little faster at first, but will begin to get bogged down. There really is a limitation to how far Hero ROMs can go, considering the hero was 96mb more RAM.

omg dont be stupid and start a thread like this and have it be about the size of your linux-swap. wow i seriously want to like slap you to knock some sense into you.

Related

Running a Hero ROM

I just got my G1 back from HTC, after they replaced it's motherboard. Last time I tried to install a Hero ROM, I flashed the SPL prior to the radio, and obviously, received a brick.
Right now I'm running Cyanogen Mod 3.6.
My SPL is: 1.33.2005
My Radio is: 2.22.19.26I
I'm not sure about my recovery image.
I still haven't partitioned my SD card for Apps2SD, which I know I have to do.
If someone can give me an overview on how to install Hero, and what's the best ROM, that'd be great. Once you've had a brick, you become pretty paranoid.
My setup is in my sig, and it works pretty well. JacXHero is still a work in progress, I really wouldn't recommend it. JacHero 2.73 runs pretty good if you use linux-swap. I never get lag on Rosie (maybe a little if listening to music) by only using a few widgets and a 64mb linux-swap partition on a class 6 card (transcend are very good, never had any issues).
SO my advice
-Partition the card with Fat32, ext3 (200-500mb), linux-swap (48 or 64mb).
-wipe, then flash JacHero 2.73
Don't try 2.74. That uses comp-cache by deafult and in my experience is *much* slower than 2.73 with linux-swap.
One other thing, do NOT overclock. The rom will automatically scale the cpu, overclocking will just make things slower (and probably drain the battery quicker)
hope that helps
Thanks very much for the advice.
No prob Did that answer everything?
Btw, is 1993 your DOB?
Pretty much, but I do have a problem. I just realized my 8 GB Micro is Class 2.
Ah, yeah linux swap will be pretty useless on a class 2. This is the card I have, never had any problems (it says it's class4, it's actually 6, writes a +8mb/s). I don't know why, but unbranded cards aren't always compatible (learnt that the hard way)
Sorry for all the n00b questions, but what exactly does linux swap do?
It acts as an overflow for the RAM. It can't be compared to RAM because it is so much slower, so it's best to use the fastest memory card you can get. The Hero has 288mb but the dream only has 192 (96mb difference) so swap really helps. Bigger doesn't necessarily mean better. People have tried 128mb partitions and found that their phones worked okay for a while then got too slow to be usable. I found 64 to work the best.
Alright thanks. I'll just purchase a class 6 card from amazon. So JacHero is the best Hero ROM? What about v3?
I would say so, JacxHero just isn't stable enough. Haven't tried Drizzy's v3, as dfar as I'm aware that was also kinda beta, it didn't have a proper change log (as he only released it on twitter) so I don't bother. No complaints with 2.73
AdrianK, I also have a class 4 card but would like to test the write speed of it. What did you use to test yours?
Alright thanks for the information. I'll just buy a class 6 card and partition it like you said.
Also, I just flash 2.73, that's it?
I don't need another radio or SPL?
beav_35 said:
AdrianK, I also have a class 4 card but would like to test the write speed of it. What did you use to test yours?
Click to expand...
Click to collapse
In both Ubuntu and Vista it will tell you the speed at which files are written to the card. So just copy something big (maybe 200mb+) and it should tell you. There are apps that are more accurate, but I don't know the names of any, sorry. I believe there's one mentioned in the SD card class thread in the accessories section.
@nasman1993 Yup just wipe n' flash. All you need is the latest radio and Haykuro's SPL which you already mentioned you have, so you should be good to go.
Thanks, i see now.
I get about 7.7MB/s so will this be fine for apps2sd? Aren't class 6 cards supposed to get 6MB/s?
beav_35 said:
Thanks, i see now.
I get about 7.7MB/s so will this be fine for apps2sd? Aren't class 6 cards supposed to get 6MB/s?
Click to expand...
Click to collapse
class #mb = minimum write speed
Yeah that will be fine, considering most apps are less than a meg, and the largest app I have (Bonsai Blast) is 6.
Great! I thought that I was going to have to buy a Class 6 card.
Thanks

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.

Current most stable rom?

I have an N1, but the G1 is my girlfriends, and apparently all the stuff I've done, something always is tweaking or wrong with it.
While for the past year I've been quite involved in the tinker'ing with the G1,
lately I've flashed the hell out of the G1, and now find myself trying to find a stable rom that works.
Im a heavy reader, but I simply just dont have time anymore to keep up to know a stable rom, its patches and whatnot.
Really, need the help.
Super D 1.11 good? or is a older copy a better way to go? 1.9.3?
Wanna get this done tonight, if anyone can offer advice,
You'll be awesome. I can donate if you anyone cares to elaborate .. I dont need details how to flash and stuff, Im just referring to proper setup between compcache, swap, swap partition size. ext2-4? , etc.
I've read shadow's guide, couldnt find information if overclock_upgrade2 worked on SuperD or not, and im just trying to get fast, stable 1.6
I have a transcend 8gb class 6 in there, and its not toast yet.
Also have Danger on her phone aswell.
Again, ill donate if someone can get this out of the way for me.
Been fighting a Windows install for a customer for 4 days now and just got piled with even more work.
i got atleast $5
---
really? no one?
Cyan's Donut build was quite stable for me. I had my 8 gb card partitioned as 512 mb ext-2, 96 mb swap with swappiness set to 60 using Swapper for Root, and the remaining as Fat32. That configutation ran good for me (although probably overkill on the swap).
Overclocking has not been as stable as I would like and probably not needed anyway.
If you want ultimate stability go back to stock firmware.
Pretty cool your gf has a G1, I got one for mine and she kept it for a week before taking it back and getting a blackberry. Thumbs down.
I tried CM 5.07 and I don't think it's ready to be a daily driver and his latest-donut was lacking in speed department so I found myself going back to Super-D. It kinda went downhill after 1.10.2 in my opinion... At this point I'm on 1.9.3 which I found to be unbeatable in terms of speed and stability. I also rm a lot of stuf to make it lighter: I remove VPN, Voice Dialer, Email.apk, Bluetooth.apk, SD-updater, Genie widget, etc. I also added some latest goodies (MusicMod and Phone.apk from 1.11, ADW Launcher, transparent powertop widget, etc). YMMV but it's working out for me so far.
Good luck.

Swap

I have made a swap partition with Amon RA 1.7 which is 256mb and have set up swapper 2. It informs me that swap is working but only 50-90mb of swap at one time.
How do I make it use all/most of it or at least half 128mb of swap?
Your best option is to get rid of the swap.
YOU DON'T NEED SWAP!
All it will do is make your phone SLOW.
If you think otherwise, it is only because you perceive whatever it is that you BELIEVE, which in this case is WRONG.
No but i am using a sense rom(Legend) which absolutly needs it. Many have compared with and without and some roms don't even work with swap (sense roms). It is also better than compcache alone or swap and compcache.
lbcoder said:
Your best option is to get rid of the swap.
YOU DON'T NEED SWAP!
All it will do is make your phone SLOW.
If you think otherwise, it is only because you perceive whatever it is that you BELIEVE, which in this case is WRONG.
Click to expand...
Click to collapse
Abhis right, sense needs it and it's worth it on any Donut.
Abhi_UK said:
No but i am using a sense rom(Legend) which absolutly needs it. Many have compared with and without and some roms don't even work with swap (sense roms). It is also better than compcache alone or swap and compcache.
Click to expand...
Click to collapse
That's kinda odd that all of it's not being used. Look at swapper 2 settings and make sure swpa size is set the same as the amount of your swap partition. However, 256 is WAAAAY overkill even for sense. 128 is MOST you'll EVER need, but 96 is more reasonable.

[Q] Virtual Ram by using SD card memory

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

Categories

Resources