yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] screamsinstatic:
Hey guys, I'm pretty new to the Android world, but I'm no stranger to cell-phones. I just flashed the OTA DRC83 with root, the expansion, and the Hero theme on my G1. First off, serious props the the dev on this, it was both easy and seamless to do and installed perfectly the first go.

Everything seems to be working 100% except 5/10 times I hit the home key while in an app I get a force close error. I know specifics would be helpful but at this moment I'm trying to replicate the problem and my phone isn't co-operating. :mad: It had something to do with .android.acore, I'm assuming the answer will be to re-flash blah blah blah as it seems to be force closing the actual OS. What I'm wondering is if anyone else has seen this issue and if theres a solution for it other then starting over again (which I'm not opposed to doing, but would like to avoid for obvious reasons lol). Also I've noticed once or twice since the flash, which I did last night, that I'll lose radio for like 10-15 seconds then it just pops back up. I have the latest radio installed so maybe its a conflict with the OS? Sorry for the long post, any help would be appreciated!
[G1 Android Development] sasa3791:
Hi Enom,

Here is my terminal free info

I have 8GB class 6 sdcard and what do u think about that, is that ok for my phone?

I've set swap to 96mb also...

thx in advance
[G1 Android Development] Vlad83:
Sounds like Home is crashing. Do you have any widgets? Not all are Donut compatible yet.
[G1 Android Development] cloverdale:
Try the regular launcher and the issues should go away. The advanced launcher is usually the cause of the acore force close.
[G1 Android Development] Vlad83:
Your swap is set to 64mb, which is the default compcache setting Enom enabled. If you want to use your 96mb swap on your partition (I am assuming thats what you are referring to) then you must disable CC and enable linux swap in expsetup.
[G1 Android Development] sasa3791:
OK, what do you suggest, what is better?

thx
[G1 Android Development] cloverdale:
I switched last night from linux swap to only compcache, and it runs very smooth, and very fast,
[G1 Android Development] Vlad83:
I havent tried linux swap on this ROM, compcache seems to be working well. Leave as is unless you want to experiment...
[G1 Android Development] sasa3791:
In my case, menu screen when locked long time and when I unlock the phone works a lot slower and then when the phone rings and the screen locked I need a few seconds to activate it, I do not know whether it was because of the number of applications that have installed and size of the phonebook or anything else in question

However I will stay at the CC, if Enom does not say the opposite
[G1 Android Development] sasa3791:
OK, I asked this because I was on the Cyan ROM so far, and there was a linux-swap enabled instead cc

thx anyway
[G1 Android Development] cloverdale:
It sounds to me that your issues are from homescreen widgets and/or the advanced launcher.
[G1 Android Development] Vlad83:
Cyan has compcache enabled by default as well. Try increasing max frequency to 528 (Enom has it at 348 by default) and enabling cyans frequency in expsetup.

$su

#expsetup

and follow directions...
[G1 Android Development] sasa3791:
yea, from advanced launcher, does it has some connection with this?
[G1 Android Development] cloverdale:
It has always given me the same problems. I stopped using it with this ROM, and have not had any of those issues.
[G1 Android Development] enomther:
Cool ...

Ima check this one out guys .. if it plays well ... I'll post in post#7.

........... d750 ... I assume this is for ADP + AOSP/ADP versions only? (b/c of the altered text colors)

~enom~
[G1 Android Development] enomther:
sasa3791,

Hold off on any changes ... as v2.0.1 is due out real soon (I know guys ... I'm a damn broken record ;) ) ... but in v2.0.1 cc6 with backing store will be utilized ... so your linux-swap will be used as backing store automagically if it exists.

~enom~
[G1 Android Development] enomther:
AdvancedLauncher is playing much nicer in v2.0.1 ;) ... I tweaked it ... and optimized it ... lookin better.

~enom~
[G1 Android Development] cloverdale:
You are almost too attentive to your thread :) Thanks for the great work, and the progress updates.
[G1 Android Development] Niggiebro:
Android Splash

Enomther, when using adb, do I boot into recovery mode or into fastboot?

When push the images, push them right into "system/framework/asset/images" path?

Thanks for the help, I know you're busy with 2.0 update and helping others!!!
[G1 Android Development] nabzilla1990:
is there anyway to install the htc pdf reader on tmobile ota donut version
[G1 Android Development] sasa3791:
Hello guys,

how to keep your CPU.........528/245Mhz or something else?
[G1 Android Development] sasa3791:
damn, it will be great update then i'll hope
[G1 Android Development] enomther:
Hey nabzilla1990! Trying to give you love in the OP and POST #7! ;)

Unfortunately man .... (until some1 hacks it) ... the PDF viewer requires the HTC framework ... which I can't add to the TMO build .. unless I get it fully de-odex'd.

This is an eventual side project of mine ... but is low on the priority list. I'd recommend the ADP or AOSP/ADP version if this is a requirement for you. Besides the ADP + AOSP/ADP versions are more theme-able ;).

~enom~
[G1 Android Development] enomther:
No you have to insert the asset/images/* in the framework-res.apk ... and then push the framework-res.apk to the phone in recovery.

Anyhow ... I found the flaw in the TMO themes... it's fixed in v2.

`enom~
[G1 Android Development] olearyp:
That's what I use, along with Cyanogen's freq sampling mod, since it seems to work for enom and it's his ROM.
[G1 Android Development] enomther:
Option #1 in expsetup ... terminal app after 'su'

It will be well worth the wait.

~enom~
[G1 Android Development] enomther:
That I do! ... It's almost sick! lol

ALL,

v2 of themes have been uploaded ... see POST#7 for specifics ... included features have changed.

Also ... 'bout 30 minutes out now from release :) (finally)

~enom~
[G1 Android Development] mikespy:
Hey Enom....Do those themes contain the "Optimized version" of Loccy's browser.... I know the enhanced is quicker than the other...( At least thats what Loccy said)...I think Dwang is the one who Optimized it....
[G1 Android Development] cloverdale:
I remember that back in the pre-cupcake days Stericsson was able to do this. I am sure he would know how it is done, so you should get in touch with him. Unfortunately I know he has twittered about some family issues and will not be around for awhile, so it may not be easy.
[G1 Android Development] Vlad83:
Enom you should implement the new a2sd script with error checking if its not too late :)
[G1 Android Development] enomther:
They sure do!

~enom~
[G1 Android Development] enomther:
Yea ... strazzere actually did the PDFViewer ... but stericson did hack the HTCframework for HTC Music.

~enom~
[G1 Android Development] mikespy:
Dude!!! Your on top of this shi!!!!:)
[G1 Android Development] enomther:
If by error checking ... you mean checking the partitions with e2fsck ... that's been occurring since like v1.2.

~enom~
[G1 Android Development] cloverdale:
Sorry, it has been awhile, thank you for the clarification.
[G1 Android Development] DOHCtor:
Can I has 2.0 now?
[G1 Android Development] Vlad83:
Oh didnt know you had that in there :)

Shafty clean up and expanded the a2sd script 2 days ago in this thread: http://xdaforums.com/showthread.php?t=569256
[G1 Android Development] olearyp:
Heh, holding him to that 1/2 hour estimate!

Unfortunately for my phone but fortunately for my social life, I've got somewhere to be in 30-40 minutes so I'll have to wait until later this evening to pick it up. Darn!
[G1 Android Development] enomther:
v2.0.1 released

Yes ... you can now has 2.0 ;)

All,

v2.0.1 upload/posted/released .... As always ... read the changelog ... perform your nandroid backup and have fun!

If you have a v1.9 series expansion installed ... you can apply v2.0.1 expansion w/out wiping.

~enom~
[G1 Android Development] screamsinstatic:
Could someone shed some light on how to switch? I remember seeing it when I set the phone up but my memory isn't as good as it used to be
[G1 Android Development] DOHCtor:
Thanks man. Downloading, nandroiding, and flashing now. I'll report back later if there are any problems.
[G1 Android Development] sasa3791:
me too also
[G1 Android Development] remailednet:
Is there a reason that Terminal Emulator is not under the "Remove Built-in add-ons"? I'm a Connect-Bot fan myself :)

Otherwise I think that is a nice idea for the "built in" apps.

Also, how smart will it be for upgrades in the future?
[G1 Android Development] rattlesnake8:
Hey dev

I just reformat my sdcard with ext2 and linux swap. And installed tmo update 1.9.2 on it. But I did not get quick office app. I don't know why ???
[G1 Android Development] DOHCtor:
Don't forget that TE is totally useless for MT3g users. We use better terminal :D
[G1 Android Development] enomther:
remailednet;,

As always man ... when you post ... you bring something worthwhile to the table .... :)

Your absolutely right ... terminal emulator shoulda been one of em ... oversight on my part!

And you are correct ... on each update .. you'd have to run again (for now) ... I already thought about this ... in the future what I will do is incorporate these settings into your exp settings ... in this way on a new upgrade they would/could be removed at boot time ... thus you wouldn't even be the wiser ;) ... good idea ... and I'm on it for a future update!

Thanks for your feedback as always!

~enom~
[G1 Android Development] DOHCtor:
If I remove the google maps for builtin in vsapps, I would have to push the original Maps.apk into /system/app manually?
[G1 Android Development] bmj1086:
So to install the update [if we have the expansion pack] would this be the proper procedure?

Nandroid backup =P

Flash the NEW base build

Flash the NEW expansion pack

Reboot

Or can we just flash the new expansion pack?
[G1 Android Development] sasa3791:
Enom,

it's seems everything works great, just one thing, installed TheOfficial HERO Theme switched from advanced launcher to homescreen , why? or i have to update theme to TheOfficial HERO Theme (v2)?
[G1 Android Development] remailednet:
Why wouldn't you just install it from the Market?
[G1 Android Development] enomther:
Nope ... best thing to do their is reinstall from the Market ;) (since it's available ... that's one of the reasons I added it to the "removal" list)

Also, yea you're right about better terminal ... one of these days ... this ROM will suite everyone's needs ... LOL ... but yea ... that's valid ... I gotta get that incorporated into a future update as well!

Thanks DOHCtor!

~enom~
[G1 Android Development] enomther:
Just flash the new expansion ... that's it ... I should probably put dates next to the rooted bases ... maybe that will make it less confusing?

~enom~
[G1 Android Development] remailednet:
Sounds like a good plan.

As always you do great work.
[G1 Android Development] sasa3791:
Enom,

Everything works great, just one thing,

TheOfficial HERO Theme switched from advanced launcher to homescreen?

Do i need to update it to TheOfficial HERO Theme (v2)?

thx
[G1 Android Development] DOHCtor:
Does the Hero theme include the modified Mms?
[G1 Android Development] bmj1086:
that would be perfect
[G1 Android Development] bmj1086:
Also, has the gChrome theme been updated or will it still work?
[G1 Android Development] Niggiebro:
Thanks Bro I owe you!

Enomther, thanks man???

Again, working on that 12 ver for you! I'll PM you when I sent it...
[G1 Android Development] mikespy:
Working good here !!!

Don't know if you added the Blinking LED after missed call or if it came with the HERO theme but it was much needed as i had MISSED CALL from the market to fill that void...thanks
[G1 Android Development] enomther:
sasa3791,

Yes ... do make sure to reinstall a (v2) version theme ... that is why I posted em. To be more compat with the new version. :)

~enom~
[G1 Android Development] enomther:
Yup! All themes do!

~enom~
[G1 Android Development] marty22877:
enomther,

question about 10MB Memory Patched Kernel Option, i'm not too familiar with it yet, is this all internal? basically i'm using the stock sdcard and dont have it partitioned or anything. is this able to run on that? or do i need the swap setup/
[G1 Android Development] enomther:
yes ... please update to v2 of gChrome theme.

~enom~
[G1 Android Development] shadowleo85:
correct me if im wrong... but the base tmo us build for the g1 does not have netfilter and doesnt support tethering? cause i tried to tether mine and it doesnt work at all how can i get this to work
[G1 Android Development] enomther:
expsetup ... option #14 ... select cytown's phone MOD ... or install a v2 theme.

Then you'll have that option in settings -> Call settings

~enom~
[G1 Android Development] enomther:
Hey marty22877,

The build comes with compcache 32MB enabled by default ... this compresses built-in RAM ... this build really doesn't require linux-swap ... so you should be just fine.

If you don't use apps2sd ... then as long as you are a MT3G user you'll be good to go ... but if you're on the G1/dream ... you'll have a serious /data space shortage.

~enom~
[G1 Android Development] marty22877:
i'm a g1 user, so i'll be running into that. i guess it's time to buck up and buy a new card. thanks
[G1 Android Development] mikespy:
I have it enabled and think it some cool shi!!

Thanks for all you do bro!!!
[G1 Android Development] enomther:
shadowleo85,

If you do not install an expansion pack ... you are correct ... you will not be able to tether ... as you are basically using TMO's kernel (really HTC's) ... which doesn't include netfilter/tethering support.

Install the latest expansion pack (v2.0.1) ... and use 'expsetup' in the TerminalApp ... you'll be able to "scale back" any features you don't desire.

~enom~
[G1 Android Development] enomther:
actually marty22877,

forgive me ... I completely overlooked your "signature" ... with the 1.33.2005 SPL from Haykuro ... the /data space issue is FAR LESS of a concern ... you should be fine!!! ;)

~enom~
[G1 Android Development] sasa3791:
Enom,

After reinstaled to (v2) version theme and reboot i got yr new yellow colored boot and that's it,

black screen almost 5 min, what's wrong?
[G1 Android Development] azguy61:
Alright thanks I did that, but no output besides # came is there a way to check if I am actually running compcache? thanks so much for your patients
[G1 Android Development] DOHCtor:
power off the phone, then power back on. Run terminal emulator and type...

To check if compcache is working

#free

for swap, you shuld see roughly 32mb available

To check if apps2sd is working

#mount

you should see /system/sd on /dev/block/mmcblk0p2
[G1 Android Development] azguy61:
Okay so I think Something else maybe up when I put in the Free command the output:

Total********Used**********Free*********shared***********Buffers

Mem: 98744********97180*********1564***********0*************4

Swap: 0************0************0

Total: 98744********97180*********1564

For mount I got

I only had mtdblock3, 5, and 4 there was no 1 or 2

Seems like I might have screwed the pooch somewhere?
[G1 Android Development] enomther:
DOHCtor's commands were solid.

Have you formatted your sdcard with multiple partitions?

su
ls /dev/block/mmcblk*

Run this command and read the output.
[G1 Android Development] azguy61:
Well when I was first started your tutorial I did the preq steps however, when I went to put in stuff into my sd drive i noticed that the total 8017 was decreased to 7.4, and I did reformat it when I was having problems with the Userinit thing so that might have destroyed partitions.

It reads off :

/dev/block/mmcblk0

/dev/block/mmcblk0p1

Im guessing from the silence there is a big booboo O.o
[G1 Android Development] enomther:
So yea, you don't have multiple partitions.

Well the multiple partitions deal is not required for compcache to run.

But I'd *HIGHLY* recommend you partition your sdcard before settings up this ROM. Again, this is not a requirement, but a strong recommendation. Because you 8GB, you should setup ~7.5GB as FAT32 and the remaining as linux ext2 or ext3 fstype. Walking you through that, is beyond the scope of this thread. Please search other threads for how-to's on this.

As far as the userinit.sh script implementation, we've given solid instructions here. If you downloaded the proper userinit (userinit.sh_v1.3.txt) and followed the instructions given, compcache should be working with no problems.

ls -l /data/expstick/bin/userinit.sh

This command should reveal a single entry output ...

something like...

'-xrwxr-xr-x root root 5102 ....... userinit.sh'

if it doesn't, redo the suggested steps and read back up the posts carefully.

~enom~
[G1 Android Development] azguy61:
my output was -rwxr-xr-x root root 5102 is that alright?

parted /dev/block/mmcblk0

rm 1

mkpartfs primary fat32 0 7500

mkpartfs primary ext2 7500 to the rest?

or is there somethign that might be more recommended? Thanks so much for all the help.
[G1 Android Development] enomther:
Yes that userinit.sh output looks correct. I believe the mkpartfs commands look proper as well. Did you make sure to reboot after implementing the userinit.sh?

Repartition and give it a shot.

~enom~
[G1 Android Development] angelghost:
i have no swap or partition or compcache , and i use the most original way.i did nothing but flash rom and use
[G1 Android Development] enomther:
That's interesting indeed, without using any of the advanced feature set, I really can't say either way why you are experiences are such. With this basic setup, they're shouldn't be any considerable difference in power consumption.

Only other thing I'd ask or have you check, is your radio version. Do you have the latest radio installed? (2.22.19.26I)

Without that installed, there could be additional power consumption. Otherwise, suppose I'd be stumped.

~enom~
[G1 Android Development] azguy61:
Okay I repartitioned

the readout is still

-rwxr-xr-x root root 5102

and now

the ls /dev/block/mccblk*

gave me

mmcblk0

mmcblkp1

mmcblkp2

Is that alright? I want to thank you so much, you have been awesome, if you do not mind I would like to ask a few more questions.......Are there any applications that you could refer me to setting up that make the G1 experience more enjoyable, and also do you know if theres a way to have a task manager and multi-touch on the G1 using your setup? If so can you point me in the direction of activating/installing these? Again if it is not too much trouble..........you freaking rock tho amazing tech support for nothing but donations thanks alot.

One more thing when I type #free in the terminal I still do not see anything under swap is that alright?
[G1 Android Development] enomther:
The partitions look ok from the output, the other todo is

mount

partition /dev/block/mmcblk0p2 should/could be mounted on /system/sd.

This compcache piece is still not running though. Did you alter the download userinit.sh_v1.3.txt script at all?
[G1 Android Development] azguy61:
yes I saw dev/block/mmcblk0p2 /system/sd ext3 is that what you were lookign for? I am going to go ahead and redownload the userinit.sh file and see what happens when i try to reinstall it. Oh and no I have not edited the file for the userinit.sh at all other than rename procedure you told me to do.
[G1 Android Development] DOHCtor:
That's strange, your compcache should be running then.
[G1 Android Development] azguy61:
Well I reinstalled the userinit.sh, there is no change in the information i posted above. However, I was thinking I use this command to rename the userinit.sh.txt file because for some reason when I transfer it from my pc to the SDK reader adapter it comes out as a txt file:

#cp /sdcard/userinit.sh.txt /data/expstick/bin/userinit.sh

could it be that the phone is just renaming the file but not making it compatible with its software, which is causing a problem for it to start up compcache??

I guess my phones screwing up everyone's day lol i really do appreciate all the help.
[G1 Android Development] angelghost:
my radio is the latest,maybe something wrong that i didn't find。thanks a lot.
[G1 Android Development] enomther:
azguy61

post your EXACT output from the command

su
busybox df -h

I wanna see.

~enom~
[G1 Android Development] azguy61:
"*"=/dev/block/mtdblock
Filesystem Size Used Available Use% MTD
tmpfs 48.2M 0 48.2M 0 /dev
tmpfs 4.0M 0 4.0M 0 /sqlite_stmt_journals
"*"3 67.5M 67.5M 32.0K 100 /system
"*"5 74.8M 3.5M 71.3M 5% /data
"*"4 67.5M 1.2M 66.3M 2% /cache
"*"0p2 462.4M 29.5M 408.3M 7% /system/sd
"*"0p2 462.4M 29.5M 408.3M 7%/data/dalvik-cache
/dev/block//vold/179:1
7.0G 12.0K 7.0G 0 /sdcard

Here you go, if you need me to do anything else just post thanks.

"*" was my thing to save space the actual code does not use that abbreviation.

For example, the second "*"5 looks like /dev/block/mtdblock5 and the last one looks liek /dev/block/mtdblock0p2
[G1 Android Development] enomther:
I need the output of ...

ls -l /system/recovery.img
[G1 Android Development] azguy61:
I think you may have found it

Output:

/system/recovery.img: No such file or directory

If this was to check if I made a recovery of my phone, I did but I have the nandroid file on the computer instead of the sd disk
[G1 Android Development] mikedmeyer:
Nice work, but I have a question: Does this ROM do an "auto-FSCK" of the ext2/3 partition on shutdown/reboot like Cyan's? It's a must-have feature IMO.
[G1 Android Development] DOHCtor:
Yes, it does.
[G1 Android Development] mgorman:
never mind. i answered my own question
[G1 Android Development] marty22877:
perfect, thanks!!!
[G1 Android Development] shadowleo85:
thx... now i dont use apps2sd because i just use the tether... will that be a problem with the expansion pack
[G1 Android Development] remailednet:
I think I spoke too soon. Try as I might, I just couldn't find Google Maps in the market.
[G1 Android Development] sasa3791:
Enom,

pls help i'm stuck on black screen after reboot from recovery

do i revert to (v1) version theme or nandroid.....
[G1 Android Development] marty22877:
hey enom, trying to run the increased kernel patch, and it's telling me "Error: 4 is not a valid option!" am i missing something here?
[G1 Android Development] nabzilla1990:
thanks so how do i get this on flashed both new versions and it doesnt work i pushed filepicker and pdfviewer to system/app and also libpdfreader.so to system/lib do i also need to add the htc framework files ill also be updating the theme for ur versions do u have theme templates the osaka thing is givin me a headache if u could provide white text templates for me that would be great i can port it tonight
[G1 Android Development] mgorman:
i just flashed 2.0.1 and i get a butt load of FC's on boot.
[G1 Android Development] remailednet:
From the changelog in the OP:
[G1 Android Development] enomther:
nabzilla1990,

Install the ADP + ADP Expansion Pack version ... you do not have to push anything ... HTCFramework + PDFViewer is installed for you.

Also ... as far as a "theme template" ... you could grab the HERO theme v2 (which is mostly the latest community-HERO ;) ) ... it has the white text stuff already in it.

~enom~
[G1 Android Development] enomther:
mgorman ... while this is always a crummy answer to give ... you probably need a fresh install (for whatever reason) ... you should not be getting FC's.

~enom~
[G1 Android Development] nabzilla1990:
thanks freakin out without pdf viewer using rogers mostly
[G1 Android Development] enomther:
sasa3791,

You can nandroid restore ... I'm not sure what is going on with your setup.

I would nandroid restore ... redownload / verify you have the correct expansion pack & theme files.

Install the expansion pack, boot up and then reboot into recovery and install the appropriate v2 theme.

~enom~
[G1 Android Development] mgorman:
to do the upgrade do i need to flash both the rooted base and the expansion or just the expansion?