yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] Poppu:
One more question : if instead of opening the browser directly on the Google main page, do you have the same error if you open directly on another page (you can do it by typing the url in the search field opened with the search button, or by sending a link through Chrome to Phone). That it just to be sure this is not linked to geoloc.
[G1 Android Development] azrash:
try ADS_Magpie, it is very much ezGB with a few tweaks. the browser works fine on ADS. the link is at my signature
[G1 Android Development] aliasbody:
re

All works fine again now ! Maybe it was because of the MTD partition just like Ginger Yoshi that didn't install because of that :S...
[G1 Android Development] AndDiSa:
repository at github broken?!

ds@android-dev:~/android/ez-gingerbread$ repo sync
Fetching projects: 95% (158/166) remote: fatal: failed to read object c0f30688df7152202b032f5809b6b52d842ae09f: Invalid argument
remote: aborting due to possible repository corruption on the remote side.
fatal: protocol error: bad pack header
error: Cannot fetch platform/sdk
[G1 Android Development] dw9906:
I've had the same problem today with cyanogen, ezginger, and grp syncs today. Gotta be a github issue.
[G1 Android Development] ezterry:
Actually its aosp, google/kernel.org
[G1 Android Development] dw9906:
Oh ok, my bad.
[G1 Android Development] dw9906:
Man..I sure wish you owned a sidekick 4g Terry. We would have GB already. Sorry to be of topic.
[G1 Android Development] ibraheeemz:
hay,

sorry to bother in the middle of the development of this super duper rom, I just wanted to suggest, if someone can port the MIUI style to this ROM? just like the one given in the thread given below:

http://xdaforums.com/showthread.php?t=868690

the interface and out look seems great but missing the features of EZGB, hope someone can do that for all of us :)

thanks
[G1 Android Development] hexameron:
I was having trouble with wifi dropping out since I built my own 2.3.5 this week.

I tracked it down to a commit marked "do not merge", but I don`t know if I am supposed to reverse the patch or fix something else because I don`t know which part of ezGingerbread source it comes from.

This is the patch I need to reverse :

codeaurora.org/gitweb/quic/le/?p=platform/system/core.git;a=commitdiff;h=7238072a7da527147c21cc939160d975eb28b1ac

DO NOT MERGE Change IP renew service name

TK MUN [Sun, 20 Mar 2011 02:42:49 +0000 (11:42 +0900)]

- Change invalid service name (dhcpcd_renew -> iprenew)

- Remove condition which checks status of renew service.

- Remove unused variable.

Change-Id: Ic4ae7fb950baf4bd7286088a945a48ab5fe64e91

libnetutils/dhcp_utils.c

Edit: I reversed this patch, and I just get a different error message when the wifi drops out.
[G1 Android Development] ezterry:
I think this patch actually came from the official 2.3.4 patch set:

https://github.com/ezterry/GB-system_core/commit/362ce5b85df797ccc1237385f96c1368a0ae115a

These patches also changed DHCP client to support multiple interfaces better in android (not really needed for the G1, but needed for many other phones)

Remember however this is just part of the communication between the linux dhcpcd application and the dalvik/android user space. Not directly related to dhcpcd or wpa_suppliment or other component of linux required for wireless connectivity; thus its important to look closer at these other applications in both the logcat and the dmesg.

I will have no insight without more details of what is going on; however this has been in the past few versions and in many other android builds (both for the G1 and many other devices) for a while, without the average person having an issue.
[G1 Android Development] hexameron:
It never hurts to read an error message. It means what it says:

" init: no such service 'iprenew_tiwlan0:tiwlan0' "

I need a new initrd for my kernel that has a service for iprenew, like the one for wimax:

+/**

+ * Run WiMAX dhcp renew service.

+ * "wimax_renew" service shoud be included in init.rc.

+ */
[G1 Android Development] ezterry:
Well now that I can see an error message (remember this is not happening for most people):

Its not init.rc but the init.trout.rc and init.sapphire.rc (diffrence is those are device specific thus won't cause confusion in the rest of android source..

The N1 has no renew logic.. but the Nexus-S has it both for wimax and wifi..

# IP Renew
# wi-fi
service iprenew_eth0 /system/bin/dhcpcd -n
disabled
oneshot

If needed for the dream it obviously needs to be tiwlan0 not eth0 (and in init.trout.rc and init.sapphire.rc and not init.herring.rc)

(FYI: in ezgb's codebase the device specific init.rc files are in device/htc/sapphire/init.*.rc)

Edit: I see no danger in this.. it will likely be in my next build (and that will hopefully be late tonight or early tommorow .. just have some rolling back a failed webkit merge from my local code.)

expected features in my test builds are:

1) android upgrade to 2.3.5 (last beta was 2.3.4)

2) kernel upgrade to v1.5.1 (last beta had v1.5)

3) Gallery 3d fix for MT zoom (google broke it in 2.3.3 or 2.3.4, CM7 had a patch)

4) Gallery 3d MDPI speed enhancements from CM7

5) Phone.apk CM7 logic for 2G/3G toggle (power widgets bug)

6) some framework enhancements (Mostly thanks to AndDiSa/ADS Magpie)

7) some translation updates

8) patch for wifi as described above

9) Auto CustomMTD if flashed on a recovery with cMTD set. (so need to flash the boot flasher anymore) This is a combo of my new bootcmdutil, and firerats cache bind script as pulled from ADS magpie.

10) Bluetooth pan networking profile (allows for tethering via pan in addition to USB)

11) Some disk io enhancements (won't be slower not sure if faster in actual stats)

12) Reduced boot time patch from Firerat

(some of this has not yet been pushed to my github.. its pending me testing that it will at least build and not explode)
[G1 Android Development] hexameron:
Sorry for not posting the dmesg error message sooner, that would obviously help.

I have rebuilt init.trout.rc with service iprenew as a copy of the existing dhcpcd. It cured the error message, but didn`t stop the wifi dropping out. I will put that down to Local Hardware Probems for now (and change the dhcpcd flags to -n).

"service iprenew_tiwlan0 /system/bin/dhcpcd -ABKL" << I will read the Manual.

" disabled"

" oneshot"
[G1 Android Development] lele5800:
help me please.. on my Magic 32A it works good for me..but i can't install anything from market...my magic always reboot.. any solutions? please help me,this rom likes me!
[G1 Android Development] wjsturgis3:
See post # 160 in this thread.
[G1 Android Development] nomadman:
I tried locking in memory on both ADW Launcher EX and Launcher Pro but my home screen still keeps refreshing after exiting setting and other apps, but not all the time.
[G1 Android Development] ezterry:
Froyo+gingerbread have logic to set the oom level of the home app seperate from other apps... by default its level4 (service) but adv. Users can change it:

http://xdaforums.com/showpost.php?p=9288746&postcount=1002

Cm's keep launcher in home is based off this but has some odd results in my experience.. not sure why.. will prob just add an option in settings when I find some time to behaves like the option I use in my froyo parts of the t-mo ota froyo rom.
[G1 Android Development] midget_3111:
Just something which I've noticed since using the ROM, the keyboard doesn't seem give any useful suggestions for auto correcting (e.g. if I typed haxe instead of have it doesn't suggest anything), I find this when using the messaging app, it seems like there isn't a dictionary installed as when it does make suggestions they're peoples last names from my contact list
[G1 Android Development] mschoolbus:
When writing the message, it tries to find matches in your contact list instead of dictionary.
[G1 Android Development] midget_3111:
Yup, yet under android keyboard settings the input language is set to English (United Kingdom)
[G1 Android Development] farmatito:
You can add a compiled dictionary for your language to the build in:

gingerbread/packages/inputmethods/LatinIME/java/res/raw/main.dict

or add a xml wordlist in:

gingerbread/packages/inputmethods/LatinIME/dictionaries/

formatted as described in the sample.xml file:

<!-- This is a sample wordlist that can be converted to a binary dictionary
for use by the Latin IME.
The format of the word list is a flat list of word entries.
Each entry has a frequency between 255 and 0.
Highest frequency words get more weight in the prediction algorithm.
You can capitalize words that must always be capitalized, such as "January".
You can have a capitalized and a non-capitalized word as separate entries,
such as "robin" and "Robin".
-->
<wordlist>
<w f="255">this</w>
<w f="255">is</w>
<w f="128">sample</w>
<w f="1">wordlist</w>
</wordlist>

and rebuild LatinIme.apk.
[G1 Android Development] farmatito:
Somebody knows how to enable SpareParts.apk in the build?
[G1 Android Development] nomadman:
I installed one from Market but found it was more than what I wanted. Decided to pull it from the latest CM6.1 rom and installed it fine in system/app.

All I wanted was faster animation and it did what I wanted,
[G1 Android Development] lele5800:
Can we port a dictionary from another rom to this?
[G1 Android Development] farmatito:
think yes, just extract the dict file from the apk,

or if you need a italian dict try the attached one.
[G1 Android Development] lele5800:
Thank you..i need the italian one..but on phone how i can give it in the right folder?

In linpack i have 4.20mflops,fantastic..now i'm testing lcd density with 150 ...

Gmail always restart,solutions for this problem? Thanks for all the answers..
[G1 Android Development] ezterry:
Gingerbread video

Video is go.. (at least I can now play back the video camera recordings)

Um to those building [or interested in the source] (commits will be posted shortly and a new build before bed)

I'm swapping:

libOmxH264Dec.so and libOmxMpeg4Dec.so to the versions in CM froyo (CM6.1) nightly 285

This allows me to use an open source version of libOmxCore.so

And in turn a open source version of libstagefrighthw.so

and the open version of libstagefrighthw is important because a rotation argument was added to surface flinger that the old version of libstagefrighthw choked and died on. (thus the lack of video)

What this means in short is you will need to remove the vendor tree (rm -rf vendor) and re-run extract-files.sh (or unzip-files.sh) in device/htc/sapphire with the new build with video working to currently re-build after this patch.
[G1 Android Development] tnpapadakos:
so can i just swap out the two lib files (libOmxH264Dec.so and libOmxMpeg4Dec.so) manually?

is that the only difference in build tonight?
[G1 Android Development] Firerat:
you would have to fix the makefiles script aswell

probably easier to just delete and run the extract script

5am here, so I think shower , coffee and breakfast is first for me :)
[G1 Android Development] lele5800:
Facebook doesen't World on account sync ..any fix?
[G1 Android Development] Firerat:
might have one

just rebooting to find out

never use fb , so I didn't know it wasn't working

will let you know how it goes soon

edit:

simple build.prop 'mod' doesn't do it,

so will have to look at accountsAndSync
[G1 Android Development] bypass23:
Yea I tried your old fix but it's not the same issue it seems :cool:

I haven't give much effort on it tho as you can alway use SyncPix free app from market for contacts photos... I don't care much about facebook status :)

It would be more wise to try other apps that uses account syncing features imo to figure out the problem...
[G1 Android Development] Maxamillion:
@ezterry

How can i build your 1.51 2636 froyo kernel?
[G1 Android Development] ezterry:
With the ezgbfroyo_*_defconfig config files, its the same codebase as the gingerbread one, just the different config.

I cheat and use the same kernel build script used for the ezGingerbread kernels, just modifying the line that indicates ezgb_%s_defconfig to ezgbfroyo_%s_defconfig before running it.. this way the script makes the trio of kernels,modules and strips the modules... then I move the zImages into the auto-any-kernel templated.. as well as mount the squashfs files in the template, zip it up sign and distribute.
[G1 Android Development] psychosonic:
I'm on 7/18 of Cos-DS, and while it's nice, the ability to switch between apps is still pretty damn slow; it drives me INSANE when I have to wait more than 1 or 2 seconds to open small apps like Messaging or to just call someone (was using CC 18% since I can't have apps exiting all the time, and 24 heap). So I figured I'd try the most barebones of the most acclaimed GB roms, and I did seem very impressed for the short time I used the 8/28 build of ezTerry's; I don't have the time to get a working linux partition and cook at the moment, thoough I do plan to do it eventually.

So, questions:

1) how do we add the t-mobile theme engine? I tried pushing the thememanager.apk and themechooser.apk from the most recent COS-DS, but it just FC's whenever I open the chooser.

2) I seem to have hit a snag with my lockscreen. After a few restarts and tryingto install the theme engine a couple different ways, I decided to install ROM manager and fix the permissions. ...and after the phone rebooted, I was asked to follow the gapps account tutorial as if I hadn't already added my account, and I got maybe 20 FC's immediately as well. I rebooted and cleared the dalvik cache, persisted, and I wiped and then restored to a backup of ezGB I had made an hour earlier. I then found that for some reason my personal data, such as alarms and the google account I had been using, hadn't been saved and it no longer had a lock screen. Whenever it turned on, or if I pressed the red end button on the phone, or the screen went to sleep after idling, the phone itself wouldn't sleep. If I woke the phone up, it'd already be at the home screen. I also noticed that after about 10 minutes, my Market seemed to update to 3.0 on its own. I did the obvious TS'ing like making sure End is set to sleep, and nothing was set to keep it awake that I could find. So I restored again, but this time without wiping... and got the exact same problem.

Is this a known issue, or should I provide a logcat? I'm pretty sure I installed it correctly... used clockwork to mount data and system, wiped data (which formats system, data, cache, and sd-ext) and dalvik cache, then installed the rom followed by the newest recommended gapps on the first page of the thread.

Any ideas?
[G1 Android Development] ezterry:
When things go wrong and you just want a clean install again, do less experimenting.

It's possible you had an issue such as your sdcard failed to mount, but seems more likely you did somewhere in that set of actions two changes that can't be done togethe, thus despite thinking you wiped you didn't.. One of two ideas: get the original super wipe for now; flash it, reboot recovery, then install rom+gapps+boot. *OR* install with rom manager remembering to wipe data.

100's (>300 last I looked) of people have already downloaded the 20110828 version, and I've been running it as well, and 2.3.5 for the past 2 weeks: there is no problem with a clean install nor lockscreen not workin.

Last no t-mobile themes is not just an APK btw.. if it was they could just sell it on market, the apk is just the front end to swap the theme.. most of it is patches to framework.
[G1 Android Development] erotser:
This might sound relatively stupid of me, but by boot you just mean we should boot our phone or is there another flashable boot that I am not aware of?

Tried flashing the rom after a superwipe, seemed to work fine but it kept crashing whenever I tried to make or recieve a phone call.

I think I will give it another try when I get more time.

edit: Tried it again, screen turns black and the phone dies after a fresh install (superwipe-flash rom-flash gapps)
[G1 Android Development] ezterry:
Um.. screen black as in the screen fades to black when it looses connection to the rest of the phone that seems to still be running.. or a bootloop where you restart?

One of my test phones seems to be "fading to black" lately.. but since a battery pull and booting hboot or recovery has the same result (and that this was with other roms as well) I decided it was a hardware issue.. letting it sit a day or so without battery usually let's it behave again for a while (for testing anyway.. using another dream for my day to day use)

If you think everything is cleanly installed. Look+read the logcat to make sure nothing obvious is happening. That and make sure the files are installed cleanly.

If you want help here post the logcat of boot to pastebin..

You can also run the following in recovery if you want us to help verify the files are installed cleanly:

Via adb shell run:

mount /system
mount /sdcard
md5sum `find /system` > /sdcard/system_checksums.txt

The resulting textfile will have the checksums of all the files on system.. for the most part they ought to match the ones in the zip file (the audio profile is extracted on install.. and the zip has multiple modules.sqf, also the addons sometimes swap files)

If you post that txt file here or pastebin I can verify with a locally generated one to make sure all is ok.

Last make sure you did not run out of space somewhere (df -h) this can be an issue even if it ought not happen after a wipe.
[G1 Android Development] psychosonic:
Awesome, did a wipe and installed again, works wonderfully now. I think I realized my problem: I was letting google restore the settings. I unchecked the option this time, seems to be working well. I absolutely love the speed, I can tap on a contact on my home screen and it'll display the options almost immediately, and the same with Messaging. Battery life is only ok at the moment, going down from 100 to 93% within the first hour off the charger this morning, but it might correct itself within the next day or two, so I'll give it the benefit of the doubt. Otherwise, works fantastically, fastest rom I've tried yet.
[G1 Android Development] ezterry:
Well can mean many things:

1) the change in how this kernel works needs you to correctly calibrate the battery

2) the top 5% or so sometimes is the battery liying as to prevent overcharging or many slow charges from 97 to 100.. See how the batter life and meter work between 90 and 0.. If its mosly alright just a bit fast on the to 10% and you calibrated best ignoring.

5) First boot and the initial syncs of a rom are a bit more power hungry than normal usage.. So ass you said best to wait a bit to tell.

4) It can also be a sign on your battery reaching end of life.. if you seem to get very mixed results..

All my batteries are currently in this state last state.. I can tell there is no painful drain in the kernel .. but I don't have a good idea of overall life atm and won't until a replacement battery arrives.

(Li-ion batteries really don't like the toronto winters.. and the dream's slightly lacking battery life at the best of times mean we give them quite a bit of stress)

--

Ps: regarding the saved google settings .. It ought to work but if you try to install too many apps before you configure apps2sd-ext things may not be so happy.. also its possible some setting conflics if your other saved backup is very diffrent.. So yes a good idea to disable that if you have a problem the first time.
[G1 Android Development] azrash:
My battery is in the last state as well. The charge level would differ everytime I restart it. I use battery widget to ensure that the battery is fully charged, mA=0

Sent from my Desire Z
[G1 Android Development] R3D X:
This rom is great but for a themer like me I need a non odexed rom with theme chooser app :p
[G1 Android Development] erotser:
Instead of doing all that, (thanks for this extended help by the way) I re-wiped, re-flashed and it seems to work just fine now.

Except for one thing, I cannot seem to find a call menu, things like wipe screen to answer and stuff like that, right now I can only answer by pressing the green button on my device, is there another way that misses me?

Again, thank you for your assistance and quick responce.
[G1 Android Development] ezterry:
I have no plans ever to make roms for "themers like you" because its worrying about what you want the rom to be while theming it.. and not really what it needs to be for the end user that will use it for the most hours with or without a theme.

The rom is not odexed yet, and even if I did odex it its trivial to use the build system to build a new apk with changed resources.. Also this is only really needed if you are changing the smali, and you are better off patching the java since all the soure is open.

Regarding themes, while I'll see what I can do I never recall a problem with people theming roms prior to gingerbread without a theme engiene.. the old methods are not broken.

I may see how it goes adding in the theme engine as I've mentioned before, but It must stay stable, fast, and not use more ram.. And requires some time by me or someone else to cleanly merge it.
[G1 Android Development] ezterry:
Well it sounds like mms.apk is crashing on launch for both manual and on receiving a SMS.. so this is not the historic SMS message got lost issue..

Looks like the dalvik virtual machine crashed. Since the download count for this rom was 700 this morning, and I just got/sent a test SMS before anything else please try the following:

Go into recovery and wipe the cache patition (/cache) and wipe dalvik cache including the bits stored on /data, /cache, and /sd-ext (the newest clockwork does this cleanly with the menu option but ra-recovery you ought to do it manually)
[G1 Android Development] psychosonic:
Ok, something weird just happened. I woke up this morning, only to find that only one of my apps had disappeared; it's shortcut on the home screen indicated it wasn't installed. I checked the app list on the phone, doesn't appear in there. Under Settings > Apps > Manage Apps, it doesn't appear as "Perfect Viewer" anymore, now it appears as its actual APK name of com.rookiestudio.perfectviewer, and it only takes up about .98 MB, as opposed to the ~3 MB it took up while installed. I haven't tried reinstalling the app yet since I've never seen this before and it worries me. Any ideas on what might've happened here? Does it indicate something is wrong? I DO have many apps installed on my EXT4 partition, but this one wasn't, so I don't think the sd card would be the issue.
[G1 Android Development] tagm:
Thanks. I can access the messaging app again. Just sent a message, lets see if I receive messages too.

Any idea what might be the cause. I don't think I did anything unusual. My method is superwipe, reboot into RA recovery, flash latest build, flash gapps and an apn-update. Then reboot. Not installed anything after rebooting.
[G1 Android Development] ezterry:
My best guess is a new bad block that the system didn't quite recover from in time impacting the dex file.

Sometimes superwipe dosn't quite clean cache so just in case I wanted you to re-wipe that and let your dex files re-generate cleanly..

(Usually the system avoids bad blocks, and many phones shipped from the factory with bad blocks on the flash chip, and likely have more years later, thus its not a problem that you have a bad block.. it is a problem if the system uses it and it becomes bad loosing data however)

(My hint was the face dvm crashed without a java stack trace)

Sounds like its no longer installed (signature failed or on sdcard [fat32 not ext] and failed to load.. not sure... reboot and look for it in the logcat on boot is my first recomendation.. otherwise reinstall and keep an eye on it.. I've had confused tapatalk widgets lately but no dissapering apps.
[G1 Android Development] psychosonic:
Ah, ok. Now when you say "re-wipe", do you mean I should re-wipe the cache/dalvik, or do you mean do another wipe-install? Sorry for my ignorance, I honestly have no idea what dex files are, or what a lot of things are when it comes to how the phone works.
[G1 Android Development] tagm:
Irregular behaviour... Makes my phone almost sound human ;)

Thanks again!