yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] Effdee:
do the generic kernels use Autogrp?

I did try rc2

it was ok until I tried to use prop ati (laptop I'm stuck with it)

I did compile 11.04(ish) kernels with Autogrp for 10.10

love Autogrp

not perfect but I can watch mkv when my laptop is under load

recently got a new wireless NIC for my dell, intel centreno way better than the BC that came with laptop

but for full wardrive had to use stock kernel, (no autogrp)

lets just say I see the value of Autogrp

even with make -j1 mkv playpack stutters

so I think I'll give 11.04 official a spin if autogro is default

failing that I'll compile kernel for my 10.10 with wardrive compatible mac80211
[G1 Android Development] Effdee:
vim rulez (nano sux)

but with vim I get all anal on white space

my vim is setup to highlight wasted white space

I see many blocks of red in src code :mad:

add this to ~/.vimrc

highlight RedundantWhitespace ctermbg=red guibg=red
match RedundantWhitespace /\s\+$\| \+\ze\t/

tbh I skipped the eclipse bit

any real advantage?

from what I read it just automates compile a bit and trys to help when broken

typing make ain't a big deal

and make error usually tells me what problem is, if I don't understand it someone usually posted to google with more detail ;)
[G1 Android Development] hrk:
If you ask "any real advantage", you have never used an IDE in your life. It's not a fault, mind you, but I recommend you do... if you're a developer.

Typing 'make' on a terminal is not a problem, even all the git-related parts. But that's not the point of an IDE.

Code completion, refactoring methods, variables, finding where that buggy code is called, ... priceless. Are you anal with whitespace? CTRL+SHIFT+F automagically formats the source code with the rules you selected (defaults are nice).

I couldn't have ever written a working JEITA-compliant DCIM naming for the Camera app in less than 3 hours with pen-and-paper (or vi(m)).
[G1 Android Development] farmatito:
@ezterry

I'm wondering what exactly makes a kernel froyo or gingerbread compatible?

I suppose it is just the android gadget stuff, am i right?

or is there more?

Any hints are welcome.

PS.: there is a typo in this file name: 12zram_compcahce

in latest ezGinger.
[G1 Android Development] tvall:
havent checked but i dont think it has autogroup. system slows down a lot when compiling something. almost unusable unless its light stuf like web browsing. ill check that soon tho.
[G1 Android Development] d3vilskid:
Tested the newest version of ads(04/29z0 yesterday and today with the latest gb kernel. Experience severe battery drain anddroid os at 36%.
[G1 Android Development] AndDiSa:
Try to reboot after disconnecting from USB. I noticed something similar, so I rebooted every time after disconnecting from USB. Doing so, battery is good for me: still 80% after 8 hours of "normal" usage.
[G1 Android Development] hrk:
I wonder... if the new minfree settings require some time before the phone doesn't feel sluggish anymore, and if you reboot your phone everytime you disconnect from USB, how can you not revert those minfree settings? :D

How much time should I wait before thinking that it "ought to be fast now"? 10 minutes? 1 hour? 6 hours? 'cause here it keeps feeling slow.

Sure: after a while (around 10min) the homescreen is not sluggish anymore, but if i open GMail... slug... open Settings to check RAM usage... 4 seconds before the screen recovers from the blackness.. and then I see that I have 30MB free RAM but... as somebody once said, free RAM is wasted RAM. :)
[G1 Android Development] d3vilskid:
Yea rebooting from usb is second nature to me, but yesterday I decided without it after conntecting usb to dl latest ads. I'm sure it started around midnight sometime running for an 1hr 22min. Haven't rebooted since after charge after that drain an so far I don't notice it.
[G1 Android Development] AndDiSa:
I do have only 8-9MB free, sometimes even less. (zram usage is about 90%-95%) For me the only problem at the moment: startup of applications not frequently used need a bit more time, but the main applications (home app, contacts, phone, ...) are starting up almost immediately.

Do you use a swap partition or only zram?

By the way: minfree settings can be modified on the fly and the G1 has a hardware keyboard ...;)
[G1 Android Development] roalex:
Borrowed this Gapps from the Nexus S OTA 2.3.4 ;)
[G1 Android Development] hrk:
I do not know how to read zram usage. :o No swap, just compcache w/ default value of 18%.

Regarding minfree, I see here https://github.com/AndDiSa/GB_system_core/commit/fdd818532a9cc0ee997d582b84eab7bdaad42466 the old values, but I do not know how to set them on the fly. They are "ro" properties and in the comments in that commit there's written that /sys/module/lowmemorykiller/parameters/minfree should be consistent with those. With "ro.ril.*" I was never able to change them on the fly... is there a way?
[G1 Android Development] farmatito:
echo "1536,2048,4096,5120,15360,23040" > /sys/module/lowmemorykiller/parameters/minfree
[G1 Android Development] AndDiSa:
You can try to use my setSwapSettings.sh script (it's within my dl-directory).

Edit the values as you like and run it as root. No reboot, because afterwards these are set back to the values from init.rc.
[G1 Android Development] roalex:
echo <values> > /sys/...

/edit

Just tried those gapps, they work :D
[G1 Android Development] hrk:
Ok, thank you all :)
[G1 Android Development] newellj79:
In gtalk, in the new gapps, is there a video chat option?
[G1 Android Development] roalex:
Don't you need a front camera for it ? ;)
[G1 Android Development] newellj79:
I was thinking about one way. That is being able to see the other person while they just receive audio.
[G1 Android Development] roalex:
I have no tried it, but talk is now called talk2 ! ;)
[G1 Android Development] AndDiSa:
@ezTerry: since last merge I have a problem in compiling. I tried already everything, even a complete clean of my build environment, but always the same error:

target SharedLib: libandroid_runtime (out/target/product/sapphire/obj/SHARED_LIBRARIES/libandroid_runtime_intermediates/LINKED/libandroid_runtime.so)
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: out/target/product/sapphire/obj/SHARED_LIBRARIES/libandroid_runtime_intermediates/android_net_NetUtils.o: in function android::android_net_utils_runDhcpRenew(_JNIEnv*, _jobject*, _jstring*, _jobject*):frameworks/base/core/jni/android_net_NetUtils.cpp:232: error: undefined reference to 'dhcp_do_request_renew'
collect2: ld returned 1 exit status

Can you tell me, what library / source should provide 'dhcp_do_request_renew'?

android_net_NetUtils.cpp has only a reference to it.

Edit: I removed that part from android_net_NetUtils.cpp and now compilation continues ... will report later if everything went well
[G1 Android Development] roalex:
I don't think you should remove that ! sounds releted to the new : update for per interface dhcp support. Or maybe left from the way it use to get the ip before ?:) who knows! Oh you should use diff when such issues appear.

grepping after dhcp_do_request_renew:

system/core/libnetutils/dhcp_utils.:line 245

and obviussly android_net_NetUtils.cpp

Maybe you didn't merge /system/core with android 2.3.4_r1 ?
[G1 Android Development] ezterry:
----

Edit: various bug fixes from AOSP in updated version:

20110502-CheckPoint: GINGERBREAD-DS-CheckPoint-20110502.zip (md5: 5c0969ebf1209922add7a1e357d969ca)

----

Here is a checkpoint build at 2.3.4

No new test by me gapps yet.. so officially you are to still use the ones in the second post.. If you know what you are doing you may of course experiment with the newer packages.. I'll try to update gapps sooner than later.

----

To fetch this checkpoints code (regardless of where my current development is at):

In a new directory run:

(for 20110501)

repo init -u git://github.com/ezterry/manifest-gingerbread-DS.git -b gingerbread -m checkpoints/manifest-20110501.xml

(for 20110502)

repo init -u git://github.com/ezterry/manifest-gingerbread-DS.git -b gingerbread -m checkpoints/manifest-20110502.xml

Then sync and build as usual.
[G1 Android Development] tvall:
com.android.phone keeps crashing.... like every 30 seconds... only started doing this after the update to 2.3.4. ill attach a log. should be near the end

hm... something seems to be going wrong when flashing... ill put that log here too... if im reading it right then it seems like it is running out of space
[G1 Android Development] ibraheeemz:
Gapps by roalex

Borrowed this Gapps from the Nexus S OTA 2.3.4

__________________

HTC Dream - COS-DS

HTC Desire - COS-Bravo OR BRAVO-Sense-GB_CM_HBOOT

COS-DS

GingerBread Rom for Dream/Sapphire

Twitter
[G1 Android Development] ezterry:
strange:

I:Update file path: /sdcard/download/GINGERBREAD-DS-CheckPoint-20110501.zip
Installing update...
I:Trying update-binary.
installing HTC updater extensions
mtd: erase failure at 0x03940000
mtd: erase failure at 0x04c40000
Failed to mount /dev/block/mtdblock3 on /system: Device or resource busy
mtd mount of system failed: Device or resource busy

the erase errors are from re-formatting system.. but something is not happy..

I'd boot into fastboot and run 'fastboot erase system' and 'fastboot erase boot' it is a little cleaner than format system

(and since there is no -w your data will stay intact)

But I don't think I've seen anything quite like the above
[G1 Android Development] tvall:
phone still keeps force closing... just tried cos-ds and it works fine... i guess im gonna be on cos for a while then.

and that error during flashing only appeared the first time. the other times there were no errors it seemed. oh well... project for after school tomorrow.

and when flashing cos after wiping EVERYTHING Every way i could think of this still happens

I:Checking for extendedcommand...

I:Skipping execution of extendedcommand, file not found...

I:Set boot command ""

Formatting SYSTEM:...

mtd: erase failure at 0x03940000

mtd: erase failure at 0x04c40000

Done.

I:Set boot command ""

-- Wiping data...

Formatting DATA:...

mtd: erase failure at 0x02620000

mtd: erase failure at 0x09ca0000

mtd: erase failure at 0x0c280000

mtd: erase failure at 0x0d5c0000

mtd: erase failure at 0x11c80000

Formatting CACHE:...

mtd: erase failure at 0x00580000

mtd: erase failure at 0x01c20000

mtd: erase failure at 0x040e0000

Formatting SDEXT:...

No app2sd partition found. Skipping format of /sd-ext.

Formatting SDCARD:/.android_secure...

rm: can't remove '.' or '..'

rm: can't remove '.' or '..'

Data wipe complete.

Fixing execute permissions for /cache

I:Set boot command ""

-- Installing: SDCARD:download/COS-DS-full-05022011-signed.zip

I:Set boot command "boot-recovery"

Finding update package...

I:Update location: SDCARD:download/COS-DS-full-05022011-signed.zip

Opening update package...

I:Update file path: /sdcard/download/COS-DS-full-05022011-signed.zip

Installing update...

I:Trying update-binary.

installing HTC updater extensions

mtd: erase failure at 0x03940000

mtd: erase failure at 0x04c40000

kinda scary...
[G1 Android Development] ibraheeemz:
Update

Way to go Sir!! I have been using the check point for quite a while and it seems even smoother and responsive!! keep it up!!!
[G1 Android Development] roccoadam32:
i also got the same thing after a full wipe force closing
[G1 Android Development] AndDiSa:
No, in contrary, I merged it and that caused the problem ...

Edit: found some additional commits on github, will merge them this evening and will try another build
[G1 Android Development] ibraheeemz:
==============================

Originally Posted by tvall View Post

com.android.phone keeps crashing.... like every 30 seconds... only started doing this after the update to 2.3.4. ill attach a log. should be near the end

hm... something seems to be going wrong when flashing... ill put that log here too... if im reading it right then it seems like it is running out of space

i also got the same thing after a full wipe force closing

=========================================

I have Erased system from fastboot and then flashed, I did not observe any problem so far! it is going great
[G1 Android Development] roccoadam32:
wow I used super wipe and wiped all in recovery even tried fix permissions after no luck
[G1 Android Development] farmatito:
Do you use fr-a2sd? or some other kind of data/data bind?

If yes remove it and phone will not crash anymore.
[G1 Android Development] ibraheeemz:
lolz, My phone is not crashing, sorry but I used wrong way to give feedback on another comment!! I am not using any script nor using A2SD so far!! hope ADS will work on it soon to provide latest release of ADS_Magpie and most of the unanswered questions will be solved!
[G1 Android Development] ibraheeemz:
If you have fastboot setup on your PC, then try "fastbook erase system -w "

I never used superwipe etc.
[G1 Android Development] tvall:
Nope. Don't use anything. The phone crashing gets too annoying for me to go and do anything on the phone.
[G1 Android Development] farmatito:
I experienced the same problem after running fr-a2sd_1-36c.sh

but by removing the /sd-ext/userinit.d/*datadatabind*

(don't recall the exact name) phone worked again.

Check if there is some leftovers on your /sd-ext/ partition

or if /data/data is bind-mounted.
[G1 Android Development] ezterry:
electron power off animation

Ok,, as its been asked many times I've looked some:

The big problem (that is not trivially patched by me anyway) is:

renderScreenToTextureLocked():

https://github.com/ezterry/GB-frame...vices/surfaceflinger/SurfaceFlinger.cpp#L1603

Some gl/egl magic is needed here to switch from an unsupported framebuffer to a texture with the current content of the screen (name in textureName on exit or additional updates are needed..)

This animation also feels a bit sluggish [I was seeing it all white when I forced the code to run.. with logcat messages telling me of the unsupported framebuffer] so other optimizations may also be ideal.

So if you are a gl/egl guru patches are welcome. [I know enough to see a long learning curve .. anrequired for me to do it.. and I have more important patches for the present]
[G1 Android Development] muldy:
Phone crashing logcat:

E/AndroidRuntime( 2109): FATAL EXCEPTION: main
E/AndroidRuntime( 2109): java.lang.IllegalArgumentException: column 'protocol' does not exist
E/AndroidRuntime( 2109):	at android.database.AbstractCursor.getColumnIndexOrThrow(AbstractCursor.java:314)
E/AndroidRuntime( 2109):	at android.database.CursorWrapper.getColumnIndexOrThrow(CursorWrapper.java:99)
E/AndroidRuntime( 2109):	at com.android.internal.telephony.gsm.GsmDataConnectionTracker.createApnList(GsmDataConnectionTracker.java:555)
E/AndroidRuntime( 2109):	at com.android.internal.telephony.gsm.GsmDataConnectionTracker.createAllApnList(GsmDataConnectionTracker.java:1279)
E/AndroidRuntime( 2109):	at com.android.internal.telephony.gsm.GsmDataConnectionTracker.onRecordsLoaded(GsmDataConnectionTracker.java:1058)
E/AndroidRuntime( 2109):	at com.android.internal.telephony.gsm.GsmDataConnectionTracker.handleMessage(GsmDataConnectionTracker.java:1465)
E/AndroidRuntime( 2109):	at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 2109):	at android.os.Looper.loop(Looper.java:130)
E/AndroidRuntime( 2109):	at android.app.ActivityThread.main(ActivityThread.java:3683)
E/AndroidRuntime( 2109):	at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 2109):	at java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime( 2109):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
E/AndroidRuntime( 2109):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
E/AndroidRuntime( 2109):	at dalvik.system.NativeStart.main(Native Method)

it force closed after an app added apn entries.
[G1 Android Development] AndDiSa:
The same for me. Merged everything, compiling was fine, but after entering the pin phone app forced closed with the same error message (column 'protocol' missing). :confused:
[G1 Android Development] ezterry:
Looks like a AOSP goof..

Resync from google and make sure you get commit 5d565c11c167 in packages/providers/TelephonyProvider.git

(Or just cherrypick that commit)

I'll make a new build tonight
[G1 Android Development] farmatito:
Latest build seems not to launch vold on boot,

or could it be the 2.3.4 gapps posted earlier in the thread?
[G1 Android Development] AndDiSa:
... finally it went well. Don't know, but I have the impression that not always all modifications are being synced with repo sync.
[G1 Android Development] ezterry:
It seems more was released today that was missed yesterday in aosp its self.. at least in their own "gingerbread" head .. the tag may have been correct.

to all:

Btw some reports of odd camera crashes in cos gb (also using a build of my 2.6.36.4* kernel) let me know (logcat/kmsg/last_kmsg if possible as well) if anyone is having an issue with ezGingerbread. Remember to tell us what type of phone you have (32b: dream, sapphire |32a: classic,mt2.1,fender) radio version, spl version.

I know of some reports of infrequent but odd kernel crashes and am looking into it.
[G1 Android Development] tvall:
I have issues with the camera too. Mt3g 1.2. I'll get the log after school today

Sent from shad0w's sapphire using XDA Premium App
[G1 Android Development] arkara:
Μy camera plays just fine.
[G1 Android Development] arkara:
also, is there a way to add a mobile internet data toggle button for any of us that do not have an unlimited data plan? Like suggested in github?
[G1 Android Development] AndDiSa:
Here everything is fine now. The only problem I have with the new kernel, that I am still having battery drain when I disconnect from usb and I do no reboot. I tried already several times, but always the same. After a reboot everything is fine.
[G1 Android Development] AndDiSa:
Which Phone Model?

What SPL?

What Radio?

Which Rom?

...
[G1 Android Development] ezterry:
ITs in settings .. as for the widget I've not looked so I've not had an opinion..

(not that I've even needed to toggle data off for fear of going over my plans crappy limit [1GB] myself.. only reason I've been known to do so is battery savings)
[G1 Android Development] arkara:
Here is my fastboot info

SAPHIRE PVT 32A ENG S-OFF H
HBOOT-1.33.2010 (SAPP10000)
CPLD-12
RADIO-3.22.20.17
Jun 2 2009,17:27:03
[G1 Android Development] arkara:
I know it's in settings, but it's way too counterintuitive to do all that "trip" just to toggle my data on/off.

Question 1: Does the phone use any of the data when it's idle? or only when it uses internet needing apps?

Question 2: Can we update the rom from the settings menu (using the phone info)?
[G1 Android Development] ph0b0z:
No Problems here (well, i think the video recording, which i never use, was a little stuttery, camera worked fine) and great, great work so far!

I think i will use this as my daily driver for now, and well, i still hope the pauses the phone makes sometimes (launching apps and especially when someone calls, takes ages to show the caller-number!) will improve as much as the memory-usage did :) - then i'm completely happy.

What i wanted to ask, are the OTA updates enabled? I think the Market was updated automatically (from the one provided in the gapps-package, to 2.3.6), which is good, i missed that in CM.

VF Magic 32B

SPL: 1.33.0013

Radio: 2.22.28.25
[G1 Android Development] azrash:
you can try this widget http://www.appbrain.com/app/data-enabler-widget/com.farproc.data.enabler

it acts a shortcut to the data setting, the widget will turn green when data is enabled, and white when data is off.

and from my experience, with whatsapp, the phone will use data every now and then to check for new messages :)
[G1 Android Development] roccoadam32:
no issue with camera on ezgingerbread or ads magpie 32b g1 with new radio and spl for ram hack still when i disable the on screen keyboard force close galore and no settings for magpie under manage applications on ads
[G1 Android Development] AndDiSa:
For fixing the problem with the default application install location, the solution provided by Effdee (here should fix it.
[G1 Android Development] arkara:
Every time i reboot my phone i get an email from google thanking me for buying the Nexus S... low priority but annoying bug.
[G1 Android Development] ezterry:
Um.. what gapps are you using and why are you logging into Google multiple times..

And complain to Google for bad logic on their welcome to android emails
[G1 Android Development] arkara:
I use the ones, that you provide through your posts #2.

BTW i did not mean to sound angry to you. So this is a gapps and not a ezGB problem?
[G1 Android Development] ezterry:
The thankyou is from google seeing you signing into gmail with an androids phone.. what confuses me is it really only ought to have happend after running the setup wizard.. that usually is only run once..
[G1 Android Development] arkara:
Indeed. The thing is, that i have only run the wizard once. What if i remove the wizzard?
[G1 Android Development] tvall:
camera crash

heres a log of the camera crashing. hope it helps
[G1 Android Development] ezterry:
hrm.. I think I found it:

Kernel update

All with camera and other reboot problems try flashing:

2.6.36.4-s1-ezgb-v1.1 any/auto kernel installer for ezGingerbread (auto detect ebi0/ebi1/2708)

ezgb-2636-v1.1_S.zip

MD5: e15dd17b24259bdbbed94800caf639a4

Kernel Source

Built with the build ezGingerbread buildscript (see op for build script info)

And using tag: ezgb-2636-v1.1-20110504
[G1 Android Development] R3N0V4D0:
can this be used on your official Test3 rom?
[G1 Android Development] tvall:
It works!!! thank you!

Sent from shad0w's sapphire using XDA Premium App
[G1 Android Development] ezterry:
No only its for gingerbread only and specifically for ezgb..

Test3 is froyo with froyo vold so usb storage will fail.. also test3 lacks support for modules.sqf ..
[G1 Android Development] R3N0V4D0:
ok thx was wonderin thx!!
[G1 Android Development] arkara:
I seems that other people have the same problem too

http://androidforums.com/nexus-s-su...eiving-same-welcome-email-numerous-times.html
[G1 Android Development] ibraheeemz:
the latest build is marvellous!! smoother and stable!! Plus excellent memory utilisation! most responsive then any other ROM I tried so far!! way to go!! and it is yet to be finalised :) so expecting for a lot, a lot and a lot of extra goodness!!
[G1 Android Development] jdb78:
ADS_magpie

Hi AnDiSa,

I tried to download ADS_magpie-20110504-signed.zip today but the md5 checksum doesn't seem to match the file. Could you please verify the checksum? Thank you very much :)
[G1 Android Development] AndDiSa:
Checked it at this moment and the checksum is ok, so you probably had a bad download.
[G1 Android Development] greenkabbage:
Had a reboot after turning on USB mass storage.

Last kmsg here: http://pastebin.com/guXbxXfx

ADP1, ADS 4/29, no other tweaks

Edit: I guess this problem might be fixed with ezTerry's new kernel. I'll flash it and see what happens :) It's not like I was able to reproduce it anyway...
[G1 Android Development] jdb78:
Stupid me clicked on the wrong file to download but the right checksum to check with. ;) Sorry for bothering!
[G1 Android Development] roalex:
You didnt update the kernel ADS? Terry fixed it a bit, should be v 1.1
[G1 Android Development] AndDiSa:
not yet ..., sorry. If someone has problems, he can flash this on top of the rom.
[G1 Android Development] geokuttan:
Andisa thanks a lot for the new build super fast and soo smooth. I am planning to do a custom mtd, and not sure which value to use. I believe by default we can get 75+ mb internal. Is it possible to get 100mb internal space with custom mtd and what should i put as a value "90 2"
[G1 Android Development] AndDiSa:
If you would like to have much space for data, you could try with 78 2 (echo "78 2" > /sdcard/mtdpartmap.txt). This should be sufficient for the non-odexed versions (at the moment ROM + gapps uses about 75 MB) and would give you some buffer for future extensions and about 128 MB of internal space.