yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] wesgarner:
Doing the changes now to add Cache space check (put props for you), then use zipalign -c 4 (props to oknowton) instead of any byte check or md5 (actually seems better for paranoia to make sure not only the size matches but the zipalign was actually done, also lessens runtime since it doesn't have to pull files from the data partition - which is kinda annoying in itself to have to use the checksum files)
[G1 Android Development] naimsiddiq:
Themes

Yes. If it worked for CM 4.2.6 it will work on this[/QUOTE]

Tryin to add theme to this rom. Hangs at G1 screen. Tried Melange 1.05 for 4.2.6 and pcmaniac blue 2.2 and just hangs. Should I continue to wait or reboot back beta rom. Wiped dalvik before flashing.

Thanks
[G1 Android Development] billquinn1:
Been sitting at

/system/xbin/busybox( 48): --- Copying CC Modules to EXT Partition

for a LOOOONG time. 20 mins maybe. Is that normal or is it hung?
[G1 Android Development] Abolfazl:
Tryin to add theme to this rom. Hangs at G1 screen. Tried Melange 1.05 for 4.2.6 and pcmaniac blue 2.2 and just hangs. Should I continue to wait or reboot back beta rom. Wiped dalvik before flashing.

Thanks[/QUOTE]

That's strange. If it continues to not work you could always add the framework-res.apk into Wes's ROM and then sign it yourself. It will use that one update file to flash it and theme it. I am not sure if this will collide with anythin Wes has added though
[G1 Android Development] wesgarner:
ZipAlign Script v1.1

Ok, after thinking about a few of the paranoia checks I thought...

If any part of copying, aligning, etc fails - the file is never created on cache - sooo what does it matter? No problems could occur! Anyone reading the adb would see Oh out of space, or Oh not a proper apk file

Tested that theory on a 0byte apk, a broken apk, a broken zip, already aligned apk, unaligned apk - that idea worked and never overwrote the original apk if there was an error

Maybe I am just not paranoid enough lol

I did set it up to create a log file at /data/zipalign.log

For users, copy and paste this code into notepad - save as 06zipalign

Then, the usual:

adb remount

adb push 06zipalign /system/etc/init.d

#!/system/bin/sh
# Automatic ZipAlign by Wes Garner
# ZipAlign files in /data that have not been previously ZipAligned (using md5sum)
# Thanks to oknowton for the changes

# Changelog:
# 1.1 (12/1/09) Switched to zipalign -c 4 to check the apk instead of MD5 (oknowton)
# 1.0 (11/30/09) Original

LOG_FILE=/data/zipalign.log
if [ -e $LOG_FILE ]; then
rm $LOG_FILE;
fi;

echo "Starting Automatic ZipAlign $( date +"%m-%d-%Y %H:%M:%S" )" | tee -a $LOG_FILE;
for apk in /data/app/*.apk ; do
zipalign -c 4 $apk;
ZIPCHECK=$?;
if [ $ZIPCHECK -eq 1 ]; then
echo ZipAligning $(basename $apk) | tee -a $LOG_FILE;
zipalign -f 4 $apk /cache/$(basename $apk);
if [ -e /cache/$(basename $apk) ]; then
cp -f -p /cache/$(basename $apk) $apk | tee -a $LOG_FILE;
rm /cache/$(basename $apk);
else
echo ZipAligning $(basename $apk) Failed | tee -a $LOG_FILE;
fi;
else
echo ZipAlign already completed on $apk | tee -a $LOG_FILE;
fi;
done;
echo "Automatic ZipAlign finished at $( date +"%m-%d-%Y %H:%M:%S" )" | tee -a $LOG_FILE;
[G1 Android Development] elessarelfstar:
flashing ur version of cm426. Watching through logcat. Sitting on zipalign 4 wireless_tether_1_60htc.apk 4 bout 10min - it's that normal?
[G1 Android Development] wesgarner:
hey if you would, please zip up a nandroid of it when its broken? I will work on fixing it - just throw it under a couple drop.io? Please =)
[G1 Android Development] wesgarner:
lol well the Market etc is a known bug I am still working on
[G1 Android Development] wesgarner:
What's going on with your A2SD?
[G1 Android Development] wesgarner:
The old term is better for MT3G users as the HTC IME works on the old term but not the new one (the enter breaks)

lol on G1s I moved the Dalvik-Cache back
[G1 Android Development] wesgarner:
Oops forgot to give you credit, my bad - adding now =)

Hmm US or outside of US?
[G1 Android Development] wesgarner:
Hey did you try running Dwang first?
[G1 Android Development] wesgarner:
lol right at the bottom of my signature =)
[G1 Android Development] wesgarner:
Are you using MT3G or G1?

MT3G automatically turns off A2SD and pushes apps from SD to the Data partition for a major speed increase (but if you ever switch to a diff ROM, that ROM will push the apps to the SD, the apps are never deleted from your SDcard either)

Also, try running terminal and type:

su

mount

(look for /system/sd, is it there?)

e2fsck -v /dev/block/mmcblk0p2
[G1 Android Development] wesgarner:
Oo, so did you go to a diff ROM after trying mine?

If so, sorry my bad - do this (in terminal):

rm /data/copydone

Trying to figure out a better method for this
[G1 Android Development] jdhedden:
Please add Stericson's Lockscreen

Yeah, I love Stericson's Lockscreen, too. Hey, Wes, how about adding it to your build?
[G1 Android Development] wesgarner:
Build 8.1 in progress

Update 12/6/2009 12:59pm CST: Going to try to released Build 8.1 today with some hopeful bug fixes. I need some beta testers who were having trouble with one of these issues: A2SD, GApps, 3D Gaming, (if anyone else was having bugs that I didn't mention and need fixing)
[G1 Android Development] cephaus:
doesn't the 10mb hack screw up 3D games?
[G1 Android Development] bkmo:
10 meg hack

I would like to try this on a new MT3G, but I have a few 3D apps I use. Is there any way you can post an alternate boot.img without the hack? That would make this a perfect combo for me.

thanks, and keep up the good work.
[G1 Android Development] paranoidpenguin:
Yes I was on the CM 4.2.7.1 after yours.

Installed it a second time, now with a ext3 formatted sd. This time it works like a charm.

Market is working, all apps are detected and working as far as I can see, I run this rom just a few minutes :)

Thank you
[G1 Android Development] wesgarner:
yup working on that now for 8.01
[G1 Android Development] wesgarner:
Great! Glad it worked - sorry for the bug
[G1 Android Development] PlzHELP!:
Since i dont want to wipe install, cant i just take your 8.1 and just install it?
[G1 Android Development] wesgarner:
Ya should work fine - nandroid first!
[G1 Android Development] PlzHELP!:
Thank you, thanks for the ROM as well.
[G1 Android Development] Joe333x:
i have a quick question about the 10mb hack. I know it has an effect on 3D games. But would it have an effect on a games like robo defences and how about emulators for snes and gen?
[G1 Android Development] wesgarner:
Nah shouldn't let me know if it does (just for curiosity)
[G1 Android Development] djn541:
WES! DOOD! This is extremely fast. booted for me in about 4 minutes. did a full wipe repartitioned sd, fixed ext, booted dwang and flashed/booted yours. This is the bomb! fastest i've tried yet. no problems at all so far. all of my apps were still in market. just have to reapply settings which for me is no big deal. Thanks for this. and thanks to all that have contributed to the android platform!!!:D
[G1 Android Development] PlzHELP!:
Google Nav, FCs on me :(
[G1 Android Development] Grooby97:
flash just the boot image?!?!

given that I am on a CM 4.2.7.1, can I just flash the boot image to get the 10mb RAM hack?

(I've already edited my build.trout.prop for the faster 3G/2G data.)
[G1 Android Development] wesgarner:
ya and my build prop's include the data edit
[G1 Android Development] wesgarner:
Go into manage apps and erase the google maps data
[G1 Android Development] Jamdat33:
Never mind, i had a glitch tht i caused by myself. Rom works perfect for me man. Thanks!!!
[G1 Android Development] ekeefe41:
Danger sl, g1, comming from dwang

8gig class 6. 64Swap, 512 ext3

Comming from dwang it was fine, but I then decited to wipe everything with ra1.5.

After wipe/fresh instal there is no linux-swap
[G1 Android Development] PlzHELP!:
I went to Maps right? then i clicked Clear data..

still FC
[G1 Android Development] Skynet2Mainframe:
hay there about to update to build 8 looking forward read it is fast, also i read that it is possible to flash a Cyanogen theme is this true and also if so would the Cyanogen Updater in the market work to get and flash the themes?
[G1 Android Development] surfoni101:
Labyrinth is slow as hell because of the 10mb ram hack
[G1 Android Development] Grooby97:
flashed the boot.img, got the 10MB RAM hack. Only concern is does the new CC module in your boot.img against CM's 4.2.7.1.
[G1 Android Development] :
I can't seem to get a cm4.2.7.1 theme running, hangs on 1st boot screen. Here's a logcat

http://pastebin.com/m5532dc78
[G1 Android Development] PlzHELP!:
I cleared Data from 'Maps', but my Navi still FCs. And why when I remove items from terminal they're still in my Packages?
[G1 Android Development] wesgarner:
Nah the Cyan Upadater won't detect the ROM to be able to flash
[G1 Android Development] wesgarner:
Usually the package manager won't know til you reboot

best thing to do is: pm uninstall [app]
[G1 Android Development] wesgarner:
Eh? The new CC module on mine is squashed into the modules.sqf plus, the ROM auto stores the modules on /system/sd/compcache too - if you want to make sure you are using those, edit your userinit.sh to no longer look in system modules
[G1 Android Development] djluis48:
Can you make the CM Updater to detec the rom?
[G1 Android Development] wesgarner:
Yea but then good chance is that whatever CM update you do could kill it lol

It just checks the build prop I believe
[G1 Android Development] djluis48:
Have you tried Metamorph?
[G1 Android Development] PlzHELP!:
It says 'Failure'

Can you help me with Navi?
[G1 Android Development] djluis48:
Suggestion: Can you make an edition without the 10mb hack? I would like to see how much the perfomance is affected without the hack. :D
[G1 Android Development] ccriffman:
Just a "BTW" Wes- I was able to flash a theme, plus install a mod with metamorph- this rom is awesome!! Well Done!!- Chris
[G1 Android Development] djluis48:
Wich theme? I would to install a theme on mine...
[G1 Android Development] ccriffman:
Sorry, But this above is B*^LSh8$- let me annotate the readings off my phone-

With 18 apps installed,

SD Card - total space= 3.12 GB

Available Space= 2.09 GB

SD Card Secondary

Total Space= 457MB

Available Space= 380MB

Internal Phone Storage= Available Space= 74.9MB,< With 18 apps installed? No way if Apps2SD is not working- Chris:p
[G1 Android Development] Skynet2Mainframe:
Hay there flashed the build 8. fast as always. just a quick question is anybody else hving probs with adfree. java.io.EOFException ? happend on the build 7 aswell.
[G1 Android Development] Skynet2Mainframe:
i also have apps2sd working

sdcard total 6.93 GB

available 6.87 GB

sd second 447 MB

available 372 MB

internal 81.24 MB

so ye it is defiantly working. :) again wes good job
[G1 Android Development] brucexu:
lol play it in 2D instead of 3D. works fine for me now after wiping and reflashing to fix the g-sensor.
[G1 Android Development] ccriffman:
The one I am attaching- Chris

OH Well- xda is on perma hold- it is "Sir_Mez-M-blend"-chris
[G1 Android Development] garz:
i got free internal memory 52mb out 89mb

and

free external memory is 4,189 out of 7,029

so is that odd, that only 52 megs is free out of 89. that means that 36megs are being used by something.... any help with this?

- - - - - -

other then that, everything runs beautifully and this rom is slick!

great job wes!

- - - - - -

ohh one more thing, any luck with getting steri's lockscreen workin on this rom?
[G1 Android Development] nephron:
Well im sorry that u think that my post was some bullsh*t but its what i got after an hour of trying to fix it. CyanogenMod was able to detect my ext3 partition along with my swap while this rom just gave me unavailble in secondary storage. I made a nandroid backup so i regained all my apps and settings though so its all good. Idk why it didnt work though....
[G1 Android Development] chevycowboyusa:
Good Job Wes!

Great job on the rom. Only thing happened so far was a reboot trying to D/L Amon's 1.5.0 recovery. No other problems so far.

Thanks!

Chevy
[G1 Android Development] Grooby97:
well..if I flash just the boot partition (boot.img) without the accompany module from your rom, it should not cause any problem right?

(currently CC is enabled in my user.conf and seems to be working fine for the last 5 hours or so).
[G1 Android Development] wesgarner:
Yea... I can 100% assure you that EXT and swap work, I use ext4 and swap lol

so dunno about your problem - worth checking into if you could get me a logcat when pulling up your storage settings, plus did you check in terminal?
[G1 Android Development] obry:
Been working great here too. MyTouch 3G - upgraded from CM 4.2.7.1, wiped before and after flashing and it has been running great. Very fast and stable.

Had issue with the Beta builds where it would hang after install at first boot resulting in a black screen that wouldn't go away but the final build fixed that.

Now I'm also using KspecDwang_Oreo_tiny-111809 (someone here mentioned it's was working fine with this ROM and it's also simple, small and a little more lightweight than some of the fancier Hero themes).

Beautiful Widgets works great and the Hero-themed Advanced Launcher works great too. That combined with the KspecDwang theme gives me a really nice Hero / Droid hybrid look which I absolutely love.

I have a question though, since the 10MB RAM hack takes RAM away from the GPU, doesn't that slow down transition, animations, and the performance of basic games (I don't play fancy 3D games but do enjoy some basic, arcade-style games). Is it possible to modify the 10 MB hack to be a 5, 6 or maybe even 8 MB hack where it would still leave some ram for the GPU for at least the more basic graphics tasks. Especially when we get a BFS kernel, add linux swap, move everything from the phone's memory onto the sd card I think this ROM should fly even without the 10MB hack judging by how fast it is now.

I wish Android apps would exit more gracefully or have a standard exit function so we don't have those memory / lag issues bc of apps running in the background just idling and eating up unnecessary memory.
[G1 Android Development] wesgarner:
Sooo going to be busy tomorrow with work

Still going to try to fix GApps problems with random users

8.1 I can hopefully line out those some bug fixes, plus going to include multiple versions, aka with without 10mb, with without this, etc...
[G1 Android Development] wesgarner:
This takes away from GPU1 Memory which is for 3D

GPU0 is for 2D, transitions, etc
[G1 Android Development] Grooby97:
thank you! but don't burn yourself out! :)
[G1 Android Development] wesgarner:
Ya you're good
[G1 Android Development] garz:
is 40 mb used out 89mb in internal memory normal? or is this some sort of bug?
[G1 Android Development] spacezorro:
Posts 4 and 7 in this thread tell you how to get the CM-Updater to update your rom instead of cm.
[G1 Android Development] wesgarner:
very very normal, on my mt3g I use

/data: 302848K total, 159112K used, 143736K available (block size 4096)
[G1 Android Development] pascanu:
Nice work! This is "dwang fast" (if I may say so) and very stable (at least for the last 12 hours).

Can you include a 32 MB cc module?
[G1 Android Development] Grooby97:
I am assuming you are referring to create a 32mb compcache swap? if so, you custom config compcache to do that. Just look up userinit.sh and user.conf in the forum.
[G1 Android Development] ngmasterj:
wow

Good god this is fast!!! Running on a MT3G and I was having problems with my phone's apps not restoring on a back up, so I had to format my sdcard and start all over re-rooting it. Stumbled on your rom because google maps wouldn't update and i can't seem to find the free version of better terminal emulator on the market anymore to flash the 10mb hack... this rom included everything I needed and more and I've never seen my phone response this fast before. Thanks a lot and keep up the awesome work!
[G1 Android Development] FatBoyExtraordinaire:
Loving the rom, slick as you knwo what, but I did run into 2 bugs. Well one bug and one "was-a" bug. The was-a bug involved the app Sound Manager. I installed it, but got a FC everytime I tried to open it. I rebooted the phone, and it hasn't FC on me since. The other bug, however, has reared it's ugly head again. It's the wallpaper switch causing reboot bug. It's happening to me on this build, although Cyan had fixed it in 4.2.6. Just a heads up, that's all.
[G1 Android Development] inuyasha84:
Installed it on top of CM 4.2.7.1; it's working fine (I love the new icons and google navigator) but GL apps aren't working well (Armadillo rolls shows a white screen and Speed Forge 3D is unusably slow).

Thank you ;)
[G1 Android Development] saywhat4118:
linux-swap

Is linux-swap recommended for this rom? If so what size would be the best? Currently i am running this rom without swap so I'm just wondering if adding swap will make it any faster. Thanks
[G1 Android Development] WebghostDK:
Bandwidth Limit Exceeded

The server is temporarily unable to service your request due to the site owner reaching his/her bandwidth limit. Please try again later.
[G1 Android Development] shagge68:
Linux-swap is definitely recommended. Set up 128MB of swap and you will see a difference. Adding swap is like adding RAM. You will see the biggest difference if you are using a G1.
[G1 Android Development] ninjabyte:
Lemme fix this real quick.

Edit:

All better now. I accidentally left the default 50gb bandwidth cap on this account.
[G1 Android Development] ninjabyte:
Yeah, but it only seemed to affect me with the automatic wallpaper switch.

I can manually change it all day, but once I enable that auto-switch, I get crashes/reboots.
[G1 Android Development] FatBoyExtraordinaire:
Exactly. It was a big problem up until version 4.2.6 where Cyan did something and fixed it. Wondering what's different about this build to bring that bug back.
[G1 Android Development] BrutalHoe:
ran it for 2 days had no problems at fast as hell too!
[G1 Android Development] sacredsoul:
Can anyone confirm which theme works or doesnt work?
[G1 Android Development] wesgarner:
Oops thanks lol
[G1 Android Development] wesgarner:
ha cool I'll check into it
[G1 Android Development] wesgarner:
Going to release a few versions for gamers and etc
[G1 Android Development] thehaunted:
looks good

Hi Wesgarner,

nice to see that some dev's make a complete Cyanogen solution.:D

I repartitioned my sd (fat32/ ext3/ swap 96)

wiped phone

and flashed your v8 (had CM 4.2.7.1 before)

All seemed 2 work fine..reboot and loaded the Enoch 1.4.7 theme

All was ok...untill I made a phone call...

After 30 secs the connection went gone!

It was in my home, normaly good connection. Tried it several times.

Now I went back to Cyanogen + Enoch

(I live in the Netherlands)

Couldn't notice any more speed on 3g, and the phone felt as fast as Cyanogen or dwang. But It was nice 2 have a all in one solution...So I'll keep tracking your development. Hope you like my feedback.:eek:

;)

Greetz JR
[G1 Android Development] jdhedden:
Google Maps 3.3.0

With Google Maps 3.3.0 just out, do we need builds with (for those that need the current internationalized version) and without Google Maps (for those US users that can get it off the Market)?
[G1 Android Development] vlcmstnsrfr:
going from WG-Build 7.5 to Build 8, my GApps no longer work... i open them and then they close themselves. Also tried fix_permissions, and it seemed like there were a few programs missing or something.

Last time I had this problem was on CM 4.2.4 I think and when I finally decided to wipe, GApps worked fine again.
[G1 Android Development] tricky76:
The Android 2.0 Stock Theme works. I applied the entire theme using Metamorph as well as the sliding animations and red droid boot screen.
[G1 Android Development] runderekrun:
Google Maps 3.3.0 is NOT installing for me on this rom. Is it installing for anyone?
[G1 Android Development] wesgarner:
Probably the new Contacts.apk
[G1 Android Development] wesgarner:
do this and it should work:

adb remount

adb rm /system/app/Maps.apk

adb reboot

Terminal:

su

mount -o rw,remount /system

rm /system/app/Maps.apk

reboot

I'll work on it
[G1 Android Development] wesgarner:
Yea it's a known bug for some reason when using Dwang's GApps

Package manager doesn't resetup permissions for the apps

Do this (you will have to resetup your GApps preferences)

su

rm /data/system/packages.xml

cp -r /data/data/*launch* /sdcard

reboot recovery

Load on my ROM again

reboot

then once booted, reboot into recovery

adb shell

adb mount -a

cp -r /sdcard/*launch* /data/data

fix_permissions

reboot

After doing that, it should not ever happen again
[G1 Android Development] wesgarner:
Anyone with GApps crash

Hey, since mine seems to be working fine on GApps

Anyone with broken GApps and has some time

Send me a nandroid backup of everything, please PM me the link =)
[G1 Android Development] obry:
My GApps and so far everything is working fine. However I am still experiencing an annoying bug (that's somehow a tiny bit less annoying in this ROM) where it would start dimming (and locking my screen) every 5 - 10 seconds as I'm typing a text for instance (requires reboot to fix) and I also had 1 ring of death (do we have a name for that yet) where I get a phone call and phone's buttons and trackball light up as if I'm getting call (which I cam) but the phone screen is black and the phone stops responding to anything (requires battery pull) - however I used to experience that every other call almost (who makes calls on those phones ... mine is in no shape to accept phone calls or text messages most of the time anyways as I'll be flashing a new rom or fixing the mess I created trying to flash another one) with CM's base roms - with this one I've only happened once so far.
[G1 Android Development] vlcmstnsrfr:
Thanks for the info! Will have it saved. Although a few hours earlier I was doing some stupid sh!t, fastboot then restored my phone with a DREAIMG.nbh that put me back at RC29... so I re-did EVERYTHING and now I'm back at WGB8 and everything works fine :) god that was a lot of work, i am never playing with fastboot again!
[G1 Android Development] runderekrun:
Thanks, but it is still not letting me. I also tried deleting maps data from in the data directory and still nothing.
[G1 Android Development] obry:
Having the same problem here - backed up my olds Maps.apk (thank god) and it still won't install. Tried uninstalling and reinstalling Google Voice (as I've read in other threads that that has fixed problems for people) but that didn't work either.

Do we know if we need to change something in the build.porp and build.sapphire.prop files to get it working or does someone have a working Maps 3.3.0 APK which we could just push to our devices?
[G1 Android Development] hatchetnyc:
Market Problems

Hi Wes,

This is the fastest rom i've ever used by far.

One problem, for some strange reason when I go into the market, I cannot see any PAID apps. I can only see "Top Free" and "Just in". Coming from Cyanogen's mod's i believe there's supped to be a "Top Paid" column. In addition i can't find any paid apps at all on the market. When I search for better terminal or twidroid pro it can't find it.

I cleared the cache for market and it doesn't seem to help. Any ideas?

All my other google applications are working fine.

Thanks for the help.
[G1 Android Development] djn541:
It's saying not a compatible update now??
[G1 Android Development] brick4byrd:
I got the 3.3.0 to work once you remove the old one and reinstall the old one again then update from the market. Hey Wes i just wanna say this rom rock n roll ! :D:D Waiting for more work from you!
[G1 Android Development] brick4byrd:
you need to reinstall the old map 3.2.1 to system/app than update from market

in terminal

su

#ash

# mount -o remount,rw /system

install /sdcard/Maps.apk /system/app/