yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] mcmugchu:
Hello,

I have two sim cards, one is smartone-vodafone hk and the other is 3hk.

I found that when I use smartone-vodafone sim in jachero (2.4,2.5,..2.6.3..), it always show out of service and after a while, it reboot and so in a boot loop...

When I use my 3hk sim card, there is no any problem.

I thought it was my sim card problem, but i found that the smartone-vodafone sim card works in other rom like any roger roms and my other mobile.

Anyone know what's the problem and how can I fix this?
[G1 Android Development] jigdagod:
It has to be illegal for Rosie to running around the track this fast. She moving at Usain Bolt speeds. Somebody check her for steroid use. LOL
[G1 Android Development] manup456:
Man this build is bad ass added my goodies and its even better jac get at me we got work to do. ;)
[G1 Android Development] Jrbourque:
Do I need to update to ext3 ? because when i exit the parted and did the update_fs it couldnt do it for some reason
[G1 Android Development] hell4hot:
how to change swap value

jac mentioned swap value is set to 30mb

but i parted my linux-swap to 64mb

can someone please tell how do i change the echo setting to 64mb and swappiness to 60

thanks alot in advance
[G1 Android Development] DMaverick50:
yeah its flying, and to think i was gushing about .5 just yesterday... i think drake's twitter said they will slow down on the updates since its such a solid build, but will do more with each update. Great plan in my opinion now i can sit back and enjoy this!
[G1 Android Development] DMaverick50:
i would change it if you can but using ext2 wont prevent you from running the build...
[G1 Android Development] ComplexMinded:
amazing.. this is home till bt is solved lol...
[G1 Android Development] Jrbourque:
when i tried to run that command it wouldnt let me do it can i do it in parted or no?
[G1 Android Development] DMaverick50:
i did it in 1.3.1 recovery console but i would think parted can do it. but if you have cyanogen's 1.3.1 just do it in the console(instructions in first post)...i know that works
[G1 Android Development] Jrbourque:
I think i got it to work kept hitting one off.....thanks
[G1 Android Development] sullitf:
Just went from 2.5 to 2.63 and I must say this new build is nothing short of amazing compared to the first "official" leaked builds. I went with a 128MB swap portion and left the default 30 swappiness. With 50ish apps installed and widgets on every screen (literally every screen is completely filled) I experience almost no lag.

Multitouch works great, all widgets and service work, flash 9 works, gps works, I really can't think of anything that doesn't (other than bluetooth and the LEDs of course)!

Great work JAC, drake, and everyone else helping on the builds. I didn't think a build designed for a phone with 90MB more ram would end up working so well!
[G1 Android Development] electrolemon:
Okay, so I put in

mkpartfs primary fat32 0 1536

Because I'm on a 2GB microSD card, and in return, I get back "Warning: You requested a partition from 0.00B to 1536MB. The closest location we can manage is 512B to 31.7kb. Is this still acceptable to you? Yes/No?"

What am I doing wrong?
[G1 Android Development] bradwombo:
you need to type this first

rm 1

rm 2
[G1 Android Development] rattlesnake8:
how can u remove or change the size of the linux-swap partition ???
[G1 Android Development] electrolemon:
Thank you, so much! I was following the instructions from the original post, and it didn't say to put a space in between the rm and the 2/1. I'm terminal-stupid, and only know intermediate commands, so I had no idea what to do. Thanks!
[G1 Android Development] Franklees:
We do download swapper and install it ourselves, correct? I just want to make sure that it is not running automatically without an icon. just want to make sure before i download swapper and install it.
[G1 Android Development] Adidas Reborn:
is it me or does this rom lag from switching from an app to the home screen and the clock w/ the weather wiget dont work either...
[G1 Android Development] DMaverick50:
if you dont have a 3rd partition set up then i would download the swapper app, it does not come with the build
[G1 Android Development] jc1337:
I am not going to lie, it isn't running any faster for me? I did everything just like the tutorial said and everything worked right. But the only thing that I haven't done yet is say the linux-swap to something higher than it's default. How do I do that?
[G1 Android Development] Franklees:
I do have a third partition set up, so is it running automatically without having to go and install swapper manually?
[G1 Android Development] DMaverick50:
yeah just flash the build and it will run like a dream, no need to overclock or do anything with swapper...
[G1 Android Development] sullitf:
Mine lags for maybe half a second when going home, depending on what app I am coming from. I'm assuming the slight lag is due to rosie being in swap and having to retrieved.

128MB swap by the way. If you're using a smaller swap and seeing a lot of lag you may want to redo your sd card with a bigger swap.
[G1 Android Development] hell4hot:
does any1 know how to change SWAP value, plzz

and wats the best values for 64mb swap and 128mb swap, thanks
[G1 Android Development] Shaquiel Harris:
ok guys this is like hurting my head im so confused.. ok i just installed cm's 1.3.1 recovery.. i have a stock 1gb sdcard with fat 32 and ext2 .. someone please tell me exactly what to do i am so confused.. Does 2.3.6 HAVE to use this Linux swap thing? please help i know im a noob at this and everything ive been trying to follow this http://xdaforums.com/showthread.php?t=534714 but its like rocket science to me.. I really want to run this 2.3.6 build like you guys are.. please guys help me with this. im on 2.3.5 Thanks.
[G1 Android Development] jugg2000:
So far, so good...

Everything is popping. I got the "HTC" screen up right now, waiting for the phone to fully boot up to the home screen. I partitioned using the recovery console.

Can I resize the partitions later? Or no?

EDIT: On set up screen now... that was a fast boot up for me.
[G1 Android Development] DMaverick50:
you dont need the linux partition to run the build, just flash it and download the swapper app if you dont want to use the 3rd partition
[G1 Android Development] munnabhai13:
hahaha...its funny because just like you i keep telling the same thing to myself but every morning i wake up the first thought that comes to my mind is hopefully there is a new update so i can flash even though i m getting tired of flashing i cant seem to stop...its like crack literally
[G1 Android Development] jc1337:
OMG, agreed! I hate and love it at the same time! :o
[G1 Android Development] Shaquiel Harris:
But i want to Make the third partition and make this linux swap.. everyone is saying how amazing this is with the swap file. Can you run me through the numbers for a fat 32, 500 mb ext2 (or ext3 whichever one is better) and a 32mb swap file to make this please? i see the first post but those are for a 4gb sdcard..and i dont understand how much to make for those numbers..
[G1 Android Development] dbhatesyou:
take out that 1gb card; go to the store and buy an 8gb or 4gb card thank people later. imo the 1gb cards arent worth having.
[G1 Android Development] DMaverick50:
newegg.com, you can get a class6 8gb for under 20 bucks and youll have it in a couple of days, definitely the way to go
[G1 Android Development] sullitf:
After you start parted (the "parted /dev/block/mmcblk0" command) you can enter "print" to see the specs on your card. It will tell you the size in KB, so if you have a 2gb card for example you'll see a number around 2048.

From there its simple math. Total - 500 (ext2) - 32 (swap)

If total is 2048...

Mkpartfs primary fat32 0 1516

Mkpartfs ext2 1516 2016

Mkpartfs Linux-swap 2016 2048

Just change the numbers to fit your card. Also, don't forget to do the "rm" commands first!
[G1 Android Development] jugg2000:
Swapper is taking forever... what's up with that?
[G1 Android Development] Franklees:
thank you.
[G1 Android Development] chulerico:
guys,

rom is best so far,

only things I notice even with trying different builds, hero, when I put a files via ftp or adb push, the phone cannot see the files,

such as wallpapers, etc until I umount and mount back, would like to remove and put files back without umounting the sd cards as right now is running swap and sys files, thanks

Sam
[G1 Android Development] jugg2000:
Yeah, I bricked two phones in a row and had to perform the walk of shame to the T-mobile desk, yet once again, trying to update my phone. I finally got it right and I feel so good! Yet... strangely, I want to flash another update for no reason other than just to do it.

BTW, Swapper is still taking forever to do it's thing on my JACHero 2.6.3 build... can I skip swapper? I thought I saw something about Swapper not being needed. What's the official word on that?
[G1 Android Development] Shaquiel Harris:
From there its simple math. Total - 500 (ext2) - 32 (swap)

If total is 2048...

Mkpartfs primary fat32 0 1516

Mkpartfs ext2 1516 2016

Mkpartfs Linux-swap 2016 2048

See i dont understand all of that!! now if the total isnt 2048 then what? This is so confusing!! Can you explain how you got the numbers? sorry man im completly weirded out and im getting brain raped from this :o
[G1 Android Development] abteer:
Great job JAC and Co. Fast ass ROM. The only problem left for me is receiving calls while in an app or in the browser. The call won't show up till after it's already gone to VM. Is anyone else having this problem? If your not are you running a bigger swap partition than 32MB?
[G1 Android Development] sullitf:
Well you want fat32 first, that's where the 0 came from saying it starts at the beginning. 2048 - 500 - 32 = 1516, that is where the fat32 partition ends. Ext2 starts where the fat32 ended, so it starts at 1516. You want a 500mb ext2, so 1516 + 500 = 2016. Linux-swap starts where ext2 stopped, use the same 2016, and takes up the rest of the card. In this case the Linux swap ends at 2048.
[G1 Android Development] djdeviance:
Omg drop the swapper app and take the extra time to do the linux-swap partition. It's completely worth it.
[G1 Android Development] jugg2000:
Yup, already created the linux-swap partition...

DONE!
[G1 Android Development] VGPOP:
First post needs to be fixed in the line:

mkpartfs primary linux swap XXXX XXXX

It's supposed to be mkpartfs primary linux-swap XXXX XXXX

The dash (" - ") is necessary here. I did it without the dash, and it did not take the command.
[G1 Android Development] Lou2serious:
I keep getting error invalid number when trying to create my linux swap partition

after #print my 4GB sdcard shows as 4003MB

Fat32 512B 3443MB

ext2 3443MB 3943MB

Then I try mkpartfs primary linux swap 3943 4003 and I get

Error: Invalid number

can someone help plz

thanks in advance
[G1 Android Development] Franklees:
can we set up the setup exchange ActiveSync account to sync gmail phone contacts, or is that disabled?
[G1 Android Development] djdeviance:
Check your sd size. It should let you know in parted.
[G1 Android Development] Franklees:
Another question, if swapper is running automatically, and we have no icon to control settings, how do we disable it to mount our phone to the computer? or do we not have disable swapper, since swapper is using the 3rd swap partition?
[G1 Android Development] Lou2serious:
it says 4003MB

on my mac it says 3.7GB

I've configured sizes for both 4003MB and 3700MB and still I get the same error
[G1 Android Development] paindoo:
help required

I have just installed 2.61 rom and it is running very fast however my market app did not start. when I click on it it open ans then phone returns to the home screen. any ideas how to fix it.
[G1 Android Development] VGPOP:
By the way, don't people need a SD card reader for this as well?

As soon as you do all three parition, of course deleting all contents of SD card, your current ROM won't load (at least it didn't load for me. After T-mobile G1 logo, it got stuck on a blank screen, it didn't even load HERO logo)

I had to remove sd card and put it on card reader, renamed file UPDATE, wiped, and then flashed.
[G1 Android Development] djdeviance:
You missed a character make sure it's mkpartfs primary linux-swap xxxx xxxx
[G1 Android Development] KennySmoothx:
lol anyone try linux-swap on a 1gb lmao xD
[G1 Android Development] Lou2serious:
still invalid error, are there sizes that i cannot make or?? I'm lost at this point. I followed the first page instructions plus the other thread posted on the first page.....no luck
[G1 Android Development] VGPOP:
Um, that would be me here.

It's noticeably fast. Have no problems so far.
[G1 Android Development] djdeviance:
Heh question how many times have you formatted your card? It may be fried. It's happened to me already with my 8g class 6. So I'm using an 8g class 4.
[G1 Android Development] KennySmoothx:
Seriously!? What partition sizes did you use!?
[G1 Android Development] VGPOP:
Are you typing linux swap (without dash "-") or linux-swap.

I didn't the first time and it gave me a

Error: Invalid Number.

Second time, it went smoothly.
[G1 Android Development] VGPOP:
600 FAT32

384 Ext2

32 Linux-Swap

1016 total.
[G1 Android Development] Lou2serious:
A bunch of times Lol so many updates and all but it always works when I created an ext3 partition for my appstosd, that sucks my back up is a class 2 4GB, i'll try that one and see if it works
[G1 Android Development] Shaquiel Harris:
i messed up typing.. and i cant delete the words with the del button how do i do it?? im in recovery console parted
[G1 Android Development] Lou2serious:
nope I didnt type with a dash do i have to type "linux-swap" or "linux swap"??
[G1 Android Development] djdeviance:
Dash. Use the dash. That's your error. USE DASHES everyone.
[G1 Android Development] djdeviance:
Just hit enter. It will not register and type it over again. That's what I had to do.
[G1 Android Development] Franklees:
Anyone ????
[G1 Android Development] Lou2serious:
type quit and start over
[G1 Android Development] waacow:
FYI, if you press <Shift> and <Del> button then it will proper delete the last letter.
[G1 Android Development] Lou2serious:
Thanks a million guys it worked
[G1 Android Development] Adidas Reborn:
do you have to linux-swap? will it make it go faster?
[G1 Android Development] KennySmoothx:
When trying to create my Ext2 partition during the linux-swap process..

I type

Mkpartfs ext2 600 984

Then it goes Partition type? primary/extended?

If i type extended it says it cant have a file system..?
[G1 Android Development] widto08:
@JAC or ...

Known differences between G1 RAM and Hero RAM

RAM mem:

G1=192MB

Hero=288MB

We know that the G1 uses half the RAM for cache and rendering leaving 96MB for processes. Assuming this would be true/same with the Hero RAM than this would leave 144MB for processes, correct? Now the difference between the remaining RAM is 48MB, 144-96=48.

In theory (as I understand it), swap = make up in lacking RAM or boosting whats physically available to something higher.

Is it possible to modify the ramdisk to use 144MB of the 192MB on the G1 and the have a swap partition of 128MB with a swappiness of 96MB to "make up" the difference?

OR...

Would it make better sense to make a linux swap partition of 96MB (288-192=96) and modify the .sh script to a swappiness of 48MB to better "mimic" the assumed available process RAM on the Hero?

I'm a bit of a noob when it comes to linux so I wouldn't know how to implement this and/or to see if this would make a difference or not.

Your thoughts....
[G1 Android Development] Shaquiel Harris:
ok guys made all three partitions.

did quit

now im trying to upgrade_fs and its giving me this..

sh: UPGRADE_FS: not found

Why is this happening?
[G1 Android Development] bradwombo:
I am still having problems getting any of the recent JACHero images up and running (2.3+)

Basically I have tried every mix of formatting, partitioning, wiping, class 2 and class 4 cards that is possible and has been mentioned here. I have been working on this for the lsat 24hrs without any wins.

Everytime I boot up after a flash I can see the lock screen and titlebar ok. But it always has the HTC screen behind it.

Here is a logcat I recorded from it http://pastebin.com/m5b58dd2

I have also tried pushing rosie.apk, but this did not help.

And these 2 excerpts seem to show it is ok.

D/dalvikvm( 326): Rosie launcher will have a 32MB heap

I/ActivityManager( 126): Start proc com.htc.launcher for broadcast com.htc.launcher/.RosieInitReceiver: pid=326 uid=9999 gids={3003, 3002, 3001}

D/RosieInitReceiver( 326): RosieInitReceiver start ...

D/RosieInitReceiver( 326): RosieInitReceiver end

Does any one have any ideas or can see any clear errors in the log

Thanks
[G1 Android Development] Shaquiel Harris:
Put Primary.

also before the linux one also
[G1 Android Development] DMaverick50:
make sure youre typing it properly, its likely case-sensitive.
[G1 Android Development] KennySmoothx:
Sweet I got all my 3 partitions..

Is there anyway to mount sd through recovery mode?
[G1 Android Development] Shaquiel Harris:
someone help..?

whenver i type uprgrade_fs it will get an error..
[G1 Android Development] armoredraven:
Excellent. I got all three partitions made and installed 2.63 without any hitches.

Just wondering, how does linux swap work? Does it auto start, do you have to turn it on, do you have to turn it off before mounting usb?

Oh, and if you wanna put the update.zip (someone was askin about mounting usb through recov) just go to console and use the adb push command after you adb mount /sdcard i believe.
[G1 Android Development] djdeviance:
Yes it auto starts.
[G1 Android Development] KennySmoothx:
Well if your like me and cant get ADB to work **** with ****ty vista, in recovery mode go into console and type

echo /dev/block/mmcblk0 > /sys/devices/platform/usb_mass_storage/lun0/file

Mounts flawlessly.. gotta love search ;)
[G1 Android Development] djdeviance:
Are you sure you can't get it to mount with Vista? I'm ran Vista now Windows 7 and I got ADB to work on both OS'. Uninstall the driver on vista and make sure the auto driver install is off. Then direct the OS to the correct folder where the driver is. It should work fine after that.
[G1 Android Development] dwang:
I would be careful with running these huge swapfiles and using high swappiness values.

It may feel faster initially, but after a day, your phone is going to get really slow and laggy.

A swapfile is no substitute for more RAM. Just remember that even a class 6 sdcard is still significantly slower than RAM.

If you still want to run a huge swapfile what I would do is turn it off at night and turn it back on in the morning so that everything gets re-initialized. Maybe set up a cron job so its done automatically. Busybox includes cron.
[G1 Android Development] KennySmoothx:
Dude I didnt know I could turn auto driver off.. everytime id uninstall this damn thing itll automatically install driver n then when I put update driver and Id direct it to the folder it would say its up to date -_-
[G1 Android Development] djdeviance:
Yes true that's why I'm using a 32mb swap size BUT if you restart your phone every night, like everyone should do while sleeping, then power it back up when you wake up you should be fine.
[G1 Android Development] dwang:
Yeah thats another option. Reboot your phone everyday. Seems like with all these new versions coming out daily, thats what people do anyways. :-)
[G1 Android Development] djdeviance:
Lol yeah. Took a bit of time figuring a work around it, but I did get it to install the driver by directing it to the correct folder. Haha way to work the system eh.
[G1 Android Development] greg35:
problem with htc mail

Hi Guyz,

I've just search all around the web but I didn't find anything so...

I've update with the last Drizzy/Jac 2.3.6, the phone boot well prompt for the PIN code then there is a message "Loading" (the home) then Force Close the com.htc.android.mail apps.

I click Force to close then The "Loading" for the home appear and the force to close in loop.

My Phone a French Dream

SPL of Hakayru

recovery cyanogen 1.3.1

sdCard with ~500Mo of ext2

Any idea ?
[G1 Android Development] jigdagod:
Just updated to 2.3.6 and I noticed that when you add a folder to the homescreen and open it that it looks expanded. Does anyone else have this problem?
[G1 Android Development] 13bjunkie:
had that same problem with one of Drizzy's last revisions.
[G1 Android Development] Rohaq:
I'm willing to bet money that everything will be fine, but will this work without issue on UK networks?

Cheers.
[G1 Android Development] teknomanelvis:
really hopin this would hit1000 pages :p , love the clear notification shade
[G1 Android Development] JAWheat411:
Guys relax about corrupting your sd. I have had this error several times after plugging up my phone with Swapper running. One time it was because I updated Swapper and it reset to default. Another time it was because I just forgot to set the path again. When I get the message on mine I just do the 3 finger salute. When the phone comes back on I don't have any problems. I really think this is a false alarm. Correct me if I am wrong. But I haven't seen any damage after seeing the message.
[G1 Android Development] gtrplr71:
I went ahead and reformatted the card and put the rom file only on it without a partition and am stuck at the hero screen repeating what do I do?
[G1 Android Development] Diceman4:
I have had the exact same experience several times without any permanent consequences.
[G1 Android Development] s0lidjacks0n:
Calendar Notification Bug?

Has anyone else had trouble dismissing calendar notifications,mine won't drag down and even if i dismiss it from the notification bar they continue to go off until the event is over.
[G1 Android Development] bobbybooshay:
whoa, dont be so quick to turn this thread into the old one

your sd card only has 1 partition and you're looping?

you just need to read instructions to get it to flash right.

you need to format your card into two partitions a fat32, then a small ext3(256MB) or so

question:

should i be able to go from 2.3.5 to 2.3.6 without wiping and formatting?
[G1 Android Development] PsychoKilla666:
format memory card, make sure you add ext3 partition [~512mb] wipe and update
[G1 Android Development] Diceman4:
I would wipe everytime, if you don't you are asking for a boot loop.

You should not have to format though unless you have problems. I haven't reformatted my SD since switching to Hero from cyanogen when JAC was on 2.3.3 and have had no problems. (Some apps get broken and need to be reinstalled from the market but that is minimal inconvenience next to reformatting the whole damn thing every time)
[G1 Android Development] bobbybooshay:
thanks. i'll wait a bit then. 2.3.5 is working juuuust fine.
[G1 Android Development] Nismo300zx:
for people on 2.3.5 and what launcher here it is..
[G1 Android Development] Randel77:
I installed 2.3.5 and no blue tooth, is there a way to fix?

If I install the DrizzyJAC r2.3.6 rom do I need to reformat my sd and create new a partition or can I just copy it to my card and update?

Thanks in advanced.
[G1 Android Development] RaQHoliday:
This has been discussed at length.

BT does not work on any of the HERO roms... YET.

It is recommended that you reformat your partition prior to installing any of the JACHero/DrizzyJAC builds. While I haven't personally been reformatting, I have been going in through ADB and deleting everything from /system/sd, and I haven't had any issues. Do as you see fit, and please use the search function. I'm fairly certain the BT question is answered in the first post.
[G1 Android Development] Chance Ill:
http problem on 2.3.6 has not been resolved. at lease with certain apps