yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] prasansk:
Changed my partition size to take care of the empty space at the end, but still no joy!

Here is the new parted info:

Number Start End Size Type File system Flags
1 512B 7622MB 7622MB primary fat32 lba
2 7622MB 8134MB 512MB primary ext3
3 8134MB 8166MB 32.3MB primary linux-swap

Also, this part of the log looks suspicious :

D/PackageManager( 503): Scanning app dir /data/app
I/PackageManager( 503): /data/app/Launcher.apk changed; collecting certs
D/dalvikvm( 503): GC freed 7963 objects / 458552 bytes in 216ms
I/dalvikvm( 503): Zip is good, but no classes.dex inside, and no .odex file in the same directory
W/PackageManager( 503): Exception reading apk: /data/app/Launcher.apk
W/PackageManager( 503): java.io.IOException: /data/app/Launcher.apk
W/PackageManager( 503):	at dalvik.system.DexFile.isDexOptNeeded(Native Method)
W/PackageManager( 503):	at com.android.server.PackageManagerService.scanPackageLI(PackageManagerService.java:2153)
W/PackageManager( 503):	at com.android.server.PackageManagerService.scanPackageLI(PackageManagerService.java:1808)
W/PackageManager( 503):	at com.android.server.PackageManagerService.scanDirLI(PackageManagerService.java:1720)
W/PackageManager( 503):	at com.android.server.PackageManagerService.<init>(PackageManagerService.java:497)
W/PackageManager( 503):	at com.android.server.PackageManagerService.main(PackageManagerService.java:261)
W/PackageManager( 503):	at com.android.server.ServerThread.run(SystemServer.java:126)
D/PackageManager( 503): Scanning app dir /data/app-private
I/PackageManager( 503): Time to scan packages: 12.665 seconds
W/PackageManager( 503): Unknown permission com.android.providers.htccdma.Specific in package com.android.phone
W/PackageManager( 503): Unknown permission com.android.email.permission.READ_ATTACHMENT in package com.google.android.apps.uploader
W/PackageManager( 503): Unknown permission com.android.launcher.permission.READ_SETTINGS in package com.android.settings
W/PackageManager( 503): Unknown permission com.android.launcher.permission.WRITE_SETTINGS in package com.android.settings
W/PackageManager( 503): Unknown permission com.android.providers.htccdma.Specific in package com.android.settings
W/PackageManager( 503): Unknown permission android.permission.INJECT_AUDIO_VOLUME_SETTINGS in package com.android.camera
W/PackageManager( 503): Unknown permission android.permission.ACCESS_ASSISTED_GPS in package com.htc.htclocationservice
W/PackageManager( 503): Unknown permission android.permission.ACCESS_NETWORK_LOCATION in package com.htc.htclocationservice
W/PackageManager( 503): Unknown permission android.permission.ACCESS_LOCATION in package com.htc.htclocationservice

I am new to this..so any help is appreciated

Thanks,

Prasan.
[G1 Android Development] Vulgrim:
latest release is awesome.

haven't seen a htc screen once since the inital start up and loving it, even with my stock 1 gig sd card :D

thanks for all your work guys
[G1 Android Development] robpet2:
can i do another nandroid backup and put in another folder so that the recovery reads that info when i wanna flash back to a different build ??
[G1 Android Development] learningmore:
Loving this hero better than Batman. Anyone no how to remove Twitter/chirping and the socialnetworkprovider via terminal or console. I don't use them figure the extra space should help.
[G1 Android Development] damnitpud:
Loving the speed of this ROM, Thanks to all that worked on it.

I do want to point out one thing, and it might of just been a fluke...but when i setup my google account it had no problems getting my email and calendar but the contacts only grab'd 6( i have 129) and would not sync. When i tried it would flash the sync icon then disappear. Waited about 15 mins and still nothing, tried doing the manual sync a few times in between that time. I did a reboot and it grabbed all my contacts now.

Thanks again for all the hard work put into this! I love the Hero roms but couldn't deal with the lag! Looking forward to future updates!
[G1 Android Development] zgmf-x322a:
has anyone ran the slow sd 2.63 rom on a class6 sdhc?

thanks ^^"
[G1 Android Development] DoCunnin2:
Any one interested in uninstalling the HTC lockscreen and installing the LOCK 2.0..............

I think this may be better suited for Hero than the default Lock screen?????

AnyoNE????
[G1 Android Development] larryhi:
its nice, but its to iphone like
[G1 Android Development] Franklees:
I am interested.
[G1 Android Development] DoCunnin2:
True but Look at the alternative??? it comes with better screens than the HTC lock. im reflashing now and going to

su

rm -r /system/sd/apps lockscreen etc......

i"ll report if it can work without being installed
[G1 Android Development] Franklees:
I have a question for you if you dont mind, i have only 6 gmail contacts that do sync to my phone when i set up the new rom. However i would like to import or sync my sim contacts to gmail, how can i go about doing this?
[G1 Android Development] larryhi:
You are right... but I changed my wallpaper to the lockscreen with something that I like... it's Bob Marley with some Marijuana leaves around him
[G1 Android Development] DoCunnin2:
Yea i changed mines too...i wish Jac would include a few wallpapers that are better than the JAcHero one...also shouldnt the thread be renamed to DrizzyJAC
[G1 Android Development] learningmore:
Can u post the pic of sir bob, and the full steps to change and remove the lock screen
[G1 Android Development] armoredraven:
The lockscreen wallpaper is just a simple jpg file located in /system/etc/lockscreen

The file is called default-lockscreen i believe. It can easily be pushed or simply changed in the update.zip before each update. Pretty simple actually
[G1 Android Development] larryhi:
oh the home screen click on the menu button, then tap on change wallpaper icon, then you have option between lockscreen or home, choose lockscreen and then choose gallery then you select the image from your gallery and then you crop the image and set it... you should then have the cropped image on your lockscreen.
[G1 Android Development] Franklees:
to change lock screen press menu>wallpaper>lock screen then select picture from your album
[G1 Android Development] Franklees:
Anyone, throw me a rope.
[G1 Android Development] Jason Syn:
Once you import your SIM contacts to the phone, go into each contact and make sure that Google is selected as Contact Type and it will sync those contacts to your Gmail account.
[G1 Android Development] larryhi:
go into settings, then into data synchronization then into google and then tap Contacts it should then sync your contacts... not quite sure if it grabs from contacts from google and sends your contacts to google.
[G1 Android Development] DoCunnin2:
if it is just a jpg file then why is it HTC LOCK Screen in the applications manager??? just checking before i phuk sumthin up lol
[G1 Android Development] DoCunnin2:
from the look of it this is just the wallpaper and nothing to do with the actual appliaction locker/slider
[G1 Android Development] doooshty:
here is a zip with all the default hero lockscreen wallpapers I put together. I'm sure it's been posted before, but someone might find it useful.

http://www.4shared.com/file/117718142/a4e275bb/port.html
[G1 Android Development] johnnylicious:
its located here

/system/etc/lockscreen/port/htc_wallpaper_01_lockscreen.jpg
[G1 Android Development] doooshty:
The .apk is called HtcLockScreen.apk data/app_s/HtcLockScreen.apk
[G1 Android Development] armoredraven:
Ha sorry. I remember doing that in the old versions of jachero. I think it still works though.

It is an apk though because the lockscreen function is no longer part of Rosie.apk, which it previously was. The lockscreen picture is still located there though. I did this because before we couldn't change the lockscreen wallpaper, but now we can.

Sorry bout that, but it will still work i think, i'm bout to do it
[G1 Android Development] Franklees:
I dont see an option to change the Google as a contact type? when i go into the contact > edit all i get is options to add additional information like their email, not a option to change contact type.
[G1 Android Development] mrfrenchfry:
You gotta go to your gmail account on a computer and click on contacts then add your sim card contacts directly into your gmail.

I think there may be another way but idk what it is.
[G1 Android Development] laimingju:
same issue with 2.6.3
[G1 Android Development] jamizzal:
i for one will be getting hero regardless....its the only phone besides the touch hd that i would even consider since it doesnt have a keyboard...i just think it looks great in white...even if it doesnt come to tmobile i will buy it unlocked i can sacrifice 3g service for it...
[G1 Android Development] goldenarmZ:
Does anyone know where the htc lockscreen app puts the cached image? Once you change your lockscreen with the app, pushing a file manually doesnt work anymore, so it must be copying the image somewhere else...

In case you're wondering why I want to do this manually when theres an app, I want a semi-transparent png file there which isnt supported by the app but does work if you push it.
[G1 Android Development] pyrowithydro:
just flased all working good... but my swapper app is missing?? i dont know whats goin on.. got a fat32 ext3 and linux swap partition
[G1 Android Development] goldenarmZ:
then you don't need the swapper app anymore.. go to terminal and type 'free'.. your swap space should be listed there.
[G1 Android Development] pyrowithydro:
total used free shared buffers

mem: 98328 95752 2576 0 208

swap: 262860 14960 247900

total: 361188 110712 250476

dunno what this means really... but thats what it says

269mb linux swap partition because i didnt care about the size i just wanted to b safe and have a huge 1
[G1 Android Development] goldenarmZ:
Its working fine but that swap partition is huuuuuuuuuuuge! Im not sure of the technical details of using a swap partition over a swap file.. but having the partition that size might actually cause lag. Most people don't go above 32mb.
[G1 Android Development] pyrowithydro:
i just remember when i had the swapper last time i used hero rom.. that there was something about 256mb swap size or something.. and i also heard somewhere that if u want your phone to run as close to the actual hero phone u have to have at least a 96 mb partition
[G1 Android Development] DoCunnin2:
LockSCreen HAS Been Removed the htclockscreen.apk

its in the system/sd/apps_s of the ext3 or ext2

FROM THE TERMINAL EMULATOR

$ su

# rm -r /system/sd/app_s/HtcLockScreen.apk

# rm -r /system/sd/app_s/HtcLockScreen.odex

must enter caps as is

THIS IS GREATTTT!!!!! it returns the SCREen to default

Shows

TMOBILE

time

battery percentage

screen locked

same as in cupcake etc

I AM SOOOO glad that i dont have to see that ugly piece of LOCk screen any more
[G1 Android Development] goldenarmZ:
Well with the swapper app, you were using a single file as the swap space so anything over 32mb introduced a noticable read time from the sd card, which manifests as lag in the interface.. you could set it to 256mb but it wasn't recommended. Im not sure if the same thing applies to using true linux swap, but I'm sure somebody here can enlighten us..?

I can see why someone would recommend a swap of 96mb to match the hero, but in practice it doesnt work like that.. the sd interface is much slower than internal memory, and the current hero builds we're running on the G1 have been stripped down and optimized within an inch of their lives, so they no longer have such a large memory footprint. 32mb of swap is considered optimal at the moment.. til somebody decides otherwise. :p
[G1 Android Development] pyrowithydro:
so what should i do? i dunno really how to fix the size of it and add the remainder to my ext3
[G1 Android Development] goldenarmZ:
You should be able to use paragon partition manager to resize without formatting.. just make sure you do it through a card reader and not with the card in the phone.
[G1 Android Development] goldenarmZ:
Just answered my own question.. its at /data/misc/locksreen if anyone wanted to know.. remove all the files in here and the phone will use whatever you store in /etc/lockscreen.. which can be a PNG with transparency :D
[G1 Android Development] Dutchie90X:
i LOVE this firmware... buttt i have 2 questions.

- I am looking for a new SD card, because I still have the stock one from my ADP. What speeds should I look for? I have found one with 8GB, 9 MB/s writing and 15 MB/s reading. Is that fast enough or should I check for a faster one?

- I am using 2.5 ATM is there any way to upgrade to the latest without wiping? Because I don't like setting everything up again...
[G1 Android Development] ibmr52:
-you should get 8GB with class 6, i think

-actually you can flash without wiping
[G1 Android Development] Dutchie90X:
I am not sure if that card i saw is class6. On that site it doesn't say which class it has, but if i check the speeds with wikipedia it should be class 6. its this one: http://www.sandisk.com/Products/Ite...M-SanDisk_Mobile_Ultra_microSDHC_8GBCard.aspx

Tried flashing now... with 2.62 it didn't work, but it does now with 2.63... anyways, i'm glad its working now :)
[G1 Android Development] jinx10000:
I have been running 128 / 60 for a few days now with very little lag. However, I have not ran 32/60 on this swapfile to compare. The swap usage is usually around 70 megs.
[G1 Android Development] wilbur:
i have a 6GB class4 sandisk SDHC microSD card.... so far i have been using the "slowSD" version -

a) is this fast enough for the standard version to run well

b) what class of card should i buy to get a decent performance

all advice appreciated
[G1 Android Development] manup456:
O.k jac i sent you my goods i hope it can all be added to your next release. :cool:
[G1 Android Development] iznasty:
Wanted to say thanks to all you guys for putting the hard work in and getting this hero build transfered over to the G1, works great and I love it!
[G1 Android Development] Zeltaz:
do you have to format the ext2 partition on the sdcard for this to work? what if i want to keep the apps that are on there?
[G1 Android Development] MortICi:
Is there anyway to change the default ringtone for the phone to something besides the internal sounds? Like an mp3 i might have on the sdcard?

I have rings extended installed, but it doesn't work from the settings context, however it works when i set the text message ringtone from withing text messages and the same goes for e-mail.

Also, how do you re-odex files? I had pushed a optimized rosie and mms apk and the odex files don't match...
[G1 Android Development] MonkySlap:
If you create a folder /sdcard/media/ringtones, you can put mp3 in there and they will show up as a option when you set your ring tone. An app that works for me is ringdroid. I like that app because you can select where in the track you want to start and end and if i remember right it is able to set it as your ringtone.
[G1 Android Development] efreese:
I'm lovin' 2.63, but the weather app keeps force closing when I tap on the widget (or select from the app menu). If re-flashed twice and still didn't fix it. Any hints?
[G1 Android Development] Franklees:
I have a 3rd linux swap partition for swap, but when i type in free this is my results, does this mean that the system is not recognizing the partition.

#su free total used free shared buffers

mem: 98328 96640 1688 0

swap: 0 0 0

total: 98328 96640 1688
[G1 Android Development] jaygajay:
To import your SIM contacts to google go to People>Menu>Import>Google. It should start importing SIM into Google.
[G1 Android Development] jaygajay:
Actually your right about this. 64mb should be just fine with all the Optimized apps and stuff. When I swap at 96mb and listen to music and open some other stuff and then run the "free" command swap uses at most 58mb so you are actually right. So 64mb should be good. But with 96mb still I dont see no lag or anything. And even when I listen to music and do something else the music doesnt start to chop up or anything. Last time I used a 32mb swap and checked free there was no free space left on the swap and everything started to slow down.

Right now my phone is just sitting not doing anything and it is already using 35628kb (35mb) of swap space.
[G1 Android Development] goldenarmZ:
Hmm.. more research is needed into this. I'm going to play about with the swap size and see if I can come up with a way to benchmark it. It may be that using a proper swap partition instead of a file eliminates any lag from the access time. If thats the case there's no reason not to use higher values.
[G1 Android Development] Jason Syn:
I wasn't gonna post till I could confirm it, I have had several missed calls when I am in the browser and a call comes in. I hear the ringtone, the call never shows on my screen, I can't answer it, and I miss the call after only approximately 2 or 3 rings.
[G1 Android Development] Nismo300zx:
I was just wondering if overclocking would help performance? And also is it possible to change swappiness through terminal?
[G1 Android Development] KennySmoothx:
Thats lack of memory dude.. Your phone is laging so bad that you hear the ring tone but it doesnt have enough RAM to process the image on phone(of the call).
[G1 Android Development] KennySmoothx:
Nismo, have you tried linux swap?
[G1 Android Development] Nismo300zx:
Of course i have a 70mb swap with default swappiness...i was just wondering if overclocking helps?...and if i can change swappiness without pullin a2sd.sh and pushing it back
[G1 Android Development] ccyrowski:
Put it on your sdcard as userinit.rc and it will bring it up on boot per the init.rc in the boot.img
[G1 Android Development] goldenarmZ:
Now theres a useful tip I didn't know about. :cool:

Would that need to be on the ext partition or the fat32?
[G1 Android Development] KennySmoothx:
Swappiness?? As in the settings in swapper?
[G1 Android Development] ccyrowski:
FAT32 good sir.
[G1 Android Development] goldenarmZ:
Much obliged.
[G1 Android Development] mikeyman77:
I loaded up 2.63 on my g1 and I see that Launcher.apk is on /data/app but it does not show in the applications settings menu. I have loaded original version of 2.63 and also the slowsd version and both do the exact same thing. I also tried to move it to /data/app_s but that did not work. Any thoughts? I have also tried re-flashing and that did not correct the problem.
[G1 Android Development] Nismo300zx:
I just wanna understand this right...i just have to pull a2sd.sh edit to swap settin of choice then rename to userinit.rc and flace on sdcard root?
[G1 Android Development] wilbur:
When using the Hero roms i've found that my contacts have synced with google - but instead of just syncing with "my contacts" as my old rom used to, it now syncs with "all contacts" (i.e. the full listing from Gmail which includes everyone i've ever emailed) - so I now have over 500 contacts, only 200 or so of which i wanted...

Any way that I can switch this back to only sync with "my contacts"?
[G1 Android Development] otto888:
Not that I've found. If you can just remove them from the gmail site.
[G1 Android Development] alritewhadeva:
Not sure but I think you can edit it inside the initial build, resign, and reflash.
[G1 Android Development] Nismo300zx:
Thats what i should have done but im not gonna be by a pc for a few hrs..i was hoping there was an easier way
[G1 Android Development] edwinr29:
you could do that, but if you wanna modify it after flash, i'd suggest pulling the file from /system/bin/

i had an issue the first time i modified it because i took the one from the update package, edited it and pushed that one and i got stuck after the t-mobile screen

but when i pulled, edited and pushed, it worked like a charm...
[G1 Android Development] madl3ss:
iv got a problem i've wiped and installed this rom, it starts up fine it gets the were it says HTC and glows the setup loads but forces closes, and goes to a black screen with the bar with the time and that at the top and nothing else
[G1 Android Development] toeshot:
A large partition for swap will not cause lag.

Virtual-memory/swap-partitions were created to overcome memory issues way back when memory was prime. for example we paid $80.00 to $100.00 for 1 meg of RAM (late 80's). Developers (in the 60's) found a way to overcome ram shortages by creating virtual-memory/swap-partitions. How this works is by taking processes that are sleeping and/or low priority and actually storing them on a reserved part disk and giving them address. Thus freeing up ram and allowing Awake or running programs to access more memory. When a program that was residing on the disk was needed it would be swapped out for the next lowest or sleeping program that was running. Hence file swapping, this was slow back in the day because of disk seek and access times, which have improved over the years. With SD cards or Solid State Hard drives the latency is very minimal and really not noticeable without benchmarking

This is the basics of swap-partition/virtual-memory

with this said, the swap-partition is not a running program or TSR, it does not reside in memory. it is simply a partition on the disk to use as extra memory if and when needed. what will make a difference on the swap partition is the speed of the card, the faster the card the faster the swap and the smoother the ROM will run.

I hope this helps some people.
[G1 Android Development] edwinr29:
Thanks for the info, Great post!!!!
[G1 Android Development] DMaverick50:
i have 10mb unaccounted for outside of my 3 partitions. could i rm 3 in the recovery console then add the extra 10 to that (linux) partition? by your analysis i think id like a larger swap but i dont want to have to format everything and reflash, perhaps theres a better way? thanks
[G1 Android Development] edwinr29:
Quick question??

Does ne body know where i can find a resign tool

Im thinking about making some modifications to future updates, and without resigning that would be impossible...

thx in advance...

EDIT:

also, does ne 1 know in wich floder the wallpapers are stored on the build???
[G1 Android Development] htcclay:
How long has everyone been runing 2.6.3....lags for anyone?
[G1 Android Development] pnaciona:
I don't know why you wanna copy the entire a2sd.sh to userinit...

I think what the OP was saying is put the line

echo 30 > /proc/sys/vm/swappiness

into /sdcard/userinit.rc.

You can then edit userinit.rc from your PC without having to go through adb (or through your G1's terminal emulator).

Of course, if you know linux at all, this is a trivial task. Just open your terminal emulator and change the swappiness value from within a2sd.sh. Reboot.

But rebooting takes time so just run this command (from the terminal):

echo <swappiness_value> > /proc/sys/vm/swappiness

Then you won't have to reboot. However, since you already have that value on the script, it will be used the next time you reboot your phone. Oh, don't forget to "su" when making changes.

Sorry to add to the confusion. If you're a Windows user, stop reading when you see the word linux. ;)
[G1 Android Development] smnnekho:
i have the same problem (search the thread or view my last posts via my profile)

no fix so far. i tried everything.

right now i'm building my own update.zip together from the most recent version and older ones that used to work for me....
[G1 Android Development] Nismo300zx:
Umm link to resign is in my sig
[G1 Android Development] pyrowithydro:
Just curious. the LED works when my phone is off.. but not when on. does anyone think that is kinda weird?
[G1 Android Development] edwinr29:
thx for the info
[G1 Android Development] pyrowithydro:
Ok.. so i have a 269mb linux swap partition.. LOL.. but anyway.. I have music running(187 songs on card) widgets on all 7 home screens, browser running, and texting like mad. no lag. no loading screens. no htc screen. running great.
[G1 Android Development] Nismo300zx:
Will try and input the command in terminal now...thankd fot the info
[G1 Android Development] alritewhadeva:
yea wonder why that is so :confused: