yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] farmatito:
I hope so, do a nandroid backup and just try.

If it works for you keep it

else restore the backup.
[G1 Android Development] kadajawi:
I have a different experience. I just installed it over the last alpha, and everything has gone southward. WiFi connection drops, it still crashes due to using GPS, ... there still seems to be enough RAM though. Do I really have to wipe first? The previous version was as good a Gingerbread experience as I have ever had, even if it lacked a few of the wonderful CM features. :-/

Oh, and GMN still constantly crashes... I wonder if 4.7 would be better (I think back then it also gave me a lot of headache...
[G1 Android Development] ibraheeemz:
Actually I personally wiped everything and then flashed. You can try the same, also flash latest GAPPS from the post. see if things are according to expectations, or provide a logcat, even after doing a clean flash doesn't help out, but it will be a local issue with your device, else everyone so far is experiencing it better!
[G1 Android Development] SubVert:
Well, I'm still getting constant wifi drops :(

I've tried ADS from 23, 24, 28, and last night tried the new 31/5. I've also tried the ezGB beta, and the last COS, I'll try the new COS at the weekend when I have more time. All are the same, for me. I tried changing some settings on my wifi router to see if it made any difference, but didn't.

I sat watching the Wireless Settings screen a while, and sometimes the connection was being lost then reconnected, sometimes the wifi was actually switching off then on again.

This is with a clean install after wipe, just doing the basic google setup and adding the wifi password, nothing else done or installed, and it's also the same when installing over my existing rom.

As soon as I go back to ADS from 17/5, wifi stays connected just fine.

I'll try to experiment some more over the weekend, see if I can figure something out, else I'll stick with 17/5 version.
[G1 Android Development] ezterry:
Your description is not convincing me that you went Settings->Wireless & networks-> Wi-Fi Settings-> [MENU] -> Advanced -> Wi-Fi sleep policy -> Never

If you did do that and double checked.. you are still lacking a logcat & dmesg output

Also information about what type of encryption is on your network might help solve or find others with the problem.

Otherwise we see someone saying "Its not working" and since we don't have your phone we look at our own.. and retort "its working for most of us"
[G1 Android Development] SubVert:
Apologies, I can confirm that sleep policy is set to Never, that's one of the first things I do and double checked, should have said that.

As for the router, it is using WPA PSK. It is set to use b,g, and n protocols, but I tried switching it to b and g only, and also switched channels, and it didn't seem to help.

I provided a logcat in an earlier post. I won't get to test things further until the weekend, I can provide further logcat/dmesg and any other useful informations then.

I do seem to be in a minority of one with this issue though, so it may just be something odd my end that I just haven't tracked down yet. Hopefully I'll get time on the weekend to look into it more methodically and either fix it or provide more useful feedback.
[G1 Android Development] dm5530:
I have a question about unsigned apps.

Currently using ADS_Magpie, based on ezGingerbread. Used SetCPU before but not recently. Tried to flash latest from xda but got an install error, said it was a verification failure because it wasn't signed (or words to that effect).

Figured out that I needed to extract the apk and install that directly. Are there some applications that have to be flashed from recovery (like is done with the gapps package)? If so, do they have to be signed to install? Trying to understand the implications of the s-on version of exGingerbread.

Thanks much for all the work on ezGingerbread. Still enjoying my G1 with this. Much appreciated!
[G1 Android Development] ezterry:
There are no unsigned apps.. all apps must be signed as android uses unique signatures to determine linux user ids.. meaning 2 apps from the same developer can run as the same user.

SetCPU ought to be cleanly signed.. unless your version was modified in some way. But setcpu is just an APK.. use market, 'adb install' or place on the root of the sdcard and use the file manager included to install it. (The last option requires you to allow applications from non-market sources)

...

The trick hidden in some applications you install via recovery is not really that they are installed by recovery; but that they are installed directly into /system without use of the package manager.

here the apps must still be signed; but only a small part of the signature is checked.. thus the signature need not be valid. Applications on userdata are checked closer and must be fully signed when first installed..

These signatures are used as I said to allow multiple apps access the same data without out a API and two applications running.. also it allows the dev to provide updates that can validate the same author created the update as the app. In most cases the actual signatures are self signed thus need no ones authority to create.

All the above has nothing to do with S=On or S=Off this is android's design its self.
[G1 Android Development] ldrifta:
cant get past step 9 :(
[G1 Android Development] landoftheeskimos:
@ldrifta

That's awfully vague. Could you at least provide the error message along with the O/S , gcc versions you are using?

Example

"Getting manifest ...

from git://android.git.kernel.org/platform/manifest.git

fatal: The remote end hung up unexpectedly

fatal: cannot obtain manifest git://android.git.kernel.org/platform/manifest.git"

Kubuntu 10.10

GCC 4.5

Then people can help.
[G1 Android Development] ezterry:
GINGERBREAD-DS-Beta-20110605.zip

Second Beta Release

With these changes, please let me know if you find and problems with Drain (with both kernel and logcat) or experience any lost SMS messages.

Also as for the CPU pegs.. a cleared dalvik + fix permissions really seems all that is necessary .. to speed the deice back up again.. I'm not sure what is up.. but hopefully its just a one time thing. (at least if you give the system a bit after boot to stop loading .. for me its 4-5 mins if I'm not looking.. and I think 10-20 if I am..)

I did not yet fix the installer issue for those with out ext partitions.. next bug to tackle.. it will still help to have more examples of apps with this issue..

Enjoy

Edit: Ah and I forgot "Copy All" option added to the select context menu

Also other translations are welcome.. Github pull requests are the easiest but I do respond to PM here and there.(Thanks to Poppu for the french updates)
[G1 Android Development] ldrifta:
haha im sorry i actually fixed it but thank you for answering.. im in the proccess of learning all this for the first time so if you have any hints for me i would appreciate it! thank you
[G1 Android Development] ldrifta:
ok i apologize but i ran into another problem.. im on step 19... i have a dual core pc so i type "make -j3 otapackage" than it says i have wrong version of java, the correct version is 1.6.. the link provided gets an error when try to use it in browser so does anyone know how to find correct version of java? I installed the java 6 from beggining of guide!
[G1 Android Development] AndDiSa:
Problem with the path? Probably you have installed two versions of Java and the 1.5 version has a higher prriority. Try to set the PATH explicitly and put the 1.6 version at the first position.
[G1 Android Development] 4qu4rius:
Hola !

Do I need a full wipe (superwipe, system erase,... whatever) to install the last beta over the 05/29 beta?

fix_permission and dalvik cache clear are fine but a full wipe/reinstall is never a happy thing.

Thanks :)
[G1 Android Development] ph0b0z:
Since you said that you have use for more information concerning the installer issue i try to provide some..

i just super-wiped and flashed the latest beta, logged into my account and tried to install Launcher Pro and FloodFill (since i recognized the problem with these apps before - in the first beta - trying to recover them with titanium backup).

Same Problem: "Not enough Memory/Space" and the apps can't be installed (It's in german here, so i don't know the original translation). It works if i activate "attempt to mount sd-ext on boot"

ps.: please tell me if the provided logcat isn't valid/working/good.. since i'm still quite unexperienced in the inner workings of android :P
[G1 Android Development] roalex:
alex@buildbox:~$ update-java-alternatives --help
usage: update-java-alternatives [--jre-headless] [--jre] [--plugin] [ -t|--test|-v|--verbose]
-l|--list [<jname>]
-s|--set <jname>
-a|--auto
-h|-?|--help
[G1 Android Development] ezterry:
After you backup your current rom:

Rom manager upgrade:

1) select the Rom

2) choose all the addons you are currently using (ie do re-install gapps)

3) once the rom downloads choose clear dalvik-cache and install

4) when you boot back into the rom run fix permissions via adb or rom manager or terminal app

Manually:

If you are using ra-recovery you will want to clear dalvik manually since ra fails to clear it on all of data, cache, and sd-ext

Clockwork users can use the clear dalvik cache option

Otherwise once dex is cleared just install rom + addons downloaded from the second post and once booted run fix_permissions
[G1 Android Development] dm5530:
Wow, I am very grateful for your extended response. Very helpful and much appreciated.

I'm really enjoying learning more about Android through the gracious work shared by you and others here on xda and elsewhere.

Many thanks.
[G1 Android Development] 4qu4rius:
I second dm5530 in thanking you for taking the time to write this.
[G1 Android Development] airadier:
Wi-fi drain still in 06/06?

Hi ezterry, I'm using COS-DS with your latest kernel, and still experiencing a wifi-drain (when wifi enabled). Link to the post in Cos-DS thread:

http://xdaforums.com/showpost.php?p=14485235&postcount=2817

I'll comment further if I get more information.

Thanks!
[G1 Android Development] ezterry:
Um.. roalex makes small medications to the kernel.. also the previous wifi drain was while wifi was OFF. Thus far I've not seen an issue while wifi was on .. particular when connected to a network.

Polling costs battery however

I don't recall if roalex mimiced it.. but I reduced the poll period in ezGb because of the issue (and didn't bother to raise it again as it seemed frequent enough while it was in the reduced mode.
[G1 Android Development] roalex:
Yup i did that as well, well i do small changes but just to the config, i have to have more then some clue to mess with the code ;) The confs are on git hub i pretty much took out things which we dont really use. Wifi does drain a lot mostly when the signal is bad so thats expected.
[G1 Android Development] airadier:
The thing is, with previous kernels, same wifi network, good signal (I'm at 5-10m from the AP), there was no drain. Now, there's a huge drain, about 1% every minute. I'll look into the issue deeper tomorrow when I'm back at work, and keep you informed.

Thanks both of you and all the other collaborators for your great work.
[G1 Android Development] ezterry:
I can't say what it is for you.. top may be a good idea to run in addition to looking at logcat/dmesg.

Currently I have SetCPU set to 537/128 and battery seems much bettter than it has been. (for the moment I am running yesterday's beta as I've not had time to look into additional changes yet.. even if some items have been thrown to me.)

> 2g was board on a bus ride,

> scanning for wifi was walking around the neighborhood

> On the wireless network at home

> I'm quite sure the yellow circles indicate tapatalk polls..

ebuddy, and k9 running in the background, plume on 30min poll

facebook also sometimes poling
[G1 Android Development] ibraheeemz:
Ezterry!! Update regarding SMS:

I have seen some sms received that are appeared in the notification bar but soon as i touch it it disappears for a while and then re-appears. It was not happening in Alpha and previous beta releases. Also a major difference in battery consumption for messaging app is: 10% battery gone with only 10 sms sent and 10 received in half hour or so. this consumption is too high I think, and it was not so before
[G1 Android Development] ldrifta:
when on step 11 can i just enter 'checkpoint-20110502' for the updated checkpoint instaed of checkpoint-'20110501'?
[G1 Android Development] hrk:
OMFG! :eek:

Now I know what's killing my battery! :D
[G1 Android Development] ezterry:
um.. nothing changed I don't think with the mms apk its self..

1) check what used what (Settings -> About phone -> Battery use) 20mins on wifi and testing SMS means 45% display, 42% wifi 6% cell standby 2% for various apps including MMS

2) the first 10% can be very un-reliable in part due to how the battery attempts to no overcharge its self. Its better if you have recently calibrated your battery, and if your battery is newish.

3) nothing changed with the MMS app; both beta's are built from the same commit:

beta-20110529-1.xml: <project name="platform/packages/apps/Mms" path="packages/apps/Mms" revision="5eb5aef7edef7b94a2de55bc930e5fcf644ea536"/>
beta-20110605-1.xml: <project name="platform/packages/apps/Mms" path="packages/apps/Mms" revision="5eb5aef7edef7b94a2de55bc930e5fcf644ea536"/>

I'd check logcat and make sure you re-generated the dex file and fix_permissions if you are getting odd behaviors.

The change here was to increase the apps priority after you received a message.. this may cause other services to be pushed out of memory but is not going to significantly change your MMS experience. As if you had MMS open it would have the same priority.

either use the checkpoint mentioned or use the latest alpha.. the files its extracting have not changed in a while.

Note however checkpoint-'20110501 is the file currently sitting on my build box in the location to extract the files from when I re-seed my build environment (usually just before public builds)
[G1 Android Development] newellj79:
I just installed ezgb beta 2. Unfortunately I can't connect to wifi. It will say "obtaining IP" but never connect. I come from running ads and never had problems. N e ideas? Restored ads for now.
[G1 Android Development] ezterry:
The FAQ answer that most closely matches is: If you enter the wrong password, forget the network and then try adding it again..

Ie. Wifi was tested to be working I've seen what you are saying for a few diffrent reasons.. including a failed patch to fix the wifi disabled drain.. but that code was never public (binary or source) .. thus we need more details if you are having a problem more serious than a typo with your password.
[G1 Android Development] newellj79:
When I get home from work I will check again, although I'm add about such things so it is unlikely. Thanks Terry.
[G1 Android Development] punshkin:
does someone know how this rom compares to froyo by laszlo?

i`d like to test on my own but i am away from home and dont wanna spend half of my data plan just to test it. thank you
[G1 Android Development] newellj79:
U were right Terry. Typo in password. Thanks again.
[G1 Android Development] Maxamillion:
i cant do step 9

i always get this error message:

Traceback (most recent call last):

File "/usr/local/bin/repo", line 603, in <module>

main(sys.argv[1:])

File "/usr/local/bin/repo", line 570, in main

_Init(args)

File "/usr/local/bin/repo", line 184, in _Init

_CheckGitVersion()

File "/usr/local/bin/repo", line 213, in _CheckGitVersion

proc = subprocess.Popen(cmd, stdout=subprocess.PIPE)

File "/usr/lib/python2.7/subprocess.py", line 672, in __init__

errread, errwrite)

File "/usr/lib/python2.7/subprocess.py", line 1213, in _execute_child

raise child_exception

OSError: [Errno 2] No such file or directory

EDIT: nevermind, it turns out the build packages didnt install so i just went to to the source.android site and used their build packages and now everything worrks fine ;)
[G1 Android Development] newellj79:
Happily running beta 2 now. One snag. A handful of random apps (setcpu, taskiller, clocksync, and someothers) report memory is full when restoring from TB or downloading from market. There is plenty of room in all storage places and I tried selecting all the different options to install apps in android. N e ideas?
[G1 Android Development] Maxamillion:
Did u try fix permissions?
[G1 Android Development] newellj79:
I will right now.
[G1 Android Development] ezterry:
I think there are two options:

1) create an ext partition and activate magpie but set default location internal so sdext is not used..

2) Wait for me to find the bug in magpie that makes some applications fail.

3) find the bug and let us know :)
[G1 Android Development] jaychym:
I can't flash this then flash a known good kernel and have it work?
[G1 Android Development] Firerat:
yeap, that will work

as long as the Kernel is an AnyKernel flash ( the ramdisk is important , the kernel no so much)

and if you have problems with wifi, delete /system/lib/modules/modules.sqf via recovery

( the Kernel flash _should_ do that for you )
[G1 Android Development] ezterry:
cool will be in the next build

https://github.com/ezterry/GB-devic...mmit/930ce7de3851bd048fb5914699e30e38fbc760f0

(and even works with callcentric :P )
[G1 Android Development] bypass23:
Nice work :)

One funny thing is I was rebuilding a new box today and wanted to test magpie etc It did compile well which is a good thing but you posted your build while mine was still compiling :eek: lol

Everything seems to work well so far with magpie, I'll report if I have any issues related. Really awesome IMO because of the limited hardware.

And now since we have init.d working it was easy to enable swap. It could get useful maybe... I'm testing it for fun ATM

On a side note ezterry was a little concerned about the on-screen keyboard 'lag' so I guess it's worth mentioning. To remove it completely changing Windows animations and Transition animations speed to fast with Spare Parts makes it really responsive.
[G1 Android Development] solca:
Possible EXT filesystem corruption by double mounting under Magpie ROM

Great work, migrated >70 apps to sd-ext and works wonderfully, thank you!

Possible bug: noticed that when I enabled the USB storage both the VFAT and the EXT3 partitions on the SD card are mounted under my Ubuntu desktop but at the same time the EXT3 partition is dangerously mounted too under /sd-ext as EXT2 in the phone.

Phone:

/dev/block/mmcblk0p2 on /sd-ext type ext2 (rw,noatime,nodiratime,barrier=1,stripe=32,data=writeback)

Desktop:

/dev/sdb2 on /media/solcaphone_linux type ext3 (rw,nosuid,nodev,uhelper=udisks)

/dev/sdb1 on /media/solcaphone type vfat (rw,nosuid,nodev,uhelper=udisks,uid=500,gid=500,shortname=mixed,dmask=0077,utf8=1,showexec,flush)

I believe this is a bug because the EXT{2,3} filesystems are not distributed and double mounting could lead to severe filesystem corruption.

But I can be incorrect, please disregard this if that's the case.

EDIT: Another related bug:

Disabling SD card under /Settings/Storage/Unmount SD card/ properly unmounts the VFAT partition but leaves mounted the EXT partition.
[G1 Android Development] farmatito:
New kernel-2635 patchset. Needs more testing.

The last patch I've added seems to make some difference

in battery usage stats:

from about 60% android os, 2% standby (yesterday night)

to 60% standby and 2% android os (last night)

and that always AFTER disconnecting from usb without rebooting.

Some testers needed.

Attached also my config file (enable CONFIG_TIWLAN1251

if needed as I'm building wifi module from the system/wlan/ti/sta_dk_4_0_4_32 source)
[G1 Android Development] soub31:
what kernel would be required to make this boot on the mytouch 1.2

I've tried the latest pershoots 32b kernel and could not get to flash.
[G1 Android Development] Firerat:
tbh, I don't know

I thought that an EBi0 would work

never really had much to do with the mt 1.2

when you say it wouldn't flash, what do you mean?
[G1 Android Development] yokonunz:
Can you provide a flashable zip?
[G1 Android Development] farmatito:
No, at the moment you need to build it yourself.
[G1 Android Development] sparksco:
Flashing latest

Well I haven't seen a lot of logcat's posted on here, is that normal for a alpha rom? Anywho I'll provide as many possible

Also do I need to clear anything in particular from my dream_sapphire folder before I pull my proprietary files?
[G1 Android Development] hrk:
Is there any hidden meaning in the bolded part? :)
[G1 Android Development] Firerat:
g1 is a great phone, but lets face it, it is at the end of its life
[G1 Android Development] nomadman:
I have to agree. My EOL on toasters and computers is 3yrs. And there may still be a resell value on them.
[G1 Android Development] bypass23:
very nice find ! amazing what 2 permissions xml can do

tested it myself and works great so far no issue yet

not to mention that this is one of the best new feature that was added in gingerbread :D
[G1 Android Development] billquinn1:
Yep, I have to wait till March 12 to upgrade with Tmob or May 12 if I want to shop around. I am still fine with my beloved G1 but my wife just has terrible battery trouble.

I will miss it as a hobby. I guess I need to start seeing what the most popular new phone for custom roms is going to be.
[G1 Android Development] tnpapadakos:
been using ez-nightly236-cm-2708port_S.zip with this, no green tint, working nicely, and seems to solve the usb battery drain issues
[G1 Android Development] plumppp:
wow! really looking forward to this!
[G1 Android Development] jaychym:
can't get this to load its flashes i even flash a known good kernel ontop and it still wont boot :-\
[G1 Android Development] :
Noted with thanks.

I always thought that CM is very close to AOSP already, compared to those carriers' crap-laden ROMs...

:rolleyes:
[G1 Android Development] Maxamillion:
Your problem sounds very similar to the problem here, maybe this will help you if the fix permissions didnt work:http://xdaforums.com/showthread.php?t=950765&page=277
[G1 Android Development] newellj79:
Activating ext partition worked great. Thanx.
[G1 Android Development] Maxamillion:
im having this problem on step 10 while initializing repo everything was working fine and then all of a sudden it just stopped:

And also Ubuntu displayed a message that i was low on disk space, what should i do? do i have to reinitaialize the repo?
[G1 Android Development] hrk:
LOL.

You need to delete something or get a bigger harddisk/virtual harddisk.
[G1 Android Development] AndDiSa:
Not sure, what's the reason, but since the latest sync I do no longer get a location fix ...
[G1 Android Development] ezterry:
My Tracks had no problem tracking my path to work this morning.. GPS appears to be working.

You might want to update /system/etc/gps.conf to more closely match your region as it will then pull more accurate assistance data thus get a lock faster. (If no assistance data exists the gps needs to slowly pull it from the GPS satellites them selves.. and this takes time waiting for and successfully receiving the next broadcast.)

Hrm only difference seems to be the pool of time servers:

NTP_SERVER=north-america.pool.ntp.org

NTP_SERVER=europe.pool.ntp.org

NTP_SERVER=asia.pool.ntp.org

You could probably use:

africa.pool.ntp.org; south-america.pool.ntp.org; or oceania.pool.ntp.org if they are closer to your location.
[G1 Android Development] creezalird:
use europe.pool.ntp.org; or de.pool.ntp.org; :D
[G1 Android Development] Maxamillion:
Do you know how I can do it? I Have virual box and ubuntu 11.04. Do I have to restart the repo?
[G1 Android Development] tvall:
Your compiling android in a vm? O.o

Make a new cm with a bigger virtual disk

Or delete other files, if any