yashsingh1/xdaforums huggingface dataset:
[myTouch 3G, Magic Android Development] OzJD:
Ok, I've upped the files as promised, It should be as fast as you can get Android 2.0 to run on Eclair without removing stuff, or changing the default CPU speed.

http://xdaforums.com/showthread.php?p=4990264#post4990264

That's a post about it, please comments etc there
[myTouch 3G, Magic Android Development] philicibine:
Hello... back again!

Now got loads further but just came across this error

make: execvp: /bin/bash: Argument list too long
make: *** [out/target/product/sapphire-open/obj/STATIC_LIBRARIES/libwebcore_intermediates/libwebcore.a] Error 127

a quick google revealed

cd external/webkit ; git cherry-pick 18342a41ab72e2c21931afaaab6f1b9bdbedb9fa

From the root of your working directory
[myTouch 3G, Magic Android Development] OzJD:
Did you find my Google Groups discussion with JBQ? Lucky for you if you did, as there was no entries in Google when I came up with that error when I finished my first eclair+sapphire build.
[myTouch 3G, Magic Android Development] philicibine:
@OzJD

i did!

thanks for that!

how did you figure what it was???
[myTouch 3G, Magic Android Development] OzJD:
I didn't - hence the discussion with JBQ :P
[myTouch 3G, Magic Android Development] philicibine:
can anyone help me with whats happening here...

Its not loading the kernel. Is there something I can do??

Target system fs image: out/target/product/sapphire-open/obj/PACKAGING/systemimage_unopt_intermediates/system.img
Target boot image: out/target/product/sapphire-open/boot.img
error: could not load kernel 'out/target/product/sapphire-open/kernel'
make: *** [out/target/product/sapphire-open/boot.img] Error 1
[myTouch 3G, Magic Android Development] philicibine:
now know why the above error is happening...

I messed with the kernel folder ages ago... thinkin i could just put cm`s kernel in there.

If anyone has the source.. could you zip up the vendor/htc/sapphire-open/kernel folder for me??

I really need to restore it to its original state...

is there a command for repo i can use? I have just tried to re-sync but it hasnt re-downloaded the folder.
[myTouch 3G, Magic Android Development] OzJD:
Just re-sync it from the git tree
[myTouch 3G, Magic Android Development] philicibine:
Have tried to re-sync. Deleted the folder and then tried re-syncing but it wont re-download the folder.

Don't know what to do
[myTouch 3G, Magic Android Development] philicibine:
Sorted it.. deleted a load of folders and then re-synced.

Left it at home compiling.. just hope to God the wife doesn't mess with it to much while I'm out!
[myTouch 3G, Magic Android Development] OzJD:
and she dosn't try

rm -rf *

:P

Let us know how you go

P.S. My wife knows that when the text is scrolling, not to touch it! lol
[myTouch 3G, Magic Android Development] philicibine:
ok.... so finally got it compiled... using similar steps now fastbooting it...

tried to make an update.zip but it got stuck in a boot loop... so will flash it thru fastboot... and nandroid... and then make an update.zip from that.

@philip_hooper i will edit the first post with your steps taken to get other people onto a head start.
[myTouch 3G, Magic Android Development] philicibine:
oooooh it boots!:D
[myTouch 3G, Magic Android Development] philicibine:
next thing i think will be google apps workin on it!
[myTouch 3G, Magic Android Development] philicibine:
Got it running ok on my phone... but now having trouble making a bootable update.zip

Will look into it further tomorow.. at the moment it wont get past the first splash screen.

Will try a cpl of other things and post as soon as I have any luck
[myTouch 3G, Magic Android Development] walie:
are you sure you want to do that?
[myTouch 3G, Magic Android Development] philicibine:
finally got a working update.zip...

does anyone wanna try it???.... tried it on my phone with success!

dont know if it will work on 32a or not... worth trying!

The next thing is google apps for definate! --- need help with this!
[myTouch 3G, Magic Android Development] philicibine:
off 2 my bed now tho...

day off work tomorrow so all day to play! :cool:
[myTouch 3G, Magic Android Development] auvi:
Great progress!!

Does the OS/Browser from this ROM support Multitouch?
[myTouch 3G, Magic Android Development] OzJD:
I'm still listening, even if I don't post much...

You posted this

$ gedit ~/mydroid/buildspec.mk
TARGET_PRODUCT:=aosp_sapphire_us

The correct way probably would have been:

$ . build/envsetup.sh
$ lunch

(Note the space between "." and "build"
[myTouch 3G, Magic Android Development] phillip_hooper:
Nice! Does that do the same thing as creating the buildspec.mk file yourself, or does it do something different?
[myTouch 3G, Magic Android Development] OzJD:
##################################################################
# #
# Read me before you modify this code #
# #
# This function sets ANDROID_BUILD_PATHS to what it is adding #
# to PATH, and the next time it is run, it removes that from #
# PATH. This is required so lunch can be run more than once #
# and still have working paths. #
# #
##################################################################

It does a few other things, but the major things are modifying the path, and setting variables
[myTouch 3G, Magic Android Development] philicibine:
ok so, now we have an update.zip.. I want the google apps on it.... can anyone help with this??

I`m guna try and push some from 1.6.. will report back!:rolleyes:
[myTouch 3G, Magic Android Development] OzJD:
I thought I might add this for others - this is how I currently get the Eclair branch of Android on my Ubuntu 9.10 install (and build it) - It requires you already have the tools that are required (JDK 1.5, GIT, REPO, etc).

And a final note: If you have JDK 1.6 - it will still build - You will need to replace all occurrences of ]1\.5[ with ]1\.6[ in build/core/main.mk

$ mkdir ~/mydroid/
$ cd ~/mydroid/
$ repo init -u git://android.git.kernel.org/platform/manifest.git -b eclair
$ repo sync

$ cd external/webkit/
$ git cherry-pick 18342a41ab72e2c21931afaaab6f1b9bdbedb9fa
$ cd ../../

$ wget --referer=http://developer.htc.com/google-io-device.html http://member.america.htc.com/download/RomCode/ADP/signed-google_ion-ota-14721.zip?
$ cd vendor/htc/sapphire-open/
$ ./unzip-files.sh
$ cd ../../../
$ . build/envsetup.sh
$ lunch aosp_sapphire_us-eng
$ make

EDIT: Added cherry pick (which shouldn't be needed, but is)
[myTouch 3G, Magic Android Development] philicibine:
ok so pushed some google apps from the droid gsm dump...

sync loads, but doesn`t sync...

Facebook works..

Moto Accu weather widget appears to work... not really tested very much tho.

Just need help getting sync to work.
[myTouch 3G, Magic Android Development] goa200:
nvm figured it out its for 32B =)
[myTouch 3G, Magic Android Development] eug89:
Hi, last week i made a patch for 32a devices for the Android2.0_AOSP_Master rom i found in the dream development section, and i found out ( reading cyanogen's twitter) that in order to get the bluetooth working you need to change a line in the init.trout.rc and the init.sapphire.rc files that you find in the ramdisk.

This is the line you need to change:

-n -s 115200 /dev/ttyHS0 texas 4000000 flow

and it has to be :

-n -s 115200 /dev/ttyHS0 texasalt 4000000 flow

where you find texas you need to change it in texasalt both in the init.trout.rc and the init.sapphire .rc

I hope this helps:)
[myTouch 3G, Magic Android Development] philicibine:
thanks eug89, and of course cyanogen.

Have implemented bluetooth and tested it on my device and it works.

Problem is getting an update.zip that boots!

i`m currently working on this... any tips would be appreciated.

The problem is... when I fastboot -w flashall my build it works fine... but as soon as i put my system folder into a zip, it doesnt boot.

I think it might be to do with the recovery... but how do i put the recovery into the zip to be flashed?? (what commands do i put in the update.zip)

Gotta go back to my old rom for a bit... get all ma voicemails, emails etc etc
[myTouch 3G, Magic Android Development] phillip_hooper:
You do that after you extract the htc image, but you don't have to do that, do what OzJD said instead:

$ wget --referer=http://developer.htc.com/google-io-device.html http://member.america.htc.com/download/RomCode/ADP/signed-google_ion-ota-14721.zip?
$ cd vendor/htc/sapphire-open/
$ ./unzip-files.sh
$ cd ../../../
$ . build/envsetup.sh
$ lunch aosp_sapphire_us-eng
$ make

My celeron laptop takes a couple hours to compile (I never timed it). You'll get boot.img, system.img, recovery.img and userdata.img when it's finished. There are other files too.

This will help get the "google bits" installed:

http://code.google.com/p/traviseclair/wiki/InstallGoogleBits
[myTouch 3G, Magic Android Development] eug89:
Thanks:) so everything should work, I just need to wait...

And if i want to compile it for a 32A? Am i asking too much?
[myTouch 3G, Magic Android Development] phillip_hooper:
You might as well ask me how to compile it for a toaster :D I have no idea on the 32A.
[myTouch 3G, Magic Android Development] eug89:
:DOk i'll use a precompiled 32a kernel, my pc just finished, tomorrow I'm gonna try it
[myTouch 3G, Magic Android Development] philicibine:
can anyone gimme a clue as to why my update.zip`s arent booting??

i`ll upload one for someone to look at / try.

I cant see any reason why they dont work.

If it does work for you, bluetooth should be workin now
[myTouch 3G, Magic Android Development] philicibine:
Can anyone boot this??

http://www.mediafire.com/file/gm2cqtzxyzm/eclair_by_noobs_0_1.zip

Can anyone get this to boot???

i`ve tried loads of different ways of making the update.zip... but it seems very hit and miss whether they boot or not.

cant see what i`m doing wrong :confused:
[myTouch 3G, Magic Android Development] OzJD:
Double post. Sorry. See next post
[myTouch 3G, Magic Android Development] OzJD:
You're signing them, right?

I had a few dramas getting the signature right on mine - as the certificate didnt work ;\

But, It's up now, With everything working! (no cam) - Added Market, Gmail, Navigation, Facebook (Droid version) etc!

http://xdaforums.com/showthread.php?t=587440
[myTouch 3G, Magic Android Development] philicibine:
i am signing them... they flash ok... but then either freeze on the splash screen.. or go into a boot loop.

tried clearing caches, wiping the sd, everything.

Only way it works first time is to fastboot -w flashall but thats not what ppl want here... they want update.zips! :mad:
[myTouch 3G, Magic Android Development] philicibine:
now trying your rom by the way....

was hoping to be close behind you! with all this google sync stuff working out today... this is fast becoming a very useable rom.

When I`ve caught up i cant wait to see the optimizations we get for this!
[myTouch 3G, Magic Android Development] OzJD:
Heh, You'll get there!

I'll try and give you a hand with it later if you want... It's 10:21am here and ive still had no sleep...
[myTouch 3G, Magic Android Development] Krzysiec:
We won`t let U go sleep as long as U prepare a PERFECT WORKING Eclair ! Even with CAMERA :D AND SENSE :D:D:D Joke of course ;)

GO SLEEP FOR NOW !! TAKE A REST FOR FUTURE ;) GOODNIGHT(DAY) ;)
[myTouch 3G, Magic Android Development] philicibine:
Hey... well dont let real life keep ya!!!

Appreciate the input!

Appreciate the input from everyone really... If more people can build from source there will be more choice of roms out there.
[myTouch 3G, Magic Android Development] philicibine:
just tried your update-script, with my rom, after modifying..

format SYSTEM:

copydir PACKAGE:system SYSTEM:

to

show_progress 0.1 0

format SYSTEM:
write_raw_image PACKAGE:system.img SYSTEM:

symlink dumpstate SYSTEM:bin/bugreport
symlink dumpstate SYSTEM:bin/dumpcrash
symlink toolbox SYSTEM:bin/cat
symlink toolbox SYSTEM:bin/chmod
symlink toolbox SYSTEM:bin/chown
symlink toolbox SYSTEM:bin/cmp
symlink toolbox SYSTEM:bin/date
symlink toolbox SYSTEM:bin/dd
symlink toolbox SYSTEM:bin/df
symlink toolbox SYSTEM:bin/dmesg
symlink toolbox SYSTEM:bin/getevent
symlink toolbox SYSTEM:bin/getprop
symlink toolbox SYSTEM:bin/hd
symlink toolbox SYSTEM:bin/id
symlink toolbox SYSTEM:bin/ifconfig
symlink toolbox SYSTEM:bin/iftop
symlink toolbox SYSTEM:bin/insmod
symlink toolbox SYSTEM:bin/ioctl
symlink toolbox SYSTEM:bin/kill
symlink toolbox SYSTEM:bin/ln
symlink toolbox SYSTEM:bin/ls
symlink toolbox SYSTEM:bin/log
symlink toolbox SYSTEM:bin/lsmod
symlink toolbox SYSTEM:bin/mkdir
symlink toolbox SYSTEM:bin/mkdosfs
symlink toolbox SYSTEM:bin/mount
symlink toolbox SYSTEM:bin/mv
symlink toolbox SYSTEM:bin/netstat
symlink toolbox SYSTEM:bin/newfs_msdos
symlink toolbox SYSTEM:bin/notify
symlink toolbox SYSTEM:bin/printenv
symlink toolbox SYSTEM:bin/ps
symlink toolbox SYSTEM:bin/reboot
symlink toolbox SYSTEM:bin/renice
symlink toolbox SYSTEM:bin/rm
symlink toolbox SYSTEM:bin/rmdir
symlink toolbox SYSTEM:bin/rmmod
symlink toolbox SYSTEM:bin/route
symlink toolbox SYSTEM:bin/schedtop
symlink toolbox SYSTEM:bin/sendevent
symlink toolbox SYSTEM:bin/setconsole
symlink toolbox SYSTEM:bin/setprop
symlink toolbox SYSTEM:bin/sleep
symlink toolbox SYSTEM:bin/smd
symlink toolbox SYSTEM:bin/start
symlink toolbox SYSTEM:bin/stop
symlink toolbox SYSTEM:bin/sync
symlink toolbox SYSTEM:bin/top
symlink toolbox SYSTEM:bin/umount
symlink toolbox SYSTEM:bin/vmstat
symlink toolbox SYSTEM:bin/watchprops
symlink toolbox SYSTEM:bin/wipe
set_perm_recursive 0 0 0755 0644 SYSTEM:
set_perm_recursive 0 2000 0755 0755 SYSTEM:bin
set_perm 0 3003 02755 SYSTEM:bin/netcfg
set_perm 0 3004 02755 SYSTEM:bin/ping
set_perm_recursive 1002 1002 0755 0440 SYSTEM:etc/bluez
set_perm_recursive 0 2000 0755 0755 SYSTEM:etc/ppp
set_perm 0 0 0755 SYSTEM:etc/bluez
set_perm 1002 1002 0440 SYSTEM:etc/dbus.conf
set_perm 1014 2000 0550 SYSTEM:etc/dhcpcd/dhcpcd-run-hooks
set_perm 0 2000 0550 SYSTEM:etc/init.goldfish.sh

show_progress 0.2 0
format BOOT:
write_raw_image PACKAGE:boot.img BOOT:

format CACHE:
show_progress 0.2 10

and now i get the error

E: Syntax error in update script

???:confused:
[myTouch 3G, Magic Android Development] philicibine:
also just tried your complete script... with my system folder instead of system.img

and still getting the sytanx error

:mad:
[myTouch 3G, Magic Android Development] philicibine:
doin another repo sync...

see if it helps
[myTouch 3G, Magic Android Development] philicibine:
ok still getting this syntax error in update script.

Doesnt matter how I change the script... I still get the error!

Whats going wrong??
[myTouch 3G, Magic Android Development] philicibine:
GOT IT!!

update-script was working.... it was to do with what I was calling the .zip file!

Dont know what I was doing wrong... deleted the _0_1 off the end!

Now for the fun stuff.... root... maps... sync... etc!

Any tips greatly appreciated!

ps. currently uploading the zip.... bluetooth is working... and wifi loads but doesn`t connect -- need help with this. Will update first post when it`s done
[myTouch 3G, Magic Android Development] philicibine:
first post now has updated .zip with bluetooth and wifi

root and sync next
[myTouch 3G, Magic Android Development] philicibine:
I need help now integrating the google apps into the source...

have looked in the /packages/app folder but i can only see uncompiled apps...

my question is, how do i get the .apk of my choosing, into the source so it compiles in the rom????

Really need help! TOTAL NOOB!

:D
[myTouch 3G, Magic Android Development] frug:
Hi!

I'm noob too. :D

I compiled the donut source and want to add the Google apps. I know you are on eclaire but maybe this could help us: http://www.johandekoning.nl/index.php/2009/07/12/building-android-1-5-google-apps-and-audio-files/

But I don't know wich Google things are needed, because the how-to is for cupcake. If we had a list we could make it like in the how-to...
[myTouch 3G, Magic Android Development] eug89:
this is part of the script that cyanogen uses to backup and restore the google apps from adp1 1.6 :

backup_file /system/app/BugReport.apk
backup_file /system/app/EnhancedGoogleSearchProvider.apk
backup_file /system/app/Gmail.apk
backup_file /system/app/GmailProvider.apk
backup_file /system/app/GoogleApps.apk
backup_file /system/app/GoogleBackupTransport.apk
backup_file /system/app/GoogleCheckin.apk
backup_file /system/app/GoogleContactsProvider.apk
backup_file /system/app/GooglePartnerSetup.apk
backup_file /system/app/GoogleSettingsProvider.apk
backup_file /system/app/GoogleSubscribedFeedsProvider.apk
backup_file /system/app/gtalkservice.apk
backup_file /system/app/LatinImeTutorial.apk
backup_file /system/app/Maps.apk
backup_file /system/app/MarketUpdater.apk
backup_file /system/app/MediaUploader.apk
backup_file /system/app/NetworkLocation.apk
backup_file /system/app/SetupWizard.apk
backup_file /system/app/Street.apk
backup_file /system/app/Talk.apk
backup_file /system/app/Vending.apk
backup_file /system/app/VoiceSearch.apk
backup_file /system/app/YouTube.apk
backup_file /system/etc/permissions/com.google.android.gtalkservice.xml
backup_file /system/etc/permissions/com.google.android.maps.xml
backup_file /system/framework/com.google.android.gtalkservice.jar
backup_file /system/framework/com.google.android.maps.jar
backup_file /system/lib/libgtalk_jni.so
;;
restore)
restore_file /system/app/BugReport.apk
restore_file /system/app/EnhancedGoogleSearchProvider.apk /system/app/GoogleSearch.apk
restore_file /system/app/Gmail.apk
restore_file /system/app/GmailProvider.apk
restore_file /system/app/GoogleApps.apk
restore_file /system/app/GoogleBackupTransport.apk
restore_file /system/app/GoogleCheckin.apk
restore_file /system/app/GoogleContactsProvider.apk /system/app/ContactsProvider.apk
restore_file /system/app/GooglePartnerSetup.apk
restore_file /system/app/GoogleSettingsProvider.apk
restore_file /system/app/GoogleSubscribedFeedsProvider.apk /system/app/SubscribedFeedsProvider.apk
restore_file /system/app/gtalkservice.apk
restore_file /system/app/LatinImeTutorial.apk
restore_file /system/app/Maps.apk
restore_file /system/app/MarketUpdater.apk
restore_file /system/app/MediaUploader.apk
restore_file /system/app/NetworkLocation.apk
restore_file /system/app/SetupWizard.apk /system/app/Provision.apk
restore_file /system/app/Street.apk
restore_file /system/app/Talk.apk
restore_file /system/app/Vending.apk
restore_file /system/app/VoiceSearch.apk
restore_file /system/app/YouTube.apk
restore_file /system/etc/permissions/com.google.android.gtalkservice.xml
restore_file /system/etc/permissions/com.google.android.maps.xml
restore_file /system/framework/com.google.android.gtalkservice.jar
restore_file /system/framework/com.google.android.maps.jar
restore_file /system/lib/libgtalk_jni.so
[myTouch 3G, Magic Android Development] frug:
@eug89: That's nice! Thanks! :)

@philicibine: You can make your own Update.zip [got it from koush]:

TARGET_NO_RADIOIMAGE=true make otapackage

But after it's done you have to modify it a bit.
[myTouch 3G, Magic Android Development] Kwonny:
How to build it for 32a? Has 32a and 32b roms different config to build? Or they has only different kernels?
[myTouch 3G, Magic Android Development] frug:
I think they have only different kernels. Maybe this could help you a bit: http://xdaforums.com/showthread.php?t=548061
[myTouch 3G, Magic Android Development] Kwonny:
Thank you) it help))
[myTouch 3G, Magic Android Development] philicibine:
hello people....

just letting you know... i`m still on this one... trying to fit it in between work and keeping the wifey happy is a nightmare!!

Have had some problems intergarting the google apps... recompiled it now but the wifi has stopped working.

Will upload the version i do have... in a few mins... just trying something else with the wifi.
[myTouch 3G, Magic Android Development] ganesh4it:
Hi philicibine,

Am getting the following Error while building the SDK open source project .

"make: *** No rule to make target `vendor/qcom/proprietary-open/libgps/proprietary/libgps.so', needed by `out/target/product/sapphire-open/obj/lib/libgps.so'. Stop.

"

Am not understating your statement mentioned above:

"Have solved it by pulling from my 1.6 rom and placing in vendor/qcom/propreitory/libgp"

How to solve this ? Its very urgent . Plz help me out.
[Touch Pro2, Tilt 2 Windows Mobile General] Xebec:
I've already using the search here and on google. Is there a VNC viewer that works on Windows Mobile? All the ones I've found are old clients from 2005 or 2006.
[Touch Pro2, Tilt 2 Windows Mobile General] aldamon:
I use this one and it's great:

.NET VNC Viewer

Features

* Of course, basic VNC viewer functionalities.

* Full screen mode.

* Client-side scaling.

* Server-side scaling and single window mode.

* Screen rotation.

* Session history.

* Hi-Res support for VGA Pocket PCs and QVGA Smartphones.

* Listen mode.

* etc.
[Windows Mobile Development and Hacking General] twolf:
Loved the original idea from here:

http://www.tokyoflash.com/en/watches/pimp/p2pusher/

Its basicly a different visual clock, to read the hours see the left vertical columns and for the minutes see the right 5-rows columns.

The PDF on the site above explains it better... :D

To use:

---------

- 5 colors to choose from, just press the bottom bar to change colors.

- If you prefer a 12-hour clock, simply click the left numbers after 13h.

- Exit with enter (keypad) or by pressing the top-right area.

- See the "normal" digital clock and date by pressing anywhere else on the screen.

Notes:

-------

- Needs FLASH 7, if it doesnt exit properly, you dont have it. ;)

- Attached the CAB, already with the WM6.5 icon on install.

- Also added a separated swf file, to see it run on your NOKIA, PC or Throttle Launcher..

Enjoy. :)
[Windows Mobile Development and Hacking General] AdamiX:
Nice idea :)
[Windows Mobile Development and Hacking General] Savok:
Love it! thanks!
[Windows Mobile Development and Hacking General] TheRem:
it would be cool if it can be a screensaver.

thanks twolf! :)
[Windows Mobile Development and Hacking General] camxposure:
WQVGA issue omnia

just wondering if there's a way to make the excess screen on my omnia to default BLACK- then your app would be awesome

maybe even add function buttons - there's some promising update potential

awesome clock - would it be possible to simulate the look of a recessed L.E.D.?

looks good on my armband at the CLUB!!!:D
[Windows Mobile Development and Hacking General] galaxys:
Great...very cool with the color options!
[Windows Mobile Development and Hacking General] twolf:
Sorry, the software I use for the EXE only allows VGA/QVGA, he doesnt even allow any extra options for the size or screen color. :(
[Windows Mobile Development and Hacking General] vrates:
Use flash pimp clock

I need a macromediaflash for use it. someone can help me?
[Windows Mobile Development and Hacking General] vrates:
found it

Yes, yes my first app for the htc diamond.

it`s fantastic........... I`m cry
[Windows Mobile Development and Hacking General] Unit ZER0:
Standalone app?

Just wondering... what is the program you are using for these standalone apps? I could probably use the same thing to make my own FlashGadgets play as standalones, which would make them work across a broader series of device platforms. Please check out my thread, and tell me what you think. http://xdaforums.com/showthread.php?t=630985

Regards,

Unit ZER0
[Touch Pro CDMA] heavymetalmage:
I'm currently running NFSFAN's latest ROM and I need to sync my phone up with a Mac to transfer some files to my storage card. Is there a way to do this? Any help is definitely appreciated!
[Touch Pro CDMA] Crossxcalibur:
When you connect your phone via your USB a screen should come up on your phone asking you to choose between Active Sync and Disk Drive. Choose the Drive. A few seconds later is should pop up on your desktop. This is your SD card. From there you can transfer back and forth whatever you want to. I do it everyday on my Mac.