yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] ezterry:
* with a prebuilt froyo rom.. you don't

* From source.. see my post on gplus or look at the code.. all the ezgb2636 kernels (froyo and gingerbread) have ksm support but userspace needs to tell KSM what to scan, in the case of android this means the dalvik virtual machine.

NLJ was going to look into it for his froyo build when/if he has time I think.
[G1 Android Development] ezterry:
Ok.. confirmed pico is broken,

Problem with the new xlib (compressed libraries) apparently rather than let the system find the library they are looking in /system/lib specifically (not the first library with this problem)

Simple symlink is the fix

ln -s /system/xlib/libttspico.so /system/lib/libttspico.so

Of course I have an easier way for those not used to the unix command line:

[Size=+2]PICO Patch:[/Size]

20111107_pico_patch_S.zip

Md5: c8e9efd72c4908f41f8f684882894e47

(Ought to work on the latest AdsMagpie as well if the problem exists.. it just runs the symlink command)
[G1 Android Development] flyers00:
TY EZTERRY, I will apply the patch and see how everything works. I am glad you were able to find the error and correct it. I am not a programmer so I will take the easy way with the ZIP file. Glad you are still out their developing for the G1. By the way, the pico patch worked fine, thanks again
[G1 Android Development] Dreamtheater2003:
i hope 140 dpi could be used in this rom and alos the terminal emulator.. really nice fast rom..
[G1 Android Development] DorianX:
Ok thanks for the answer :)

---------- Post added at 11:59 PM ---------- Previous post was at 11:41 PM ----------

You can change dpi editing \system\build.prop the 40 line: (ro.sf.lcd_density=160) to (ro.sf.lcd_density=140)
[G1 Android Development] Dreamtheater2003:
Thanks for the info.. how about the terminal emulator?
[G1 Android Development] ezterry:
Search Market.... (helps people like me who never use terminal.app, connectbot is much more useful as its then the same app for local and SSH terminals)
[G1 Android Development] tvall:
What about a terminal emulator? I use connectbot. Works well
[G1 Android Development] Maxamillion:
Hey ezterry,

I was wondering if you have included the patches in faramtito's kernel in your own ezgb kernel? I'm looking to save more battery life as lately I cant even last one full day without charging.
[G1 Android Development] AndDiSa:
How old is your battery?
[G1 Android Development] Maxamillion:
its approximately 2-3 years old. maybe thats why i think...
[G1 Android Development] farmatito:
You can try this http://www.multiupload.com/C3TZUPEYNV

It is my old autogroup kernel with KSM enabled to see if it

makes any difference.

Enjoy.

PS.: info on sources and patches can be found in the PowerSaverKernel thread.
[G1 Android Development] Maxamillion:
k thanks!

you guys i think i going to buy a new battery. which size should i get the standard oem size of 1100 or a bigger size like 1400?

EDIT: links would be greatly appreciated :D
[G1 Android Development] jdb78:
I would not suggest to use Swype on the dream/sapphire because that keyboard is very hard on RAM which or devices lack off. So better use the hardware keys or the gingerbread keyboard which is not too bad, too.
[G1 Android Development] farmatito:
I recommend the Mugen Power 2600mAh, it's expensive but worth every cent.
[G1 Android Development] Maxamillion:
thanks, but I was dont my g1 to be more of a brick than it already is lol

I was hoping to keep the original shape
[G1 Android Development] hoslat:
Is anyone else experiencing problems with the notification-LED?

Since 2.3.7 the LED isn't showing missed calls and emails not every time...

At least with AndDiSa's ADS_Magpie. Is it working with EzTerry's?
[G1 Android Development] flyers00:
Rom is running great but I'm experiencing huge battery drain. I have wifi,bluetooth, gps,roaming and data enabled off for things like maps and weather apps. Any suggestions or others experiencing this?
[G1 Android Development] AndDiSa:
Missing calls are not notified by led notification in Android. For e-mails I am not sure, but if you get sometimes a notification and sometimes not, chances are high that you are running the ROM with compcache size too low.
[G1 Android Development] AndDiSa:
How old is your battery? I had this problem some month ago and bought a new battery. Almost no drain now. (Writing / reading for half an hour now with 2% usage).
[G1 Android Development] flyers00:
Andsia my battery is about 2-3 months old. I let the battery drain and power off. I then recalibrated the battery and I'm lucky to get 5 hours before I have to recharge.
[G1 Android Development] ezterry:
* battery could be a dud

* you could be polling tapatalk/xda app too much

* weak signal

* wifi confused

* too much data transfer

* bad gprs settings

* ebuddy or other app with constant connection

* poll/pull email/k9 app using too much resources, poll frequency too high

* other background service including gapps > 4.8 or facebook >1.6.4

* too many syncs enabled (picassa sync and book sync unless really needed are best of disabled)

You will need to go to settings verify the system is not running unexpected items and check the battery history graph to see what usage you are doing is the issue.

If you see something like the kernel not sleeping get dmesg (dmesg logs when we enter sleep/wake) and logcat (will tell what was running if you have unexpected wakes). With these we may have advice or find a real problem... but parsing these without following along realtime are non-trivial. Thus its best to debug yourself what is using power.

If you have no better way wipe, login to google but don't resore your apps, and only re-install apps one per day to make sure no extras exist and to find power hungry apps and judge how to make the batery last.

My battery life on my day to day phone lasts between 4h and 14h reguarly depending on use, and longer is possible if mobile data is disabled and use minimized.
[G1 Android Development] flyers00:
Thank you for the explanation EZTerry. I checked my phone earlier and it got a new personal best of 4 1/2 hours.

I am not running Google Maps on the G1, using Mapquest and for Facebook I will use the version you had posted or I was using Friendcaster. I am going to back up what I have installed now and wipe my phone using fastboot erase system -w and fastboot erase boot then superwipe and reflash the ROM. I am hoping the battery isnt a dud, is the best place to get a replacement battery for teh G1 still amazon or Ebay? I didnt mean to sound negative with my comments about the battery life but it was a shock to me to see 4-5 hours max.

I appreciate all that ou and others do to keep the older phones alive. I will keep you posted on how everything works
[G1 Android Development] sickleman:
Is there any way to add flac support?

How can I do it by myself while building Ezgbread from scratch on ubuntu?

Thx o lot ;)
[G1 Android Development] ezterry:
The instructions to build ezgb are currently in the op, (I've even put a work around on my server last weekend for that bug in the newer version of repo that caused it to try to fetch projects without appending '.git' to the end of the http URLs. {Just some symlinks to force it to work anyway})

As for adding your feature, well that is your puzzel isn't it, but best to search the commit logs and cm7 repo for the commits you need and cherry-pick (as in 'git help cherry-pick') them into the ezgb repo, then build and enjoy, if no adverse performance impact to those not using the phone as a music player, send me a pull request on github.

In the meantime I get to look at ics as soon as this repo sync is done. Wonder how easy/hard porting to my icona a500 will be, (I'm not hopeful for the dream, It take, even if possible likely until March to stabalize and I want a new phone in Jan.. but maybe there are interesting bits that can improve/revive ezgb.)
[G1 Android Development] ibraheeemz:
Well, I am using Data all the time, gtalk and gmail (sync) remain active, and my calling ratio is a bit higher too plus messages send/receive, and weather widget also enabled... and I get complete 24 hours battery time with 20% battery still remaining and I then re-charge it. out of this 80% usage, my major usage is calling 50% plus... so in my opinion, there is no issue with the build, but I bought the battery a couple months back while I was having sudden battery drain issues and after that its all great.

---------- Post added at 05:48 AM ---------- Previous post was at 05:37 AM ----------

sorry to add a new different discussion all in between the useful thread but I think after getting so much stable its time now if the ezGB can get some beautiful outlook.

I was looking at some MIUI ROMs and was much impressed of their appearance. Is it possible, or can someone merge (or import the cool interface of) MIUI ROM with this ezGingerbread. I hope, if its done, it will not cause any differences in performance or battery time.
[G1 Android Development] chris122380:
I found a fix for swype and has to do with the new kernel and not sure why. If you use the new kernel you get the swype problem every time even on other roms. The fix I found was to install the old kernel and boot into the rom and set up your apps etc. Then install the new Kernel and then the swype keyboard will work just fine. Unsure why that is the case with the new kernel but the work around fixes the problem.

Is there a way to get the CM7 dialer instead of the AOSP dialer? The CM7 one has the phone icon next to all the contacts with phone numbers but AOSP dialer only does that on the favorites tab. If one wants to then call some one on favorites they have to open there contact information or long press the contact but with the CM7 contacts you just click the phone icon.

I am also not able to get TTS to work. Have any ideas on troubleshooting androids TTS?
[G1 Android Development] sickleman:
Hehehe.. I noticed that at least framework (or only pngs I'm not sure) is based on the froyo one.. Try to open keyboard and then lock and unlock screen... I've seen somewhere that images before... :)
[G1 Android Development] ezterry:
What are you talking about.. on second thought I'm not sure I want to know... I promise this is gingerbread not froyo
[G1 Android Development] ibraheeemz:
Video of ezGingerbread

Here is a video I made today to show performance of Gingerbread on my G1. Hope you guys will like it :)

http://www.youtube.com/watch?v=7QLvfCsKTDQ

Try viewing it at 720p :p
[G1 Android Development] chris122380:
Ok sorry I see didn't see your TTS patch wich wasn't in the Rom manager. I am now having problems with the call touch UI. I have the box checked and am not getting the touch UI to come up. I have re-downloaded and re-installed over the last install of the rom as well as a fix permissions and the call UI doesn't come up.

I will wipe and try again just means no swype then.

---------- Post added at 11:39 AM ---------- Previous post was at 11:25 AM ----------

The Call touch UI isn't working on a fresh install ether.

---------- Post added at 12:07 PM ---------- Previous post was at 11:39 AM ----------

Swype works if you do a fresh install of swype. Still unsure why no touch UI.
[G1 Android Development] Maxamillion:
What are ur performance settings? are u overclocking?

Which launcher are u using?
[G1 Android Development] ezterry:
It is/was in rom manager as within 5min or so of me posting the patch here. (Its one of the option checkboxes with the gapps, and gprs patch)

I admit I did not go back in time; so if you installed it before the patch existed you did not get such an option; Also I did not make a new rom entry so there was no OTA message even if you paid for rom manager. The hope is I'll have a bugfix release soon anyway.. no major changes since the release yet but many small annoyances squashed.

Of course only 271 (and >50% since the patch) installed via rom manager of my 1255 downloads of GINGERBREAD-DS-Gamma-20111107-1.zip to date.. And a test install of mine is one on both those counts.

Zeam Launcher, I'm actually back on Launcher2 myself.. but only because the newest versions of Zeam are force quitting time to time.. may go back to the older version I have in the mdpi zeam package..

I can't say about the performance.. somehow looks faster than my phones in some respects and slower in others.
[G1 Android Development] ibraheeemz:
I never faced even a single forced close since the flash of Gamma build . no over clocking at all and my zram setting is 16MB. also KSM is disabled (because in my opinion it slower the phone down and also increased battery usage) . and I am not using power widget in notification bar. So it might lower the burden down a little and thats why avoiding FCs...
[G1 Android Development] chris122380:
Can Music be replaced with Google Music in a future build (Not sure if the latest will work on G1/mytouch3g but 3.0.1 will)??
[G1 Android Development] ezterry:
... no I will not add a gapp to the build, and I don't think I have room in the gapp package,

But nothing really stops *others* from making alternative gapp packages, just make sure Google Backup Transport is signed with the ezgb platform key (or use the version of that one app from the existing package)

If you want your custom gapps package to replace some pre-installed open source apps with closed apps that work better for you, that is your choice, but there is no need to add them to the build.
[G1 Android Development] hrk:
Possibly weird/badly wrong idea...

Disclaimer: I may be on to some badly wrong idea, so be patient ;)

I was thinking about VM Heap size and wondering if it would be possible to have per-application setting. I guess it's a system (=linux) attribute, so it would require some pretty changes to how dalvik is started/invoked.

The "idea" is to be able to set a different VM Heap size for each app (defaulting to the... err... default) and then being able to increase it for heavy apps (such as Maps, or the Browser) and decrease it for small footprint apps (I always wondered how much RAM No-frills or Ghostly would require to run...).

I used to increase the VM heap size for the sole purpose of avoiding Maps and/or Browser to close, which makes it a shame...

What do you think about that?
[G1 Android Development] ezterry:
VM Heap Size is the maximum size the Virtual Machines heap can grow for any instance of the dalvik virtual machine.

Some things to note:

1) The dalvik virtual machine is started as root on boot and runs the zygote code (java code hidden somewhere in framework/base) This is already executing the dalvik byte codes with the VM Heap size set

2) When the system needs to start an android application the zygote task forks (makes a virtual copy of its self all pages copy on write) then changes from root to the applications user before starting to run the android application

This means The HEAP size is set once for all applications; zygote also loads various shared resources and libraries before forking into the more specialized tasks. Thus saving memory since common resources are copy on write; thus will not requires multiple copys in ram for each instance of the virtual machine. (If KSM is enabled this is further enhanced; because these memory regions are scanned thus re-merging any page changed + changed back; or changed in the same way in multiple processes)

At current there is no way to expand the heap size after zygote starts; this is not usually a problem because while it defines the maximum, the memory is not allocated until its needed; so usually a program with a small memory footprint will never allocate the full ram that the heap size allows.

The problem is some apps do seem to have some logic to determine if memory is low and thus can be more aggressive saving your ram overall when the heap is smaller. While others like the browser attempt to use as much ram as it can .. and frequently runs out.

Starting a new dvm instance for every process is time consuming; and will likely use more ram due to reloading things slightly differently each time.

Best is probably to make a large heap and add logic putting a virtual cap to simulate what you are describing; but this may need many changes to libdalvik that might have unexpected consequences. (If such points can even be found to make the GC more aggressive on smaller processes)
[G1 Android Development] AndDiSa:
@Terry: Thank you very much for your explaination! Every one of your post helps me to get a more detailed unterstanding of the overall Android architecture.
[G1 Android Development] hrk:
+1 on what AndDiSa wrote. Thank you Terry, your explanation was very through and I understood that my idea was useless from the start. :)
[G1 Android Development] GeEazy:
I would like to start off by saying ezTerry, GREAT WORK!

--------

I'm having some frustrating problems with your Gamma build though, every other morning i like to restart my phone and when i do it pops up saying system process. . .force close or wait, then randomly some apps would just force close and i would clear cache and reinstall and still be a problem then i would do a wipe cache and my market would be missing, just too much i haven't had this problem with your Beta version, just Gamma. so I'll be downgrading till your next release .
[G1 Android Development] ezterry:
I don't know what you did to your phone, but sounds like its best to re-install and run fix permissions to me.. (at least since the install will clear dalvik cache again)
[G1 Android Development] GeEazy:
I haven't done anything wrong to my phone, and I've done a reinstall a few times same result.

:\ I'll just wait for your next release.
[G1 Android Development] AndDiSa:
Did you run fix-permissions? Did you clean up dalvik-cache? Try to boot into recovery mode, mount your /data partition and delete all files from dalvik-cache directory. May be that there are some old dex-files which conflict with the new odexed ones.
[G1 Android Development] GeEazy:
No i did not, reason being that Gamma build runs the dalvik-cache cleanup on 1st boot, and I'm currently running the Last Beta Release with no problems as of right now.
[G1 Android Development] tvall:
So try it.

I have a feeling thats your problem
[G1 Android Development] Unrelashade:
I also had random force closes, some app's data got deletet sometimes, like AK Notepad and SMS or Contacts. One time even the Launcher didn't work anymore. This happened to me even after whiping, fixing permission helped one time, though, to make an app work again (can't remember which it was, sorry :( ). I'm afraid my internet flash card has been too much used in the almost three years now and it has some failures sometimes. Is that possible? (My battery power is also pretty low :'( )

However, just installed the gamma build. I've got some issues:

- Bug?: About Settings force closes (seems to only FC at first boot). That happened to the other builds as well btw, I'm always going through all the settings at first boot again.

- Bug?: Disabling the Android Onscreen Keyboard results in a force close. After reboot the checkbox is checked again and Android Keyboard is running again.

- Bug?: Superuser app update can't install "in default location" and update fails (you probably know that one already :P )

- Question: Aren't there more CM Parts Settings which you could have included without making the ROM much bigger or slower? Like the battery % setting or press menu to unlock? Or did you just want to keep everything as minimalistic as it could be (and you found the statusbardock just too useful? ;) )?

- Question: Is the ROM faster with ZeamLauncher installed instead of the stock launcher?

- Question: Why not use the Gingerbread Ghostly SMS implementation for the stock sms app? Or is that what you're trying to do already?

Thanks so much for answering and keeping our G1s awesome devices! :)
[G1 Android Development] ezterry:
Never seen it.. sure you let the phone fully boot?or is this without a software keyboard.. if the later please look at the source updates since launch

This is a aosp gingerbread bug.. I think they assume you want a software keyboard..

Of course unless you specifically allow it its not supposed to let you inadvertently update superuser, since a hacked superuser can grant its self root without asking you.. its a feature mentioned I think many times search the thread.

FYI: I recommend not upgrading superuser until the next build, (Unless you have the ADS build from this week) as there is some bugs when you update superuser that will likely make it a more painful update on my next release.. after that you are welcome to use the allow superuser update option and update super user, as well as installing a working elite that stays installed after reboot.. I'm going to see what I can do for those that already updated.. (when the fix is added frequently superuser fails to be detected on boot as if its not installed)

I add the features I wish to see after testing, and frequently with help from AndDiSa to find all the bits (remember CM Parts is just the GUI for setting the options, the actual options are elsewhere in the rom). And while I may be able to add a particular feature.. what about the next feature asked for, and the one after that, and can we have Klingon translations, and ICS themes. >. The answers are at some level if you really want it make your own build/patch/theme.

As for battery%.. its an evil feature.. because people will spend all day seeing how fast their screen causes the battery to drain while not using the phone for anything else.. the icon is at about 5% intervals it ought to get you what you need.

.... test both and tell me what works better for you... actually I don't need to know just use the one that works best for you, install it from market if you want to be able to switch back and forth.

??? Please provide a patch regarding what you mean... better yet please just fix any problems with the stock sms and show Google..

But more seriously since gamma I've had both MMS.apk and Ghostly fail to notify me (I admit ghostly I may have asked not to notify me after getting tired of the duplicate notifications) but both did recieve the message MMS just didn't inform me.
[G1 Android Development] papachan:
excellent ROM for g1

Hello guys. I have the ezGingerbbread beta-20110828-1 rom, and i really enjoy it on my g1 ! its pure, extremely fast, and have a really nice theme interface!

I use it for a month now, and i see its almost stable.

but i use Messagease keyboard, not the android keyboard for GingerBread, and ever i switch on the g1 it go back to the gingerbread keyboard, look like a bug. Is there a possibility to fix this problem on future version?

and thanks for your admirable work. Will watch for a newest beta.
[G1 Android Development] ezterry:
I have used a 3rd party keyboard for testing without issue.. at least on the newer gamma build.

Some things to ensure:

* Make sure all software keyboards are enabled in settings (or at least the gb keyboard and the one you want to be the default )

* try to ensure the keyboard is installed internally (if you really must SD-ext will work but dont move it to sd fat since then it will be missing on boot and a new default will need to be selected)

* now long press an input box to get the input method dialog and select the software keyboard of your choice.

Note even with all input methods enabled only the active one will load into ram.
[G1 Android Development] Bladyle:
Is it possible to fix led notification with this code - http://droidbasement.com/db-blog/?p=1301 ?
[G1 Android Development] papachan:
You are right. This time my third party keyboard wasn't installed in internal. Thanks ! you have been very helpful !
[G1 Android Development] ximmox:
Terry, your 1.5.2 kernel works wonders flashed on top of the (quite old) last version of COS-DS.

Time stays synched, it feels quite a bit faster and battery seems to hold up way better (eventhough I can't back that with any real numbers).

Thanks for this and your work (once again). :)