yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] ezterry:
Its not a kernel change that is required for an ext file system, its a hardware diffrence between MMC and MTD

The dream has MTD partitions that provide direct access to the blocks of flash ram.. and requires the os to deal with ware leveling and bad blocks

MMC tries to simulate a disk on the other hand and the hardware will ware level and replace bad blocks from a pool of extra blocks transparently to the operating system.

The kernel supports ext4 (and backwards compatibility for 2/3) as well as a special file system yaffs2

Yaffs2 is designed special for use on devices with direct MTD flash where its the file systems job to deal with any bad blocks (and most of our phones have one or two, usually unknown to the user) as well as ware leveling

Ext expects the device to deal with removing bad blocks and any ware leveling. Thus acting like a normal disk in a PC.

Newer phones have an internal MMC card (like the sdcard but built in) rather than raw MTD access to flash thus use ext2 or 4 for the system partitions.. this is not an option on the dream however since if we forced system/data/cache to ext the data would break as soon as a block went bad.
[G1 Android Development] Scrip:
if only a few fonts need to be changed

another option is a bind mount

example init.d script

#!/system/bin/sh
for font in DroidSans.ttf DroidSans-Bold.ttf;do
busybox mount -o bind /data/$font /system/fonts/$font
done
[G1 Android Development] Noraf83:
Anybody have a working link to gapps-mdpi-gb-20110709_S.zip or can suggest a suitable alternative? The link in the OP is dead, and all the ones I've found on google are dead as well.

UPDATE: NM found it. Took some serious scouring though now that most of the 1click download sites have been taken offline. If you go to this chinese site http://115.com/file/e6ubcf09 and click the grey button next to the red button below the banner it should initiate the download. MD5 checked out for the file. Total dumb luck I got the thing to download cuz google translate wasnt translating anything useful for that site. Someone might wanna re up that file to a site a little less sketchy.
[G1 Android Development] chris122380:
You can still get Gapps through ROM Manager as well.
[G1 Android Development] ezterry:
mirrors of this is getting messy, if someone with a private server wishes to mirror the gapps/maps 4.7/facebook apps pm me some links.

Otherwise just updated links to the recommended files so the current op links work.. for now anyway.
[G1 Android Development] frankdrey:
Try hostfile.org

Unless its going down also:(
[G1 Android Development] arceles:
Hmmm... where are the themes for this rom? if there aren't... is there a way to put them?
[G1 Android Development] danthepan124:
Look for sisterchick froyo and gb themes
[G1 Android Development] Mrdaviso:
Anyone else have browser issues? Stock browser only loads what can be displayed on screen, no scrolling. Opera mini only loads the header of this page..... www.sisterbird.com/android-themes

Tried clearing history, caches, cookies and numerous reboots. Any help is appreciated.

I'm on a Mt3g
[G1 Android Development] SilentTweak:
I'll gladly mirror the files on my server.

EDIT: Here's the link http://sharing.lawchristopher.com/android/gapps/gapps-mdpi-gb-20110709_S.zip
[G1 Android Development] tom0769:
Still trying to port this rom to my hero (gsm).

Until now everything works but the camera.

When starting app logcat says

prelinked library 'liboemcamera.so' mapped at 0x40b0c000, not at 0xa9400000

I was playing around with replacing camera libs, but so far no success.

Maybe a dumb noob question, but is it possible to either re-map liboemcamera.so to address 0xa9400000 or can I "patch" the lib with an hex editor to be located at address 0x40b0c000?:confused:
[G1 Android Development] ezterry:
You need to build it for the hero, its a different device despite then similarities.

You may be able to cheat and just slightly re-work the sapphire target we are using now but you still ought to build from source.

Some things you will need to change:

The vender files extracted from the rom before building by the unzip files script:

https://github.com/ezterry/GB-device_htc_sapphire/blob/gingerbread/unzip-files.sh

Some of the files are used both in the build and are copied to the target, while others are just copied to the target.. thus particular if you are changing camera and Bluetooth libraries you want to change it before building. (Swap the files in the sapphire-update.zip and re-run unzip-files per the build instructions). The other files here may not require changes.

I'd recommend making the build produce a fully booting rom, even making a new target.. but after building with the proprietary files updated you can likely manually modify the ram disk and change kernels for additional required changes. (Remember while some files may need to be copied or renamed in the ram disk you will wish to use the ezgb ram disk and not one from other hero roms) as some of the features of the from will break otherwise.
[G1 Android Development] phin586:
Hey guys, just curious as there is a LOT to read in these threads, has the missing text issue ever been fixed?

Looking for something to hold me over till the new HTC's come out on TMo and would love to run gingerbread till that time.
[G1 Android Development] azrash:
This is different for each device as users are using their phones differently. What you can do is to install an app called Ghostly SMS made by hrk. It'll prevent the missing SMS issue.
[G1 Android Development] tom0769:
Thanx Terry,

I was already afraid that it should go this way.

So I'll sync repo again a try to build from source as you described.
[G1 Android Development] phin586:
well i run a fairly minimal froyo install right now, from a donut install and its about the same speed with how stripped down it is. I was more curious on this, does it outright miss the text or does it just fail to notify? if the text still gets put in the spool, thats not to big of a deal to me.
[G1 Android Development] hrk:
The message goes into the land of nothingness before being put in the spool.
[G1 Android Development] Dingo_HR:
I managed to repair Error on wi-fi only with EZGingerbread ROM, I like it even it is slow (had to put google maps).

Any new revoulutionary idea to speed thing up (I allready increased max CPU speed).

Also I noticed when I put original HTC handsfree headphones I do not get headphones icon in status bar and nothing change, musuc still plays on back speaker.
[G1 Android Development] demkantor:
keep it as barebones as possible, that said you can try turning on jit (not a simple click on this rom but i think if you use andisa's version of ezgingerbread it is in the extras) also make sure all apps are on sd-ext, use brut maps if you need google maps, and well you have a g1 so it will be slow compared to the old donut roms.

as for the headphone issue i cant help you there, never even opened the package
[G1 Android Development] vermaekansh:
any new update??

hi,,

any new udpate is in pipeline or this is the end for this ROM..

really loved the stuff..

thanks.
[G1 Android Development] arceles:
Why flash_image doesn't work with this rom? even when I pushed it with this guide http://xdaforums.com/showthread.php?t=902493 for testing this : http://xdaforums.com/showthread.php?t=1548001 didn't worked, even tried to go back to my clockworkmod recovery but not success... had to download rom manager to install my old recovery again...
[G1 Android Development] Scrip:
What you are trying to do is not testing

Testing is where you approach something with a list of procedures with expected outcome and make observations

You will be just trying out the recovery with a new version number and name

because it has a new version number and name

If you don't know how to install it correctly then you should not be trying
[G1 Android Development] arceles:
I can try the enginnering SPL but I think this is not worth of the time.

PD. I'm not a total newbie since I have been in the scene of the G1 since it was "the latest of the latest" don't even try to treat me like one, on the other side I don't know a lot of things, I was just REMARKING my particular test. (If this term doesn't go in accordance with whatever you have in mind, I don't care the slightest about it)
[G1 Android Development] mahroze:
cant seem to change fonts ny ideas
[G1 Android Development] tvall:
Been discussed many times. Either make a new fonts.sqf with the ones you want, or delete it and put the fonts where they usually go
[G1 Android Development] ezterry:
Since rom manager uses flash_image to re-flash recovery (see /data/data/com.koushikdutta.rommanager/files/ )

Something sounds like user error here, since if flash_image really couldn't flash anything you could not reinstall your old recovery.

(I understand its not built into the rom by default thus you need a static build of your own.. I know sometimes flash_image fails.. but erase_image and retrying usually corrects that after the phone boots more.. I know these low level flash applications must be run as root. I know cwm and ra recoveries have flash_image built in thus you could do this from recovery via adb. I know if you are using cmtd there may be some oddness with the size of the cache partitions in/out of recovery.)

This is even without properly asking is before touching recovery asking yourself: do you want to touch recovery? Since recovery is what you use to recover a bad system.
[G1 Android Development] arceles:
To be honest I just wanted to flash the 5x version of clockwork recovery, no, I'm no using Custom MTDs, just your vanilla rom, that, by the way, is the fastest thing I have seen on my G1.

I followed the guide that I mentioned you, following step by step (I used Better Terminal Emulator for copying it to system and apply the 777 permisions)

Still the only thing that it worked is the ROM Manager, I'm curious thought, if it uses the same flash_image I don't see why it would fail my method...
[G1 Android Development] mahroze:
is there a guide on how to make fonts.sqf coz to be honest i dont knw what that is thanks in advance
[G1 Android Development] Scrip:
Better Terminal Emulator is not better

if you want a real terminal emulator try ConnectBot

777 ? wtf?

777 is rwxrwxrwx

at the most flash_image should be 755 (rwxr-xr-x)

but since you need root to use it 700 (rwx------) is better

the 5x cmr doesn't work for the dream

Yes the thread says it works perfect but also says it doesn't work on the dream yet, so not so perfect

also the instructions for flashing are wrong

the OP instructs the user to

adb remount

which makes system rw, which has nothing to do with recovery

adb su

which is a pointless step since a/ not needed as you are already root b/it runs su then exits

so you are following two guides which are written by people who don't really understand what they are doing

so the question is

did flash_image really fail?

probably not since you are flashing a recovery which is known to not work with a G1

If flash_image did fail, it is most likely a memory problem

two ways around that

via adb shell stop android with

stop zygote

do the flash_image recovery recovery.img

either reboot or start zygote

write an init.d script to flash recovery on boot for example

#!/system/bin/sh
test -e /cache/recovery.img || exit 1
flash_image recovery /cache/recovery.img > /cache/flash_img.log
rm /cache/recovery.img

You don't need clockwork 5x

apparently 2x crashes windows so either upgrade to a real OS or install RA-1.7 and keep a clean /sdcard (no scroll or dir navigation with in RA)
[G1 Android Development] arceles:
1.- 777 works for me, so no need to change to 700.

2.- Yes normally I remit myself to follow guides, my G1 is not exactly my main phone but I like to experiment, I have JTAG so no problem.

3.- yes, once flash_image performed the flash it just stayed there doing nothing, the command prompt only shown that I entered the command correctly but didn't did anything else.

4.- Just because you say that I don't need cloworkmod 5x doesn't mean that I will even listen to you, BTW, I run debian and windows 7, sorry, windows 7 still owns as my main os, you go and play whit whatever you understand for a "real os" I'll "play" (literally) with mine.

Go and flame anyone else please.
[G1 Android Development] hrk:
Scrip you can't win against stupidity, quit fighting it and leave people in their frying pan (for crying out loud).
[G1 Android Development] col300:
Hi,

Does anyone know where the caller blacklist is located in this rom?

cheers,
[G1 Android Development] kilovar40:
Roaming Indicator

I am using an unlocked 32A Sapphire (originally Rogers) with the latest EzGingerbread on Virgin Mobile Canada.

The "roaming" indicator is permanently on even though the correct Virgin APN is selected and I have a Virgin SIM. Everything works correctly, except for the roaming indication. When I uncheck the "Allow Roaming" setting I lose all functionality.

When I previously experimented with other ROMS (stock Rogers ROM and with carz12's CM7) there was no sign of roaming.

Clearly the ROM thinks I am roaming, but I am not.

Any ideas why this might be?
[G1 Android Development] demkantor:
Did you change radios? I think once you move away from the 3x radios on a rogers phone data slows. Not 100% but that's a starting place
[G1 Android Development] tvall:
Just bumping the thread so noobs can find this awesome rom easier..
[G1 Android Development] Infinimint:
Hahaha I was actually thinking about doing the same thing yesterday, along with the 2708 thread xD
[G1 Android Development] newellj79:
Does the googe play music app work with this rom? I'm having trouble find a g1 rom that it is compatible with.
[G1 Android Development] ezterry:
Last time I looked ~2mo ago.. google play "worked" .. but was hardly what I'd call useable. way too slow particuarly if you are hoping for streaming from your account.
[G1 Android Development] BibleBelt:
yes. I have v4.1.512 running on my Magic.
[G1 Android Development] newellj79:
I ended up getting it to work on your froyo aosp ota build. It force closed in land scape but is working great in portrait. Get this. I have a transformer prime, the wifi/bt is so bad that you can't stream from wifi to bt at the same time. So i broke the g1 out of the closet to use it as a mp3 player with my bt headphones while cutting the grass. Basically, the latest and greatest can't get something done that the original does just fine. Freaking crazy. This tablet is a piece.

my apologies for the rant.
[G1 Android Development] demkantor:
Another reason the g1 can't die... sorry apple
[G1 Android Development] NiveusLuna:
The HTC Dream may suffer from old age, but darn if that phone wasn't perfect. I got my Droid 4 when I switched to Verizon last week, and I started missing my Dream in less than 24 hours.

Dad wants me to sell it and give him the profits. I don't wanna. I love that phone. :(

EzTerry, I cannot thank you and Firerat enough for extending the G1's life with Magpie and ezGingerbread. You two brought Gingerbread to the original Android device (ezGingerbread) and made it usable (Magpie/app2sd-ext). I no longer use the HTC Dream, but you still have my gratitude. Thank you again.
[G1 Android Development] tvall:
Just bumping up what, on my opinion, is the best gb rom for this device. Thanks ezterry
[G1 Android Development] ezterry:
There seems to be some confusion out there on permissions to use the rom/kernel in your own work.. That causes people to ask for permission from me.

1) kernel: the kernel is under the GPLv2 this license allows you to redistribute the kernel with some minor restrictions:

A: the source code must be provided, if you re-distribute a pre-built version of the kernel a link to my stand alone kernels and the kernel version used will suffice but otherwise source code must be provided.. most will accept a diff from a know kernel as long as the changes are small, but technically the full sources must be provided.

B: within xda you can't re-post my binary unmodified without giving full credit to me, or include it in a rom unmodified without full credit to me.. if you do modify the kernel providing credit is polite to the upstream developers, but as the patches in the kernel come from 100s of devs the best way to do this is to upload the code to a site such as github with the full git history. (Obviously if the changes from my source are very minor listing me as your starting point will help people know the product they are using). It is required that the source code be clearly indicated with your product.

2) the rest of android:

While some odd components are under the gpl and can follow the above, most of android is under the apache 2 from Google.. in my work I've ensured that all the code despite being modified retained the full permissions of the original Apache 2 licensing.

This means you can redistribute it without explicit permission as the gpl code is.

However apache 2 doesn't require the modified code be distributed with the binaries.. if you redistribute a modified version it is best to provide me credit (as the most accurate version of the public code) and ensure its indicated you are providing a modified version of said code.. please remember if you are posting the product on xda not providing the code/patch is a bit against xda's core philosophy of sharing developers info with other devs.

In short you are always free to use anything I release under the apache2 license w/ source or is protected by the gpl without my explicit permission (the license grants you this). However make sure credit is given where it is due..

(also it is generally recommended to read both licenses in question as there are some additional minor requirement you should attempt to cover in any modified work)
[G1 Android Development] xanda143:
Opinions is this rom say faster than cronmod 1.06
[G1 Android Development] roalex:
I made a fresh build with PDROID support, improved ICS scrolling cache, CM's Dns prefetch and a few fixes/security vulnerabilities which came from upstream/ICS also CM busybox update to CM's 1.20.2 :

Changelog

PDROID GB patches

The rom - Gapps (includes the new market)

(market has issues after the first boot but will work after a google login and a reboot)
[G1 Android Development] crypticc:
Hi Roalex. Thanks so much for continuing to compile this Rom!

I upgraded my dad's HTC magic 32b. Browser force closes. The previous ez Terry did not. Logcat attached. Any ideas?

Thanks

Chris
[G1 Android Development] ElConedeTJ:
Enable Swap Partition on this ROM

I read somewhere on this forum that someone asked and was basically shotdown with no answer other than "it's useless" in their opinion :(. I have my SD parition with a swap partition (and was using it with Ginger Yoshi) and I wan to test this ROM with the Swap parition I have already on my SD Card. So if anyone has the instructions on how to enable the swap partition on an already partition SD Card, please let me know.
[G1 Android Development] AndDiSa:
swap partitions are not supported natively by the ROM. You can use ZRAM and/or KSM (which you can enable/disable natively) and which will give you a better user experience than swap. Nevertheless, you are free to try out the ROM enabling your swap partition by

swapon /dev/block/mmcblk0p3 (?) <- depends on your sdcard partitioning

or using a tool like swapper2
[G1 Android Development] ElConedeTJ:
How do I know what parition is my swap?

:o Pardon my ignorance, but how do I know which one is my swap partition? I did an ls in /dev/block and I got this:

cd /dev/block

# ls

ls

loop0 loop3 loop6 mmcblk0p1 mtdblock0 mtdblock3 platform

loop1 loop4 loop7 mmcblk0p2 mtdblock1 mtdblock4 vold

loop2 loop5 mmcblk0 mmcblk0p3 mtdblock2 mtdblock5

how can I check which one is the correct one? I partition my SD using RA-Reovery creating a Swap + Ext + FAT partitions.

Update: Tried "swapon /dev/block/mmcblk0p3" and it worked but as soon as I rebooted it was gone again... where should I add this code to make it permenant?

Thank You.
[G1 Android Development] ElConedeTJ:
Media Process Crash

My Media Process was crashing, I'm attaching my logcat.

Any Ideas?
[G1 Android Development] ezterry:
Reading it I see
[G1 Android Development] ElConedeTJ:
Restore messed things up?

I did a backup in Titanium Backup with Ginger Yoshi (Android 2.3.5) and installed (wiped and everything) EZGB, and did a complete restore using Titanium Backup, I assume I did something wrong while doing the restore, are somethings (specifically system settings) that I should not use the restore?
[G1 Android Development] demkantor:
try doing a superwipe and or fastboot -w, then only restore apps and see if everything works, then restore data and check again
[G1 Android Development] frankdrey:
You'll need to put it in one of the last init.d scripts. Look in /system/etc/init.d/ (I may have gotten that path wrong. Haven't touched my G1 in a while:P)
[G1 Android Development] ElConedeTJ:
G1 ROM on a MT3G (32B)

I'm still having problems trying to use this ROM on my Phone (see My Sig for details). This ROM is designed for the G1 but I'm trying to use it on a MyTouch3g (32B), what would be the necessary steps to take to make sure it works properly? In one of my attempts I lots all but the Menu and Back buttons. Also when ever I flash and run Titanium Backup for the 1st time I get a warning that my Device-ID Changed.

I've read that any ROM for a G1 can be used on the MyTouch 3G without problems, but I guess that there are some steps to take to do so.

Thanks in advanced for the help.
[G1 Android Development] frankdrey:
Losing everything but Menu and back usually means you didn't flash google apps.

And it should work fine on that phone as long as the kernel supports it.

Titanium Backup probably says your device id has changed...because it has. I'm pretty sure its "Dream/Sapphire" with ezGingerbread.

What other sorts of problems are you having with it?

I can't see your sig on tapatalk. Be specific, and maybe I can help.
[G1 Android Development] AndDiSa:
Be careful, you shouldn't restore Google apps by Titanium after installing ezGingerbread. For adsMagpie/ezGingerbread the gapps need to be signed with a special key. Have a look at Terry's OP of this thread to find the right ones and flash those directly after flashing the ROM.
[G1 Android Development] ElConedeTJ:
Finally OK... I think...

So now it seems that I finally got it right. Now here are some suggestions that in My opinion (after using Ginger Yoshi) some people would like on this ROM also:

1 - Being able to Change the Battery Icon from the standard Battery bar to Battery Percentage plus a mini-bar

2 - Being able to set the Long Press Back button to kill the current App (in case it's misbehaving and doesn't want to close)

3 - Being able to customize the normal and long press buttons of the Home, Menu and Search Buttons

3 - Maybe Adding the option to use JIT, unless it doesn't help this ROM at all

4 - Having the option during flashing to set the LCD Density to 140 (for example, in my opinion it looks better and you have more screen space to work with)

5 - Being able to Lock Home and/or Messaging Apps in memory

Remember this is just my opinion... it doesn't mean that this ROM actually needs this, I juts think it would be nice to have. So please don't go "Fanboy" on me saying that this ROM is perfect as is and that I don't now anything about ROM development (which I don't) and such...
[G1 Android Development] AndDiSa:
Well some of your wishes are already availably in ADS_Magpie:

- Percentage + mini.bar

- JIT on/off

plus some additional features, like app permission control (revoke permissions after installing an app).