yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] studjuice:
Hey guys, just informing you all that i've made some updates to my mod of cm6-rc1 which is probably a few pages back for those who don't view at 50 posts per page :P

added a different version of swap, so that generic users can have swap instead of me and have the benefits. i'll just enable it myself. :) a little bit of swap (32) makes a big difference with froyo :)

go ahead and enjoy/test it out if you want.

My next plans are to change the default settings in adw + cmparts a lil so that noobs don't have the opportunity of complaining about speed or try to hate on ADW launcher like they do in the cm6 thread. But i need to learn how to change the defaults... i'm trying to figure it out, but if anyone already happens to know and feels like informing me that'd be fantastic. I hate smali right now :P
[G1 Android Development] Bzerk1:
i cant download the 2.3 version in your mediafire link. ... weird.
[G1 Android Development] studjuice:
that is weird. try again, its working fine. if it still doesn't work i'll upload somewhere else for you
[G1 Android Development] ttabbal:
Is swap the only change? I've got that working. :)
[G1 Android Development] studjuice:
and added the newer cmparts from the nightly
[G1 Android Development] sparksco:
cm6-rc1-test2.3 from studjuice LOGCAT

Ok, so I have been getting a market error when attempting to install applications. I have the install location set to external under cmsettings. Here is my logcat from first boot. Rebooted and still the same problem, ran fix permissions from terminal and rom manager. Can someone please work on this, because I don't know how to compile. Here is my pretty big logcat: http://pastebin.com/raw.php?i=ZQxsfKq0
[G1 Android Development] sparksco:
Hey bro, I just flashed your cm6-rc1-test2.3 and I am still having the unknown -18 market error when trying to install apps. I have the install location set to external under cmsettings. Also I rebooted a second time and still same error :\ This has been a real problem for me since the release of rc1, hopefully it will get fixed soon. By the way I like how the swap works, are you using firerats all in one patch? If so why would you need to run it at every boot? Here is my pretty long logcat from first boot to market error: http://pastebin.com/raw.php?i=ZQxsfKq0
[G1 Android Development] studjuice:
haha wow it took me awhile to realized you double posted, i thought i had to read through two different logcats that looked the exact same for the exact same problem... :eek:

the swap is from superbad1.4.1, but i am using firerats all in one patch, but not for swap.

so, tell me what kind of phone you have, did you recovery wipe or fastboot wipe
[G1 Android Development] Firerat:
su
rm /mnt/secure/asec/smdl2tmp1.asec
[G1 Android Development] ttabbal:
Hey StudJuice. I installed the 2.3.2 version and it seems to mount the dalvik-cache to /sd-ext. That's fine with me, but it got into a bootloop as those files were old and it couldn't overwrite them for some reason. Booting to recovery and deleting the following dirs on /sd-ext got it booting and re-generating the cache though.

app

app-private

dalvik-cache

cache

I just did an "rm -r" on them. An ext wipe would have fixed that as well I suppose, but I keep other stuff on the ext I didn't want nuked. :) Just FYI in case someone complains about bootloops.

Hmm... Now the phone has lost the system config. Apps seem to still have data though. Wierd. Could just be me, not a big deal to reconfig the settings though.
[G1 Android Development] johnzal:
boot animation

is there any way to speed up reboot. i remember that froyo would reboot faster. but it take FOREVER now.. other than that loving 2.3.2..

oh some instructions would be nice
[G1 Android Development] studjuice:
Thanks for the heads up! that may or may not be fixed in the next release. i got rid of the plain dumb bindcache script. and am using firerats fixes script. that still does cache binding stuff, but it's a little smarter about it. if you have a g1 with danger spl, you'll still get that.

I'm kinda working on reboot... ehhhhh. I'm concentrating mostly on the rom when it's in use more than the rebooting though :P so reboot takes some hits for how long it takes. :(, but i think it's worth it. reboots used to be fast because there was so little going on

and there are kinda instructions. on my op. although i am about to update it with a new release, so if you have any suggestions or recommendations to change about it, let em loose
[G1 Android Development] ttabbal:
Sounds good to me. I don't really need it fixed for myself, I'll just make sure I have adb handy when I flash a ROM. :) If it loops, I can easily fix it.

Think I had something wrong with my /data info. Installing over the older version I had caused all sorts of odd behavior. Starting clean from a fastboot wipe, things are working much better. And I get an excuse to mess with LauncherPro. :)

EDIT: heh... Dude, you're a machine or somthin'. :) I get it working and notice 2.4 is up. Thanks! :)
[G1 Android Development] johnzal:
cool. i meant instruction to remove boot animation.. Love the rom... i was not trying to be a **** about the reboot time.. sorry it sounded like that... looking forward to the next update... oh gps is way faster now..:D;)
[G1 Android Development] studjuice:
to removed the bootanimation just delete the bootanimation.zip in the /system/media folder. there are many ways

adb remount
adb rm /system/media/bootanimation.zip

but if your doing it to try to speed up the boot process good luck, it shouldn't have much affect. if you notice a huge gain lemme know and i'll look into removing it. but most of the delay when booting is at the splash screen anyways which is why the bootanimation has little to no effect.

thanks man, i try to do my best. adw is a lot better in 2.4 than it used to be (used to be 2.9MB, now it's 843KB...) so you might not be playing around with launcher pro much longer :P
[G1 Android Development] ttabbal:
Thanks! I'll give that a try too. I've had good luck with the ADW launcher in the past with the animation settings turned down or off.

Booting on 2.4, possible issues in the logcat, don't look to be serious.

I/mountsd ( 86): Checking filesystems..
I/e2fsck ( 87): link_image[2033]: failed to link e2fsck
I/e2fsck ( 87): CANNOT LINK EXECUTABLE
I/logwrapper( 87): e2fsck terminated by exit(255)
I/mountsd ( 98): /sd-ext successfully mounted

I//system/xbin/run-parts( 60): /system/etc/init.d/08fixpermissions: line 43: rwsystem: not found
I//system/xbin/run-parts( 60): Starting fix_permissions 1.29 07-15-2010 14:02:04
I
[G1 Android Development] SLICKWILL8072:
still missing lots of texts

in the past two days alone i have missed over 50 texts:(
[G1 Android Development] studjuice:
can't help if i don't know what's going on

Thanks, i fixed what i could so far. it's a lil weird. not the rom or anything. just getting weird how there is always this problem here, then you fix it and that creates that problem there. starting to get really annoying >.<

anyways, uploading a fixed-ish version. less stuff in places, less going on. but still nice and good. fixed zipalign, it wasn't working. but splash screen still takes forever. idk what it is, it's not like it's doing anything.. its just waiting to start. logcat just says 'waiting for device' so i can't check that. all i know is that i plug it in and i hear the Boop Boop that says it's plugged in, and start up log cat. hear Boop Boop again. nothing happens. hear Boop Boop again, THEN it starts.
[G1 Android Development] Firerat:
cease using alpha/beta/test/rc roms
[G1 Android Development] ttabbal:
Yeah, weird. On 2.4, I can't load the CyanogenMod settings. I get this in logcat. This is with a fastboot erase, flash ROM, flash FR-bootfix, delete 06BindCache, flash gapps, reboot. It boots fine.

E/AndroidRuntime( 846): android.content.ActivityNotFoundException: Unable to find explicit activity class {com.cyanogenmod.cmparts/com.cyanogenmod.cmparts.activities.MainActivity}; have you declared this activity in your AndroidManifest.xml?
E/AndroidRuntime( 846): at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1404)
E/AndroidRuntime( 846): at android.app.Instrumentation.execStartActivity(Instrumentation.java:1378)
E/AndroidRuntime( 846): at android.app.Activity.startActivityForResult(Activity.java:2817)
E/AndroidRuntime( 846): at android.app.Activity.startActivity(Activity.java:2923)
E/AndroidRuntime( 846): at android.preference.Preference.performClick(Preference.java:828)
E/AndroidRuntime( 846): at android.preference.PreferenceScreen.onItemClick(PreferenceScreen.java:190)
E/AndroidRuntime( 846): at android.widget.AdapterView.performItemClick(AdapterView.java:284)
E/AndroidRuntime( 846): at android.widget.ListView.performItemClick(ListView.java:3382)
E/AndroidRuntime( 846): at android.widget.AbsListView$PerformClick.run(AbsListView.java:1696)
E/AndroidRuntime( 846): at android.os.Handler.handleCallback(Handler.java:587)
E/AndroidRuntime( 846): at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime( 846): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 846): at android.app.ActivityThread.main(ActivityThread.java:4627)
E/AndroidRuntime( 846): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 846): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 846): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
E/AndroidRuntime( 846): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
E/AndroidRuntime( 846): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 336): Force finishing activity com.android.settings/.Settings
W/ActivityManager( 336): Activity pause timeout for HistoryRecord{43d3d710 com.android.settings/.Settings}
D/dalvikvm( 634): GC_FOR_MALLOC freed 1413 objects / 172096 bytes in 176ms
I/Process ( 846): Sending signal. PID: 846 SIG: 9
I/ActivityManager( 336): Process com.android.settings (pid 846) has died.

I just noticed you have a 2.4.1 out, I'll try on that.
[G1 Android Development] studjuice:
god dammit i feel like the rom's are going down in quality instead of up. when you boot are you having to wait like 3-4 minutes for the splash screen to go away?

edit: i can't use cmparts either. time to go back and redo all this. wait maybe i can fix cmparts? worth a shot. otherwise i'm angry
[G1 Android Development] ttabbal:
Yeah, the G1 splash is up for a few min before the Android splash comes up. When adb starts, I can see the stuff that ran. The first boot takes a lot longer, but that's the case with any ROM.

If you can fix cmparts, I think it will be OK. There's a lot more going on in the init.d scripts, and those come before adb and the Android splash in init.rc. If you can start adb before you run them, we should be able to see the init.d scripts run in real time via logcat. I think that would work anyway. :)

No problems man, stuff gets missed by the best of them. Look at how many x.1 release Cyan released back in the 4.x days. :D
[G1 Android Development] studjuice:
yeah i fixed cmparts credit goes to Z҉A҉L҉G҉O̚̕̚ for inspiring me lol. uploading.

i dunno how to start the init.rc script before the init.d scripts. the init.rc is in the kernel so that seems kinda weird. but eh, no biggie with that

thank you :)
[G1 Android Development] Z҉A҉L҉G҉O̚̕̚:
I try to do my part to help :).
[G1 Android Development] maxxgraphix:
Test 12

Seems great so far. I'll have to mess with it for a day.

Running

G1

RA recovery

Danger SPL

Class 6 SD

512mb EXT4

64mb Swap

Stevo's Swap Script Bootswap20

radio 2.22.23.02

Compcache off

JIT on

Overclocked 576 (built in Kernel)

Web pages load faster than 2.1

Screen transitions seem smooth

no FCs yet

First bug: In gallery photos distort when phone is rotated.

I like it.:D
[G1 Android Development] studjuice:
you using the updated 2.4.1 correct? (working cmparts :P)

and yep, gallery sideways stretches pics

oh sorry test12, almost forgot about those tests on the OP. nvm!
[G1 Android Development] studjuice:
There will be a much better test tomorrow guys. and it will no longer take 3 minutes to get out of the splash screen. figured out what that was! it was because i got a script to work that wasn't working before, and in that script it tells the phone to sleep for 3 minutes. blame super@mtel for the 3 minutes, and me for everything else

as soon as i can get swap working the way it should, i'll be able to release it. till then, i get to sleep :D
[G1 Android Development] XxKOLOHExX:
the reince Script or w/e? or the prior script?

EDIT..//~~ NVM FOUND IT!!! haha :P
[G1 Android Development] studjuice:
hmmm you have posted some very interesting and weird stuff man! If you can come up with a simple patch it'd be cool with me. otherwise i'll get rid of the script. I've never used a2sd since i had my phone, and now this script has got it working and the way it works confuses me. so i'm keeping it till i figure it out, then i'll probably junk it :P

what you needed to do was delete the a2sd script, and then clear out your ext partition. because of the dalvik-cache files on it. rather than killing the supersettings script :P

i'm gonna upload a new version and update that post i just made. i'll remove the script, and just attach it to the post for people to put in if they need it
[G1 Android Development] will4958:
I've noticed something wierd about the more recent Froyo roms that offer the ability to switch on apps2sd in Settings under Cyanogenmod settings and Application Settings. Anyway, whenever I check the box to enable moveable apps, I get constant reboots after I perform a manual reboot. It's not just my current rom, which is cm6-rc1-test2.4.1, but at least a couple other ones offering the same option. After a reboot, my G1 goes through the normal process of checking the sd card, then after a few seconds to maybe a minute or two it reboots. I flashed the rom again last night without enabling apps2sd and so far no auto reboots. If anyone can offer any suggestions as to why this happens, it'd be appreciated. I have a Kingston SDC4/8GB HC card, by the way.
[G1 Android Development] Firerat:
init.rc is in the ramdisk

unpackbootimg.pl.txt attached

rename to unpackbootimg.pl, put in PATH and chmod 700 ( or 755 if you like )

then

unpackbootimg.pl boot.img
mkdir RD
cd RD
zcat ../boot.img-ramdisk.gz|cpio -i

edit the init.rc

and make ramdisk..

find . | cpio -o -H newc | gzip > ../boot.img-ramdisk.gz

I use a shell script, as I always forget ;)

mkramdisk.sh

echo "find . | cpio -o -H newc | gzip > $1"
find . | cpio -o -H newc | gzip > $1

so it would be

mkamdisk.sh ../boot.img-ramdisk.gz

oh, nearly forgot

to repack boot.img, use the mkbootimg bin in the sdk
[G1 Android Development] bugmenever:
EXCELLENT STUFF ! thank you for this !

I got the information on what needs to go into the custom MyTouch3G 1.2 rom from cyanogen in irc chat.

* Fixes the audio issues (proper audio drivers)

"The AudioPara4.csv file from the original stock FenderWRoot rom to /system/etc"

Took me a while to find but, here is the link to the rom. Its also available on unlocker.

http://www.megaupload.com/?d=CW970Y4D

* Adds support for RGB jogball.

"The Liblights file and color jogball stub needs to be transplanted from the N1 branch into the D/s branch."

Not quite sure what that meant but i assume those files are of relative importance.

Here is the liblights file

http://github.com/CyanogenMod/andro...mmit/1dcf67062a5047617679029be88b3c5607b7f283

And then whatever memory tweaks you can manage to give users some more default breathing room.
[G1 Android Development] ttabbal:
Nope, I tried that. I deleted the dalvik-cache dir from recovery. /data/dalvik-cache is now empty, so the files it's looking for really don't exist, but it doesn't seem to re-create them like it should. If I modify supersettings to look like the attached, it works fine with the apps2sd script deleted. The only changes I made were to remove the mounting for dalvik-cache and the userinit.sh as userinit is run from another script anyway. :)

Using 2.4.2 now, but I think I downloaded before you removed the script as I still had one. So I deleted it. I've still got /data/dalvik-cache bind mounted to the ext partition, but that doesn't bother me. root still doesn't work. I'm going to try with a fastboot wipe just to be sure. This happened on the last version I was on as well though.
[G1 Android Development] kboater:
i think im missing something...what is the difference between this and CM6 posted in the cyanogen thread?

dont take this wrong, i love having many different roms to choose from, i think i just missed what the differences are
[G1 Android Development] studjuice:
well userinit.sh actually isn't run by the other script. that script loads it from sd-ext for people's custom scripts. the userinit.sh from supersettings loads it from system/sd. And i haven't uploaded the new one yet lol, i've just attached the script already so i don't forget.

good news is i've already removed the dalvik stuff from supersettings, and turned off the dalvik to sd in the userinit script. so that should do what you've tried to do.

bad news is after fixing all this stuff, swap won't enable at boot. like always... i wish i had a way to make swap ALWAYS enable at boot in a way that doesn't depend on the order of the other scripts. :(

ummm, there is swap which makes a big diff, and it includes launcher pro, an updated more efficient adw launcher, a newer cmparts, extra scripts to improve stuff.

optimized audio files and a few apk's

and removed some stuff like rommanager
[G1 Android Development] ttabbal:
Odd that swap is the problem. It shouldn't really depend on much of anything else being active.

/system/sd is the same as /sd-ext. :) They are the same mount with different names.

I tried without changing anything on a fastboot wipe. Just install rom and gapps. It's working fine with apps2sd enabled. I need to try restoring apps, but it's something. Root is working as well, so I had something stuck. Told you it was probably my own fault! :D

I'm kind of indifferent to apps2sd since I don't need more space in /data, but whatever. It worked fine on older releases to run it this way.

Boot is MUCH faster without that 3 minute delay in there. :D
[G1 Android Development] Firerat:
sh /system/sd/fr-patch133.txt lwp [B]dc2x[/B] fixp

that is what is making the bind mount

tbh, I'm not sure why you are running the script each boot :D

btw, v1.3.4 is up, has sd-ext mount for cm6, and swap on boot in cm6 is fixed
[G1 Android Development] crypysmoker:
All this stuff should already be in any new Cyan kernel since 5.0.6 I believe. What I didnt know was that we can have the different color trackball which gets me wanting to start messing with that lol.

But, the straight RC1 cyan release works right out of the box for the Mytouch 1.2/fender, gona flash this newest update and see how it reacts.
[G1 Android Development] bugmenever:
From what i was told by cyanogen -CM6 had changed the audio files dramatically, everyone with a LE will start hearing a abnormal high pitch (high treble) at max volume. Which makes sense and i confirmed it.

As far as the RGB jogball goes. We are still gathering data from different places and people, but the LE models have been confirmed to have the hardware and take instructions necessary. Unfortunately since HTC hasn't released the kernel for the LE models (fender and 1.2) , we are left with reverse engineering. even if i can get led intensity settings working with the jogball i will have a pretty good start running.

LE = Limited edition
[G1 Android Development] ttabbal:
I'm not sure why I'm running it each boot either! :D I've pulled that as well as it seems the FR patch is supposed to run once. I've never used it before, but reading FR's OP, that sounds right.

So, here's the new mountsd and supersettings scripts for SJ 2.4.2. Working very well for me now. I could save almost 50MB on /data by using the cachehack, but I don't need the space right now so I'm going to leave it alone. :D

The mountsd changes are credited to FR as his is the code I copied into the script. If that's wrong, sorry about that. Let me know and I'll fix it. It works here, but I haven't had much trouble with the SD card at boot lately. SJ, give it a shot, it might fix the swap issue you keep seeing.
[G1 Android Development] studjuice:
well with sd-ext it has to be mounted from the sd card, so it's not like i can put a userinit into everyone's phone. sd is an actual folder that i can copy.

it's nice because you get to have an init.d script run and tell it to run the userinit.sh script, that way all the init.d scripts are done faster and you get out of the splash screen faster. at least that's how i view it. But don't ask me, i just found it like that in Z.X.D and thought it was a cool idea.

But i'll have to add that new firerat stuff, i really hope that fixes these few problems that are left

It's running each boot because that's the way i saw kolohe implement it. I'd make it into a "firstboot.sh" but i've never gotten one of those to actually run.
[G1 Android Development] ttabbal:
Ahh.. I see what you're doing then. Personally, as /system/sd is the "classic" location of the ext mount, I wouldn't put stuff there. It gets overshadowed when people like me mount the ext partition there in addition to /sd-ext via userinit. I'm still finding a few of my old scripts that use the old mount point. How about /system/sj? No reason you can't add things to the ZIP. :)

Are all the FR script options needed still? I'm not sure which ones we need on CM6 and which ones are holdovers from CM5.
[G1 Android Development] studjuice:
right now i'm just gonna go with the swap part of his script. i don't see much reason to use anything else? not with the sdext part made into a mountsd script. But yeah, never thought of adding to a what the system has... :P that opens the door for quite a few possibilities. so i'll probably put the firerat script into his own folder "firerat".. but not till i get swap to work! so lets hope his swap script works!
[G1 Android Development] ttabbal:
I hope it works. I've done a few reboots with that change and it's working fine for me. It would be nice to have this issue really fixed now. :)
[G1 Android Development] studjuice:
mwahahaha looks like we have swap. I don't care that there are two scripts enabling swap, the 07swap and the firerat patch. as long as one of them works, i'm very happy :)

i'm uploading now, but i doubt i'll have time to rename the file or update my post. i have to leave for work in 3 minutes.

and boot time is about 1:28 :) not too shabby considering past boot times........... :cool:
[G1 Android Development] ttabbal:
Good to hear sj.. Have you tested BT headsets? Mine isn't passing audio again, but it could be me. I haven't tested the very latest version though.
[G1 Android Development] kboater:
cool,

thanks
[G1 Android Development] studjuice:
Haha of course. I don't have Bluetooth so not a big concern here, let me know what I should replace dude, my concern is that if I fix it what else will go wrong :p

Edit: i don't know if this is why, but bluetooth audio may or may not be because i changed the audiopara files. i don't remember if i did. i know i was thinking about it... Because i had problems with it being really quiet. and now it's not quiet so i think i did in fact change them.. and i know that cyanogen team really did a lot of work on those files, so it's kinda like all that work has been un-done huh? lemme know if i should go back to the original audio files or if the bluetooth thing is something else (or if i never changed the audio files :P)

Also, i've uploaded a new test, with a new phone.apk from cytown with a ton of cool options and with firerats MTD patch for those of you who use it. the MTD patch really speeds up the boot times (not first boot though)