yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] oneG:
Wow. All The Sudden I Feel Like A Genius

Was anyone else as entertained by this as i was?

Something is definatley is too much for its own keyboard.

The title itself is comedy on a subconscious level

"'Fastest" where [ROM] or [UTIL] or [THEME] should be is one thing but throwing in "Universal 4 All" doesnt do the thread justice either.

May i ask, what of v1? :eek:

Can you provide a changelog? So i can, you know, like (IDK)..... know WTF that shid consists of?

Nevermind. There isnt even anything to download.

Sorry... couldnt help myself

Question: why is your sig funnier than this thread? :cool:

[QOUTE]

THANK YOU ALL DEVELOPERS FOR YOUR HARD WORK!!

But maybe instead of asking for money to spend on beer and Cigarettes, Maybe you should ask for a better reason to spend you sonated money on !

G1: White (Rooted) Really!?!?

Haykuro's SPL:1.33.2005

Radio:2.22.19.261

Drizzy ShlT(The Best) Get at It!!! Sounds like 2009's version of "Get her Done"

[/QUOTE]
[G1 Android Development] miketaylor00:
Finally!!! V3 is out!!!!

So you spent at least 1 week on all of these? That means you spent at least 6 weeks doing this research? That of course is assuming that you figured out which setting you wanted in the first few hours and then stuck with that for an entire week. Man you are dedicated.

How did you benchmark your results again?
[G1 Android Development] n1ghtl1fe:
ANOTHER thing is. Not everyone uses the SAME apps, SAME widgets, SAME amount of home screens.

Personal experience is set up the phone the way you like it and try different swaps =D 40mb for me never gives me a loading screen (im using 5 screens widgets on each) the linux-swap loads what u open, when it gets full and you open something big it has to reload (loading screen). just experiment guys. 32mb is stable and recommended by our loving and devoted devs, but it wont hurt to find what works best for you! =D

*oh and thanks jf4888 for insight/research, you will help a lot of people and help stop that annoying question that pops up every few pages on some of this forums bigger threads =D!*
[G1 Android Development] miketaylor00:
You are right. Not everyone uses the same apps, widgets, home screens, etc. But that doesn't play as much of a role as you might think. I thought I would explain a little bit about how linux swap works in an attempt to bring this discussion into the realm of usefuleness.

Your phone uses it's internal memory to store the data that you are using. The memory is divided into chunks called pages. Using linux swapping, either with partition or file, allows those pages to be moved to the hard drive (in this case sd card) to extend the amount of memory available to the OS. Basically, when the phone runs out of internal memory it has to clean up and get rid of something that is sitting in memory to allow you to run something new. Swapping means that your phone should have to do that less often. Stuff that has been sitting in memory for a while can be moved to the swap file to make room for the app that you just opened up. If you need that old memory it can still be accessed faster from swap than it can if it doesn't exist at all. Swapping does take up processing power and it isn't as fast as RAM. So the key is to find a balance that will give your phone some extra memory without creating a huge file that it has to manage in order to keep data that will probably not be needed again.

Here is a good example of when swapping can make a difference on your phone. Say you are using the browser, then you switch to something else. When you come back to the browser the entire page as to be reloaded and it takes a long time. That's because all of the data that was downloaded the first time had to be cleared out to make room for the other stuff you were doing. When you came back it had to grab it from the Internet again. By extending the memory, that data could stay in memory the entire time and be ready for you when you came back to the browser.

If your swap file is too small, it doesn't really meet the needs of the phone and you run into the same issue you do when you run out of internal memory. If it is too large, you have a huge file that has to be maintained by the OS. As it gets larger your phone will slow down as it tries to manage the file and get rid of data that is no longer useful. That is why people with huge swap files notice slow down when they have used their phone for a long time. The swap file is becoming unmanagable.

If your swappiness setting is too high, your phone will move too much to the swap file and your phone will slow down because it will be paging all of the time. The processeor will spend more time moving data back and forth than it will doing the things you have asked for. If your swappiness setting is too low, your phone won't use the swap file enough.

The key is finding the right balance. Yes, it will vary from user to user a little bit but not that much. Unless you are using your personal port of photoshop or something crazy like that. There are general guidelines for what the settings should be. One persons personal experience and how fast they "feel" their phone is should not be the way to go about it.
[G1 Android Development] Seoulboy1:
Damn man you got a lot to say. 8/24 so a third of this thread is you bi*ching how much this thread sucks. lol. I wonder why you can't just start your own thread instead of shi*ting on this one while bumping it at the same time. I guess you just have a thing for correcting the "wrongs" instead of doing "right" on your own.

I can imagine that people love listening to what you have to say because of your underlying argumentative and judgmental tone. It is infused with everything you say because you think you are a superior being of some kind. We all know that people love that in real life and wanna be friends with those type of people all the time. I bet people use that donate link on your sig all the time for your help you're getting spammed by paypal everyday. You might as well quit your day job and correct all the wrongs on xda all by yourself because you deserve it.

So I salute you "real man of genius" on xda. Keep on crapping... on threads that shouldn't be bumped... you deserve a donation *golfclap*
[G1 Android Development] Binary100100:
My .02

Well, I actually found this useful.

Prior to reading this post today I had a 40mb swap. I figured that since I would consider myself a heavy user then I should have a more then recommended swap file. It worked pretty well on Cyanogen's build. But I was always getting the HTC screen or the stupid "LOADING" message.

So I figured "What the Hell. I have 5 hours to kill. I'll spend 2 hours backing up my sdcard, an hour partitioning my card and 2 hours restoring. I was stupid and used Partition Manager and it didn't parition my swap file correctly or something because even after I pushed all of my /sd/ files back on to my ext3 partition it took maybe 20 minutes to boot up and afterwards I didn't have swap. Compcache worked fine (which ment it wasn't the OS, my userinit, user.conf files) but I couldn't use swap backing and I couldn't use standard linux-swap.

cat /proc/swaps worked but it gave me:

and sh system/sd/userinit.sh -s gave me:

NumReads 1

GoodCompress 0%

Evenually, I broke down and booted Ubuntu (I guess I should have done that in the first place) and it showed up as swap... but I just reformated it anyway. Put the card back in my phone, booted it up and voila! 96mb swap partition.

To be honest. I think it seems to run no different on Cyanogen's 4.0.1 ROM then it did when I used only 40mb.

So I tried JacxHero1.4 and I haven't seen one HTC screen or LOADING screen during the hour that I've been running it.

In regards to what I'm running on my HERO:

Screen 1

HTC Calender widget (minimum)

Screen 2

5 Apps and overclock widget (to monitor processing speed but not to overclock)

Screen 3

HTC Twitter widget (Full screen)

Screen 4 (Main)

HTC Flip Clock (with weather)

4 Apps

Screen 5

HTC E-mail Widget (Full screen)

Screen 6

HTC Text Message Wiget (Full screen)

Screen7

HTC Weather Widget (Full screen)

And I am also running Locale (which seems to be a memory whore) the whole time.

From the weather widget it takes about 2 seconds to take me back to the main screen and it takes about 4 seconds from the text messaging app to return to the main screen.

I have 175 apps installed (easy to find out by loading aTrackDog) and it took me 8 seconds to return to the main screen after pressing the home button to exit out of the app.

Previously (pre-96mb partition) it would take about 5 seconds to return from the weather widget back to the main screen and all too often after I press the home button from the text messaging app I would see either HTC or Loading for about 20 to 30 seconds. I don't know about you but having to wait that long to use your phone for anything else just because you sent or recieved a text message is just unacceptable. Which is why I don't ever recommend Hero as a default ROM because it's clearly not perfect. Far from it. But it's getting closer.
[G1 Android Development] n1ghtl1fe:
so your saying 96mb? j/w im no guru either =D
[G1 Android Development] n1ghtl1fe:
thanks for the info i got a lil bit of a better understanding now. so what size do you use?
[G1 Android Development] adrake400:
I am running Drizzy's Champion_v2 and I have stated before that I had a 32mb swap and I had TONS of loading screens!! I would play mafia for like 3 mins then hit home and I would get a loading screen, go on the internet hit home loading screen, market hit home loading screen (catch my drift). So I switched to a 96mb swap and and I have had 2 loading screens since champion_v2 was released. As for lagging after a few days, that usually happens when coming home from a call, or when my phone is idle for a period of time (typically about 30 mins or so which doesnt happen often :) lol). But when I am playing with it and constantly doing things it doesnt lag. I am using 3 home screens:

HTC message (left screen)

twitter (full right screen)

2nd weather widget, photo frame, market widget, battery widget, task manager, browser, mafia, and chompsms (all on main screen)

AND THE PHONE IS STILL FAST!!!!

oh yeah had to make corrections seeing that people are checking grammatical errors :D
[G1 Android Development] Binary100100:
Yes. I've been using Hero with 96mb swap for about 8 hours and the only time that I've seen a loading screen was when I was playing around with it and set my swappiness to 30. I pressed PHONE and HTC then the app came up. I pressed home and "Loading" so 30 swappiness + Hero = Loading. :p
[G1 Android Development] n1ghtl1fe:
what method u use to set swapiness?
[G1 Android Development] Binary100100:
To set swappiness to 80

echo 80 > /proc/sys/vm/swappiness

To check swappiness

cat /proc/sys/vm/swappiness
[G1 Android Development] n1ghtl1fe:
80 works best in your opinion?
[G1 Android Development] speoples20:
I currently have my linux swap partition set to 32mb. Is there a way to change the partition size with out reformatting everything? I formatted through 1.4 recovery.
[G1 Android Development] Binary100100:
I was just using 80 as an example.

My opinion:

Hero = 60

Cyan = 30
[G1 Android Development] n1ghtl1fe:
oic thanks man for all the help =D
[G1 Android Development] Binary100100:
If you use Live CD then you shouldn't have to backup your fat32.

It's a good idea to back it up just in case.

You could backup your ext partition to your sdcard then backup your sdcard.

That way you have a copy of everything.

With LiveCD or Ubuntu use GParted and make your adjustments.

You can also access your mounted ext partition through LiveCD/Ubuntu as well so if you just want to backup your ext partition you can do so and just copy it to your desktop (if your running Ubuntu). If you want to TRY but not install it you can do as I do and use VirtualBox. It's free and easy to use.
[G1 Android Development] dwang:
Use gparted live cd...

I do it all the time..
[G1 Android Development] speoples20:
Cool I'll check it out.
[G1 Android Development] Lakers3408:
Get back to us after 72hrs or even 48hrs, and tells us how it runs then.

I ran 96 for 6 days and your right you wont get htc or loading screens, but what you WILL get is a STICKY Hero (molasses comes to mind), a Hero that takes forever to open the message app or any app or for it to respond when a calls come in and your pressing the onscreen button to answer and it does NOT respond and you miss the call, it would not even respond pressing the hard button.

So I HAD to go to using 64, not by choice but by necessity. And so far so good (72+hrs). I DONT get htc or loading screens and Im able to open apps up with out having to wait 4 to 6 seconds for it to show. Im even able to answer phone calls, imagen that! :D

So I guess what Im saying is 96 will work for sometime, but its NOT necessary. 64 will work just as well as 96, and the key to that is it does NOT make your Hero STICKY!
[G1 Android Development] jarcher2828:
Thanks everyone

after reading through this post, here is what is working best for me, almost a perfect

swap size 96

Swappiness 60

8GB SDHC (adata)

Only use 3 home screens, (but I have them filled)

been using this for about a day and a half with no issues, loads everything very quickly not completly perfect, but hey this hero not CM.
[G1 Android Development] jthmz:
I look forward to your death. Stop picking fights and go cry somewhere else.
[G1 Android Development] ryan75:
Sounds like there is some helpful info in this thread, might have to wade my way through it this evening. In the meantime, anyone know why this thread is tagged 'lil wayne'?
[G1 Android Development] speoples20:
Wow, you don't have to be a total asshat. All he was doing was asking for proof on a statement made with basically no proof to back it up.
[G1 Android Development] sasa3791:
i did manualy partitioning in recovery boot and i got all partitions,

but then when i copied Cyanogen 4.0.2.ROM onto SD card over SD Readar

and boot in recovery again and pres ALT+s, it cant find that file in my sdcard,

said "can't read sdcard".

wheres the problem?

so, can i partition SD card after i installed any rom?

or i need to do that before and than install rom?

__________________
[G1 Android Development] miketaylor00:
I literally LOL'd on that one.
[G1 Android Development] dougiesgoindeep:
Evertime I go to make a new partition (after removing the old ones) I get the message:

Error Can't have overlapping partitions.

Can someone tell me what I am doing wrong, and explain it as simply as possibly (I am very new to all this).

I follow the instructions, print to see three partitions, rm1, rm2, rm3, then enter mkpartfs primary fat32 0 7421 enter again and it comes up with the error message.

Thanks in advance.

(as a side note, if I type print after going through rm1, rm2, rm3, it still shows 3 partitions, as if nothing was removed, not sure if this is normal or not. Also, I am going though this in the first place to solve the lag and loading problems with JACxHeroSkiv1.5r2. I have an 8GB class 6 SD card.)
[G1 Android Development] amirnew:
notice that you live space between RM and NUMBER

do not write rm1

write rm 1

amir
[G1 Android Development] alapapa:
FWIW, i increased my swap partition from 32 to 92 mb and am seeing a drastic increase in responsiveness. we'll see if it lasts
[G1 Android Development] dougiesgoindeep:
Thanks. I feel like an idiot but I am glad it was an easy fix.
[G1 Android Development] thelamacmdr:
Did you reboot at all during that or was it running like that straight? Cause I turn off my phone at night while it's charging so if rebooting does affect it then I think the swap size might jsut fit a persons lifestyle
[G1 Android Development] miketaylor00:
I think we've all made mistakes like that. It took me twice as long to root my first time as it should have. I kept putting a space in between rw, remount instead of typing rw,remount.
[G1 Android Development] shaolinx:
It took me about 18 hours the first time learning to root, partitioning, installing roms, etc... I messed up so many times but now I feel like I can fix almost any problems(probably not though) :p.
[G1 Android Development] speoples20:
I know most of the talk here has been about Hero but what about Cyanogen's? Anyone test 64mb with his roms yet?
[G1 Android Development] pdspatrick:
tbh i've been using my swap set at 128mb, with swapiness set at 20, w/a class 6 card, and had no problems with it, but ymmv
[G1 Android Development] amirnew:
why do you need swap with CM? it is very fast already ...

amir
[G1 Android Development] twistedumbrella:
BTW, When you group all Hero devs into one and say we ALL say "don't use more than 32 MB", maybe you should check my posts, or even my twitter. I myself use a large swap. And nowhere do I say not to. And if you were getting load screens everywhere using ZeroXd, Drizzys newest versions, or JACxHero well then you just don't know how to text edit a user.conf file.
[G1 Android Development] Lakers3408:
Yo Twisty

What swap size do you use?

I personaly tried: (I use ALL 7 screens loaded with HTC widgets and icons)

32-(plenty of htc and loading)

96-(no htc or loading, but gets sticky/freezing after 4days)

64-(no htc or loading, gets slow after 4days, but very usable)

48-(currently running, with no htc or loading, best so far)

(All at swappiness set at 30) (I do edit the CPU scaling in user.conf file to 38400 min and default) (before any of you ask how to edit the file, use Notepad++)

Everyone should try different sizes and see what works best for you.
[G1 Android Development] jf4888:
Well sorry twisted i wasnt aware that you used a larger swap

p.s.: im not being sarcastic or anything
[G1 Android Development] jf4888:
................................................
[G1 Android Development] miketaylor00:
Swap will make it so that your phone doesn't need to reload things every time you request them. It may not make your phone run a lot faster but you won't see delays when switching back and forth between different applications.

Plus, you can never have too much of a good thing, right? If fast is good, why not try for faster?
[G1 Android Development] poe11371:
Ok, I have been looking around and searching for "linux-swap" brings back way too many results for one person to go through I am forced to ask ...

What is the command lines either though Terminal or Recovery Console to permanently set the swap? To a value other than 30? As in, is doesn't reset with a reboot.

Thanks.
[G1 Android Development] miketaylor00:
Check out the userinit.sh thread. Follow the steps in that thread and it will load the settings at boot up for you.
[G1 Android Development] jf4888:
The only way to permanently set the swappiness so it won't reset at boot is with a user.conf file which only certain time have so no you can't permanently set swappiness through terminal
[G1 Android Development] twistedumbrella:
... I give up ... Crash your phone, it's not my warranty repair claim ...
[G1 Android Development] rpmccormick:
FYI, My recent linux-swap results:

I was running 32MB on JAC & Drizzy's ROMs for a long time (as JAC says is mandatory).

I usually stick with a ROM 1-3 weeks before getting whatever currently looks like the best HERO.

I ran 42MB for a few weeks under both superlite/personal V2 and JACv1.4 which on both seemed faster for about half a day, but then was the exact same as 32.

I just switched from JACv1.4 to superlite v0.2 (drizzy, you are killing me with the wack versioning -lol) and also changed my swap from 42MB to 166MB.

So far after 6 hours it is still the fastest thing I have ever seen by far. The web-browser is still a slow loading POS, but all the HTC apps (camera, albums, weather, twitter, dialer, etc) open instantly and refresh their data damn-near instantly too. Other apps also launch a lot quicker. It is absolutely amazing. NOTE: superlite has no TF3D/Rosie.

Anyway, I highly recommend trying a large swap on your next ROM change. The nice thing about trying a large one, is you can always boot into recovery and shrink the swap partition without affecting the EXT. Everyone should always just leave 128MB+ space on the SD card and then assign the swap partition to be either the whole thing, or just 32MB of it, or anywhere in between. That way you have the option to change it later without killing your EXT partition.

EDIT: I also wanted to note that on the first run of superlite v0.2 it was laggy and crawling through setup, but after I restored my data backup and rebooted, all was good. It is seriously way faster at loading apps & updating data then the stock G1, including all the awesome Hero apps & dialer. I hope it lasts and doesn't start lagging.

EDIT 2: Don't use either of the widgets from the newest version of TasKiller, it causes tons of problems in JAC/driz's hero's
[G1 Android Development] Lakers3408:
LMAO!

Changing the Title of the thread , adding color and size does NOT make this garbage true!

Funny how people try to make a name for themselves:rolleyes:
[G1 Android Development] steven178s:
Why make a thread if almost everything on it is wrong
[G1 Android Development] miketaylor00:
LMAO. Thank you. The guy who started this thread has no idea is talking about. How dohis ramblings count as a development thread?
[G1 Android Development] Ayerwin:
jf~~it's really so nice with 96mb in HERO(emm.. maybe 192+96=hero's 288ram)~~~~

"""You can check it through Astro File Manager or Root Explorer, it actually will change

But remember, don't reboot unless you want to have to enter this again

Because it will go back to default swappiness"""

and about above,user.conf can be edited before flash with notepad in Windows.and resign ROM.zip is OK~

and change min CPU to 247800 is also perfect for hero

and ext4 is now aviliable for HERO in jacxhero 1.5r2

finally enjoy your smooth and beautiful hero~
[G1 Android Development] miketaylor00:
Ok, the guy who started this thread must be a troll. Can this thread be put out of it's misery before anyone trashes their phone by following his instructions?
[G1 Android Development] Lakers3408:
The ONLY way to do that is to let it die a slow painful death, by NOT bumping it up.

This will be my last post in here, I feel like a homeless man rumbling thru garbage
[G1 Android Development] miketaylor00:
I was hoping the moderators would kill it. I'm only going to post if someone responds to it that they are going to try using his "tuts".

DO NOT FOLLOW THE INSTRUCTIONS IN THE FIRST POST!!!
[G1 Android Development] steven178s:
Who ever is gonna try any of this..... don't you are gonna trash your phone
[G1 Android Development] jthmz:
Explain why?
[G1 Android Development] :
WTF?

the guy is just explainig how to get a 96mb swap on your phone.... even before this thread i've been running 96mb swap on hero and the thing works perfectly I've had the SAME sdcard for about half a year now....

so NO, you wont brick/trash your phone/sdcard atleast with the partioning aspect of this thread.

Everyone has their own ideas on implementing workarounds - dont shoot them down for sharing
[G1 Android Development] miketaylor00:
Ummm, all of his tutorials are messed up. You will not accomplish what he says you will if you follow his steps. Not to mention you can find the real steps in other threads that are dedicated to those things.

His opinion on swap size isn't that big of a deal, right or wrong. But why steal others people's tutorials and mess them up?
[G1 Android Development] miketaylor00:
So, suppose the partitioning aspect is ok even though it has a couple mistakes in it. Does that make it right for him to give people steps that will not get them out of a boot loop? Or steps that they think will restore their apps and settings but won't? How would you like to be the guy who expects he will get all of his settings back and ends up with out his settings or apps? Then when he does some research he realizes he can get his apps but his settings are toast.
[G1 Android Development] :
ok, atleast now theres a better explanation of it - didnt look into it that deep nor do i want to now... off with this thread!!! :D