yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] irisiris:
Tried 17 Jan 2011 Alpha.. gmail still loops

SU is still not working...so i pushed the one i had from another pacakage and CHMOD is....File attached..unzip and copy File SU to tools folder in sdk...

Make sure debugging is ON.

attach phone to pc with cable

from ur sdk/tools folder now push file

Step 1 adb push su /system/bin

then

Step 2 adb shell chmod 6775 /system/bin/su

if u you get error like no space left on device..remove any apk from app folder..i removed GenieWidget.apk using this command

adb shell rm /system/apk/GenieWidget.apk

then goto steps 1 & 2.. done.

finally to check go to terminal app..and type SU..it should work now
[G1 Android Development] billquinn1:
This works surprisingly well. Smoother than I expected. Just a couple of things.

I need a Magpie lesson. Is there a way to just move everything to ext?

The second thing I think you already know is facebook sync.

One more thing is MTD did not work. I will nand, wipe, and reapply and see if it takes. it was working fine... well .. forever... so I will see.

Thanks again.

EDIT. MTD works fine I'm tired and an idiot.
[G1 Android Development] irisiris:
HTC Magic 32B latest radio SPL 14MB extra Ram

17 jan 2011 release

update gmail from market ..CSS and server access error seems so when trying to open the email individually to read.

Gmail logcat attached...

Edit: i am testing it over WIFI and GPRS/3G my net doesnt block https over mobile at all..incase someone wonders.
[G1 Android Development] konnspiracy:
Up and running with latest nightly.

Got SU to work thanks to this thread and setcpu is up and running.

This Rom is very very speedy.

Next step is to get compcache or swap working.

Will be using this rom as my main one so i will get you guys a logcat if anything goes wrong.

edit: Got swap working.

Still working on compcache
[G1 Android Development] billquinn1:
I really hate swap. I turned it on to fix a few lags. If anyone needs it just use FRs old all in one script. Works fine.
[G1 Android Development] konnspiracy:
Well can anybody give me a push in the right direction to set up comp cache?
[G1 Android Development] leifern:
smooth daily driver

Flashed this for the first time today and it really exceeds my expectations. Installed without needing any extra kernel on my 32a magic with old radio. Superuser installed fine from market and gmail from market is working. Great work!:) The only thing I have noticed are jagged edges on round drop down icons and round tick boxes in menus.
[G1 Android Development] Ohsaka:
Did you actually try reading an email? Or did you just pull up the Inbox list?

What file did you flash?
[G1 Android Development] ezterry:
This ought to be just google's faults on the graphics.. but looks like it was re-sized blindly with a bad algorithm I agree.. If it gets too much for me I'll poke the images. Otherwise poke some themer for a metamorph if you have superuser working.
[G1 Android Development] juangil:
just want to say thanks to Ezterry for this achievement & Firerat for the modded 20110117 is working great!
[G1 Android Development] leifern:
Ah my bad obviously hadn't opened an email for long enough because it is going back to the inbox like others have mentioned. Sorry for the false hope.
[G1 Android Development] Ohsaka:
Gmail is last hurdle for me to have a daily driver. I can't go without it. :(
[G1 Android Development] juangil:
but, we can use email.. whats the difference?
[G1 Android Development] Ohsaka:
Boot logcat: http://pastebin.com/wZvdJEye

I/mountsd ( 106): Checking filesystems..
I//system/xbin/run-parts( 71): executable e2fsck not found, assuming no filesystem errors
I/logwrapper( 112): busybox terminated by exit(0)
I/logwrapper( 117): busybox terminated by exit(0)
I/logwrapper( 119): busybox terminated by exit(0)
I/mountsd ( 121): /sd-ext successfully mounted
I/a2sd ( 129): /sd-ext/app created
I/a2sd ( 134): /sd-ext/app-private created
I/a2sd ( 139): /sd-ext/dalvik-cache created
I/a2sd ( 141): Apps2SD successfully activated
I/logwrapper( 71): /system/xbin/run-parts terminated by exit(0)
I/DEBUG ( 149): debuggerd: Jan 17 2011 13:22:43
D/AKMD ( 156): akmd 1.6.6 START

e2fsck is missing, might cause problems for people with flaky sdcards
[G1 Android Development] id242:
you have PM, with the correct images.
[G1 Android Development] id242:
I believe that the "email" application is a pull service based on the schedule you set, while the "gmail" application gets things pushed to it as they arrive.
[G1 Android Development] roalex:
Well you shouldn't have sync ON all the time if you want good battery anyway :)
[G1 Android Development] CBATESY:
Finally flashed the new nightly with magpie, runs super good, same thing, I didnt have SU, followed directions from the pervious post about pushing su into system/bin, worked perfectly. other then that, I know this is random and I saw it on my friends incredible but Im surprised no one has tried to figure out the screen on animation.
[G1 Android Development] id242:
Thanks for your sugestion, but battery life has never been an issue to me. I usually get about a day and a half out of my phone if I use it for what it is and don't play video games on it. Sync is always ON, also GPS and 2G/3G are also always ON. I don't use Bluetooth and the only time WIFI is on is when I'm at home - when the phone usually sits in a docking station and is charging.
[G1 Android Development] Firerat:
nothing in the UI to 'mass move'

but you could use the pm script on terminal

su
cd /data/app
for i in $(ls *apk);do
pm install -r -e $i
done

may take a while depending on how many apps you have

you may also get away with a simple move

su
mv /data/app/*apk /sd-ext/app/

but that is more likely to do strange things,
[G1 Android Development] Firerat:
yeah, might

it was missing from cm6 for quiet sometime , didn't create and real problems

still, should be easy enough to add it

just had a quick look, and it is built

external/e2fsprogs/e2fsck

DoH.. thats a dir :)

Anyway, its there just need to get it built and installed
[G1 Android Development] Firerat:
as others have mentioned, I'm using the email app

its not quite as polished as gmail, missing features like search on inline editing

but one thing I do love about it is the unified inbox

I tried k-9, but I just don't like it
[G1 Android Development] baalzotek:
How i can upload a fix?

Hi, i need to upload a fix in the repo, how i can do it?

Is a fix for libcameraservice.so error.

Thanks

Sorry, my english is very bad :P
[G1 Android Development] Firerat:
easiest way would be to fork on github, upload your changes to your fork and then do a pull request.
[G1 Android Development] Firerat:
yeah, the drawable-mdpi look ugly

did a simple resize with gimp on the hdpi , and it does look better, not fantastic but better

I could do a batch job, at 66.67% resize

attached

off is done, on is not
[G1 Android Development] ezterry:
You do not upload to the repo, I do.

There are many ways to submit a patch:

1) fork the repo on git hub, patch that repo, then, if the repo was forked from one of mine submit a pull request on github, otherwise add a link to thew commits on the issue tracker creating an issue for the patch if none already exists. (Note pull request OR issue .. not both please)

2) If the code is public (part of cm/aosp, but not in this build) just drop a link to the patch on to the issue entry in the issue tracker, creating an issue if needed)

3) use git format-patch to wrap up a commit in your local git repo and paste a link to the patch (in a file or pastebin) on the issue being solved on the issue tracker. (Create one if needed).

4) I also read PMs, git messages and comments, and this thread.. so links to potential problems are looked at.. but the above methods are more formal ways to submit a patch, to allow some review and when I find the time a formal responce.

This said don't assume I know of an error needing fixing so try to be clear on the bug report, and what the patch is for.
[G1 Android Development] Ohsaka:
I ran the AIO script to bind the data/data dir to the sdcard and then ran a full Titanium Backup restore overnight. It seems like the location specified in manifest xml file is overriding the "application -> install location" setting.

I had set install location to sd-ext, but ended up with apps in every possible location. They were still movable by selecting them in the application list and clicking "move to sd-ext".

I would think the desired behavior would be for the "install location" setting to override the android manifest xml file's location. Or perhaps the Titanium Backup restore process is bypassing the "install location" setting?
[G1 Android Development] id242:
Attached are the corrected mdpi button png's for framework-res.apk > \res\drawable-mdpi\
[G1 Android Development] bypass23:
Hi all,

Sorry for not posting in a long time. Problem is my G1 screen died on me so I only have a nexus one left and kinda useless for helping more at this point. I'm waiting for "free" parts from a bricked phone and I hope I'll be able to fix since i really enjoyed helping out for Gingerbread on G1 :D

Good thing the gps wrapper was the solution as I though but my G1 died when I tried it myself ezterry finally tested it out and works as I though !

Ezterry : you can look @ this commit :

https://github.com/CyanogenMod/android_frameworks_base/commit/ac83757c7f50f01e22c902c8ed23b358fa511e11 (Browser crash when GPS provider not available)

Provides a fix for browser crashing when gps not avail as mentioned which is/was an issue and the only work around I had posted was a quick and lame way of changing the home page... Even tho you have gps working I'm wondering if the browser still crashes if its not enabled. Maybe its worth looking at it as I cant test.

I'll keep u guys updated when I receive parts and see if I can fix my G1
[G1 Android Development] ezterry:
Seems a sound patch regardless, so cherry-picked locally.. and probably will be pushed out with my next push.

Best of luck with the phone. Make sure you use the service manual or you may find an extra screw when you are done with screen swaps.
[G1 Android Development] Firerat:
titanium tries to install to last location

I think Titanium uses pm

( I do recall some tweets with @NameLessJedi and @matrixrewriter ( dev of TB )

pm to get apps to correct location he will be using only -f and -s

the reason is this

before Magpie added new flag , the standard way to figure out if app was on sdcard(fat) or internal was to query the FLAG_EXTERNAL_STORAGE , if it was not 0 , then app was installed to fat, if 0 internal,

now, the way flags are done is quite clever

( I'm going to balls this explanation up, its in my head as a concept, not sure I can translate it )

internal is 0

fat = 0x40000 ( 262144 as dec )

sd-ext = 0x100000 ( 1048576 as dec )

forwardlock ( paid/private) app = 0x1 ( 1 as dec )

in packages.xml, flags are stored bitwise

so

normal app on internal gets 0

paid on on internal gets flag 1

normal app on fat gets 262144

no paid apps on fat !

normal app on sd-ext gets 1048576

paid app on sd-ext gets 1048577

with some simple logic you can workout what state something is from one intiger

but you have to know about those states first

convert the dec to hex for paid app on sd-ext, you get

0x100001

lets pretend you can install paid apps to fat

262145 in hex

0x40001

my gues is TB is only looking for 1 or 0 , if neither fat is assumed ( maybe some other flags are accounted for, idk )

meh, I made a total screw up of that explanation

its easier to do in code as the bitwise stuff is built in, but you can probably see why hex is used, its easier to check against bitwise in code
[G1 Android Development] Poppu:
I just did the test, browser seems OK with GPS disabled and default (Google) page is loading and even locates me correctly using network data.

Good luck fixing your G1.
[G1 Android Development] ma*:
Hi Firerat!

Flashed your first version of FR-110117-Magpie_GingerB-DS-AutoKernel_S.zip and have the new radio+spl 14mb ram.

Everytime i want to install an application from market logcat reports:

D/vending ( 719): [28] AssetDownloader.downloadAndInstall(): Initiating Download for 1 applications.
I/vending ( 719): [28] DownloadManagerUtil.enqueueDownload(): Enqueue for download com.android.vending.util.DownloadManagerUtil$Request@4054ea58
D/vending ( 719): [28] LocalAssetDatabase.notifyListener(): 2680583599129046250 / null
D/vending ( 719): [28] LocalAssetDatabase.notifyListener(): 2680583599129046250 / DOWNLOADING
I/DownloadManager( 530): Initiating request for download 13
W/DownloadManager( 530): Aborting request for download 13: not enough free space in internal download storage, unable to free any more
D/vending ( 719): [29] DownloadManagerBroadcastReceiver.handleDownloadCompletedAction(): Got a download completed intent.
I/vending ( 719): [29] DownloadManagerBroadcastReceiver.startNextDownload(): Found Paused URI null
I/vending ( 719): [29] DownloadManagerBroadcastReceiver.startNextDownload(): No more paused downloads.
I/vending ( 719): [29] DownloadManagerBroadcastReceiver.getDownloadStatus(): Unexpected status from download - 498
W/vending ( 719): [29] DownloadManagerBroadcastReceiver.handleDownloadCompletedAction(): Couldn't find pathname for completed download URI: content://downloads/my_downloads/13 -- assuming the download failed.
D/vending ( 719): [29] LocalAssetDatabase.notifyListener(): 2680583599129046250 / DOWNLOAD_FAILED
[G1 Android Development] Firerat:
it looks like you don't have enough space on sdcard ( fat)

please confirm by giving output of

su
df -h
[G1 Android Development] th3k1d:
So pull the framework-res.apk file from /system/framework/framework-res.apk then open it with say winrar the copy then png's in /res/drawable-mdpi then resign the apk and push it back to /system/framework/framework-res.apk ?

I've done this and it's giving me alot of FC's.. restoring the old file back now.

If anyone wants to give me better instructions on how to do it please do! :)
[G1 Android Development] dhkr123:
You didn't try long enough. The default settings in k9 *suck*, but it has a billion configuration options to make it the MOST slick email client on any phone. Not kidding.
[G1 Android Development] ma*:
Should be enough space on every possible install location

# 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 90.0M 77.2M 12.8M 86% /system
/dev/block/mtdblock5 117.8M 31.1M 86.7M 26% /data
/dev/block/mtdblock4 2.0M 776.0K 1.2M 38% /cache
/dev/block/loop0 896.0K 896.0K 0 100% /system/lib/modules
/dev/block/loop1 768.0K 768.0K 0 100% /system/xbin
/dev/block/loop2 2.6M 2.6M 0 100% /system/fonts
/dev/block/mmcblk0p2 474.1M 2.6M 446.9M 1% /sd-ext
/dev/block/vold/179:1
6.8G 4.2G 2.6G 61% /mnt/sdcard
/dev/block/vold/179:1
6.8G 4.2G 2.6G 61% /mnt/secure/asec
[G1 Android Development] Firerat:
I think I know how to look at config options

I just don't like it, for me the email app will do until the gmail issue is resolved
[G1 Android Development] Firerat:
hmm

well its not the install location, it is the temp download location

I thought that every market d/l would now go to sdcard,, maybe not

I'll confirm and include the bind cache for customMTD script again

edit: confirmed

attached is a fix, get it on sdcard and

su
sh /sdcard/bindcache.sh.txt
[G1 Android Development] Joskevic:
Installed last Magpie from Firerat this morning and seems to work nicely. Although I have some remarks/requests:

- gps works nicely when using google maps, but when using other navigation software such as Navigon or Sygic, apps FC (logs for both in attachment)

- requests: some CM features like power widget in pull down bar, battery% on battery icon, ...

- language request: some more languages (for me dutch is missing), maybe I can help a little with this (I know how to translate the xml-files)

Thanks for the nice job you already did. I never thought I could run ginger on my HTC Magic. Once more, Magic has been done :D
[G1 Android Development] Firerat:
the powerwidget request keeps popping up, tbh I do miss it myself

regards languages you need to fork ( or even create if its not already on ezterry's github ) then do pull request on your changes
[G1 Android Development] ma*:
Ok bindcache.sh.txt fixed the download issue, thank you.

But now if it wants to install an application the phone reboots and starts at the boot animation.

Logcat attached.
[G1 Android Development] lolmensch:
seems like kernelpanic even though i am very bad in log reading :D no space somewhere probably.

(i'm just guessing and learning)
[G1 Android Development] Firerat:
hmm, thats interesting

its failing to create a tmp file

that will either be in

sd-ext/app or data/app

the reboot is defiantly a bug, the null should be captured before it is passed as an arg

right now I can't think of any reason why this would fall over..

unless...

Magpie was flashed over a data wipe, and your default install location is Auto or Internal

there was a similar problem early in the thread, long before Magpie

if it is the same problem this should fix that

su
for i in app app-private;do install -o 1000 -g 1000 -m 711 -d /data/${i};done

less complicated way of writing it

su
install -o 1000 -g 1000 -m 711 -d /data/app
install -o 1000 -g 1000 -m 711 -d /data/app-private
[G1 Android Development] ma*:
OK, that fixed the problem again :)

Thanks!
[G1 Android Development] Firerat:
well, I have two things to look at now

why the dir structure is not being created

fix passing a null to install
[G1 Android Development] Firerat:
packaged as a patch

replace your framework-res.apk with the original and flash the attached zip

for anyone else, just flash the attached zip

Edit:

Sisterchick has posted a better patch here

http://xdaforums.com/showpost.php?p=10706983&postcount=535

I neglected to check the pngs were optimised

use Sisterchick's , it is better
[G1 Android Development] th2811:
Perfect work!

Any idea how can I lock ADWlauncher in Memory? (ADW-Setting doesn't do it)

Thanks!
[G1 Android Development] dillalade:
SNAP - new PNG's killin the look, nice one FR

this works wonders from terminal

$ su

# echo ro.HOME_APP_ADJ=1 >> /data/local.prop

# reboot
[G1 Android Development] Firerat:
get

auto memory manager

from market

menu --> running apps --> list

select andriod.prosess.acore

always keep alive
[G1 Android Development] Firerat:
well, acually

su
mount -o rw,remount /system
cat >> /system/build.prop << "EOF"
ro.HOME_APP_ADJ=0
ro.HOME_APP_MEM=2048
EOF
setprop ro.HOME_APP_ADJ 0
setprop ro.HOME_APP_MEM 2048

will probably work better
[G1 Android Development] dillalade:
You killed it again!

1. As for AAM - do you haver any specific value for the 6 levels?

2. As for Launcher, which do you prefer FR

a. Launcher2 which comes with the GB build

b. ADW

c. LauncherPro (think thats what its called)

d. Zeemlauncher (tested slightly, seems very swift.)

Your opinions are appreciated dude.

Thanks again for the above scrip enhancement ;)
[G1 Android Development] CBATESY:
Framework looks way better!
[G1 Android Development] bi0hzr:
that depends on how you use it, or what you prefere

launcherPro is awesome but, the paid version, cool widget and best scrolling, too smooth

adw Ex is my 2nd option, but i get miss the widgets (twitter, sms, calendar, friends etc)

zeem? i gess you are talking about zeam, its nice but there is a long way to ge it work like LP or ADW

there is a lot of others home replacemente, mylauncher, golauncher, sweeterhome etc, you should test, then decide.

im going to try the new gb update with LP

firerat, Ezterry, thx... a lot

sry for my bad english
[G1 Android Development] Firerat:
not my pngs, they are the ones id242 posted
[G1 Android Development] Firerat:
I'm using the Market ADWLauncher
[G1 Android Development] dillalade:
Please explain this sentence further, I can;t find a Paid version of LauncherPro

Couldnt find cool widget or best scrolling on Market.

Please be a little clearer so I can appreciate what you mean.

Thanks dude
[G1 Android Development] dillalade:
Cheers.

Been giving the stock GB launcher a go, but am missing the tweaks in ADW.

Stock runs well, especially with the AAM home lock and script home lock we just discussed.

Hope these 2 tweaks over ADW provide for even smoother Home.

Thanks again big dog
[G1 Android Development] lolmensch:
I am not really Firer4t, but I installed "Quick Launch Home" just some minutes ago and i like it pretty much.

But for gingerbread builds with lacking or buggy 3d, i suppose zeam launcher would be the best.
[G1 Android Development] Tim35p07:
Ive got a problem with the latest alpha

Ive flashed the alpha, boot into the system,reboot

And flashed the bypass.

Boot the system but i got no root :(

Can anywere help me.

I'm so sorry my english is terrible
[G1 Android Development] th2811:
Thanks @ all for your help!
[G1 Android Development] billquinn1:
Follow the above direction. Easy way. Install the one linked "resigned"
[G1 Android Development] Firerat:
3D works just fine
[G1 Android Development] lolmensch:
i suppose you are sure. but then why are transitions and animations laggy?

(and i thought the gpu story was the reason why cm isnt supporting it anymore)
[G1 Android Development] Firerat:
you must have screwed something up, my transition animations are not laggy

and link the 'gpu story'

the reason CM doesn't have D/S support is because no one has stepped up to maintain it
[G1 Android Development] lolmensch:
that's strange. i did everything as always. also followed hints and tips which were given here.

I am totally sure that cyan made a tweet where he stated not supporting g1/magic/hero atm because the gpu is too weak.

other ppl said that graphics were the problem. cant recall who said that but it wasnt just one guy...

seems like i was wrong (again)
[G1 Android Development] Firerat:
it just takes one idiot to say something, another idiot to belive and repeat it and before you know it all the idiots are saying it must be true as everyone is saying it

here see this

http://twitter.com/#!/cyanogen/status/26819308826923008

no mention of, "no I'm sorry the it is just not possible on the dream."

However, yes the hardware is limited, but that doesn't mean it won't work

you just won't get all the bells and whistles

besides the odd bug, the GB is running better on My G1 than CM5/6 did
[G1 Android Development] ezterry:
Yes it means some additional work was needed to speed things up to more than 2fps.. (see my oldest nightly)

But most of the speedups are either forward ports from CM6.1 by me or the various teams working on CM7.. Some just added in the last release.

I think something is not quite optimal with the graphics (still seems a bit smother on froyo) and any analysis or information you may have about such things are best added to https://github.com/ezterry/manifest-gingerbread-DS/issues/9/ so it's not lost in this thread.
[G1 Android Development] Firerat:
:)

did you ever reply to Cyanogen's tweet?

http://twitter.com/#!/cyanogen/status/21651553068781568

I did see you had integration into CM7 roadmapped in the issues list

actually, I should add those bugs relating the data/app(-private) not being created, + that null crashing Android from before
[G1 Android Development] AndDiSa:
Patches to solve some issues

Ezterry and Firerat did really a very good job! The current Gingerbread release is running very well on my phone. Almost no issues, but some things (which were already reported here in the thread) are not working / missing. The attached patch will resolve some of them:

- added working superuser

- added e2fsck

- added compcache possibility (is to be called manually, no options yet)

Additionally i have added a workaround for the problem which was reported here one / two days ago, that modprobe was looking on wrong places. It seems to me, that the lastest releases do not have this bug any longer, but nevertheless the workaround will not harm.