yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] AndDiSa:
Compiled GB with magpie-patches from source, but I am not able to get it run :(

It seems to me, that the scripts located in /system/etc/init.d are not being executed.

First I noticed, that within the updater-script the permissions for /system/etc/init.d were not set, so I added

set_perm_recursive(0, 0, 0700, 0700, "/system/etc/init.d");

Then I noticed, that /system/bin/sysinit.rc was missing, so I added it and changed permissions in the updater-script:

set_perm(0, 0, 0700, "/system/bin/sysinit.rc");

But still no go ... :(

I am getting the following log:

--------- beginning of /dev/log/main

D/AKMD ( 77): akmd 1.6.6 START

I/DEBUG ( 70): debuggerd: Jan 7 2011 21:59:54

D/AKMD ( 77): library version: 1.2.1.1129

--------- beginning of /dev/log/system

I/Vold ( 68): Vold 2.1 (the revenge) firing up

I/Netd ( 69): Netd 1.0 starting

D/Vold ( 68): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)

D/Vold ( 68): Volume sdcard state changing 0 (No-Media) -> 2 (Pending)

D/Vold ( 68): Volume sdcard state changing 2 (Pending) -> 1 (Idle-Unmounted)

D/AndroidRuntime( 72):

D/AndroidRuntime( 72): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<

D/AndroidRuntime( 72): CheckJNI is OFF

E/dalvikvm( 72): Can't open dex cache '/cache/dalvik-cache/system@framework@core.jar@classes.dex': No such file or directory

I/dalvikvm( 72): Unable to open or create cache for /system/framework/core.jar (/cache/dalvik-cache/system@framework@core.jar@classes.dex)

...

and there is no dalvik-cache under /cache, nor under /data. Does somebody know, how to make executing the /system/etc/init.d - scripts?
[G1 Android Development] ezterry:
The build system is adding a '/' in the partition name..

a problem from the fact that I force it to not build a recovery.img [thus the gingerbread recovery is missing fstab info in the build tree].. but the edify generater is expecting it.

Added a patch for my next push.
[G1 Android Development] Firerat:
you seem to be missing

https://github.com/Firerat/GB-devic...mmit/dad51bc972fa12ebecf18aecdd67ea4ab3a02a19

as dex is being put on /cache

it should go to data

and this commit

https://github.com/Firerat/GB-devic...mmit/5d36ae0e4ea05a60cb6ed7d04045eefc897e2191

makes sure the init.d files are copied to the build
[G1 Android Development] jsp254:
@AndDiSa - i dont understand why yours is giving you problems. i was running Superfly 1.6.1 before flashing this and had no problems. strange.

my setup was superfly 1.6.1 with firerats mtd, apps2ext, etc.

i fastboot wiped (home+back+power then action), then in RA wipe data/factory, cache, dalvik. and that was it. i did not run terry and ohsaka's super-wipe.zip as i usually do.

flashed the rom and wha-la, i gots GB! i do know some of the remnants of the other rom and/or scripts hung around because my homescreen was still the same minus the apps i still had on /data.

the only thing i've added or done since then was ad the new cm animation.

battery drain has been a ***** since flashing this however! at 12-1am i went to bed with 85-90% woke up at 630 with 19%! i'm still not convinced that gremlins arent playing with my phone when i sleep!

never the less, i'm about to flash back to superfly 1.6.1 from nandroid. i never flashed the gapps i was speaking about.

OH BY THE WAY... @nomadman - it was on another forum. i've tried googleing for it with what i think was the search phrases i used but now i cant find it.

EDIT - nevermind. i found it. it was a link to mediafire. left that tab up and went to the link you mentioned. their link was to the same file on media fire, so yes... that was it.
[G1 Android Development] AndDiSa:
Installation of Firerat's GB-magpie version went well, that was not the problem. I tried to compile the sources by myself and then I had this problem. Currently analysing, what might be the problem ...

Nice to see somebody else using UNOFFICAL Superfly 1.6.1 ;)
[G1 Android Development] AndDiSa:
Thank you Firerat, now analyzing why those commits are not considered within my build ...
[G1 Android Development] BitPlacebo:
Perhaps "required" should say "recommended" per instructions at front of this thread:

"However the following configurations are optimal:

32b Dream: Radio-2.22.28.25 and SPL 1.33.0013d are recommended"

And I was able to flash my radio using the DangerSPL then I flashed my radio to 2.22.28.25 then SPL again to 1.33.0013d. My G1 is in the recommended state and I am now flashing EZGingerbread as we speak.

If there is something further down in this thread with different numbers "Where TF" is it ;)

Thanks frankdrey! DangerSPL was the right direction and my old radio was listed as safe in the CM "HTC Dream:What is DangerSPL" wiki. I just finished flashing the ROM :)
[G1 Android Development] GuyInDogSuit:
I would have just suggested you read the first post again.
[G1 Android Development] frankdrey:
Well I guess the guy who pmed me was wrong.

DangerSPL was needed to flash the other radios and hboot:P

10.95.3000 doesn't support fastboot then

IIRC it was used for flashing DREAIMG.nbh

Methinks he mixed up your spl version...because he said 10.95.2003...:P
[G1 Android Development] raven198:
Terry, someone asked about deep sleep a few weeks ago, and I have seen it now. I don't think it is in the kernel, I believe it is something in the rom itself. I tried Bananabread v2.2 & 2.3, and have seen it in both through CPUSpy. It was a huge help in fighting battery drain.

I don't know how to look through the roms for differences or what not, but maybe if you have a few to kill you might take a look and see.

Also, I was using this kernel..

https://rapidshare.com/files/1268230679/auto-boot-2.6.35.13-farmatito-pershoot-ds.zip

Also, if I use a different rom and this same kernel, I don't see the deep sleep state that I did with Bananabread.

Keep up the great work you do with our dinosaur phones.

EDIT:

Ok so I might have been wrong. Seems you can't get Deep Sleep while charging. So it might be the kernel that does it. I'll try to look through the kernels and see if I notice anything majorly different between the 2. But like I said I'm not that great and this stuff, but I would love to help in anyway I can.
[G1 Android Development] Benjamin Linus:
In my opinion this rom, like the other with GB, is too slow and too laggy... so... froyo is the right system for this bricky phone :)
[G1 Android Development] blizard80:
just installed this rom in my 32a magic... all great... but i discovered that it doesn't have the pt dicionary available... can i insert that dicionary?

thanks
[G1 Android Development] blizard80:
Nevermind... I edited LatinIME.apk and added pt dictionary from cm7.2.

So far only 'problem' I had was this.

Great ROM!

Thanks!
[G1 Android Development] GuyInDogSuit:
Are there any apps that offer the options that the CM7 settings has?
[G1 Android Development] frankdrey:
I would think most of those settings pretty much just control parts of the ROM

So like swap settings you'd need swap scripts

Ext settings you'd need ext scripts

Etc.

So probably no...
[G1 Android Development] banana4444:
unfortunately no, this is one of the reasons why i didnt stay on this rom
[G1 Android Development] GuyInDogSuit:
Yeah, I'm tempted to jump back onto Squished's CM7 or... what is BananaBread? I'll check that out, too.
[G1 Android Development] ezterry:
... if you can only stand CyanogenMod based roms.. go get one and leave your conversations for other threads..

If there are specific features that are really needed I might consider it, more so if someone else helps port it to the dream.

However I consider requests for cm parts off topic since its very deliberate that this rom started from true AOSP and slowly added the features for the dream rather than putting in the kitchen sink intended for many devices with more ram.
[G1 Android Development] GuyInDogSuit:
No offense, Terry, but I needed the sound attenuation and "speaker always" hacks. I couldn't get my alarm as loud as it was before. Or to keep it from playing on the headphones.
[G1 Android Development] blizard80:
Terry... all running great on the Rom, but I have one big problem... I can't connect my magic 32A to my car Bluetooth ... I can do it with other rom. Anything I can do/add to the ROM to make it work?

Anyone has this problem? Thanks in advance!
[G1 Android Development] AndDiSa:
Are you sure that this isn't a problem of your car? I am using it with my car without problems. Probably your car requests a special protocol (rSAP for example) which isn't supported by Android yet.
[G1 Android Development] blizard80:
hi!

thanks for your answer...

normally use my phone in my car with cyanogen rom...

so i thought it could be something with the libs...
[G1 Android Development] flyers00:
Happy New Year Ezterry,ROM has been working well,been stable and reliable. In the OP you mentioned the use of Facebook 1.64. Facebook for Android seems to be slow and laggy. I stumbled across Friendcaster,other than annoying ads, it seems to run well with the ROM. Was curious if you had any experience or insight on this app. Look forward to see what you have planned for the future
[G1 Android Development] leave:
Thanks for the fast and stable rom！！Two questions:

When I am making a call, the screen cannot auto shutdown. It will waste the power..

And can this rom auto adjust brightness?
[G1 Android Development] azrash:
Auto brightness is not possible because this device does not have a light sensor iinm
[G1 Android Development] leave:
Thanks!

And the first question? Could the screen turn off when I put it near to ear at call. I have used some roms has the function...
[G1 Android Development] GuyInDogSuit:
Go into Settings, then Call Settings, and uncheck "Keep screen awake."
[G1 Android Development] invisiblewave:
Hats off to you Terry for still maintaining this rom! Of all the hundreds of roms I've loaded on my geriatric MyTouch, this is the best mix of features and performance.
[G1 Android Development] crypticc:
+1. :-)
[G1 Android Development] psychosonic:
gapps-mdpi-gb-20110709_S.zip is no longer up

i'll probably try 20110712 in the meantime and see if that works

EDIT: Nope, just stayed at the G1 splash even after wiping dalvik-cache with ADB and the recovery menu.

Tried fastboot wiping then installing just 20111204 and the gprs patch, cleared dalvik before leaving the recovery menu, and it's still stuck at the splash.

Same thing happens when I try to restore from my backup from earlier.

So yeah, I'm without a phone and thus without an alarm clock to get up for work. Re-upping the gapps would be much appreciated.
[G1 Android Development] azrash:
the link posted by terry in the first post works fine on my end. here is a mirror if you are having problems accessing the original link gapps-mdpi-gb-20110709_S.zip http://j.mp/w7YERx
[G1 Android Development] davistha3rd:
Installed the new radio update last night and decided to test 4G. Oooommmgg!!!! :thumbup::thumbup::thumbup:
[G1 Android Development] Poppu:
I don't really understand... 4G ? On our HTC Magic ? And moreover, the bitrates you have on you screenshot are quite the same than the ones I have with HSDPA (3G+). I can even have a lot more when I'm in a zone with better coverage...
[G1 Android Development] psychosonic:
Awesome, thanks. Ok, this time did a fastboot system wipe, booted to recovery and wiped Dalvik to be safe before-hand using the amon ra recovery menu. Installed the rom, then gapps, then gprs. Before rebooting, went to console and entered shell commands to mount and wipe Dalvik from both /data and /sd-ext. Then I rebooted.

Still stuck on splash, never gets past it. What do.

EDIT: I should note that I can use Superwipe then just install Bananabread and it works like a charm. Only EzGb is having this problem.

so uh

are you on drugs right now
[G1 Android Development] psychosonic:
Actually, yes I did have to run a cMTD zip. It had a recovery cMTD zip I had to use before wiping, and a boot cMTD zip to flash after the ROM. How would I change it back to the correct partition? I see there's an mtdpartmap.txt with "anydatasizemtd 61 3" inside. Should I just change the numbers to "82 2" and flash the recovery zip before wiping?
[G1 Android Development] AndDiSa:
Yes, should be sufficient, but I suggest you to do either a Superwipe or using fastboot erase ... to clean up everything.
[G1 Android Development] GuyInDogSuit:
Sounds like it could be an incompatible kernel. Not sure why, when the kernel installer script detects which board your phone has (32a/b/hybrid).

Yes. Yes, I think he is.
[G1 Android Development] davistha3rd:
Sorry lol. Wrong post. this was meant for evo thread. I tried deleting but no success. :(

"When the great lord passes the wise peasant bows deeply and silently farts." - Ethiopian proverb
[G1 Android Development] demkantor:
chances are that should be plenty good enough but why not try changing it if nothing else worked, if you never changed the mapping and you have the 2708+ then this rom should flash very easily for you - there is something with your phone and im just guessing this could be it.
[G1 Android Development] psychosonic:
I did, but I was still stuck on splash after superwiping and flashing. However, "fastboot erase system -w" followed by a flash did get it working. So yeah, I'm pretty much done forever with Superwipe, lol.

Works now like a charm though, and it's even better than previous builds. I can't thank you enough for your work on this, Terry.
[G1 Android Development] ummkiper:
I can't set a ringtone for an alarm,I can set ringtones for everything else except alarm,I looked under media in system and alarms folder is there with tones in it also screen lock tones don't work.

Edit* I moved the alarms to sdcard and rebooted now it works,but lockscreen sound doesn't.
[G1 Android Development] OptimismPrime:
Is there any simple (read: "n00b-proof")way to either get the most recent ezGB kernel onto Firerats Magpie CM7, or the CM7 Music Player plus its homescreen widget onto ezGB / ADS_Magpie?

I tried both ezGB and ADS_Magpie on and off all throughout 2011 and was always impressed with speed and stability, but what i simply CAN'T live without are the CM7 Musicplayer and the 4x2 Homescreenwidget with coverart and back-button.

The Customizable Homescreen power Widget is also something i favor over the scrolling notification widget (with as many buttons as i put in there), but i can get by without it, though barely.

The music player / widget thing however always made me switch back to CM7 based roms in the end.
[G1 Android Development] frankdrey:
You can probably back up the music apk file

Try this:

Install CM7

Open terminal emulator and type

su

cp /system/app/Music.apk /sdcard/Music.apk

Install the ROM that you want the CM7 music app on

Open terminal emulator and type

su

mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system

Then type

cp /sdcard/Music.apk /system/app/Music.apk

I can't gaurantee that it'll work 100% but try it
[G1 Android Development] Scrip:
or you could just

unzip cm7.zip system/app/Music.apk -d temp
adb remount
adb push temp/* /
rm -rf temp

or just open up the cm7.zip

extract the Music.apk

put in on sdcard .... copy it

basically there is no need to go installing cm7 or restoring a backup just to get the Music.apk, if desperate you could even unyaffs a nandbackup to /sd-ext/temp

Not sure it will actually work because the signature checks will fail

first you would need to delete Music.apk, uninstall it, and then add the new Music.apk

even then it might not work if the cm7 Music.apk is dependent on code in cm7

su
busybox mount -o rw,remount /system
mv /system/app/Music.apk /sdcard/Music.apk_backup
pm uninstall com.android.music
cp /sdcard/Music.apk /system/app/Music.apk
busybox mount -o ro,remount /system
[G1 Android Development] flyers00:
display

I have been using this ROM for awhile and the only I noticed so far is the display properties. I have the display set to about 10 percent and when I check battery stats, it is showing 79 percent in use. Is there any fix for this? Other than the rom has been running fine
[G1 Android Development] tom0769:
Hy ezterry,

I'm using this rom on my Magic 32b and also got it compiled by myself.

Now I wanted to port your rom to my Hero (gsm) linke I did with some others.

Currently I didn't succed, I think because of the squashed libs (logcat says busybox not found).

Could you please give me some hints?
[G1 Android Development] AndDiSa:
The squashed file systems are mounted by init.rc

...
on post-fs
# once everything is setup, no need to modify /
mount rootfs rootfs / ro remount

# We chown/chmod /data again so because mount is run as root + defaults
chown system system /data
chmod 0771 /data

# Mount compressed filesystems
mount squashfs loop@/system/lib/modules/modules.sqf /system/lib/modules ro
mount squashfs loop@/system/xbin/xbin.sqf /system/xbin ro
mount squashfs loop@/system/fonts/fonts.sqf /system/fonts ro

...

but this cannot be the reason for your error messages regarding busybox. How did you set up your build environment? Looks to me, as if busybox is not built and/or not copied into the system image.
[G1 Android Development] tom0769:
Ah, should have known:rolleyes:

just checked the init.rc from the targets boot.img.

Thank you, that helped alot!
[G1 Android Development] zanbeak:
i have cm6 installed. now what do i need to do to install exgingerbread? do i need to re install a radio, spl tiny apps and then rom? or do i just flash install the Rom only? also if i continue changing roms do i always need to start from the beginning flashing radio, then spl, then rom, etc etc in ra recovery? or do i just flash roms only from now on? anyone know? also what zip files do i need for exgingerbread. the OP hasnt put in any links for the required spl. thanks in advance
[G1 Android Development] frankdrey:
Ezgingerbread /might/ work with the spl and radio you have right now, but it'll be very slow

Its best if you upgrade to the 2708+ kernel spl/radio

Google "2708+ kernel" and see if you can follow the instructions

If not, ill see about writing a n00b-proof mini tutorial if I have time:D

After changing the radio/spl (if you want, really recommended), flash the rom according to the OP instructions, in the order it says to flash

Someone correct me if I'm wrong about the radio/spl he has right now working with ezgingerbread
[G1 Android Development] tom0769:
I'm still trying to port this rom, but now I get stuck in a boot loop.

Logcat says

D/AndroidRuntime( 192): CheckJNI is OFF
W/dalvikvm( 192): ERROR: Unable to find decl for native Landroid/content/res/AssetManager;.splitThemePackage:(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)I
W/dalvikvm( 192): ERROR: Unable to find decl for native Landroid/content/res/AssetManager;.detachThemePath:(Ljava/lang/String;I)Z
W/dalvikvm( 192): ERROR: Unable to find decl for native Landroid/content/res/AssetManager;.attachThemePath:(Ljava/lang/String;)I
W/dalvikvm( 192): ERROR: Unable to find decl for native Landroid/content/res/AssetManager;.getBasePackageCount:()I
W/dalvikvm( 192): ERROR: Unable to find decl for native Landroid/content/res/AssetManager;.getBasePackageName:(I)Ljava/lang/String;
W/dalvikvm( 192): ERROR: Unable to find decl for native Landroid/content/res/AssetManager;.getBasePackageId:(I)I
W/dalvikvm( 192): ERROR: Unable to find decl for native Landroid/content/res/AssetManager;.addRedirectionsNative:(I)V
W/dalvikvm( 192): ERROR: Unable to find decl for native Landroid/content/res/AssetManager;.clearRedirectionsNative:()V
W/dalvikvm( 192): ERROR: Unable to find decl for native Landroid/content/res/AssetManager;.generateStyleRedirections:(III)Z
E/JNIHelp ( 192): RegisterNatives failed for 'android/content/res/AssetManager'
E/AndroidRuntime( 192): Unable to register all android natives

I have no clue, what's going on.
[G1 Android Development] SilentTweak:
Is there a way to turn on JIT for Magic 32A for this ROM?
[G1 Android Development] AndDiSa:
Not sure at the moment whether JIT is on/off at default on ezGingerbread. ADS_Magpie has settings to switch on/off JIT.
[G1 Android Development] SilentTweak:
Cool, works great.

I have an issue though, for some reason, even with S-OFF I can't write to the /system partition. Keeps on saying Read-Only. I've tried adb remount and even shell remount but nothing seems to give.
[G1 Android Development] hrk:
S-OFF and /system partition read/write status are two completely unrelated things.

Please type the exact command you typed. You need to pass the option rw and remount at the same time.

mount /system -o remount,rw
[G1 Android Development] SilentTweak:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system

Then also tried yours. Neither one of them worked. Does mounting SD-EXT cause issues?
[G1 Android Development] demkantor:
just use root explorer or a file manager that is r/w,

what exactly are you doing that you need to write to the system?
[G1 Android Development] SilentTweak:
I'm trying to flash new fonts and bootscreen lol
[G1 Android Development] demkantor:
easy enough to do through a file manager, root explorer cost a dollar or two and is my favorite. but there are free ones that should work just fine too.
[G1 Android Development] frankdrey:
ES explorer is nice

You have to turn on "root explorer" and "mount system as rw" in settings

Then set the home/start directory as "/"
[G1 Android Development] SilentTweak:
I really thought you found me a solution. But, unfortunately this isn't working either. No matter what I do /system is un-writeable. Think it has something to do with using custom MTD?
[G1 Android Development] AndDiSa:
For sure not!

mount -o remount,rw /system

will change /system to be writeable. Then you can add / remove / modify what you want ... nevertheless a little knowledge of Unix/Linux will be helpful ;)
[G1 Android Development] ezterry:
no its not.. system can be wrtten without an issue..

You are however ignoring the fonts are in the fonts.sqf and thus /system/fonts is read only

This cannot really be changed.. either you need to build a new fonts.sqf and replace it in recovery or remove the fonts.sqf and put all the font files in that spot (or symlink /system/fonts to /data/system/fonts and put the fonts there.

If there are no valid fonts the system will bootloop.

(This is very difficult to do without some linux knowledge, as a non-android linux application mksquashfs is used to create the sqf files from a local directory)
[G1 Android Development] SilentTweak:
Oh wow, didn't realize that at all. Thanks for clearing it up for me Terry! My Linux knowledge is pretty limited, so I guess I'll leave it alone for now.

ROM works great though! Practically the same as my Nexus One now. Actually using this phone without a SIM and running Dell Voice on it :) Free phone line off of an old Android is LOVE.
[G1 Android Development] PersianSphinx:
This rom is simply exelent. Running really well so far. A few force closes but I told them to wait and instant fix. Good job Terry very nice. Adding EXT2,3&4 support to /system, /data & /cache would be nice too. But that is obviously a kernel mod...

Sent from the Sphinx's Dream