yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] ibraheeemz:
well, talking about test build,

after disabling KSM and reducing zram to 8MB, performance seems improved a bit as was before and battery improved a bit as well.

I don't know if KSM is meant to improve things or whats the purpose if it reduces performance as well as battery, (though fractionally)
[G1 Android Development] AndDiSa:
KSM tries to optimize RAM usage by mapping the same memory content of different processes to the same memory location. But if one of those processes changes "his" memory, it must be duplicated first before the process can write to it. Depending on your processes this may increase power consumption and reduce "speed".

Advantage of KSM: our G1 needs more memory to run all needed processes / services in background and KSM is a bit more efficient then zram/compcache.
[G1 Android Development] phin586:
Not sure if this has been stated, but how do i enable my swap partition?
[G1 Android Development] AndDiSa:
For what reason? Swap is useless and will slow down your phone. Compcache/zram are the way to go. Just my €0,02.
[G1 Android Development] phin586:
Hmm. I guess my main concern is to make sure i have memory, in general, free to make sure mms.apk stays in memory. Is that bug still a problem even?

I noticed that i do get a performace boost with swap on. Maybe its placebo? but it seems to work.

Great work btw, ads and ezterry. Loving this ROM. :)
[G1 Android Development] hrk:
No matter how much free memory you have, the bug can happen. It happened more than once on my Desire Z w/ 192 MB of free memory all the time ... I'm running CM there instead of Terry's optimized code for the Dream but it looks like it's not entirely a RAM issue ...
[G1 Android Development] Poppu:
I don't think it's placebo. The subject was already mentioned quite a few times, and it seems that the universal answer is not 42 but "It depends on how you are using your phone". For people like me with widgets, heavy services (e.g. latitude), it's an improvement, because the system does not have to kill and reload applications every 2 minutes. For people using light applications (few widgets, very few background services) swap is slowing down everything as the system keeps lot of non necessary things in memory and is less responsive due to the swap access.

In both case people have observed that swap will slow down the phone after while, so if you use it a good idea is te reboot once per day.

So the best thing to do is to test by yourself and make your own opinion with your particular phone usage.

The easiest way to use swap (in my opinion) is to use swapper2 for root users. This way you can try with a swap file, test several sizes, activate / deactivate easily the swap. And once you are sure that you want to use it (if you decide to go with it) you just have to partition your SD and configure it properly.
[G1 Android Development] dekans:
I recently repo-synced, and I have build errors.

I event removed and recreated my repo, but now I can't even do a repo sync.

"fatal: http://android-git.devnull.name/platform/bootable/bootloader/legacy/info/refs not found: did you run git update-server-info on the server?"

Is the repo moved ?
[G1 Android Development] ezterry:
no but for some reason your computer is checking for a git repo named 'legacy' and not 'legacy.git'

the URL ought to be:

http://android-git.devnull.name/platform/bootable/bootloader/legacy.git/info/refs

try 'rm -rf .repo/projects/bootable/bootloader' and try again.

If you get another error with the same project run:

'repo sync bootable/bootloader/legacy' and provide *all* the output.

also in future if you run 'rm -rf `ls`' at the top of the build tree, then 'repo sync -j 10' you ensure no unexpected changes exits without re-downloading everything. (since the data for the git repository are in .repo/projects and the rm statement as listed will not include hidden directories)
[G1 Android Development] dekans:
Still the same error.

Exactly the same thing with bash instead of zsh.

Even with another complete rm -rf and repo init.
[G1 Android Development] ezterry:
well without more data as why your report install is dropping the '.git' from from the report name I don't think I can help..

You can see the info file exists at: http://android-git.devnull.name/platform/bootable/bootloader/legacy.git/info/refs (just follow the link)

and I will assume:

cd /tmp
git clone http://android-git.devnull.name/platform/bootable/bootloader/legacy.git legacy

also works.. because otherwise I'd be having errors every time I sync.. sometimes there is a random connection error but most of the time its working.

Sure your copy of repo is correct? Did you modify the manifest?
[G1 Android Development] dekans:
I didn't have any more data that my paste.

I didn't modifiy anything.

So it appears that the issue is effectively on my side.

I will investigate on it.
[G1 Android Development] ezterry:
So git was able to get the repository properly when you pointed directly at it

Just FYI this warning indicates it got the files; just it didn't know what to checkout

either re-clone with '-b gingerbread' or in the git repo and run 'git checkout origin/gingerbread' to force the files to checkout

Still you will need to continue to search why repo is not looking in the correct location..
[G1 Android Development] dekans:
I have not (yet) found a solution but it seems to be a Ubuntu oneiric (10.10) bug with git.

So beware for your updates !

EDIT : It works well with AOSP repo ...
[G1 Android Development] ezterry:
Gamma Release

Time for a long overdue update:

(First if you didn't notice yesterday slight kernel update, so non-ezgb users may wish to go to the standalone kernel post)

For ezGingerbread users we now are out of beta into gamma ... maybe one day I'll call it stable but there are some loose ends I hope to clean up first.. but I don't want to hold the release until then.

So what do we have:

Changes (since 20110828):

*) Upgrade to Android 2.3.7 (Extracted from CM7's repo)

*) Fix wifi infinite lease issue

*) CA-Certs update

*) Add pt_BR localization to the main build

*) Some framework patches from CM7

*) Add KSM (Kernel SamePage Merging) support

*) MMS Time display options form CM7

*) MMS MDPI Icons to scaled GB icons (via CM7)

*) Compress xbin to xbin.sqf

*) Compress many libs into xlib.sqf (/system/lib takes priority over /system/xlib so

simply place any libs to override the moved ones in the regular /system/lib location)

*) Compact apks [pngcrush] + resources.arsc zip -9 (besides framework-res/SystemUI)

*) Superuser update 3.0.6

*) Odex framework saves space on /data, better optimization, uses 5seconds of my computers CPU

rather than 5 mins of your phones on first boot

*) auto clear dalvik-cache on first boot (so no special instructions for install)

*) CompCache settings moved out of Application settings into EzGbExtras

*) Kernel Update to v1.5.2 with hopefully time skew fixes

*) NTPd service available in EzGbExtras for additional time skew fixes

*) Incoming Call TouchUI option in EzGbExtras

*) Probably something else I'm forgetting, check the source code or back here if I think of it

Rom, Language Pack, and a new gprs tool in the 2nd post as usual:

If coming from another rom please wipe before installing, updaters from any beta version of this rom need not wipe.

To update/install:

1) flash Gamma20111107

2) (only if required) flash language pack

3) flash Gapps 20110709

4) (optional) flash zeam launcher

5) (optional) flash gprs tool (if you want to test higher speed mobile data)

6) boot
[G1 Android Development] hoslat:
Is it possible to add another language to the ROM?

de_AT (Deutsch_Österreich = German_Austria)
[G1 Android Development] Firerat:
twitter's contact sync works fine

I'll see if I can look at it later,

I should probably add the install location UI , still not made my mind up as to where exactly to put it
[G1 Android Development] lele5800:
ok..but with gapps problem? gmail doesn't work for me...
[G1 Android Development] ezterry:
The aprox. behavior I expect is something like the following:

An option in settings -> Applications just under 'Unknown sources'?

"Install to Sd-ext"

- unchecked uses auto internal/to fat as per froyo/gingerbread default

- checked tries to put every new install to sd-ext?

If you have a better idea by all means
[G1 Android Development] dillalade:
Sup DEVS.

Been running FR's Magpie GB - and its running reall smooth at 245/556mhz.

Spare parts - Fast animations.

ADW>Screen>Desktop Scroll Speed 780 & Overshoot 42

These 2 fixes are so worthwhile - provides for a much smoother GB experience:

http://xdaforums.com/show...postcount=1002

http://xdaforums.com/show...7&postcount=42

**** Feature Request, BEGIN ****

1 feature I would love to see would be the Lock Screen Music App Controls that CM had incorporated: Play/Pause, Next/Previous & the Volume longpress up/down (track next/previous) function.

This feature is a very rich feature in my perspective - it allows for very swift Music controls without the need to unlock the device & when running no need to even look at the screen, simply toggle tracks with the volume rocker.

2nd feature: Potential for the 6 button customizable Power Bar placed into the top of the Notifications Drop Down.

**** Feature Request, END. ****

Once GPS, native Gmail app & Video playback are resolved, this would be the only ROM to be using - so fast!

Just my 2 cents anyway.

I was initially thinking I'm missing the CM advantages, but actually I'm not now - because this ROM is running real smooth.

Does EZTerrys latest ROM (7th Jan) allow for proper video playback; youtube and/or local videos? What else has changed?

Firer4t - can you kindly supply Magpie for todays ROM?

Thanks in advance
[G1 Android Development] Firerat:
yeap,

sounds good to me,
[G1 Android Development] bypass23:
I'm just back from the hospital... only 18hrs :(

I wanted to look into the gps yesterday but obviously it didn't happen

good news from you tho :)

At least some research gps wise has been made already :

We have amss 6220 and this commit was for 6225 fix as mentioned earlier in the thread... I think you forked it already from cm anyway

Even more interesting a GPS HAL wrapper has been made by rmcc (forked to cm too)

BUT SORRY I couldn't test it but I believe the solution for gps is right here :D

gps.c

* GPS HAL shim
* load older GPS libraries on gingerbread (and above?)
*
* Copyright 2010 - Ricardo Cerqueira

punk.kaos told me that gps was working on hero. They probably used the wrapper it's kinda new code it was first posted December 29th

I may try it later today but I'm off to bed again for now if any of you guys have time try it out !
[G1 Android Development] dhkr123:
Anything you can do to get GPS working would really make my day. My Dream now is relegated to primarily travel duties where I don't really want to be pulling along my $500 Vision -- location marking, navigation (copilot), and SIP calling (sipdroid) are the primary functions. As everybody knows, sipdroid is nice, but not well integrated, and rough around the edges... which makes GB very attractive. Just not without GPS ;)
[G1 Android Development] haralampije2:
Did anybody got a mobile data connection problem on sapphire 32a?

if somebody got it working which radio and spl should i use. i`m currently using :

Radio: 3.22.26.17

SPL: 1.33.2010

Thanks for the help!
[G1 Android Development] ezterry:
Don't think I'll have time today, plans and the need for sleep.

But the shim ought to be easy to slip in.. and maybe at some point we can get an open version of the gps drivrer to work and drop that from copyfiles as well.. actually I want to look closer at the encoder/decoder as well.

I did clone the gps repo to poke at it.. but at current its not in my manifest's build tree (just the aosp version)
[G1 Android Development] claude96:
thank u ezterry for your work so far,but plz consider the 32a phone in your builds, cos removing the hboot 0013 check from the script in the last two alpha builds doesn't work (the phone simply stays at the flashscreen (my hboot 2010 ) ).

Also thank you bypass23 & firerat for all your work nd help keeping our phones alive as much as possible.
[G1 Android Development] ezterry:
You need to:

1) remove the check and re-sign

2) run super wipe (ok other ways of wiping like fastboot erase work and is usually how I clear the phone data between tests but I don't want your bugreport w/o a superwipe before the install)

3) flash the rom

4) flash a cm6.1 or new pershoot ebi1 kernel port

5) if you have customMTD flash the boot patcher (for the sake of a test boot if you are having issues prob best not to use customMTD until you get things to boot)

6) run logcat on reboot.. the ebi1 kernel has a near 100% chance of providing some output if installed correctly.

Fender 1.2 use a ebi0 not a ebi1 kernel

Oh and if I don't know what exact kernel you tried (remember pershoot releases many) your bug report is ignored.. so confirm the filename. Also a reminder these are nightlies there is no support, I'm still developing the rom I want and have a very long shopping list of items to change for a release, these posts are more so others that want *and are able* to help can.. if you can't get it to boot on xyz sapphire phone without valid logs you are not able to help.. please wait for a beta release at this speed it won't be long.
[G1 Android Development] Firerat:
FR-110107-Magpie_GingerB-DS-AutoKernel_S.zip

No difference with regards to Magpie ( I'm so lazy )

Includes 00banner ( you will see in 'bootup logcat' ) hints we need a catchy name ;)

video playback ( including YouTube ) works now , due to EzTerry's recent commits :)

sorry, I forgot to include SpareParts, I've attached it here

push it to system/app/
[G1 Android Development] irisiris:
Thanks Firerat

Can you please comment on why gmail loops. Technically what causes it?
[G1 Android Development] Firerat:
buggy code is my guess

not actually looked at, but twitter and tweetdeck have same problem

Edit: errm actually they don't , they have a gps problem which causes FC,

gmail just trips up
[G1 Android Development] bluizzo:
So wanna throw this out, but this GB rom is pretty good and kinda stable. I don't cook roms or anything like that but I wanted to try it out to see if it was all hype and its not hype...YAY..but anyhoo thanks ezterry for the build and thanks firerat for the magpie compiling. And for some of the user issues like browser FCing or gmail keeps looping, I just made yahoo my homepage and I'm using K9 for my email, so yea problem solved. So thank you and happy 420

Sent from my Gingerbread on Dream
[G1 Android Development] irisiris:
im on HTC magic vodafone 32B rooted with latest radio and SPL and 14MB hack

Am i the only one stuck in the boot loop. When i flash 22nd dec release it works fine.

with this I did superwipe then shutoff phone..booted back to recovery..flashed ROM..flashed kernel ezterry 285 ..rebooted..but the ANDROID on screen shows up..all background lites lit up on physical keys ..and it just stays to that..doesnt reach the homescreen...loops it seems.

superwiped twice to make sure..3 attempts..but same result..

am i missing something?
[G1 Android Development] farmatito:
@irisiris

try:

1) superwipe and reboot

2) flash rom no reboot

3) flash pershoot or other known good kernel

4) reboot

this worked for me.
[G1 Android Development] Firerat:
I could almost understand it if you didn't have a 27.08 or 2825 radio

but this is what I have and it works fine

if you want help, provide a logcat

if you don't I will assume the problem is in your mind
[G1 Android Development] dillalade:
Big respect for that one dude.

Gonna try this now.

:)
[G1 Android Development] snadge:
FR-110107-Magpie_GingerB-DS-AutoKernel_S.zip boot issue and general build question

Firerat - I tried your FR-110107-Magpie_GingerB-DS-AutoKernel_S.zip build on my 32B htc dream, and it appears to just take forever to boot with messages in logcat about permission denied and lots of segfaults etc, the integrity of the zip checks out ok. The 05 build from earlier works fine also. I have also just tried: GINGERBREAD-DS-Alpha-20110107-1.zip from ezterry and this build boots and works ok.

My question is, and it might be useful for a few others following this thread, once we've inited ezterry's repo, how do we overlay your changes on top of that? Can you give some of us git noobs an idea of how to checkout/build with your changes?

Thanks.
[G1 Android Development] hrk:
Sorry, I mixed up the threads.
[G1 Android Development] punshkin:
correct me if I am wrong but I think the two words that are different from de_DE germany are not worth stuffing a whole language pack into our limited memory.

Thanks for the update ezTerry I've been looking forward to this
[G1 Android Development] ibraheeemz:
thanks for the update Terry, will update about it's performance soon. just flashed it. but cool to see compCache separately available! at the moment I'll go without KSM ENABLING.
[G1 Android Development] landoftheeskimos:
@EzTerry

So the "GPRS Tool" is basically the patches to the build.prop that have been floating around for awhile? At least from what I see. I've been using them for a long time and it helps on t-mobile usa and when roaming usually.

They changed something in my area because I used to be able to max out at 500KB/s now it's only 200KB/s even on my 4G data card. Not that it matters though because 5 miles away it's still gprs and even where I work. So its like 3g, 4g, woopie wheres 2g/edge... haha.

Are there any advantage to tuning net.tcp.buffersize.xxx or are we stuck because of ram? I was tinkering with it some and it seemed like it made very little difference to latency probably because of the amount of ram and cpu speed, but i may be wrong.

Last Question. I dumped the output of getprop to a file out of curiosity and noticed

[init.svc.compcache]: [stopped]

Does zram show up differently or is it a an intermittent instead of continuously running service?
[G1 Android Development] berre:
*edit* never mind, issue solved
[G1 Android Development] ezterry:
The gprsclass=10 is the original ro.ril settings that have always been in the aosp/original G1 builds,

The gprsclass=12 is the values in most rogers dream builds..

None of this is new its just a way to switch them when I upgrade without many reboots..

??? ezGingerebread dosn't have a compcache service

Compcache is a kernel service, but needs a startup script to configure the settings.

Cyanogenmod had a service based on a persistant prop so the settings could be changed on the fly after boot.. basically when you updated the persistant prop init started the service to update compcache, that service then exited as soon as the kernel module was re-configured; historically (cm5/cm6) causing the kernel to panic and the phone to reboot anyway.

EzGingerbread currently only prepares compcache via init.d thus you settings must exist on boot.
[G1 Android Development] Telemaniaka:
Just wanted to report clock is no longer running slow. Thanks.
[G1 Android Development] ibraheeemz:
apps opening faster and a bit more responsive!!

one thing which is same since before : when i use data, the phone gets extremely hot. may be only i am having this problem or just reporting it late but i hope there will be some work around!!
[G1 Android Development] flyers00:
Everything seems to be working with the latest with the exception of speech to text with Mapquest. PICO TTS is installed. I am not sure what may be causing the issue but I am ope to any suggestions
[G1 Android Development] ezterry:
Use less data, make sure you ro.ril settings are correct (see gprs_patch), make sure you have a strong low noise wireless signal from the cell towers around you.
[G1 Android Development] hoslat:
It's not the dictionary that bothers me but the news & weather app is mostly showing german newspaper. If you know another way to set the source of the news & weather app that would fit for me. :)
[G1 Android Development] ezterry:
Enable wireless network location and the news is supposed to follow you around the world
[G1 Android Development] ibraheeemz:
i have already flashed the gprs patch. and i guess i cannot control the signal from the tower!! so it turns out i should use less data which most of the time during weekends is the only option for me.
[G1 Android Development] chris122380:
Swype keyboard doesn't work on this ROM doubles the size of the keyboard. Doesn't do that on other gingerbread ROMs.
[G1 Android Development] ezterry:
I really can't/won't test swype, maybe someone else here can help, or provide the debug information to help fix any problem.. not sure what you mean about keyboard size however..
[G1 Android Development] chris122380:
Half the keyboard takes up the normal space as if the resolution is off.
[G1 Android Development] erotser:
I have been using an older version of swipe made for DS's screen size with no problem. (v 2.6.47.11856) if that helps.
[G1 Android Development] chris122380:
The new version is better at predicting your swipes and is still with in the DS screen size and has auto updates. This is the only ROM so far with the problem so I went back to using magpie.

The problem isn't the new kernel as it is working great with the magpie ROM.
[G1 Android Development] DorianX:
Maybe with a lower dpi...
[G1 Android Development] chris122380:
Unless the dpi has changed on this ROM.
[G1 Android Development] ibraheeemz:
Updating about the latest Build:

Observed improvement in performance, apps opening is a bit faster.

Battery time also seems improved to me and following is the stat:

after 1 day and 10 hours usage, still 17 % is remaining. and out of this usage, 44% was voice calls, and remaining was stand by, idle and display. Also I use News and Weather widget and Mobile Data frequently.

So overall, much satisfied with it :)
[G1 Android Development] stephenju:
Which PowerWidget is this? It's not the Power Control widget, is it? Since Power Control widget doesn't seem to have any control (pun :) ) over the buttons.

I remember seeing some power control in the notification pull down. Is that the PowerWidget? The funny thing is, I saw that once and it never shows up again. Even after reboot, it's not there. Is there a switch to turn it on? I am on the latest ADS_Magpie (20111107).
[G1 Android Development] flyers00:
Google Maps or Mapquest - text to speech not working

EZterry, thank you the updated ROM, everything seems to be working fine except for the text to speech function associated with either Mapquest or Google Maps. I am not getting turn by turn directions and when I check my settings for text to speech, the PICO TTS engine is installed. If you or anybody has suggestions how to get this working, please let me know
[G1 Android Development] AndDiSa:
Exactly, that's the PowerControlWidget. Normally it should be there automatically and you can configure it using

Menu > EzGingerbreadExtras > Configure PowerWidget > Widget Buttons

If you don't have it, most likely something is wrong with your settings database. Did you come from another ROM? Did you a wipe / non wipe install?
[G1 Android Development] stephenju:
I did wipe install when I updated to the previous ADS_Magpie (I think it was 20111009) and did saw the widget at first. Then it stopped showing up. I updated to the latest one in the hope that it will correct that. Didn't wipe this time. Still no widget.
[G1 Android Development] AndDiSa:
Not sure, what might be the reason ... A chance could be to clean dalvik-caches (/data/dalvik-cache and /sd-ext/dalvik-cache, if you have /sd-ext). If this doesn't help, I need a logcat to be able to analyze the problem.
[G1 Android Development] DorianX:
@AndDiSa

Can you tell me what's the diference between your ROM and this one? This one have Magpie too right? by the way both ROMS are awesome, long time since I had used gingerbread previously was slow but now it is faster than froyo I think.

Thanks ezterry and thankyou!
[G1 Android Development] AndDiSa:
At the moment the main difference is Application Permission Management. I've merged the code from CyanogenMod into ADS_Magpie. Additionally there are some further settings (VM Heapsize, JIT, ...), but the rest is more or less the same at the moment.