yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] AeroxTobi:
i have it dont funkionaltiy :(

Working now the ROM on HTC Magic 32b?

My HTC dont will use it..

E: Can´t mount /dev/block/mmcblk0 (or /dev/block/mmcblk0p1)

(Invalid argument)

E:Can´t mount /sdcard

Formatting SDCARD:...

E:Can´t mount /dev/block /mmcblk0 (or /dev/block/mmcblk0p1)

(Invalid argument)

Error Mounting /sdcard/!

Skipping Format...

Done.

That is the Log...

Now when i insert the SDCard and wait come SDCard was brocken please format it.. than i click on Format and dont funkionaltiy.. when i tip Mount SDCard dont worked ...

What i must be Make?

I have make new partion

I have Formated

I have Fullwipe...

Why dont get it???
[G1 Android Development] tvall:
Well, something is screwy there. The recovery isn't able to do anything with your card. Its as if it isn't even there. Its possible the sdcard went bad or the phones reader is broken.
[G1 Android Development] AeroxTobi:
But why get than my 512MB Card and dont my 4GB Card?

The 4GB Card geht on the Wave but not on the HTC...

My 8GB Card is Broken... my 32GB Card is Broken what is should... The HTC -.-
[G1 Android Development] frankdrey:
You know what?

This is silly. I'm done trying for this phone. :P

You can find the device tree I created using united cm9's as a base.

github.com/andreyrd

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

You will need to apply mist of the changes that were needed to get cm10 working, and if anything, I'll be watching the forums here.

But I'm done totally working in the g1

Have to fix up my real life
[G1 Android Development] HTCDreamOn:
You know what?

I don't blame you. If we made a thread with a poll purely to see how many people hung around the G1 forums, the result would be very sad indeed. I reckon it's good for getting into developing, when I get some time and knowledge, I'll probably begin by messing around on my G1. And tbh that's all it's really good for now: messing around with.

BTW, I take it nothing's going to happen with that "FroyoRevival" ROM in your sig in that case?
[G1 Android Development] frankdrey:
Most likely not.

But it's a possibility. If I don't get a new phone and find some time, froyo will actually be useful. Anything higher is insanity.

Basically I'll only work on it if the time and effort is equal to the amount of people it helps. Cm 10.1 was a waste of time :p
[G1 Android Development] adityo97:
actually, i agree with you, we use ICS just for fun and deaming that the G1 would live forever, but please continue with the froyo project, its not wrong to make tge G1 just a little bit snappier ^^
[G1 Android Development] Shinotheweevil:
Hey I found a weird fix for the camera that might not work for you (worked for me though). I changed the oemcameralib file with one from gingerbread rom and my camera works now, but no video recorder/ panorama.

Edit: btw I am using a mytouch 3g with the 3.5mm jack with the newer radio and spl if that helps any
[G1 Android Development] tvall:
what gingerbread rom did you use? i don't have a mytouch to test anymore, so i can't try myself. but if this works, we will be half way to fixing one of the two big bugs left. gonna make a flashable zip for this when i get home.
[G1 Android Development] Shinotheweevil:
I used gingerbread-ds-stable v1.0
[G1 Android Development] tvall:
here is a zip with that lib in it.

http://www.mediafire.com/?smfhlv2xon1e45z

according to the post above, this may get camera partially working. but it may not. experiment! If it works, i'l get the build environment to either build this lib instead of ics one, or just use this binary
[G1 Android Development] tvall:
i now have a g1! soon I will update some of my roms. need to find some time to set up a build box again..
[G1 Android Development] frankdrey:
Sweet. I started "working" on a new ROM for the first time in a long time, but before my slow PC and Internet even finished syncing the source, Spring quarter of college dumped a million tons of homework on me xD

A long time ago, I barely started a device tree for 4.2. ( github.com/andreyrd )This was still when it was mr1-staging. You should take a look at that. The device tree *seemed* complete. All we needed was armv6 patches in CM (Team Legacy may have already gotten those merged into CM10.1 like they did for CM10). A CM10.1 rom would be a pretty cool novelty. (I should probably check the development forum to see if I'm blathering nonsense and it's been done already:p)

---------- Post added at 06:03 PM ---------- Previous post was at 05:55 PM ----------

It's the android_device_htc_dream repo, cm-10.1 branch. It's based off of united ics repo and surprisingly took minimal effort to get to work with 4.2. All that i recall was changing some storage mounts. Don't know about now though, 4.2 might have changed quite a bit.
[G1 Android Development] illdill:
mtd file is a dead link. Can you update that please? Id love to try this. I have the original G1 though, is this going to work on it? Thanks!
[G1 Android Development] tvall:
make a text file on your sdcard called mtdpartmap.txt with only this in it:

mtd 140 30

I dont remember what i decided on for a "good" size, but this should at least get you booting. if you run out of space on /system or /cache, adjust accordingly.
[G1 Android Development] illdill:
Thanks for that, also the gapps link has been removed. :( Is there another version I can use? Would I just need to find an ICS version of gapps?

Also, both roms fail due to a missing file system/media/video/disco.480p.mp4 - for the aokp rom. Then it says Verification failed - installation aborted.

Am I doing something wrong?
[G1 Android Development] tvall:
None of the zips are signed. Flash with clockworkmod recovery.

I'll reupload gapps again later tonight
[G1 Android Development] kanttii:
Yeah or in Amon RA ones toggle signature verification off ;)
[G1 Android Development] frankdrey:
Not stock Amon RA :P

You're probably using my or (banana's?) mod :D
[G1 Android Development] tvall:
just some info, fetching the source for cm9 again. I have a g1 that needs some flashing love. maybe i can slim it down to the point that its almost usable on the g1 since i can test on it now.

my goal is to get cm10.1 booting, but we'll see.
[G1 Android Development] HTCDreamOn:
Sounds exciting :) I'll thank you tomorrow when my thank limit is emptied. I'd be very willing to test, should be fun. I reckon swap will be a requirement for JB though.
[G1 Android Development] tvall:
its times like this that i hate living in a town with only two internet providers. I'm paying for 15mbps (costs more than my phone bill), right now i am somehow pulling around 17, and cloning ics and jb is still going to take forever.

Edit: so far, I'm having fewer errors with cm10.1 than cm9

Edit number two: slowly working through errors on cm10.1. i dont think im going to bother with fixing cm9. too much work to get back to where we were before. I might take alpha2.2 and slim it up more though.

4th edit: made a change to frameworks/native/opengl/libs/EGL/egl_display.cpp

i ran in to this error before and just removed the entire part that was having issues. this time, i actually attempted to do it right. i dont have frameworks_native on my guthub yet, so I'm just going to put the diff here. i'll be pushing most of the changes i made to github tonight if i already have the repos forked. anything i dont already have will be posted as a diff here for now.

eventually I need to go to sleep.

Fifth! : learned how to use sed to replace strings globally in a text file. TAKE THAT Gedit! I DON'T NEED YOU ANYMORE!

sixth and final edit of the night, notes for a less sleepy self: external/wpa_supplicant is from ics with a handful of cahnges. fork and push tomorrow. frameworks/native needs a fork and push. change is the patch attached. /device/htc/dream_sapphire/libaudio got a ton of changes via sed. commit if it worked.

Actual 6th edit: just realized I skipped 3rd. Time for sleep. No question about it. Its currently on libwebcore. I'll probably wake up to errors.

7th: its building the system apps! If it keeps progressing like this, expect a test build tomorrow (likely wont boot. who's that lucky??)
[G1 Android Development] tvall:
Uploading soon.

zip is 141mb. ouch.. that'll need a lot of slimming up

keyboard is 30mb, launcher is 12. lets fix that....
[G1 Android Development] tvall:
So, the g1 simply does not have enough storage to boot jellybean. If we use custom mtd to increase the system partition, there is not enough room left for dalvik cache.

Solution: /data/app and dalvik-cache will be on /sd-ext. I'll finish up some scripts soon and see if this lets us boot.
[G1 Android Development] Tamhvm:
Wait, wait, what kind of sorcery would be that? I tell you, if this thing boots... "Scary" things will happen. Keep the good job up!
[G1 Android Development] AndyFox2011:
[MENTION=3038499]tvall[/MENTION] nice to see you back working on G1 again! I currently have CM10.1 source on my PC so if you need a hand just say! Is the config on github? If it is I'll sync it tomorrow and see whats what :) I'll grab the kernel source you linked me too as well :D
[G1 Android Development] tvall:
not everything is on github yet. there is now a cm-10.1 branch in a lot of the related repos, but some have more changes that havent been pushed, and there are a few repos i havent pushed to github yet. I'll get around to that tonight or tomorrow.

most of the errors you'd get building tell you exactly what to do to fix it though. the two things not on git are external wpa_supplicant and frameworks/native. wpa_supplicant is just from ics with a missing header file added (resulting error will tell you which). patch for frameworks/native is posted
[G1 Android Development] AndyFox2011:
Right'ho once I've got a new build done for DHD I'll get to work on this, I'll make my way through your github fetching what I need as the DHD build runs then :)
[G1 Android Development] :
I've been trying to compile cm9 to no avail either.. My build complains that I'm missing Jsuint8ClampedArray.h or something like that..

Glad to see that you've got cm10.1 compiled :)
[G1 Android Development] tvall:
[MENTION=2646578]jianC[/MENTION] I did not notice all the improvements you made on the uniteddev forks. I think I'm just going to rebase all my repos on that before i build again. looks like you did everything i either didnt figure out, or was too lazy to do.
[G1 Android Development] super jay:
Just wondering is this project still in progress? If so I'd like to help out, my G1 is still my favorite android device.
[G1 Android Development] tvall:
It is, there is just few developers left, and I have little time to work.
[G1 Android Development] frankdrey:
Motivate me :P

My G1 has a cracked and dying screen, very frustrating to work with.
[G1 Android Development] tvall:
Well... 4.3 is out, and I never finished getting 4.2 running. Should I again jump to the latest, or should I give up and go back to what we had working?
[G1 Android Development] demkantor:
Let's see 4.2 make some more progress, I doubt anyone still rocking the g1 needs the latest and greatest :D
[G1 Android Development] :
I would suggest sticking with the old stuff since less backporting is needed.
[G1 Android Development] anhngocrg:
htc dream(G1) not working?kener?radio?slp?
[G1 Android Development] hrk:
tvall, is this useful to you? https://github.com/androidarmv6

"We" (I didn't really contribute much) have a working JB4.2.2 for some low end devices, albeit they're still a bit more than my precious and beloved G1. :)
[G1 Android Development] AndyFox2011:
If its any help to you tvall, I've compiled working ezgb kernel (without ics patches) with arm-eabi-linaro-4.6.2

I've got it running on ezgb at the moment and it seems a bit better than the 4.4.3 toolchain one :) next I must try with ics patches and 4.7 toolchain
[G1 Android Development] tvall:
I keep meaning to look into that. how different is it from cm? from the small amount of reading i did, it looks like cm targeted at the msm7x27 series of cpus.

when i get some time, I'll try building their cm10.1 branch.

I posted kernels a while ago built with linaro (forget which version). It felt smoother to me, but i didn't really test it much.
[G1 Android Development] AndyFox2011:
Haha maybe it was another phone that didn't have it linaro kernels working then!

Any chance you could patch new govenors into the kernel? I'm rather fond of smartassv2 :3

Also what's the chance of getting a linux 3 kernel working? I know very little about kernels so I'm not going to attempt to do it myself :(
[G1 Android Development] tvall:
I could patch new governors in, but I'm lazy, and fond of interactive which is already in there. I'll get to it, eventually.

and even tough i occasionally pretend to be a kernel dev, I'm pretty far from it. I would love to update to 3.x, but I doubt i have the skill to.
[G1 Android Development] AndyFox2011:
You seem to know more than me at any rate, that ezgb kernel is the first kernel I've successfully compiled :P I normally leave it to inline building

I guess I'll make patching in governors my little project to learn more about kernels!
[G1 Android Development] hrk:
Yes, androidarmv6 is exactly the same cm tree with support for such devices and ldpi resources.
[G1 Android Development] AndyFox2011:
Already forked the manifest and patched in g1 device files :) or what I could find of them, just need to patch in a toolchain or 2 and then I can sync it and try building for g1!

Have either of you tried using the envsetup-linaro.sh? I don't know if it'll work for g1 but it makes source built roms much faster...
[G1 Android Development] hrk:
I have never tried the linaro toolchain. People who used it got mixed results.
[G1 Android Development] AndyFox2011:
Yes linaro is very changeable, surely what we really need is to replace the armv7 cpu stuff in the source with armv6 cpu code or has armv6 project done that?

Well I got smartassv2 merged, now to compile and test haha :)
[G1 Android Development] :
I've fixed the error I had earlier when compiling CM9 and it works fine on my MT3G but the main issue i'm having is with hardware acceleration..

The build is quite snappy with animations off but a workaround for hardware acceleration, in my opinion, is a top priority.
[G1 Android Development] AndyFox2011:
I agree H/W acceleration is a must

Maybe I shall snoop around and see which other devices have the same CPU/GPU and see what's what which their cm builds
[G1 Android Development] :
I'm guessing we either have to forward port openGL ES 1.1 support to ICS, or somehow find drivers for our adreno 130 that supports openGL ES 2.0 (chances are practically null). The former seems more plausible. However, chances are is that I don't know what I'm actually talking about.
[G1 Android Development] AndyFox2011:
Porting to ics is our best shot, cause as you said the chance of adrena 130 drivers is nill, problem is how the hell do we port opengl to icss :/
[G1 Android Development] :
Someone would have to forward port frameworks/base/opengl from cm7 to ICS, along with adding copybit support to surfaceflinger and some other packages, but although the UI might be smoother, some apps that require HWA would still not be compatible since they require openGL 2.0... Maybe we could petition qualcomm to release adreno 130 drivers with openGL 2.0 support but that's a very long shot. lol

check out page 30 of this pdf (userspace) to see what we theoretically would have to modify if we were to port openGL 1.1: http://0xlab.org/~jserv/android-graphics.pdf
[G1 Android Development] AndyFox2011:
Over at galaxy mini we petitioned for new drivers from qualcomm for ics, and it took masses and masses of people for them to notice, more people than are active in g1 forum :(

Ill have a look at the pdf later and see how easy (hard) it will be, haha

---------- Post added at 08:19 AM ---------- Previous post was at 08:18 AM ----------

We might need to get an expert to work on it for us :(
[G1 Android Development] tvall:
Source link in second post updated from my repo to the uniteddev one. New build coming as soon as I test it
[G1 Android Development] AndyFox2011:
Brilliant dude! I got a really replacement phone so my G1 is free again since I don't need it
[G1 Android Development] tvall:
wifi isnt working on the test build. will debug later. its time for food

edit: modules.sqf wasnt mounted on boot. easy fix. no idea why it wasn't there though.

edit2: compiling again.

edit 3: uploading. next up is some kernel tweaking. then back to researching hw acceleration.

edit 4: https://dl.dropboxusercontent.com/u/19978192/cm-9-20130802-UNOFFICIAL-dream_sapphire.zip bluetooth isnt working, and the keyboard cutoff is back.
[G1 Android Development] tvall:
Anyone want aokp updated too, or should we just stick with cm only for a while?
[G1 Android Development] hrk:
What was the keyboard cutoff issue?

AOKP: why not... :P
[G1 Android Development] tvall:
Bottom part of keyboard is cut off (below screen?). You can't hit space, enter, or the other buttons there.

I'll get the aokp source tomorrow
[G1 Android Development] :
I encountered that issue with and without the latinIME overlay.. not sure why it's occuring. AOKP would be nice :)
[G1 Android Development] AndyFox2011:
We had that issue with galaxy mini, had to decompile the keyboard and change the dimensions of it

---------- Post added at 09:28 AM ---------- Previous post was at 09:25 AM ----------

I think I've done something wrong, it boots to t-mobile splash screen but then just switches off :( could it be because I'm using cwm6?
[G1 Android Development] HTCDreamOn:
I think whilst you're making headway with CM9 you should stick with it. AOKP is supposed to be less stable than CM anyway so being as this project is still in the alpha stages it's probably best to get CM good first. Thanks for all your hard work btw :( this is awesome stuff, I reckon getting a 3.x kernel up and running would be great although I don't know how; that's what they had to do for the Vision anyway.

EDIT Booting! :D but [MENTION=4265689]AndyFox2011[/MENTION] it's 'casue I used the 1.5.3 kernel, the ezgb-linaro kernel never worked for me. Also the camera fix aborts installation with a status 6 error.
[G1 Android Development] AndyFox2011:
First step is too see if another msm7k device has a 3 kernel, if it does porting it is a lot ever than porting from a completely different device

I think g1 is msm7k, am I right?

[MENTION=4693882]HTCDreamOn[/MENTION] Thanks for the heads up! will get other kernel and try that one! :)

but now in CWM2 i'm getting script assert error for the get_prop line, so i removed the line :P

Edit: OMG ITS BOOTING! I HAVEN'T BEEN THIS EXCITED ABOUT FLASHING A ROM IN YEARS!! :D
[G1 Android Development] tvall:
Keep forgetting to update the op with this info.

The ezgb-linaro zip doesn't have a working 2708+ build. I didn't notice when I first released because I only had a ebi0 device. If you are on 2708+, don't use that zip.

The rom includes the ics kernel for 2708+, just without the linaro optimizations. If you are on 2708+, skip flashing a kernel.

I'll get a new zip built soon. And eventually we need to add that to the rom, like ezgb did.
[G1 Android Development] AndyFox2011:
I think I've got a 2708 ics kernel built with linaro on my laptop, I'll try it in a bit and if it works upload it for you

Okay so I've found out that we can't use 4.7 linaro as it doesnt recognise the CPU type, at least we can use 4.6 linaro though
[G1 Android Development] AndyFox2011:
[MENTION=3038499]tvall[/MENTION] [MENTION=4693882]HTCDreamOn[/MENTION]

Here you go: linaro 4.6.2 build ads-ics kernel

http://www.mediafire.com/download/yfdh2x0uo9q4w88/ezgb-linaro(with_2708).zip

Takes a while to boot, but seems a little bit better!

Next job is to get swap working and sd-ext :)
[G1 Android Development] tvall:
I really hate swap on slow devices.

For sd-ext, how about a script that tests for the presence of a partition, and mounts it at /data/ if it exists?
[G1 Android Development] AndyFox2011:
I'm looking at getting dark tremors script working on g1, it's gonna take a few edits I think,

Yeah swap is a horrible, but for low ram devices it's really needed
[G1 Android Development] :
HTC Rhodium (msm7200a) has the 3.0 and 3.4 kernel but it is a WinCE device. It should be close enough to reference. https://gitorious.org/linux-msm-rhod/linux-msm-rhod
[G1 Android Development] AndyFox2011:
We'll really need someone who knows kernels, but if it has Linux 3 it should be easy to enough easy though
[G1 Android Development] AndyFox2011:
I don't know what I'm doing, but I've cloned that kernel source, it has all the dream/sapphire stuff, apart from a defconfig, so I imported an edge defconfig, I just need to test compiling it, but I doubt it'll work

---------- Post added at 08:07 PM ---------- Previous post was at 07:13 PM ----------

As I thought it doesn't work, need an expert to work on it :(
[G1 Android Development] :
haha it won't work because the trout/sapphire board files aren't there :P
[G1 Android Development] AndyFox2011:
They are actually ;) check the mach-msm folder
[G1 Android Development] :
Oh you're right, the trout board files are there but the sapphire files aren't aren't complete and they're outdated :P
[G1 Android Development] AndyFox2011:
Thats alright though I only need trout :P problem is all the files are outdated and seem to be in the wrong format, I think they need updated so I need an expert down here.... Like ezterry level expert
[G1 Android Development] Ak Ankit:
could anybody please reupload the ROM?

dropbox error 509

thanks tvall for keeping my "dream" alive.