yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] 0nest0ne:
mkswap: can't open '/dev/block/swap': No such file or directory

swapon: cat't stat /dev/block/swap': No such file or directory

hm...

#df

/dev/ 49120K total, 12 used

/sqlite... 4096K total, 0k used

/system 93160K total, 83788K used

/data 302848K total, 390204K used

/cache: 82920K total, 1160K used

# General parameters
general{
apps2sd=1	# this is useless here, require a modified a2sd script
dalvik2sd=0	# relinks the dalvik to sd if /system/sd/dalvik-cache exists
data2sd=0	# moves the data to sd if user enables
}

#compcache related parameters
compcache{
compcache_en=0	# enable(1) or disable(0) compcache
cc_disksize=32	# Ram swap disksize - any number between 1 to 95 should work
cc_memlimit=48	# Limit the memory usage for backing (cc .5x known issue-defaults to 15% of total RAM)
cc_backingswap_en=0	# enable(1) or disable(0) backing swap
cc_backingswap=/dev/block/swap # pointing to the backingswap partition device
cc_swappiness=60 # default 60
}

#Linux swap parameters
#
# linux swap can only be enabled if cc_backingswap_en is set to "0"
#
linux_swap{
linux_swap_en=1	# enable(1) or disable(0) linux swap
linux_swap_partition=/dev/block/swap # swap partition device
swappiness=80 # default 60
}

#virtual memory
sys_vm{
sys_vm_en=1	# enable(1) or disable(0) virtual memory configurations
page_cluster=0 #default 3, (0 since CM3.9.6+)
laptop_mode=0	# default 0
dirty_expire_centisecs=4500# default 3000
dirty_writeback_centisecs=600	# default 500
dirty_background_ratio=5	# default 5
dirty_ratio=10	# default 10
}

#cpu clock
proc_cpu{
proc_cpu_en=1	# enable(1) or disable(0) user cpu configurations
# freqency options
# 19200
# 122880
# 128000
# 245760
# 384000
# 528000
scaling_min_freq=384000 # default 245760
scaling_max_freq=528000	# default 528000
sampling_rate=2000000	# default 2000000 depending on kernel version
powersave_bias=0	# default 0, (200 since CM3.9.6+ )
up_threshold=40	# default 40, percent cpu usage before going up a speed step
}

and
[G1 Android Development] sleepwalkers:
I must be missing something here, but while I'm still in recovery, the first ADB command is returning:

mount: mounting /dev/block/mmcblk0p2 on /system/sd failed: Invalid argument

I currently have a FAT32 and swap partition, but... nothin' else. I formatted to get rid of my EXT partition. Any troubleshooting tips?
[G1 Android Development] kemimarie:
Problems

Not as stable as i thought ...

bad graphics in camera ..

No video .. (i think on all eclair roms anyway)

laggy on my phone .. idk why ..

launcher has clitches .. clicks on maps when i try to click home ..

really didnt explore rom that much ..

just that much i seen..

Great work though!

if it was "stable" id use as an everyday rom..
[G1 Android Development] DrLfresh81:
no updates yet huh:rolleyes:
[G1 Android Development] ionic7:
I went back alot of pages and havent noticed anything about sed trick, is that the thing you were talking about doing if you dont have teh right spl and reducing the size of the file? or something else. TY :D
[G1 Android Development] Jeffro64:
Anyone help with this?
[G1 Android Development] renegadEEE:
Do you need partitions to get this rom to work? I flashed it without partitions and it won't boot on my 32A with Old Radio and yes I flashed the port.
[G1 Android Development] josevtome:
I've been using ext3 for a while and I must say that it is very stable. I get no FC's, no reboots, phone is always smooth. I just check from time to time the running processes and close the ones I'm not using, but in terms of the the partition itself I think it's pretty fast and stable. I had ext4 before and I felt that my G1 was not as responsive as it is now, but it could be for several reasons.
[G1 Android Development] Jeffro64:
Thanks for the info!:D
[G1 Android Development] Firerat:
did you? did you really go back a lot of pages and not read 'sed' in any of them?

its practically punctuating it
[G1 Android Development] Firerat:
yes, you need partitions,

UNLESS you edit a2sd BEFORE you boot ( and only if your data partition is large enought i.e. you have an mt3g )

see post above
[G1 Android Development] Firerat:
mount -a is mount everything in /etc/fstab

it cant mount /dev/block/mmcblk0p2 as it is swap

don't worry about it, it will be fine
[G1 Android Development] gab1972:
where can i get an .apk for 'Swype'? or do i have to wait for the beta to open up again?
[G1 Android Development] gab1972:
@Firerat Hey, I just wanted to say you rock. I've seen you on several different ROM forums and you seem to help everyone out. That's amazing. I think you should have a donate button!

Anyway, thanks for the advice on AutoMemory. That app rocks. I'm still with OE 1.1.5 [watiting for Wes' newest version] but I've been monitoring this one because I hear lots of good things about it. I tried it and my MT3G was really laggy.

I first rooted and partitioned using cyanogen's wiki. I know my SD is partitioned. I think cyanogen was saying some things about the MT3G not needing apps2sd like the G1-ers need. So with my card partitioned and not needed apps2sd, what was the use of me partitioning? Do the ROM's look for a partition and use it somehow behind the scenes?

Using OE, I don't use swap or compcache. I'm assuming swap has something to do with the need for a partitioned SD?? I'd like to try KingsKlick again, but I don't want a laggy phone. Suggestions?

MyTouch3G

rooted

using RA1.5.2

partitioned 4GB SD card +ext4

I trust your advice. I know enough Linux to be dangerous - to myself!

Thanks again for all of your offered advice. It's nice to know there are guys that will give advice for the sake of just being nice.
[G1 Android Development] Firerat:
I find that sometimes people have sigs, and sometimes those sigs contain links

hell, who hasn't been 'rick rolled', water off a ducks back.........
[G1 Android Development] gab1972:
Okay, but in my defense, it's not like I thought, "I'd like this app...maybe I'll start searching everyone's sigs! That'll be the first place I'd find them!"
[G1 Android Development] irishrally:
After taking a few months off to play with the N1 I am back trying to get my G1 back up to bleeding edge.

I updated my recovery image to Amon RA 1.6.2 and used it to partition my sd card (96mb swap, 768mb ext2, rest in fat32).

I wiped and flashed this 2.1 ROM. The ROM seems to be really laggy, which I kind of expected, but I have a feeling something is not set up properly.

Is there something I have to do to enable swap? In my sd card settings I am showing "unavailable" under SD card secondary. This does not seem right.

Am I set up properly or is something wrong? I figure I should at least be able to see my ext2 partition under secondary storage.
[G1 Android Development] ionic7:
I really did'nt see it, not being lazy and no need to be facetious, it says i need 3 partitions when i boot to my recovery screen and format it automatically does it to have 3 partitions, what do your sed changes do exactly and how would i go about typing them in the console my virtual keyboard does not come up when i go to the console in recovery, again ty.
[G1 Android Development] Firerat:
lol

yeah maybe

tbh I should think about a 'give me a job' button, not decided what I want to do yet

I need some proper skills..

you only need to partition your card if you want apps2sd, since you have an mt3g you don't need to

if you decide to try swap ( I prefer it as apps get to keep their data for longer )

then you can make a swap file

dd if=/dev/zero of=/sdcard/swap bs=1024 count=128
mkswap /sdcard/swap

only needs to be done once, ( unless you delete it ;)

then configure to use it by editing /system/bin/user.conf

since I know that file I can cheat cos I'm a lazy Linux geek

sed s~/dev/block/mmcblk0p3~/sdcard/swap~ /system/bin/user.conf -i

but if you want to try a new ROM, have a go with CaNNon202's Complete Eclair

follow the 3D Youtube link in my sig

it has link to the main ROM, and has my update patches to fix a couple of bugs and include 3D and HQ video ;)
[G1 Android Development] snudel:
this screen thing gets really annoyong. cant type emails or stuff.

any fix avalable soon?
[G1 Android Development] Firerat:
you need adb

http://www.google.com/cse?cx=partner-pub-2900107662879704:fs7umqefhnf&ie=ISO-8859-1&q=adb

the sed modifies the a2sd script so that ignores the bit which moves stuff to SD

you have an mt3g you don't need to put apps on SD your data partition is large enough

if you follow the 'make 3 partitions' rule you essentially have a g1 with no keyboard..............

make 2 partitions ( Fat/swap) and you get a bootloop

follow my tips and you will still have no keyboard, BUT you won't be dragging like a g1.

I don't have an mt3g I have a G1

I don't have to help the mt3g people but I do.

You my friend said you had read the posts and didn't see sed in them

it practically litters my past posts in this thread

I will stop being facetious if you stop being dumb.

now I will modify a2sd so it looks after mt3g users better, hopefully it will be accepted and the Devs will incorporate it into their ROMs

till then 'patch'

or assume that everyone uses the same a2sd script and make yourself an update.zip ;)

( but seeing as a2sd runs on boot, some devs might be tagging some custom stuff on the end )
[G1 Android Development] ionic7:
Had adb but ran into an error where it would never detect my device did a trcik where you plug the phone in uninstall all the drivers using a program to show usb devices then adb was supposed to install a new driver but never could find the one it needed. And it is not being dumb i went back a few pages looking did not browse all 300+ pages dont have that kind of time. And i do appreciate the help.
[G1 Android Development] yokonunz:
Just 3 questions.

Why BFS is removed from 1.8? :D

When the ramhack will be released? :D

Is 1.8 stable as 1.7 or 3d stuff make confusion? :D
[G1 Android Development] Firerat:
:)

sorry for being nasty, I get like that sometimes

tbh I have never tried adb with windows

but that top link in the search looks like it may help
[G1 Android Development] jmccros:
anyone know how to turn on the keyboard mic? (speech to text)

mt3g
[G1 Android Development] gab1972:
My SD is already partitioned with 1GB of my 4GB capacity. How do I know if it's being used? And if I understand you, since I'm using a MT3G, I didn't need to partition? If not, how do I UNpartition.

Furthermore, do I need a partition to use swap?

And the linux codings you gave, I can do those through 'Better Terminal' right?
[G1 Android Development] gab1972:
i think you need an app if you're using the HTC IME keyboard. I have one called 'Voice Text'. I rock the Android keyboard and it has voice text integrated as a button to the left of the space bar.

[I also have a mytouch]
[G1 Android Development] irishrally:
No love?......
[G1 Android Development] Firerat:
in terminal

df

will tell you if its being used , look at /system/sd

you can use terminal to do the others,

bit of a pain with an on screen kb tho :(

repartitionig bascially means you have to backup, and format the whole card :(

nope

you can make a swap file on your sd card

dd if=/dev/zero of=/sdcard/swap bs=1024 count=128
mkswap /sdcard/swap

were 128 is size in mb you want

you then need to replace all of the /dev/block/mmcblk0p3 in /system/bin/user.conf

with /sdcard/swap

infact, thanks for reminding me, I will add this to my new a2sd script

yes, been playing with this, and instead of doing it in recovery

cp /system/sd/app /data/SDapp
rm /data/app;mv /data/SDapp /data/app

that needs to be done for each of the dir which are symlinked to the sd card

ls -l /data will tell you

its important to do the second line , as one line

I have separated to commands with ;

so that teh second gets done straight after the first

you might get some Fc's but for the most part it has been fine for me

things will change, this will see to that ;)

[COLOR="Blue"]# check if not a G1 ( assuming mt3g ) - Firerat 2010-03-23
rohardware=`getprop ro.hardware`
if [ "$rohardware" != "trout" ];
then
for findswap in `ls /dev/block/mmcblk0p*` /sdcard/swap; do
swapon $findswap
if [ "$?" = "0" ];
then
busybox mount -o rw,remount /system
busybox mount -o rw,remount /cache
sed s~/dev/block/mmcblk0p.~$findswap~ /system/bin/user.conf -i
busybox mount -o ro,remount /system
busybox mount -o ro,remount /cache
else
echo "$findswap is not swap"
fi
done
# end G1/MT3G check, made if elif below - Firerat 2010-03-23
el[/COLOR]if [ -e /dev/block/mmcblk0p2 ];
then
# fsck the sdcard filesystem first
e2fsck -fy /dev/block/mmcblk0p2;

# set property with exit code in case an error occurs
setprop cm.e2fsck.errors $?;

# mount and set perms
busybox mount -o noatime,nodiratime -t auto /dev/block/mmcblk0p2 /system/sd;
busybox chown 1000:1000 /system/sd;
busybox chmod 771 /system/sd;..............................cont.....
[G1 Android Development] jmccros:
Figured it out . You need to turn off "Touch Input" which must disablt htc and enable android keyboard
[G1 Android Development] sangfe:
i new member , i dont know Special SPL is Danger SPl ? My rom is Super D 1.9.3 .... should i up special SPL ? :( i used Danger SPL
[G1 Android Development] kathi17:
Special is Danger.
[G1 Android Development] tnt8902:
thats awsome

Wow looky there i was wondering what special spl was and found out that i already have it. now i just gotta download the rom and test it out.

by the way can we use the same settings from cm 4.+.+ i think my swap is somewhere less than 70mb. and if that is bad how could i just raise my swap to increase my speed for g1? i know i read the other pages but im just as confused as a rock.
[G1 Android Development] MaSt3rGrIfF:
Google Voice

I just updated to GV 0.3.2 and I dont see the inbox synchronization option, is anyone else having this issue?
[G1 Android Development] kathi17:
Use Amon Ra's latest recovery to flash everything including your ext partition. King recommends 96 for the swap. You can set that in recovery as well.
[G1 Android Development] irishrally:
What is typically wrong if in the sd card section of settings, under secondary storage, it says unavailable?

I used Amon RA 1.6.2 recovery to create swap 96mb/ext2 768mb.

Do you have to activate some setting to get swap to work or does it work automatically? I didn't notice any options in Spare Parts for swap.
[G1 Android Development] nguyenkendy:
Live Wallpaper?

The feature for live wallpapers is great, but when i set it, it always reverts back to normal whenever the screen turns off. is there a way to fix it so i have the live wallpaper all the time?
[G1 Android Development] kathi17:
I think it is a 3D bug thing.
[G1 Android Development] kathi17:
Swap works automatically. About the unavailable thing, I read why somewhere in one of these threads, but I don't remember what the answer is.
[G1 Android Development] nguyenkendy:
Do you know if there is a fix for this? or anytime soon maybe?
[G1 Android Development] irishrally:
Thanks. I'll search some more.
[G1 Android Development] kathi17:
It might have something to do with official drivers not being released yet. It's hard to remember everything I've read, and I've read every page of this thread as well as every page of a bunch of the other 2.1 threads, so I'm overloaded.

As far as I know, there hasn't been a fix yet, unless it's in one of the threads I haven't read.
[G1 Android Development] eebmob:
ive searched the thread and i cant seem to find if i need an 1234 ext for this rom for my mt3g 32b
[G1 Android Development] Firerat:
you don't need any!!

you have an mt3g, just use one partition
[G1 Android Development] gab1972:
Wait. I thought you said mt3g users don't need ANY partitions??
[G1 Android Development] gab1972:
If you're referring to the newest update by GV, yes, there is a 'inbox synchronization'.

1. Open your GV app in your phone [labeled 'Voice']

2. press your 'Menu' key

3. click 'Settings'

4. click 'Refresh and notifications'

5. check the box 'Inbox notifications'

I can confirm that this will indeed give you push notification when you get the message. However, it's a few ticks off from GV pushing the message to your SMS. Which leads me to another thing...

Google says that the new update automatically disables pushing the message to your SMS. This is so you won't get two message notifications. It doesn't. So here's what you have to do...

1. Go to GV on your PC/laptop [not your phone app or mobile site]

2. Click 'Settings' up in the upper right corner of the screen

3. Click 'Edit' for the number of your primary phone [or phone that you get GV notifications to].

4. Where it says 'SMS Settings', uncheck the box that says 'Receive SMS on this phone'

5. Click 'Save'

This should disable pushing an SMS notification to your phone every time you get a GV message, but you will still get the standard GV notification.

If you have an auto-killer app, make sure GV isn't on that list so the app doesn't kill GV before you get a notification.

Hope this helps.
[G1 Android Development] Firerat:
one as in Fat32 at full capacity of the SD card ;)
[G1 Android Development] tsheeley:
So, what's the Special SPL?

I'm running the current CM on a 1st gen MT3G with a pretty current AR recovery.

Will I need to switch over to the Danger/Death SPL or can I just stick with my stock HBOOT-1.33.0006 version? When I rooted it was with the slick one-click method.

Thanks in advance for any help.

(I also upgraded the radio to 2.22.23.02 a couple of weeks ago.)
[G1 Android Development] kathi17:
You don't need Danger if you are on MT3G
[G1 Android Development] schnogg:
Special SPL vs Danger SPL

I'm pretty sure that KiNg means Danger SPL. He calls it special because the name of Danger SPL is in flux.

It would be nice for clarity on this in Post #1 as it took me a while to actually find the right SPL information and then even longer to locate said SPL. Messing around with the SPL is scary, so I spent a lot of extra time double and triple checking that I had the right information and file.
[G1 Android Development] bobbylx:
@tsheeley

The post after yours was correct. On the MT3G we don't need the Danger. The version you have now should be just fine.
[G1 Android Development] kotor000:
Google Earth

Whats with Google Earth ? All the 3D games work that I tried. The Google Earth crashes when I tried to load. Anybody has a clue ?
[G1 Android Development] MaSt3rGrIfF:
Google Voice

Thanks for the response, but that's not the new push notification system. The "Inbox notification" option is still the old check and fetch method. According to Google's blog, "To activate Inbox synchronization, open the Google Voice settings on your phone and touch Refresh and notification. Once you have selected the Synchronize Inbox option, you will start receiving faster notifications." I don't see that option under this rom and don't have the time to install a different rom and troubleshoot yet. I'm going to tonight though.
[G1 Android Development] gab1972:
Synchronize Inbox is not in the phones settings...it's in GV's application settings.

Verbatim...Google says:

"To activate Inbox synchronization, open the Google Voice settings on your phone and touch Refresh and notification. Once you have selected the Synchronize Inbox option, you will start receiving faster notifications. Plus, Google Voice will automatically disable SMS forwarding to your mobile phone, so you won’t receive duplicate notifications."

That last part about SMS forwarding is what I added in my last post.
[G1 Android Development] MaSt3rGrIfF:
Google Voice

I understand that, it's not showing up in GV's settings like it should be. Do you see that option in GV's settings?
[G1 Android Development] gab1972:
Yes, I see that option. Are you sure you updated?
[G1 Android Development] gab1972:
you didn't click Menu from your Home screen did you? You actually went into the GV app and clicked 'Menu'?
[G1 Android Development] MaSt3rGrIfF:
Google Voice

Yes, I am running 0.3.2. Plus I'm able to use the contact bubbles on the pictures in the inbox. Yes, I'm sure that I went to the GV inbox because I'm able to change the inbox refresh rate. I'm just not seeing anything about inbox sync. Do you guys have a GV sync under the google accounts in the main os settings maybe?
[G1 Android Development] jdubdieslo:
As Far As I Have Seen This Rom Is Not Stable Or Fast For That Matter. Maybe More Stable & Faster Then The Last Time I Tried This Rom But The Title Is Misleading, If This Is Fast Then I Want A Turbo Charged Rom Cuz This Is Not Acceptible For A EveryDay Use..

Going back to Dwang I guess.
[G1 Android Development] mylostlonelysoul:
Gmail?

What's going on with the gmail app? It doesn't seem to work, its jsut FCs when you try and start it up?
[G1 Android Development] Sh4wN:
Hm, got a problem. I flashed, everything went fine, installed apps etc. Then the phone crashed and would boot (boot loop on nexus animation). I reflashed (complete wipe, even repartitioned sd card) but I still get the boot loop.

Any ideas on this?
[G1 Android Development] Sh4wN:
Well, very strange. I tried it two more times, complete wipe + repartition - did not work. Then I restored an old nandroid backup, didn't even leave the recovery and did a fresh flash again. And now it's working.
[G1 Android Development] cdiddy219:
Anyone noticing random reboots with this rom? or is it just me...
[G1 Android Development] jmariconda:
how big is ur swap partition?
[G1 Android Development] jmariconda:
dude idk what ur talking about cause i use this everyday and i think it's super fast. maybe its ur phone
[G1 Android Development] dynamisoz:
I am currently using superEclairV8.2

very fast Eclair rom...fastest one i've tried...but 3d games dont work very well.

as for kingxkxlick's rom, 3d games work the best out of any roms i tried. but lags when receiving calls and coming in and out of HOME/Apps.

I have a class 2 sd card.. will upgrading it to class 6 make superEclair play better/smoother 3d games, also..will it make it less laggy on kingklick's rom.

love kingklicks 3d game performance but like the superEclairs speed on everything else.

What shall i do??
[G1 Android Development] vkchetty:
Google Voice 0.3.2

I have the same issue. The Synchronize Inbox is not in the Google Voice settings. I have Refresh & Notifications and the Refresh rate & Inbox Notifications like the previous Google Voice build. I dont see the Synchronize Inbox there or even in the Refresh rate . :confused:
[G1 Android Development] itsthafame:
Helix Launcher 2

since 3d works for this rom is there a way to port Helix Launcher 2 to this rom?
[G1 Android Development] ionic7:
if yall are having this many issues just nandroid back to your last stable backup, 1.6 was the last really good one of these i used so try it out again.
[G1 Android Development] 0nest0ne:
@firecat:

Sorry, was very busy in the beginning of the week. I read the last pages und yeah I was too noobie.

I now re-installed everything but the swap is not working. I created one FAT32 on die sd card, dd'ed the swap file, change the user-conf. when i activate with "swap" everything seems fine, free tells me 116/116m swap is used. when I reboot there is 0/0m swap.

ideas how to troubleshoot? I think that can only be some tini tiny bits...

THANK YOU.
[G1 Android Development] sparksco:
Let's do this!

Wish me luck! Just partitioned my sd card:

96mb swap

512mb ext4
[G1 Android Development] sparksco:
v1.7

This stinks. It says under the description for 1.7 that apps2sd are still enabled. Well guess what, they're not! My sd card is partionion and still nothing!
[G1 Android Development] maek_it_happen:
why do the live wallpapers reset after screen timeout ?
[G1 Android Development] mistkäfer:
I didn't read the whole thread, so what do you mean with "special SPL"? didn't find anything yet and I'm quite a noob with custom roms, only used the ones of CM yet
[G1 Android Development] kemimarie:
I think thats Danger SPL ..
[G1 Android Development] juangil:
you didn't find or you DID NOT search?;)
[G1 Android Development] benmyers2941:
Then you've done something wrong. I've got well over 100 app installed that indicate that it is working.
[G1 Android Development] kathi17:
Or he didn't even read one page back! I think the answer is on every single page in this thread!