yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] ezterry:
init scripts run before init.rc starts the primary state machine as its exec'ed at the same time we are mounting and verifying /data, /cache, /system and the ramdisk.

This will always be before vold runs as we need to complete init onboot first. (Unless we invoke it directly anyway.) [sleep statements here will just cause the system to wait on the splash screen.. but the init.rc will not continue processing.

These scripts thus are best on an already mounted file system. (such as /system/init.d or on /data if desired.

If you wanted an "on mount script" I'm sure we can extend vold to run runparts over /sd-ext/init.d .. but like /data/data binds I really don't care about this feature.

Of course for the example of firerats random boot animation once vold finds the sd-card/sd-ext will always be too late.

(of course during init.d nothing stops us from invoking a recovery like interface if we wished to interact with the user and ask them to fix the sd-card.. or ask a password to decrypt /data if we where to add a full partition encryption or something.. but I think this is certainly out of scope for Vold and likely also out of scope for the happy install of ezGingerbread)
[G1 Android Development] NLJ:
I think there is some misunderstanding here. I know that vold is started after init.local.rc and sysinit. It's done async to rest of systems and it doesn't sleep. It's not vold that is waiting. It's PackageManager and by the time it gets to SdExt 90% of time it will already be mounted. If not PMS is waiting for no longer than 20sec (and I expect that actual time is around 5sec).

I don't. I never did. And I've always thought that /sd-ext/init.d is not good idea. /data/data binds can be done easily now (either by my hackish way or by introducing vold.fstab syntax). This will not interfere with logic that allows having SdExt apps behaving like FAT installed ones (of course SdExt can't be unmounted but this is controlled by Settings app mostly). Once again (cause I might have probs expressing it all in english): One can have mount binds and still SdExt can be scanned later together with FAT apps. I'm not saying it's easy and I'll have it by tomorrow but I'm heading there.

Actually what bothers me most here is dalvik-cache (for apps on SdExt it's on SdExt). It shouldn't cause probs but I've hit to many problems that just shouldn't happen (like disapearing sd-ext ;o)

Yes this is not doable with xVold but... Is this feature so important? ;) (no offence, Firerat! ) And if I'm wrong we can switch /system/bin/bootanim to something entirely different =o)
[G1 Android Development] Firerat:
lol, none taken

RBA is a complete waste of time, just a bit of fun

( but it does allow a bit of bling without wasting space on system or data , as bootanimations work just fine from sd-ext )

the one major disadvantage with xVold is download_cache location

because sd-ext is not mounted before run-parts execute

https://github.com/Firerat/GB-devic...mmit/480d7fe05d2fd4679c483fbbd9bf7843c33551c8

does not consider sd-ext

note, ^^ that script requires framework mods

but replacing the setprop with a bind mount can achieve the same without framework mods

( but setting Env DOWNLOAD_CACHE in init.rc would be required )
[G1 Android Development] s14evil:
I'm runing ads-magpie 20110220. So far it runs good. But for some reasion I can't send picturs via text, upload them to facebook, ect
[G1 Android Development] AndDiSa:
Can you explain a bit further, what's not working? I do not understand fully what you would like to do and what's not woking. If there is an error, can you provide with a logcat?
[G1 Android Development] s14evil:
I took a pictur with the camera. I tryed to txt it to some one and it did was say sending. It stayed that way for an hour, so i deleted that message. Could it be a setting not turn on
[G1 Android Development] NLJ:
:D

well if this is needed you can mount sd-ext with script in /etc/init.d, xVold will pick that up (just make sure that it has proper dir sturcture) (don't hit me, I only gave that SetEnv script quick look :) ) or moving vold up couple of lines in init.rc

would some proper syntax in vold.fstab for mount bind help here?

This DOWNLOAD_CACHE env need to be set in init.rc? Maybe init.local.rc (sourced much later and part of system not kernel) would be a better place?
[G1 Android Development] farmatito:
New Frankenstein Kernel 2.6.37.1 with minor config changes.

USE AT YOUR OWN RISK. NO WARRANTY.

Seems to work for me.

Enjoy.
[G1 Android Development] AndDiSa:
You mean: take a picture, open oi-filemanager, search for the picture, select the picture and choose 'send', select the destination, i.e. Gmail (or something else) and send the message?

That is working fine.
[G1 Android Development] billquinn1:
I know what he is talking about.

Take picture.

Touch thumbnail in corner on camera app.

Touch share.

Pick the app you want (I tried Facebook)

Add a comment.

Then it shows uploading in the status bar forever.

If you choose a picture from facebook and do it from the app it works perfect. Same thing with Gmail.
[G1 Android Development] billquinn1:
Can't try it right now but I suspect it will do the same thing. I think this is related to the camera app. If you choose the picture from the camera screen, it never sends. If you choose the picture from the gallery, the native app, or a file manager it works fine. I'll test it later.
[G1 Android Development] muldy:
Hi!

I'm just wondering what's the usual uptime with this ROM?

My phone (Magic 32A) usually random reboots before a 24h uptime :/

my /proc/last_kmsg (last one of many)

[ 244.592315] PM: suspend of devices complete after 11.737 msecs

[ 244.593505] PM: late suspend of devices complete after 0.579 msecs

[ 244.593505] [R] suspend end

[ 244.593505] [R] resume start

[ 244.593902] PM: early resume of devices complete after 0.365 msecs

[ 244.597320] ARM9 has CRASHED

[ 244.597320] smem: DIAG 'MOD SM-TM 00000
[G1 Android Development] Killadude:
Feature request: Update to 2.3.3 for VP8	(Android 2.3.3+ only) playback support.

Thank You!
[G1 Android Development] Poppu:
Are you overclocking your phone ? On my Magic 32B I used to have a random reboot once/twice a day with setCPU set to "On Demand" Min 245MHz / Max 614Mhz. I just changed the max value to 595MHz about 10 days ago, and since then no random reboot occurred (I think I may have done a voluntary reboot only 1 or 2 times on this period). And the performances are quite the same.
[G1 Android Development] muldy:
Never overclocked.

Overclock is a kernel setting right?

Never saw a option to overclock, and if I did... I wouldn't use it :)
[G1 Android Development] jdb78:
Did you flash another kernel or do you use the autokernel config of that ROM? Do other ROM's work better?
[G1 Android Development] muldy:
No, I didn't flash another kernel.

Been testing this for the last 3 days, and never got a uptime > 24h. I usually random reboots at 16~18h.

Now I've went back and flashed Cyanongen 6.1 to test this, to exclude hardware problems.

I have now a 9h uptime. (still soon), I have a uptime widget :)

I've used cm 6.0 and 6.1 before and I don't remember having such low uptimes.

Am I the only one?
[G1 Android Development] jdb78:
I use a HTC Dream with AnDiSa's modification of eZTerry's ROM and it runs flawlessly. I had one single reboot (I guess that was somehow related to my headset, not sure) within ~4 weeks now. So it seems to be rock solid.

Just to clear things up: to be able to overclock (or underclock ;)) your device, you would have to use SetCPU or NoFrills together with a kernel that is able to do overclocking (i.e. pershot, ezterry) So if you did not install any of these Apps you did not overclock your phone.
[G1 Android Development] hrk:
Finally here...

Heya, today I finally jumped boat... I'm on this ROM, AnDiSa variant (to have magpie).

First of all, it really runs faster than CM6.1. Way faster... I really couldn't believe it. That's really a good accomplishment!

Especially NeoCore! NeoCore gives me now 48 FPS (WTF!!!!) where CM6.1 only gave me around 21.4 FPS.

There's a lil' drawback, tho'... it only shows me fog/clouds/lights and no textures. But hey... clouds are really fast! :)

And now some serious feedback/questions.

1. It's really snappier than CM6.1, I'm amazed and happy.

2. Magpie works flawlessly... well... it works way better than my previous "sh fr-patch-141-BETA2.txt wtf should I choose, ok, reboot, wait I don't see the apps, reboot again, what does option X mean?... ok... seems to be working now." Really smooth.

3. NeoCore shows lights/fog/clouds but doesn't show textures. It did so in CM6.1, I don't know what may be wrong here.

4. I don't know if it's me, but the icons in the notification bar look smaller. Is it me?

5. Home screen is faster than ADW (I have never used anything else than ADW and I've started using android w/ CM5.08), but it looks to me that there is a lot of wated space that ADW didn't waste. i.e.: widgets look smaller.

4+5. Could it be a resolution/density issue? Something like the "high density lcd patch" I have seen somewhere in this very forum?

EDIT: here.

6. Notification sounds: I miss my old (default I think) notification sound. Don't tell me it was customized by CY!! :eek:

7. Without the PowerNotification/PowerWidget, I experienced a bug. I saw the phone was w/o data, so I browsed the settings, saw that "Use 2G only" was checked, unchecked it, unchecked "Use data", checked "Use 2G only", checked "Use data" and... it went 3G. WTF?

Back button and back (... forth...) and the "Use 2G" was not checked.
[G1 Android Development] AndDiSa:
you are right ... i can confirm that error: after changing from 2G to 3G or vice versa you are loosing your network provider and you have to re-select it.
[G1 Android Development] l0lcats:
I've flashed to the latest release of this ROM. Voice input still does not work. I liked being able to dictate my text messages but now when I hit the microphone button the voice box pulls up but doesn't take in any voice data and will just remain on screen until the Cancel button is pressed.

The google add ons pack that is available doesn't include gmail or maps or voice, etc. Gmail doesn't show up in the market after flashing to this ROM either.
[G1 Android Development] ezterry:
:confused:

Click the links.. if your carrier is blocking it (a) it will tell you and (b) use market enabler..
[G1 Android Development] s14evil:
I am still unable to send a MM message. I was using EZGINGERBREAD .0129 and now I'm trying. ADS 0220. is it because I'm on ATT or is some kind of setting
[G1 Android Development] crypticc:
Self removed
[G1 Android Development] jdb78:
AnDiSa: Hey I did not recognize you updated your ROM again. I'd like to test the build from Feb, 24th but the link seems not to work, I get a 404. Improving performance and e2fsck sound like it's worth trying. :) Could you please check the upload? Thx!

Edit: today I had that "missing SMS" bug, too. My wife sent a message and I never got it. Later sent messages arrived on my phone o.k. Unfortunately I saved my logcat too late so the specific time period is not in the logs anymore. I'll watch this and try to get logs.
[G1 Android Development] ZilverZurfarn:
2.3.3

Is anyone of you great rom cooks working from 2.3.3? There's a bug with AAC over RTSP in earlier 2.3, that me too is experiencing (ADS_Magpie 0220).

<edit>

NM, the bug obviously remains in 2.3.3. Oh well...

</edit>
[G1 Android Development] AndDiSa:
Should be synchronized now ... but there are not really very much differences compared to 0220. I've done mostly dev env changes in the last days :)
[G1 Android Development] jdb78:
Thank you, I'll give it a shot today :)
[G1 Android Development] jdb78:
Hm, oops. All my apps installed on sd-ext seem not to be installed anymore. The apps installed on the phone were still there after the update. I can see them without their icon but with an sdcard icon in the "manage applications" setting. Is there any way to get the apps from sd-ext back to work or do I have to install all of them again?

I forgot to nandroid backup before the update, stupid me.

EDIT: seems like sd-ext is not being mounted... can anyone show me how to mount sd-ext again? I don't know where the mountpoint is supposed to be

EDIT2: ok, I did

mount -o rw /dev/block/mmcblk0p2 /sd-ext

via adb shell and sd-ext is mounted again. The apps are still not working. df -h shows:

df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 55.1M 32.0K 55.1M 0% /dev
tmpfs 55.1M 0 55.1M 0% /mnt/asec
tmpfs 55.1M 0 55.1M 0% /mnt/obb
/dev/block/mtdblock3 91.0M 82.8M 8.2M 91% /system
/dev/block/mtdblock5 91.8M 59.0M 32.8M 64% /data
/dev/block/loop0 896.0K 896.0K 0 100% /system/lib/modules
/dev/block/loop1 2.5M 2.5M 0 100% /system/fonts
/dev/block/mtdblock5 91.8M 59.0M 32.8M 64% /cache
/dev/block/mtdblock4 27.0M 1.1M 25.9M 4% /dev/cache
/dev/block/vold/179:1
6.9G 4.5G 2.5G 64% /mnt/sdcard
/dev/block/vold/179:1
6.9G 4.5G 2.5G 64% /mnt/secure/asec
/dev/block/mmcblk0p2 457.4M 144.9M 288.1M 33% /sd-ext

I know there is no support for the binaries here - normally. But I'd like to know why this happens.
[G1 Android Development] AndDiSa:
Did you try to reboot? There shouldn't be any problems in mounting /sd-ext.

Edit: Probably an unrecoverable error while mounting? Should be a message in the logfile.
[G1 Android Development] farmatito:
New 2.6.37.2 Frankenstein kernel.

USE AT YOUR OWN RISK. NO WARRANTY.

Testers please report on usb/battery issue as I'm curious

to see the effect of some changes I've done, but to be clear

I'M NOT CLAIMING THAT THE USB BATTERY DRAIN BUG IS FIXED!

Enjoy.
[G1 Android Development] jdb78:
Yes I tried to reboot. If I run the 05mountsd manually i get the following error:

/system/etc/init.d # sh 05mountsd
sh 05mountsd
e2fsck 1.40.8 (13-Mar-2008)
/dev/block/mmcblk0p2 has unsupported feature(s): extents gdt_checksum
e2fsck: Get a newer version of e2fsck!

Might be because it's ext4 and not ext3?
[G1 Android Development] farmatito:
Try this e2fsck version.
[G1 Android Development] jdb78:
With your version I get

/system/etc/init.d # sh 05mountsd
sh 05mountsd
reloc_library[1311]: 2081 cannot locate 'ext2fs_extent_delete'...
CANNOT LINK EXECUTABLE
/system/etc/init.d #
[G1 Android Development] AndDiSa:
ADS_magpie20110224 contains a different e2fsck version than the 0220, because it's compiled from the sources while the other one was taken freom CM6.1. You can try to use e2fsck from the other ROM, but you have to copy the e2fsck libs from /system/lib/, too.
[G1 Android Development] MrShides:
Hey EzT,

Almost didn't post, I don't really have any relevent info. Starting monday, so 2 weeks after flashing, I started getting consistant reboots. We are talking anywhere from 1-2 consecutive random reboots, to me finding the phone stuck in a reboot loop. I left the phone plugged in with logcat on to see if anything made sense to me (I'm a n00b, so It might have said something but I didn't know it).

I've decided to start playing musical roms to see what's out there before unrooting it and passing it either to my 13 y/o or my mom, haven't decided. I'm going to be swapping out with either a mytouch 4g or a tmo g2.

I do have a question, and anyone in the know can answer it. Re: Kernals, I was running pershoots latest (as of 2/8/11, dunno if a new one has come out since then) with your gingerbread (I have green screen issue) and running your kernal you have linked in official TMO 2.2 rom when I had that running.

I know that there are these kernels with extra memory for the g1, and I'm wondering if in anyway the other kernels aren't optimized to use the extra memory in the fender/mytouch1.2? Although your roms are by far the fastest I've run so far, I would get wierd lag with apps and "blips" when listening to podcasts. Anyhow, I"m usre i have no idea what I'm talking about.

I'm currently running the nextouch3g rom just to see how it is, and it seems pretty stable so far. The podcast I listened to on my way in this morning seemed to run pretty good. And its neat to have swype back since not using it since it came preloaded on 1.6.

Anyhow thanks for your hard work, and any insight on my question would be cool if you have any. I know you don't have the phone, and it seems people w/ 1.2/fenders are in the minority around here. I think most of us are just happy to have a rom rather then complain about the few bugs.
[G1 Android Development] jdb78:
I chose the easy way: your hint that 0220 was different motivated me to try that build - and it works!

Nevertheless I tried to learn a bit about e2fsck and found this:

Since I am using ext4 this might really be the reason, why it's not working? Nevertheless, I'll stay with this build until I find some more time to do research. Maybe I should format the ext partition to ext3 again and re-install all apps then. Or make a nandroid now, wipe everything, format to ext3 and restore that nandroid. That should work, shouldn't it?
[G1 Android Development] farmatito:
Push also this libs to /system/lib/
[G1 Android Development] psilofx:
Thanks!

BTW, I've used another approach - downgrading sd-ext from ext4 to ext3 (making backup of apps first). In my case it was done within 3 minutes. So far, no difference in performance.
[G1 Android Development] jdb78:
Thank you everybody for the help.

Psilofx: I wonder how you made the backup. I tried cp -Ra /sd-ext /sdcard/sd-extbackup/ but it could not copy the permissions and owner/group correctly. So I assume I'd break my apps if I would copy that back, right?

Farmatito: thx for your libs but I assume it would be better to make the install work without hacks like that cause I would have to take care about that issue everytime I flash a new release, right?

I ain't got access to computers till Monday so I won't try anything up to then. Thank you everybody for making me a bit smarter!:)
[G1 Android Development] hrk:
Yes, they could/would break. FAT (the filesystem on sdcard) doesn't know about permissions, so it can't store them.

You can do this, though:

tar -cvzf /sdcard/myextbackup.tgz /sd-ext/

which makes a compressed archive (with knowledge of permissions) and then you restore it this way:

tar -xvzf /sdcard/myextbackup.tgz

Both commands are meant to be run from the root of the mounted filesystem. ("cd /").
[G1 Android Development] jdb78:
Hey thank you! I should have known this is related to the filesystem, shame on me. Of course FAT cannot distinguish permissions and rights. I'll try to do the tar thing back home when I don't need my phone so urgent. :) Thx and have a good weekend!
[G1 Android Development] psilofx:
Yes indeed, 'tar' made the magic in my case too.
[G1 Android Development] ThdDude:
Thanks man I played with your last one on Ginger Yoshi doing same with this one
[G1 Android Development] R3N0V4D0:
link to this ADS_magpie20110224 plx?
[G1 Android Development] crypticc:
Thank-you.

Unfortunately this is not wi-fey of Frankenstein. Wifi doesn't start same errors as last time so presumably wifi lib still needs to be recompiled for this new kernel. Magic 32b.

Shame. Its blisteringly fast.
[G1 Android Development] hrk:
Lost apps?

I updated from ADS_magpie*20 to *24 version and I now don't see any of the SD-installed apps. The procedure was simple: download .zip, reboot into recovery, flash zip and reboot.

As per instructions, no /data/local/userinit.d or /sd-ext/userinit.d were present, I've choosen "sd-ext" as default install location (which doesn't explain why those apps were in the SD in the first place).

I am not sure it's related to SD-apps alone, since a couple of them were widgets and I doubt they were installed on the SD card.

Is this an expected behaviour or my error somewhere?

EDIT: WTF? Among others, I am missing Gmail, Youtube, Google Maps+Navigation... but I have Titanium Backup, my own NoFrills, Barcode scanner. I guess I'll nandroid-restore, just in case.
[G1 Android Development] farmatito:
Works for me on Dream. Sure modules.sqf is mounted?
[G1 Android Development] farmatito:
New 2.6.37.2 Frankenstein kernel.

Minor config changes.

USE AT YOUR OWN RISK. NO WARRANTY.

Enjoy.
[G1 Android Development] farmatito:
New 2.6.37.2 Frankenstein kernel + BFQ scheduler.

USE AT YOUR OWN RISK. NO WARRANTY.

Enjoy.
[G1 Android Development] juangil:
thanks I'll try it now

P.S "thank you" button has been clicked:D

Edit2: no go on superginger screen is no very responsive to touch
[G1 Android Development] tnpapadakos:
i get no wifi with this one unfortunately

tried rebooting, too...still no go
[G1 Android Development] AndDiSa:
You can download it from the link in my signature.
[G1 Android Development] AndDiSa:
Probably there was a mess up due to the gapps-backup-script. You could try to clean al dalvik-caches (there might be two now: one /data for system-apps and one on /sd-ext for apps on /sd-ext!) and reboot your phone. Then everything should be fine.
[G1 Android Development] farmatito:
New 2.6.37.2 Frankenstein.

Features:

2.6.37.2 skeleton

2.6.35.10 pershoot arch/arm/mach-msm

2.6.27-HTC drivers/usb

2.6.37 drivers/usb/gadget

BFQ io scheduler set as default.

BFS CPU scheduler v0.363 by Con Kolivas

USE AT YOUR OWN RISK. NO WARRANTY.

THIS KERNEL IS FOR 32B and 2708 RADIO ONLY,

i cannot produce kernels for other phone variants

as I have not the hardware to test them nor the time.

IT IS TESTED ONLY ON EZGINGERBREAD,

if you want to use it on other roms I cannot help.

Testers please report on battery life after usb/adb usage.

Enjoy.
[G1 Android Development] farmatito:
New 2.6.37.2 Frankenstein.

Minor fix to silence mmc warning.

Usual warnings see above post.

Enjoy.
[G1 Android Development] jmccw:
no/VERY slow data connection - any help appreciated

Here is my logcat

pastebin.com/S0a4xzRZ

After playing with Lazlo 5.1 and Yoshi GB, I am back to 20110208-1.

I switched radios from 27.08 to 28.25 and back to 27.08 and now find I have basically zero data connection. Won't sync, won't install apps, won't load google.com, etc. The status bar 3g and signal icons won't even turn green.

I have superwiped and installed multiple roms and superwiped again but nothing seems to bring back my snappy data connection.

I have befitted so much from these boards but this is the first time I have had a problem. :(

I would humbly appreciate any and all help figuring out how to fix this. Thanks in advance.
[G1 Android Development] ezterry:
Many people with this complaint recently have ended up calling the carrier to find they where doing some network maintenance and it caused the outage.. a quick reset on their end and all was well again. (Besides that I recommend sticking to 28.25)
[G1 Android Development] jmccw:
Oh, I hope that is all it is! I will check with tmobile. Thanks for this and all you do, ezterry.
[G1 Android Development] crypticc:
Hi. Happy to check.

How do I do that?
[G1 Android Development] farmatito:
adb shell
mount | grep lib/modules

if you see

/dev/block/loop0 on /system/lib/modules type squashfs (ro,relatime)

it is mounted else you have to mount it

for i in /dev/block/loop*
do
ln -s $i /dev/`basename $i`
done
busybox mount -t squashfs /system/lib/modules/modules.sqf /system/lib/modules/
[G1 Android Development] guitargler:
Finally getting myself caught up with the latest SPL (1.33.0013d), but I need to be certain of this before I make the jump: will AnDiSa's magpie builds work with the 2708+, or is there something I haven't seen here? I'm on a recent one, but not the most recent one. Also, will an AutoMTD patched recovery menu work on this? I feel as though all of this is already answered somewhere, but I couldn't find anything. :/
[G1 Android Development] AndDiSa:
The recovery cannot be AutoMTD-pached ... you mean you have Firerat's custom-mtd patch installed on your recovery ;)

To answer your question: the last ADS_magpie builds all have auto-kernel, AutoMTD and Firerat's gapps-backup script included. I.e. even if you are not on the new SPL/radio combination, it should install when your /system partition is bigger than ~85MB.
[G1 Android Development] BibleBelt:
Hi,

I can't start wlan with your kernel either.
[G1 Android Development] BibleBelt:
Sorry, I forgot:

Magic