yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] IOmega666:
and how you do that ?
[G1 Android Development] ad505:
Of course I am running su first. And swapper2 was granted su permissions. I didn't realize there's a swapperv2 script. I'll try it.
[G1 Android Development] ad505:
Su

/sdcard/fr-script140.txt swapperv2

Still getting permission denied.
[G1 Android Development] id242:
have you tried this swap script with your CM6? (v2.1.1)

http://forum.cyanogenmod.com/topic/208-swap-enabledisable/page__p__1303#entry1303

I just came across it and gave it a go before posting here. I hope it can get you back up and running again.

If you already have a partition on your microsd set for your swap...

Flash from recovery, "SwapScriptv2.1.1-signed.zip" then "SwapFileScript.zip"

Then reboot and once everything is loaded, fire up "Terminal Emulator" on your device and as you already know, enter "su" and then "bootswapv2"

It will ask you about your card's partitions (i use fat32 + a 32MB swap, which was created in amon_ra recovery)

Then it will ask you for your swap size and swappiness. I use a 32MB Swap, 20 Swappiness.

And finally, it will ask if you want to input custom vm settings y/n... I choose "n". "N" keeps the defaults intact.

The script will exit and you should be good to go!

To confirm that swap is working, type "free" while still in terminal - if it says anything other than "0" in the swap-size row, you are good.

NOTE: Im sure you already know most of what I've detailed, but I added it for anyone else who was curious of the procedure.
[G1 Android Development] ad505:
Dang, looks like the CM forums are experiencing an internal server error. Can you post a link so I can download the files?

Thanks so much for this info!
[G1 Android Development] :
I was running this ROM earlier in the day. I switched to SuperF because I couldn't handle the temptation, and now I'm back. However, I flashed CM6 and the GApps, but when I go into the SetupWizard, I get past the Login and it stops. It goes into an application loop where it just keeps looping into the application. I try to go home, but it wont work. Any ideas why?
[G1 Android Development] my_former_self:
Sup, ad. First, uninstall Swapper2. Then, try the link in my sig (where I list my swap setup). Flash it from recovery. Boot back in, let it settle, and pop open Terminal Emulator and type:

su

bootswapv2

Then just answer the questions. It's awesomely simple and works great.

NOTE: I say use the bootswapv2 command because that command makes swap enable at boot. Swapscriptv2 only enables it for that time, meaning once you reboot, you have to enable it again (it's there so you can "try it out" mainly). So, bootswapv2 is the way to go. There's a list of the other commands on the page, too., but you really only need bootswapv2.

P.S. - If the link doesn't work for you (it's working right now), message me and I'll upload it to Mediafire or something for you.
[G1 Android Development] my_former_self:
Which version of gapps did you flash (list the whole file name)? And did you flash the stable CM6 or a nightly build? Also, I see you have a G1 from your sig, but what what SPL, and what radio?

Once we get the basics, we'll figure it out.

P.S. - You might want to add that stuff to your signature so when you ask a question, we can skip this process :D Keep the quote about the phone sleeping by your pillow, though!
[G1 Android Development] :
All black on black T-Mobile $179.99 G1/HTC Dream. Haykuro's Danger SPL. 2.22.19.26I Radio. Tried Flashing the CyanogenMod v6.0.0. gapps-mdpi-tiny-20100930-signed.zip
[G1 Android Development] ad505:
what up, mf self. u are such a great help, this worked like a charm. I can't believe I hadn't stumbled upon this script already. thanks again for all the info, always. You are a badass, sir.
[G1 Android Development] my_former_self:
Cool cool. Wow, a price even! :D OK, so you're definitely set up right (SPL and radio). One thing I'd change is the gapps. It might just be me, but I'm seeing a lot of people who are using the updated version run into trouble with CM6 stable. Use an earlier gapps: MDPI-TINY-20100816 or MDPI-TINY-20100826. You'll inevitably have to update a few of the apps (Gmail, etc.) and install Maps, but that's not a huge deal as the updates are all available from the Market now. You can remove the excess app-age (like Twitter and such) from the initial install using this guide.

Also, make sure that you are clearing everything from recovery; Wipe data/factory reset, wipe cache, wipe Dalvik-cache, wipe ext partition (if you have one), and wipe battery stats, too, just for good measure. Then, install CM6, gapps, and I'd suggest -steve-o-'s swap script from my sig, too (of course, you'll need to have a swap partition or make one). If you use an EXT partition, then also flash Firerat's apps2sd script from my sig, too. Those last two I would do AFTER you boot into CM6 once, let it settle, and get all your settings where you want them. Refer to my little "speed tutorial" in my sig, too, for some suggestions that I've found REALLY help.

Anyways, give that a wack. Got any probs, I always check back after work! :D

P.S. - Nandroid backup first!

P.P.S. - If you don't already have it, I'd HIGHLY recommend Titanium Backup from the Market. The full version is by donation (the min is $3.99, I think), but I can't even tell you how much you will use that program. It is a LIFE SAVER.

Well...yeah (blows on nails, scratches chest)...I try. :cool: Heh heh heh, glad I can help, bro.
[G1 Android Development] :
I'm also trying out GammaFly, but it's doing it as well.

I think I'll wait until tomorrow morning to work on more things. Also, I haz Titanium <3.
[G1 Android Development] my_former_self:
Cool. When you do try again, take a look back at my post; I changed a few minor things and updated a few links (the earlier gapps are no longer available, so I uploaded them to Mediafire for you).
[G1 Android Development] :
And it won't notice my SD Card at all. Any idea why?
[G1 Android Development] plamic:
Anybody else having problems with the camera (automatic force close) in the latest nightly? I'm trying to decipher whether or not it's a hardware issue... help me out! :confused:
[G1 Android Development] vermaekansh:
App2sd on CM6**MY MODIFICATION**

Hi guys,

I have added few things in cm6 stable and want to know your comments on this.

all credit goes to cyanogen and his team as i not a developer or not claimed to be.

i am just a tinker and keep things in place.

added few things in thsi ROM but i have given the ROm my name as to differentiate from actual CM6 that is trully a masterpiece

but i also like to thanks Ryan scott for his support and build up confidence in me ;) JLT

few added things

a. App2sd

b. Titanium backup in app list

c. Gallery 2d

here you can find the link:

ROM: Download here

And Google addon from OP

INSTRUCTION:

a. Full WIPE as recommended[System+wipe in recovery]

b. Flash the ROM

c. Flash Gapps Tiny 20100816 as this one is working for.

I am not responsible for bricked devices and if your phone blows up or otherwise breaks its not my problem!!!

If you like my work buy cyanogen a beer...and give me your feedback.
[G1 Android Development] fratermus:
What about running it from the current shell:

(notice the leading dot with a space behind it.

If that works, then maybe put a magicline at the top of the script pointing to bourne or whatever shell android gives us?
[G1 Android Development] luponero76:
hi all

i have the g1 rooted ex-tim

spl 1.33.2005

radio 2.22.19.26I

Amon Ra 170

and cm 6.0 d/s

i have a question:

it's normal who i have a /system/xbin/ on the partition called dev/block/spool0?

and are ONLY "red only"?

i would update busybox from 1.6 androidfull to 1.17.2 with "busybox installer"

but print this message "this device are not nad unlock or not system remount" o r similia.

sorry for my bad english.

thank
[G1 Android Development] guozz:
hi all, this rom is excellent. however, i'm not able to get any auto prediction/correction to work for the hardware keyboard. any solutions? thanks alot!
[G1 Android Development] dcorrea:
Firefox beta

Anyone get the firefox beta running on this rom? Ive tried, but when I launch the app it just closes and crashes to the home screen.
[G1 Android Development] my_former_self:
(Sigh) Post your own thread...

No offense, but seriously? Create your own thread, man. It's extraordinarily rude to hijack another dev's thread (especially Cy's) and post an infinitesimally "modified" version of that dev's work in his own thread. And good for you for adding in all of the fixes and work we've done pages ago

without credit

. Perhaps Firerat for the apps2sd script? And did you even fix the camera preview problem to work with the 2D gallery? I did that pages ago. And Titanium backup built in? For real? It needs a license to even be useful. Not to mention changelogs are normally included in a "new" ROM's first post in its thread...that is, if you actually had made a thread.

(Sigh) It's open source, so do what you want. I don't want to disuade you from modifying, learning and sharing your "work" (it's the spirit of Linux, after all), but at least be professional and courteous enough to create your own thread and give credit where its due. That's what erks me the most. This is a CyanogenROM thread, not a "VermaekanshROM" thread. Just my $0.02. Clean slate. I'm done.
[G1 Android Development] my_former_self:
Post nightly questions in the Nightlies Thread!

No, because we aren't in a nightly thread. Please please please, everyone stop posting nightly questions in a stable mod thread. Post it here.

You'll find WAY more help there, anyways, since everyone there is using a nightly, as well. Not yelling at you, just steering you in the right direction.
[G1 Android Development] havikx:
alright guys, i jumped back to cm5 after having trouble with reboots and the camera and the camera didnt work. didnt test long enough to try a reboot. i'm gunna unroot and go back to stock and see what happens. unfortunately, every dream.nbh file i find on the net seems to not be signed? i'm beginning to think the mac and the g1 are fighting with eachother.

can some1 please post a link to a working dream.nbh file?
[G1 Android Development] ad505:
Hey man, since this is not a flashable zip, how do I install it? Via terminal? If so, what is the command?

Thanks!
[G1 Android Development] id242:
Just unzip it.

The archive contains three files:

"README FIRST.txt"

"Gallery.apk"

"Camera.apk"

The txt file inside the archive gives instructions of how to install

Rather than having to deal with the alternative file hosting which makes you jump through hoops by entering difficult to read captcha codes and "waiting for 90 seconds before download" and such, I've attached it to my reply.
[G1 Android Development] ad505:
Thanks!
[G1 Android Development] my_former_self:
Use the link in my sig, from now on. I'll update the old post to say that, too. That way, when I update versions, I'll just update the link in my sig (which I already have). The version you linked to is an older one. I use Mediafire now, too, which only has about a 3 second wait time.
[G1 Android Development] my_former_self:
Give me a minute to dig up the file on my computer. I'll update this post when I find it.

Update: The file upload is taking for-ev-er. So, try here or here. <-- For the last one, Right-Click and choose "Save as...".
[G1 Android Development] Ronald.Carter:
I love my HTC Magic 32A with CM6 it is brilliant, Loving chrome to phone
[G1 Android Development] Phateless:
Great post! It's funny, I gave up on FroYo before disabling compcache but for the last few days I've been wondering if I should go back and see what that does. Will nandroid back there soon and try it out.
[G1 Android Development] my_former_self:
You should totally go back (to Froyo). With everything I did in my post/tutorial, my wife's G1 is running great and and so is my MT3G.
[G1 Android Development] id242:
If you ever feel like updating your Gallery2D from "2.1-Update" to "2.2", the files are here...

http://forum.cyanogenmod.com/topic/7534-old-2d-gallery-in-cm6/page__p__67507#entry67507

It's smaller and has been out since at least early July.
[G1 Android Development] my_former_self:
Yeah, I'm aware of that one. Problem is, that version doesn't support pinch zoom and swiping. That's why I chose the Gallery2.1-update version.
[G1 Android Development] id242:
Wow, I've been using 2.2 all this time and I hadnt tried pinch-zoom or swiping in it.

Thanks for the heads up!

Though, what I remember about using a version of Gallery2.1-update (with pinch-zoom/swiping) a long time ago, possibly the same one as you've included in your archive, I didn't like it much since I tend to only hold the the phone with one hand, not two... especially when showing others my photos. And many times when I went to pinch-zoom, the gallery instead swiped to the next picture. Similarly, when I was zoomed and I was scrolling inside that particular picture, Gallery2.1-update would take me to the next picture as well... instead of scrolling the zoomed image.

Dont get me wrong, thanks for the 2.1-update link & feature memories, but for what its worth, I believe that Gallery 2.2 is a more usable version of Gallery2D.
[G1 Android Development] my_former_self:
Kind of apples and oranges, in my opinion. 2.1-update, at least the one I include, seems to work great for me. One handed, I just use the default on screen buttons to zoom or double tap. Two handed, I pinch. I might add that I pinch diagonally (one finger in the lower left and the the other in the upper right, squeeze to middle and vice verse). Perhaps that's where you are getting the swiping problem; finger position. The actual swiping, of course, can be done one handed easily, as well.

Anyways, like I said, apples and oranges. They're two different galleries. Depends on preference is all and if you want the extra bells and whistles.
[G1 Android Development] id242:
Many times I like to zoom in on my photos and see a particular detail ...like if I took several photos and was looking to post the best one of the group to a public site like FaceBook. In Gallery2.1-update, sliding around a zoomed image would take me to the next picture - instead of doing what was intended, This made viewing zoomed imaged a chore in that version.

Though, Gallery2.1-update had the nice features you mentioned, as you also said, it depends on usage preference.
[G1 Android Development] mark manning:
Whats the best cm 6 nightly to use?
[G1 Android Development] id242:
for nightlies, go to...

http://forum.cyanogenmod.com/topic/2697-nightlies-discussion-of-nightlies/

for your question, check out that thread around post #2286 and read forward.
[G1 Android Development] vermaekansh:
My aplogies

My apologies ..i didnt mean to hurt anyones feeling...
[G1 Android Development] the00guy:
It's under the settings in Google Voice.

MyTouch 3g 32b,

CM 6.0.0

Dumfuq 710 OC @614Mhz
[G1 Android Development] viande:
Oh hi,

I'm encountering a weird issue for a loooong time with Messaging App.

When I try to delete a conversation, it's not deleted but set to January 1st 1970, and thrown back to the bottom of the page, empty.

Anyone had that issue (and solved it ?)

Many thanks !
[G1 Android Development] Phateless:
I nandroided back this morning and disabled compcache and the one or two animations I hadn't already disabled. Most of what's in your guide I had already done on my own to try and save RAM/processor. Seems to work ok so far. Thanks again for writing all that up!

The two things I'm noticing that concern me are that battery life drains like nuts with this rom and the messaging app stays running even 1 second after I've killed it with task killer.

Can anyone advise on these issues? Are they related?
[G1 Android Development] my_former_self:
Battery issue is most likely due to messed up battery stats. Charge that sucker up to 100% (plugged in, make sure the lock screen says 100%), wait another half hour, reboot (still plugged in) into recovery and wipe the battery stats. Then (still plugged in), boot back into the OS, let it settle for 5 minutes and unplug. Run it till it dies. And I mean dead. Best way is to run it until it shuts off, then boot into recovery and let it sit there until it shuts off again. Then, charge until 100%, wait another half hour, then unplug. That should recalibrate your battery. I know it's a pain, but it's a price we sometimes pay for flashing and reflashing so often.

As far as the messaging app, I'm going to assume it is considered an essential app by the system, which means it will just restart even if you kill it. If you do not use SMS at all (which I'm guessing you don't, since you're killing it), I believe there is an app on the Market that can regulate what apps can have access to data usage (the name alludes me, but I'll search). Now, the SMS app may still run, but it won't suck bandwidth and therefore won't use as much battery or CPU. Make sure to disable auto retrieve and other such setting in it (the SMS app), as well. There is also an app on the Market to set what apps are allowed to autostart at boot, but some people have seriously screwed their OS with that one.

P.S. - Task Killers, whether auto (which is a BIG "no no" on Froyo) or manual are serious battery hogs, by the way.

P.P.S. - SetCPU can help battery life dramatically if you set the min to 176Mhz or 160Mhz. It is by donation in the Market and free here in XDA (see my sig).
[G1 Android Development] my_former_self:
Finally recreated your problem. :D I've been trying to do it and I finally got it to swipe when zoomed in and trying to scroll around. It swipes if you move you finger too quickly. If you move your finger to the spot and let it sit for even just a millisecond, it won't swipe. At least for me.

Anyways, I know you don't care about the pinch zoom, but I just wanted to say I finally got my phone to recreate the issue. A good fix would be if someone could implement a "no swipe" code when the picture is zoomed in. Buuut that would take someone far android savvier than I! :rolleyes:

Firerat? :D
[G1 Android Development] Phateless:
Yeah I've wiped battery stats but I rely too heavily on my phone to let it completely die, lol.

I do use messaging, I just don't see it stay "always on" in donut like it does in froyo. Weird...

I have a task killer but I never let it stay running. I only open it if I need to kill a certain task that didn't exit on its own.

The SetCPU settings I use happen to be exactly how CM6 is configured from Cyan, so after letting setcpu autodetect, I just uninstalled it. I like it at 245-576, on demand.

I discovered that the gallery lags like CRAZY, so I already nandroided back to donut again, lol. Am I gonna break something by nandroiding back and forth twice a day? I don't even know what class my sd card is, so it's probably slow...
[G1 Android Development] my_former_self:
1. We all rely on our phones, too. If you want better battery life, you're just going to have to man up and do it. So, charge up when you get home and do what I said (100%, an extra half hour, recovery wipe bat stats). Then, I just let it die later at night by playing a movie on it at full brightness or continuous music with a flashlight app on (keeping the screen on); both will kill it pretty fast if you've been using the phone during the day. Then, boot into recovery and after about 10-15 minutes tops, it'll die completely. Charge it overnight and you've got yourself newly calibrated battery stats in one night.

2. You didn't use SetCPU correctly. Autodetect should give you a range of 122Mhz - 576Mhz. You should set them at 160Mhz - 576Mhz for best performance and best battery life. And, FYI, Cyanogen's top setting is 528Mhz not 576Mhz and the default low end is 245Mhz, which won't help your battery. If you uninstalled SetCPU, your settings reverted back.

3. Yes, the 3D Gallery lags, but you can install the 2D from my signature and get better performance.

4. No, you won't "break" your phone, but the more your flash back and forth, the potential for more problems will arise. You need to perform the proper wipes and yes, your battery will probably need recalibrated occasionally, depending on how often you flash. It's the price you pay for the ability to root and completely control your phone. As far as your SD Card, I know people on here with class 2's that do just fine with swap. I have a class 4 and I'm just fine.

In closing, you seem rather set on what you want to do. Your phone, your choice. But if you don't use the suggestions, you just aren't going to have CM6 running well.
[G1 Android Development] Phateless:
Completely understand what you're saying.

1. You're right, I guess running it down wouldn't take that much work.

2. You misunderstood. I wasn't talking about the range of available speeds, I was talking about the autodetected current settings. CM5 and CM6 allow for overclocking to 576, and those settings are where I wanted them. The first time I ran setcpu on cm6 I accidentally denied SU permissions and setcpu told me it was in "read only mode." It showed my settings as 245-576, which is how I would have set it anyway, so I figured I didn't need it.

Does that make more sense?

EDIT - or is it possible that setcpu just read its own settings from 1.6 from my sd card and displayed those? In 1.6 I can only go up to 528mhz, but maybe it's noted as "245-max?"

3. Thought about that but got sick of screwing with it. Next time I nandroid back to cm6 (probably tonight at this rate, lol) I'll try that.

4. Very true, I always wipe cache/dalvik before restoring, but doesn't a nandroid restore overwrite everything anyway? I guess a full wipe couldn't hurt and I'll do that from now on. As for swap and app2sd, I was under the impression that they would slow down the phone even further, despite allowing increased capacity?

You're right, I am fairly hard-headed when I feel that I understand what I'm doing, but I'm always open to suggestions based on new information. My main goal is to understand how everything fits together and then make my own decisions. If I don't feel comfortable with my level of understand I'll ask the gurus and follow their advice.
[G1 Android Development] my_former_self:
Yeah, that makes a lot more sense.

Installing the 2D gallery is SUPER easy. Just use the link in my sig. It takes about 5-10 minutes tops and then you're set.

Swap, in my opinion, is ESSENTIAL to speed and multitasking in CM5 or CM6 (make a partition and then use the link in my sig to enable it and set the swappiness). You need to make sure other settings are correct, though, too (see my speed guide).

Apps2SD is only necessary if you have a G1; MT3G has enough internal storage. Froyo2SD, which was built by Google, is total cr*p and will slow your phone to a crawl. It basically moves your apps to the FAT32 partition of your card, not the EXT like before, and places a file that points to it in your internal storage with a loopback. It's a total brain fart. A wet one. :rolleyes: Even though you have a MT3G, make sure your default install location is set to internal.

If you are sick of screwing with things altogether or don't like it, either unroot or wipe and flash back to CM 4.2.15.1 and stay on it. Anything past that and you will always need to "screw" with things. It's the unfortunate consequence of running legacy hardware (if only I would have bought a Nexus One!).
[G1 Android Development] Phateless:
lol, ok good.

Yeah I saw that link and figured it couldn't be too difficult. All I really want out of the gallery is multi-touch anyway. Hell, I usually use the Linda Manger gallery instead because the stock one is too slow.

Hmm, I've heard that you can "wear out" your sd card though? Plus I don't like partitioning my sd because then I can't pop it into the card reader on my laptop, I have to usb connect the phone.

Yeah, yeah, I know I'm lazy.

I'm VERY minimalist, so I can't imagine I'd ever run out of room, even on a G1. Hell, I usually download, use, then uninstall when done, especially with apps like remotedroid that only get used once or twice a month.

Eeewwwwwwww....