yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] tvall:
Some bugs (home key) I cheat on. For that grab /system/usr/keylayout/Generic.kl from my rom. (Haven't fully debugged that yet) What other bugs show up?
[G1 Android Development] :
I still have the webkit error when I compile.. btw, I already did "make clean"
[G1 Android Development] tvall:
Oh.

$ cd external/webkit
$ git log
(Find the earliest recent webgl commit)
$ git revert <the webgl commit>
$ make bacon
[G1 Android Development] :
Ah, thanks :) Btw, which commit are you currently using? The jun 26 one?
[G1 Android Development] kanttii:
Mirrors needed

Anyone who has the newest CM9 alpha 2.2, please upload it somewhere since tvall's public dropbox is put to bench for some time for exceeding bandwith, the same has happened to me many many times.

So PRETTY PLEASE SOMEONE UPLOAD update-cm-9.0.0-RC0-dream_sapphire-alpha2.2.zip I'll send you a dollar for it (my bank account has $17 so thats the max I can donate..)!
[G1 Android Development] SlashSpeed:
Here you go:

https://dl.dropbox.com/u/8348859/Random stuff/update-cm-9.0.0-RC0-dream_sapphire-alpha2.2.zip

No need for the money though, it's fine. :good:
[G1 Android Development] xanda143:
waz up yow this had mad potential
[G1 Android Development] tvall:
Still working on this. My life recently became busy and stressful, so I haven't had any time to do anything.

My plan, once I have time, is to get jellybean booting and then get it working like this. Then we can abandon ics and just have jellybean
[G1 Android Development] Sefy:
Mmm... this file is missing the "sh" command...

I tried adding from another ICS rom, but it complaints about permission and cwm2 doesn't have fix permission. Any suggestions?
[G1 Android Development] tvall:
You sure its not there? Make sure you have custom mtd set up right. Messing up on that is what usually throws that error
[G1 Android Development] Sefy:
I checked the alpha2.2 zip file that i downloaded, it's not in the ZIP itself

Oh and i gave the OS 200mb with custom mtd, plenty of space ;)
[G1 Android Development] tvall:
I'd have to check, but its probably symlinked from toolbox or busybox, So it wouldn't be in the zip.

Make sure you're patching the recovery before you flash, reboot into recovery, flash rom and kernel, then boot patch
[G1 Android Development] Sefy:
Do i use the regular ezgb 2.6.36 kernel with this rom?
[G1 Android Development] tvall:
finally have time to get back to work on my android stuff. building jellybean again... hopefully it'll do better than last time..
[G1 Android Development] blizard80:
Great news!
[G1 Android Development] :
I'm building for rhodium (Touch Pro 2) for fun and it has been pretty good so far.. no major errors while building. The CM team has done a good job :good:
[G1 Android Development] HTCDreamOn:
Not working well for me

After a VERY long boot, it started up but I was bombarded with many messages of apps not responding. Has potential though, but for now I'm sticking with CM7.2
[G1 Android Development] tvall:
Yeah, the dream doesn't have much ram. First boot is pretty bad. Compcache and ksm might help some.
[G1 Android Development] HTCDreamOn:
KSM?

haha, yeah, couldn't really reach a point where I could set that up. What's ksm?
[G1 Android Development] tvall:
Kernel samepage merging if I remember correctly. Basically, all the pieces of stuff in ram that are identical are all merged together into one little piece to save ram. And if one changes, its copied to a different place. Saves ram, but its a little slower.

I might have gotten some of that wrong. I don't pay too much attention to specific details. And I'm sick, barely got any sleep, and the medicine I took is messing with my mind.
[G1 Android Development] demkantor:
That's just about spot on
[G1 Android Development] HTCDreamOn:
Just a general question about compcache, CMod gives you a list of percentages, e.g. 10% - 26%. Does this mean that, if you picked 10%, it compresses 10% of the RAM? So for compcache do you want a higher or lower percentage?
[G1 Android Development] demkantor:
http://xdaforums.com/showthread.php?t=558637&page=4
[G1 Android Development] AndDiSa:
10% takes up to 10% of the available RAM for compcache. If you have the 0013d/27.08 combo, you normally have round about 110MB of RAM available, which means max. 11MB will be taken for compcache and the rest will be used "normally" Having an average compress rate of e.g. 50%, the compcache will be filled with 11MB * 1.5 -> ~ 16.5MB. Which means your System looks like having a mximum of 110MB - 11MB + 16.5MB = 115.5MB memory. Using 25% of the RAM as compcache will lead to 110MB - 27.5MB + 40MB = 123MB and so on.

These calculations are rough estimations and you should not go much higher then 25MB of compcache, because otherwise compressing / decompressing will eat much performance and power.
[G1 Android Development] HTCDreamOn:
very funny

Right, that was a laugh, but I do know what compcache is, and I know there is a trade- off in terms of performance. I just want to know whether a higher percentage equals better performance, or if a higher percentage means the trade- off in performance isn't worth it.

Oh right, doesn't matter as AndDiSa has giving me a much more helpful answer :D
[G1 Android Development] demkantor:
I could tell you new what it ment, just love that thread!

But yea, anddisa gave you a great explanation
[G1 Android Development] tvall:
http://www.mediafire.com/?py8asp6ab109dyl

new kernel. might or might not help speed things up. same as the last one code-wise, but built with the linaro toolchain
[G1 Android Development] frankdrey:
Send me a Galaxy Nexus to use as my main phone and ill test the kernel on my G1 :D

Because I'm using the G1 as my main phone :P

...lol
[G1 Android Development] inportb:
Pretty much; I switched over to a Galaxy Nexus so I could hack around on my G1 :)
[G1 Android Development] tvall:
Well.. my girlfriend traded her mytouch for a laptop. So... there's a chance I may not get to work on g1 stuff for a while (buying a new g1 will take a while...)
[G1 Android Development] xanda143:
I'm sad
[G1 Android Development] cwwilson721:
I'm willing to sell my G1 w/ext battery for 47US including shipping, if anyone wants it. Works perfect. Need to get an android phone that's not T-Mobile (Data speed here is GPRS...May as well have dialup. It's faster).

Currently running CW Recovery, 13D, and 25 Radio. Had Cronmod (GB) for the rom right now
[G1 Android Development] tvall:
I'd buy it, but my wallet contains $5, various business cards, and some Guatemalan money.
[G1 Android Development] :
maybe you should add a donate button for your cause :)
[G1 Android Development] tvall:
I would, but that usually involves PayPal. And PayPal randomly decided to lock my account last year
[G1 Android Development] Infinimint:
Lol make a new one. Or ask a friend to take the donations and send them to you along with a print screen of the account transfers to make sure he/she isn't scamming you :)
[G1 Android Development] Infinimint:
Hahaha welcome to XDA :)
[G1 Android Development] :
zram script from EZTerry (I took out some lines and added one) It works with his 2.6.36.x series kernels.

#!/system/bin/sh
# script adapted from EZTerry

zsize=18
swappiness=30

#prepare vm subsystem
echo 1 > /proc/sys/vm/drop_caches
echo $swappiness > /proc/sys/vm/swappiness
echo 1 > /proc/sys/vm/page-cluster
echo 140 > /proc/sys/vm/vfs_cache_pressure

#setup compcache
echo 1 > /sys/block/zram0/reset
echo $(($zsize * 1024 * 1024)) > /sys/block/zram0/disksize
mkswap /dev/block/zram0
swapon /dev/block/zram0

exit 0
[G1 Android Development] tvall:
made a mistake with the mtdpartmap.txt file in the op.. (i usually use v1.5.9, so i didnt notice). its now fixed
[G1 Android Development] ROCKO1234:
Wowww!!my respect for you tvall...

Great job!!

Download...

Enviado desde mi LG-P970 usando Tapatalk (CM7 nightly)
[G1 Android Development] alex_camacho:
You are correct. I checked the specs of both phones side by side, and the G1 has 198mib of RAM while your phone the MyTouch 3g 1.2 has almost 100 megs of Ram more standing at 288mib of RAM.

So in my conclusion if this actually does get running on the G1 its going to be really struggling. Actually to quote some one on another ICS rom (cant remember who) but the G1 will be begging for mercy.

On a somewhat unrelated note... why havent i seen this on the HTC Heroc? which has 512mib of RAM.
[G1 Android Development] :
Thanks. :D I feel so welcomed.
[G1 Android Development] tvall:
In the performance settings there is already options for zram if I remember correctly.
[G1 Android Development] tvall:
Because... I don't have a heroc? If I had one I'd be much more willing to work on a port for is since it'll likely work much better (I run ics on my optimus v, which has 512mb ram and a 600mhz msm7x27 CPU). But I thought the hero had ics already..
[G1 Android Development] alex_camacho:
Hope you didn't take it the wrong way, i wasn't being trying to be disrespectful.

I was just asking kind of in general.

And yes you're right we do have ICS, but its not Cyanogenmod 9. That's what I'm waiting for. Ive tried the ICS roms for hero, and they run ok, but like i said im waiting for CM9.

As for porting this to the hero I'd be supper willing, but unfortunately I've tried porting roms with 0% success rate. I followed some guides but when i look deeper none of the guides are really 100% complete. There's always something missing from the guide. But im gonna keep trying if i can manage ill post back to ask your permission to try and port this over, cause i wont touch this without your permission.

Great job on this keep up the awesome work.
[G1 Android Development] mahroze:
great work tvall...really an awesome job...gnna try it soon enough
[G1 Android Development] tvall:
I know you weren't being disrespectful, I was trying to say if I somehow got a heroc I would gladly work on a build for it. And the heroc port would work better because I could borrow from the current ics port, and the hardware is just better

If you really want a cm9 port, I could drop the device and vendor files from the ics port into my cm9 tree and make it build. But I can't test myself until I get a heroc (donations welcome). Check your pm, you should like what you see
[G1 Android Development] sniper304:
Thanks!

Please record the vidoe of rom =)
[G1 Android Development] tvall:
i would, but my current phone is also running cm9, and the only issue left is the video camera. and i cant find a power cable for my actual video camera.
[G1 Android Development] tvall:
status update:

fixed sdcard mounting, found out audio doesn't work. still working on wifi. home button will be fixed soon hopefully.
[G1 Android Development] tvall:
No words needed.

But here's some words anyway. Alpha1 will be coming this week with working wifi and hopefully audio and home button. To fix wifi, extract the modules from the modules.sqf file and place them in /system/lib/modules
[G1 Android Development] tvall:
home button fixed :) building alpha1 now. expect it within an hour or two!

fixes:

wifi

home button

sdcard
[G1 Android Development] Infinimint:
Here's the download links:

Alpha 0

Alpha 1

Thank tvall & enjoy :)
[G1 Android Development] Ace42:
Damn, guess this horse just gonna have to take a few more beatings.

I never expected to see past Donut on this dino, but it happened, ginger? Been there, honeycomb? Yep, that too, what now? ICS? Yeah G1 rolling in all kinds of goodies, it's such a shame newer devices don't live like this.
[G1 Android Development] tvall:
Glad y'all like it. I doubt ics will ever work flawlessly on the g1, but the same was said of froyo and gb. So who knows what'll happen.

But don't expect too much progress for a few days. Strep sucks.
[G1 Android Development] SlashSpeed:
Whatever the progress might be, it will be great.
[G1 Android Development] Frodo1910:
It would be so rude.I mean it's like " Hey,save my money but give me an ss of bank acc"
[G1 Android Development] Infinimint:
Any true friend would do it. It's the untrustworthy/internet friends I'm talking about. Hell, if tvall wanted me to, I would in a heartbeat and send screenshots with it even if he didn't ask. Why not? I wouldn't have anything to hide. Then again, not everyone on the internet is the same.
[G1 Android Development] tvall:
I was actually considering asking you. I just don't know how you would send me the money.
[G1 Android Development] Infinimint:
There's always snail mail, I could just mail you the cash or check. :3

It would be no problem on my end, but anyone who would plan on donating to you should probably PM you with their confirmation numbers or the transaction id or whatever so that I can keep track of it.

As for the total amount, how much is needed to purchase a new device? I have another MyTouch 3G I would be glad to give you, but the bottom board no longer reads SD cards (its a hardware issue). If not, maybe I'll donate as an early Christmas present :D
[G1 Android Development] frankdrey:
I have another bricked G1...with a cracked screen. In a box. In pieces :P

I could put it together, but because of the cracked screen, it doesn't stick well together xD
[G1 Android Development] chris122380:
I have a HTC mytouch 3g but it's my only Android phone (my only Android device for that matter).
[G1 Android Development] tvall:
How bricked? I don't have the tools to jtag it. If i can fix it without jtag, I'd love to take that off your hands

If I had a spare phone, I'd gladly trade.
[G1 Android Development] frankdrey:
I think it's jtag bricked. I'll check it again though
[G1 Android Development] tagm:
Hi tvall I have a spare G1 that is in working condition. Only has issues with internet connection (G2/3). WIFI works ok. Will donate if you think you can use it.
[G1 Android Development] tvall:
That would be awesome
[G1 Android Development] frankdrey:
Was gonna build this but couldn't find it on united github.

Just saw that it's on tvall's :)

You can count me in for working on this. :D
[G1 Android Development] tvall:
I am quite lazy and haven't pushed it to united yet. There is also a commit you have to revert related to webgl for it to build last time I checked. I need to fix my repos up and get them all clean and building. May find time today or tomorrow to do this, but I am starting a job soon so my limited time will be even more limited.

We Still need to fix hardware acceleration and get jellybean to finish building. If we can do that, all we have to fight with is the camera.
[G1 Android Development] frankdrey:
I'm syncing the source right now. My PC is VERY slow.

One does not simply fix hardware acceleration :p

Do we have any open source gpu libs?

We have open source camera :)
[G1 Android Development] frankdrey:
First I got an error with prebuilt not wanting to sync, so I had to change that revision to "mr1-staging", since "ics" no longer exists for prebuilt.

Then cc started to trip with "-mthumb-interwork", not recognizing it.

And finally, I get: build/core/java.mk:20: *** dalvik/dexgen: Invalid LOCAL_SDK_VERSION '4' Choices are: current . Stop

:P

The OS would be BBQLinux (download.bbqlinux.org)

It comes with the necessary packages to build Android.
[G1 Android Development] tvall:
Anddisa got hw acceleration mostly working a while ago, so we just have to figure out what he did and try to improve on it.

I haven't touched the code in over a month, I don't know where to start fixing those errors. I'll get to it, eventually
[G1 Android Development] frankdrey:
Wow. Nice :)

Another pitfall is that it takes so much space. Your ordinary system, excluding dalvik cache, is a lot over 100mb. Not completely sure about what can be done for that. Some ideas:

Gapps on sd-ext.

All downloaded apps on SD-ext.

Some non-important system apps on sd-ext.

All ringtones, except those in use, on SD.

Dalvik cache on internal. Moving dalvik to SD really slows things down.

Alright, I'll mess with it some more soon. Compare your unique repos to cyanogen ones. Might be some important changes. Like prebuilt changing branches. Will post what i find here
[G1 Android Development] AeroxTobi:
How is Performance on Magic 32B?

Good? Borring?, Quickly?, Slowly?
[G1 Android Development] HTCDreamOn:
https://www.youtube.com/watch?v=TPFc...e_gdata_player

Take a look, give thanks to tvall for the video, it's his.
[G1 Android Development] AeroxTobi:
this video is not avalible.....
[G1 Android Development] tvall:
https://www.youtube.com/watch?v=TPFcB-kdE2o&feature=g-crec-u
[G1 Android Development] AeroxTobi:
Ok i have a Problem i have it Installed

Steps:

update-cm9 install

ics gapps mini

ezgb-linaro

FR-Boot CustomMTD

Android Boot Screen and it was....

I have waiting and waiting dont work finish

what i make false?
[G1 Android Development] tvall:
try using the other kernel. some people had issues with the linaro one

and make sure you are flashing the fr-recovery patch before anything else
[G1 Android Development] AeroxTobi:
Ok i have flash first the patch...

than the ROM and the order Kernel...

thann the Gaps

than boot

dont worked... .

its boot animation loading and loading and loading...
[G1 Android Development] frankdrey:
Wait. And wait. And wait some more.

Mine took 30 minutes to boot.
[G1 Android Development] AeroxTobi:
Here the Screen where my Phone is from 10:02 PM

I show of the Clock and se it 22 minuts its very long...

I Wait and Wait and Wait and Wait

Its doesnt Worked...

The Boot loader animation Working ok..

The Buttons dont Light...

I dont hear what its boot and boot and boot

Why its time so long???

Or Boot-schleife?
[G1 Android Development] Tamhvm:
Wait, wait... Can't you try to use adb logcat in your computer to see what is the phone doing or how it gets stuck?

It has been really useful for me when my phone doesn't boot fast.
[G1 Android Development] AeroxTobi:
I dont have ADB of my PC...

Ok The Phone Doesnt boot fast ok ok but not 45 Mins?

The Animation Funkionality but dont Vibration, LED, or others...

I Wait long :/

Ok i wait good a Hour´s

I load Android SDK down and show why time so long..
[G1 Android Development] Tamhvm:
The first boot of an Android when you install a new ROM or change your Radio or clear the cache partition, usually takes a long time to finish.

For 45 minutes, that's very weird.
[G1 Android Development] AeroxTobi:
I wait 1 Hour and 20 Mins...

Its Very Long Time... Not Normely...

9 Min have i ADB Bundle and than i look what get stuck...
[G1 Android Development] Tamhvm:
This reminds me the time I tried installing this ROM.

I had the same problem, it got stuck in the boot animation.

I'll give it a spin this night and see if it still happens, trying to do logcat to determine what's happening.
[G1 Android Development] AeroxTobi:
I Have find the Problem...

He Start

and this come

Always...
[G1 Android Development] AndDiSa:
When playing around with my IcedADS-Magpie version Some month ago I got the same error messages.

The strange thing there: I modified an image or something minor in the sources an I got this error, I reverted the modification and it was running fine. I was already thinking that the problem might be related to the compiler tool chain, but unfortunately I was not able to find a solution for that :(
[G1 Android Development] Tamhvm:
I couldn't run the test on this ROM "yesternight", I'll try it tonight.

Odd thing about this AndDiSa, we were using the binary distribution of the ROM, not a custom compiled version.
[G1 Android Development] AeroxTobi:
And what I do now, so for the Boot ROM?
[G1 Android Development] Tamhvm:
If you have tried both kernels, and flashing this ROMS several times, and you want your cellphone to work up just right, you can try Bananabread, or EzGingerbread. Those two are very stable and at least work, until someone helps us with the issue we are having.

Again, I'll try to flash this one again later tonight, and post the logcat also.

@tvall, are you hoping banana finishes his BananaSandwich, to see if HWAcc is fixable?
[G1 Android Development] AeroxTobi:
Ok, i have for the Time Flash FroyoSandwitch and ITs work Quickly and All Funktionality

I Hope that ICS working in the next Time better...

maybe Quicklyer ROM...

What bothers me is that if you couple of apps on it, has ChatON, WhatsApp, Skype, Facebook then the phone damn slow what can you do about it?

Why Reboot my Phone 3x - 4x to working?

Its with all ROM´s what i have Installed i understandt this..
[G1 Android Development] Tamhvm:
This ROM seems very nice, the video I watched showed a lot of promise, that's why I want to retry it.

@AeroxTobi, about the Froyo ROM you mention, once you install applications which are made to stay active, they will use your cellphone memory. Skype for once is very resource intensive.

I'd recommend to have a swap partition on your SD card, along with a EXT4 partition to use S2E and move stuff there.

Also, you could try using Autorun Manager to stop those apps from running at boot.
[G1 Android Development] AeroxTobi:
Ok, what can i Make, that the ROM more Quicklyer is?
[G1 Android Development] frankdrey:
I couldn't get this to boot until I turned on swap through adb, BTW :)
[G1 Android Development] Tamhvm:
If you don't want to change your ROM, use an app named Autorun Manager to deactivate the background services that Skype, Facebook and Whatsapp install.

#facepalm

I would have been going forever with this, because I wouldn't have ever pinpointed the issue.

What is the command used to turn on swap?
[G1 Android Development] tvall:
According to what I read, his rom is based on a ics port for the 32a, which is based on another rom. This rom is built from source specifically for the g1 from the beginning. The only thing I could get from his rom is some prebuilt binaries, which I could get from one of the roms its based on
[G1 Android Development] AeroxTobi:
When i deaktivated the services than i dont have Push....

Skype okay... FB OK but WhatsApp and ChatOn must be Push...
[G1 Android Development] Tamhvm:
With those two off, your system should feel a little less sluggish, specially Mr. Skype.
[G1 Android Development] Tamhvm:
I have a bit of a question here... Which one do you really recommend: AOKP or CM9?

I'm going to test it tonight. Hope it works! :good:
[G1 Android Development] frankdrey:
adb shell

swapon /dev/block/mmcblk0p3

I'm actually syncing the source code of a HeroC CM10 ROM :) Gonna see about working on that.

BTW, jcarzz's CM10 seems to be a total Winzip of a HeroC rom. In fact, he didn't even change the build.prop to say dream as the device xD

No offense and all...but I really hope he can explain himself :P

I'm actually working with the source code of it :P
[G1 Android Development] HTCDreamOn:
I tried AOKP with ezterry's 2326 kernel (v1.5.2, the one in the OP, because the linaro one doesn't work) on my G1 (specs in sig) and it wouldn't boot. I mean wouldn't. I flashed it last night, fell asleep, hadn't booted by morning. I'm trying again now.
[G1 Android Development] frankdrey:
Enable swap through adb
[G1 Android Development] HTCDreamOn:
You mean it won't even boot in the first place without swap? Also, do you mean physical swap or zram / compcache. I have the zram script that JianC posted (pg 3), if I stick that in /system/etc/initd/ will that do? I'm a n00b at adb you see :o
[G1 Android Development] frankdrey:
I used physical ram. You can add

swapon /dev/block/mmcblk0p3

To the end of that script
[G1 Android Development] Tamhvm:
Wait, wait... So the lack of swap is what makes this ROM go all loopy around starting devices?

Heh, I should have thought about it today.

BTW, the "mmcblk0p3" part of that command depends of how you partitioned your SD card. In my case it is "mmcblk0p2".
[G1 Android Development] frankdrey:
Yeah, if you have no ext partition, use 2
[G1 Android Development] AeroxTobi:
I have now a Big Problem...

My 8GB SDcard is Broken... I have Make Swapp Partion and now is he Broken..

Ok i have my 4GB SDcard insert he dont Accept is...

I have 512MB SDCard he accept ..

But i will use my 4GB SDcard and dont geht it.. .

He dont can Mount it...

What must be i Make that he Mount??
[G1 Android Development] frankdrey:
Repartition or format