yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] miketaylor00:
Auto Rotate Not Working

If your auto rotate feature stops working these steps should fix it for you. This issue is NOT specific to xROM. These steps will not prevent this from hapenning again. They address the symptom, not the underlying cause of this issue.

Extract the fix_rotate.sh file onto your computer. Then copy the file to the root of your sd card. Go to Menu --> Settings --> Sound & Display and uncheck the box for Orientation. Open Terminal Emulator and type the following commands:

su
rwsystem
cp /sdcard/fix_rotate.sh /system/bin/
reboot recovery #This will reboot your phone into the recovery menu. You can do this manually if you prefer.

In the recovery menu, open the console and hit enter. Then type the following commands:

mount /system
sh /system/bin/fix_rotate.sh
reboot

If you are using the MT3G you will need to run these commands from the adb shell since you do not have a keyboard for recovery.

When your phone comes back up go back to Menu --> Settings --> Sound & Display and check the box for Orientation. Auto rotate should immediately start working. Note: Make sure your phone is sitting in portrait view and make sure the keboard is closed (if you have one). If the accelerometer is in landscape mode when you turn on auto rotate it can mess up auto rotate.

Let me know if you have any problems.
[G1 Android Development] thedekhoi:
Do I need to have a 32mb partition for the backing swap? Right now I only have fat32 and ext4.
[G1 Android Development] miketaylor00:
As of now, yes you have to have a linux-swap partition to get backing swap to work. However, backing swap is in no way required. It will help with your phones performance but you don't have to use it. If you really want to repartition your sd card you can. Compcache 0.6 is supposed to support using swap file (ext partition) to use for backing swap. I am working on getting that working with xROM so that people don't have to have 3 partitions to use backing swap. So it's your call. You can wait until I get swap file working or you can repartition your phone.
[G1 Android Development] thedekhoi:
Thanks for the quick reply and advice!
[G1 Android Development] uansari1:
Looking forward to this bro... I'm not interested in creating a third partition unless it's necessary. I enabled backing swap in user.conf, but wasn't aware it isn't doing anything, lol...

One question, if we do use a separate partition as a backing swap, then we have the same problem of accelerated wear to the SD card, right?
[G1 Android Development] manup456:
1. O.k let me get some of this straightend out the lockscreen battery will not be back at all because stercison is working on a new lockscreen that will be added to the next update what it will feature is still not known but something great I know.

2.MyFaves was removed because it adds duplicate contacts every time the phone is updated thats why anyone who has duplicate contacts now has them from 1.3r3 and wont be back if that app is so needed then plz do go to another build.

3. Auto Rotate this is not a issue I have re-formated and flashed three times to check and it not a issue so I would re-format wipe and flash again. Also apps create problems with auto rotate not a build issue.
[G1 Android Development] miketaylor00:
Sorry if I didn't explain this correctly. I was assuming that the new lock screen would have the battery. It might not. I apologize if I mislead anyone. Hopefully it will since most people like it.

The Auto Rotate is not a ROM related issue. I had the same problem on Cyanogen. It is just a pain in the a$$ to fix so I wrote the sh file to make it a little faster to help people out.
[G1 Android Development] manup456:
Mike knows what he is saying because we are in contact all the time just got a little confused but he is the one to ask if your having problems me and Jac made him the go to guy so be nice to him he is doing great job with helping answer all the Q: you guys have. :cool:
[G1 Android Development] Droned:
Nice and fast rom, only the notification toolbar is too black to use several apps, just like the task manager and agenda app, just look :

Maybe you can fix this in the next update?
[G1 Android Development] crpercodani:
I get it every single time, I have rebooted and it still does it.

I had been using 1.3 for a long time and a few personal opinions: I like the old battery icon better, I like the new Edge icon. I miss the lockscreen but I see it will be back soon.

Other then that I am lovin' it, manup, jac and whoever else you guys are Grrrrrrreat!
[G1 Android Development] mr.r9:
Yes I agree with Droned, the toolbar is very dark for some apps including the music notification when its playing something. Other than that, great ROM JAC & Manup :) Very satisfied HTC Magic user :D
[G1 Android Development] Droned:
The lockscreen never shows up with me, I just push HOME button and I get immediatly the home screen. Whats wrong?
[G1 Android Development] manup456:
O.k so everyone having problems with lockscreen and force closes did you re-format your partition and wipe then flash. What build did you come from? And what radio and spl are you using?
[G1 Android Development] markimar:
Hey guys... if the swap back runs faster than just a regular swap partition, could someone upload their user.conf file? I dont have ADB and I don't know how to modifiy the file. And if you could be so kind as to where the user.conf goes after its modified.

Thanks!
[G1 Android Development] crpercodani:
I formatted with ubuntu and am using a 8gb class 6 with a 50/50 fat32/ext2, then wiped and flashed 1.4r3. I came from 1.3 and am using the newest spl and radio.
[G1 Android Development] MooNWalker:
Good. Goodgoodgoodgood.

Best.
[G1 Android Development] uansari1:
I only had the one FC on first boot in the Ringer volume settings... after a reboot, it hasn't shown back up, so I chalked it up to being a byproduct of my deleting all the ringtones you guys included and copying mine over.

Go into terminal and use superuser access to copy your existing user.conf file from the /system/bin directory to your SD card, then mount your phone to your computer and copy it over. Download Notepad++ to edit it... use Google to find it...it's everywhere. Currently though you don't need to worry about editing the user.conf file, because backing swap isn't working right at the moment... miketaylor00 is working on that. If you have a third partition, then you can edit the conf file to enable backing swap and point the user.conf to use the third partition as the backing swap.

You could always get a copy of someone else's file, but it's really not complicated and it's something you should learn.
[G1 Android Development] markimar:
Duh.. stupid me! I totally forgot about mounting with the pc... i've been on hero so long I forgot I could do that.

Thanks for the help!
[G1 Android Development] miketaylor00:
Ok, I have a crazy problem. My friend one touch rooted his mytouch 3g and put maxisma on it. Of course I told him to go to xROM. I updated teh radio, SPL, repartitioned his phone wiped it, ran the install and Maxisma sh1t still shows up in the apps. So I wiped the ext, wiped the phone, did it again. So I went into fast boot, erased the boot, system, and recovery partitions. Reloaded the recovery image, wiped reinstalled - Maxisma is still there. WTF? What does this guy do with his ROMs? I can't get rid of his stuff no matter what I do.

Edit: I finally figured it out. The dev folder was symbolically linked to the system folder. Doing a wipe never got rid of the dev folder and when it would reboot it would somehow overwrite the System folder. After I deleted the dev folder it installed without a problem.
[G1 Android Development] Mouahmong:
is there a way to get the circular clock onto the new update?
[G1 Android Development] miketaylor00:
Which clock do you want?
[G1 Android Development] Ryanmo5:
http://xdaforums.com/showthread.php?t=538189
[G1 Android Development] JakobFriedrich:
hey this new one seems fast how good is it someone help me out here...
[G1 Android Development] miketaylor00:
Yes, you will technically have the problem of accelerated wear on the sdcard. But from what I have read it isn't as much of a problem with new cards. As the card wears out it will automatically stop using blocks that are bad. So over time the overall size of the card would slowly diminish but you shouldn't have a lot of data corruption or errors. I've also been told that because the phone uses NAND memory instead of RAM it will eventually wear out like the SD card will. So it's probably better to have the SD card wear out than to have your phone wear out anyway. I really wouldn't worry about it. You will probably be ready to buy a newer better SD card before it wears out. As long as you don't use a cheap brand that isn't made well it will probably last longer than you need it to with or without swapping.
[G1 Android Development] miketaylor00:
How good is what, the ROM? It is AWESOME. And it is very fast.
[G1 Android Development] Mouahmong:
Oops! Sorry I had a typo on my previous post. I meant the circular battery meter shown in the xROM image of the G1 phone.
[G1 Android Development] youneek:
Does anyone know if we can push the HERO calendar widget to this build?
[G1 Android Development] felixsaysmeeow:
ive ran almost every rom i can get my hands on, on this forum and ive come to realize that hero is a little laggy and cm is dope but this xrom is by far my favorite. great job jac.

side note - if im running your r2, do i have to rewipe or partition to get to r3??
[G1 Android Development] miketaylor00:
You shouldn't need to wipe to go to r3. If you have problems after you might need to wipe but so far no one that I know of has had a problem with it.
[G1 Android Development] wc326:
the link for downloading 1.4.r3 doesn't work can anyt one help and put up another link please
[G1 Android Development] Ryanmo5:
No you can't
[G1 Android Development] androidmonkey:
I am looking for a fast build that doesnt lag. Im currently running CyanogenMod v3.6.8.1
[G1 Android Development] androidmonkey:
How is the battery icon killing the battery life? It should only run when you first wake the phone, correct?
[G1 Android Development] Ryanmo5:
There is no lag in this build.
[G1 Android Development] Ryanmo5:
http://www.mediafire.com/download.php?ocgtyemywnj
[G1 Android Development] miketaylor00:
I should make millions of dollars and be married to Vera Farmiga. But life isn't always fair ;)
[G1 Android Development] androidmonkey:
Anyone know if there are any other mirrors for this ROM? The download links in the first post are dead.
[G1 Android Development] Pfeffernuss:
OMG dude, TWO posts above you! :eek:

Rotation still does not work, also not in 1.4r3. Tried the script as well, no avail. Flashing back to 1.3 solved it immediately, with 1.4 no go. In not a single app, so it's not just the Home-screen which doesn't rotate, the whole accelerometer isn't functioning. As it all works properly in 1.3 there must be something wrong in this Rom in that regard.

Otherwise, greatest Rom so far!
[G1 Android Development] eruscool:
maybe something is wrong with your accelerometer because my auto rotation works fine on all apps including the home screen.

and thanks to the dev for this rom... it kicks ass imho it's perfect.
[G1 Android Development] uansari1:
Definitely not a ROM issue, as I've used every version of JACxROM and have NEVER had an auto-rotate issue. What SPL are you running?
[G1 Android Development] Droned:
After a reboot, the problem was gone!
[G1 Android Development] Mouahmong:
Is there a way to push the circular green battery meter onto the latest release?
[G1 Android Development] uansari1:
You already asked this question, IIRC. If it hasn't already been answered, you can assume the answer is no.

That battery meter was difficult to read and manup created a new meter for us. The new meter is tons better than the old one.
[G1 Android Development] miketaylor00:
I'm thinking it might be the spl too. Did you run the script from the recovery console? Most people who say it doesn't work run it from terminal emulator because they think it is the same thing.

I know another fix for it if it's not the spl. While you are on 1.3 copy the akmd and rild files out. Then push them after you upgrade to 1.4.
[G1 Android Development] Ryanmo5:
You can easily change it if you know what your doing. Download both versions, use 7 zip to open archive and transfer old battery files to new rom and resign it.

http://xdaforums.com/showpost.php?p=3184751&postcount=4
[G1 Android Development] Pfeffernuss:
Can't be the accelerometer itself as it works on Cya Rom's and the Jac 1.3 Rom as well. It only doesn't work (at all) on this particular 1.4 Rom...

Ran the script yes, in recovery console. Will install 1.3 again, copy the rlid files and push them afterwards. Good idea this!

No matter how it needs to be done, I MUST run this Rom! :cool:

[EDIT]

Okay... Installed a "dedicated" Sapphire version of this Rom and all is well! I thought only Wifi could be a problem when flashing Dream Rom's on a Sapphire but no, also the accelerometer can be affected as it seems! Thanks all for your help, and excuse me for my not-mentioning this "little" detail.... <ashamed>

Now reeeeeaaaallllllyyyyy happy!
[G1 Android Development] crpercodani:
Ok well I got the fc's to stop on ringer volume. I had to reformat my card, a 2nd time. Did it in recovery this time and when I reflashed it was gone. I think it is a problem if your coming from 1.3r3 without wiping or formatting sd.
[G1 Android Development] tf442:
Great ROM. Had some force closes and finally went back and wiped. Everything is fine now. I like the battery icon you have. I like no scroll bars. Great job all.
[G1 Android Development] Mikey:
I agree, i just thought he didnt notice them not being there.
[G1 Android Development] dweller88:
Hi,

I just thought for the sake of balance I'd mention that I miss having the scroll bars on this latest build.

My day is made up of short bus rides, short tea breaks and

short visits to the ****ter.

I tend to read short articles during these times and I pace myself by seeing the scrollbar move on the left edge. I can get my timing right and finish an article just as I need to get off the bus or whatever.

This morning I really missed not being able to judge how long the article I was reading was gonna be.

I vote for bringing back the scrollbars.

Cheers :)
[G1 Android Development] Kholdstare79:
Hmm, what happened to the myfaves icon in this build. I liked the lime green approach, but if we have the apk for the app can we just manually install it the same way with Cyanogens roms?
[G1 Android Development] uansari1:
Manup has already confirmed neither the scroll bars nor MyFaves will be back in this ROM.

If you want MyFaves do a SEARCH and you'll find the thread where the apk is posted.
[G1 Android Development] strikerz911:
Hey guys... My rotation also stopped working after updating from 1.3 to 1.4. I tried playing the game teeter to test it and the ball doesn't move at all. Being the noob I am, I don't know how to fix it... Help?
[G1 Android Development] uansari1:
Here's a potential fix from Cyanogen's thread. I believe miketaylor00 has alluded to this solution as well. Remember you need to boot into Recovery to do this... not through Terminal Emulator. Also, make a Nandroid backup first.

"Go into recovery, drop to console, "mount /data", then "rm /data/misc/akmd* /data/misc/rild*" and reboot."
[G1 Android Development] markimar:
Hmmm for some reason the phandroid app doesn't work. Just sits there with the rotatin loading animation?
[G1 Android Development] uansari1:
Phandroid is working on mine just fine.
[G1 Android Development] markimar:
Ol uninstalled. And. Re installed. Works now!
[G1 Android Development] senaia:
I noticed something strange with the browser and wondering if it's just me...

Landscape browser, one window, press menu. I get 2 rows of 3 icons

Landscape browser, 2 or more windows, press menu. I get 1 row of 6 icons... anybody else? Its nothing major, just looks a little odd that's all and as far as I can tell, everything is working as it should
[G1 Android Development] uansari1:
This is normal behavior...
[G1 Android Development] androidmonkey:
I am having some trouble installing this ROM.

I have the correct Radio and installed the Special SPL.

When I try to apply the update in recovery, it states:

Finding update package...

E:Can't mount /dev/block/mmcblk0p1 (or /dev/block/mmcblk0)

(No such file or directory)

E:Can't mount SDCARD:update.zip

Installation aborted.

Any ideas what may be wrong?
[G1 Android Development] miketaylor00:
It sounds like you made an update to a file in the zip and saved it. That or something became corrupt. Re-download the installer and try it again.
[G1 Android Development] androidmonkey:
Yep, redownload worked.

ROM is installed now but I dont see my apps thats on my EXT2 partition. Does this ROM do Apps2SD automatically? If not, which method should I use?
[G1 Android Development] miketaylor00:
It does do Apps2sd automatically. Make sure you apps are in the /system/sd/app or /system/sd/app-private folder. If you don't have apps 2 sd running even though you have an ext partition, you most likely are on the wrong SPL.
[G1 Android Development] Eduardo Carminati:
Hello, I installed 1.4r3 rom and after ending an incoming call the phone restarted and now i only can see the 'g1 logo' screeen.

I tried removing SD, I tried to use ADB... and nothing.

Is my G1 bricked now?
[G1 Android Development] miketaylor00:
Turn on your phone while holding down the home button. If that gets you into the recovery screen, go into the console and wipe your ext partition. Then wipe your phone and reinstall the ROM.

If you can't get into the recovery screen try the SPL. If you can't get into either you are bricked. But I seriously, seriously doubt that you are bricked.
[G1 Android Development] Eduardo Carminati:
It's POWER button + Camera Button?

It works, but what can I do now?

Thanks ;D
[G1 Android Development] uansari1:
That got you into the bootloader (SPL). You need to power off the phone, then power it on by holding Home+Power. That will take you to the Recovery. From there, follow Mike's directions (wipe ext partition through terminal and wipe the phone, then reboot). If you still have problems at that point, do all of the same things, but also flash the rom again.
[G1 Android Development] Eduardo Carminati:
That's the problem, i can get into SPL but not into the recovery mode...

Is there something I can do in SPL?
[G1 Android Development] androidmonkey:
You are right again :)

Im not sure why the SPL update didnt work earlier, it seemed like everything went just fine. I just checked my version and its still HSPL10.95.3000.

So, is it safe to update the Special SPL and just boot back up to the ROM? Do I have to update SPL, wipe phone, then reflash the ROM?
[G1 Android Development] miketaylor00:
Everytime that I have updated the SPL I have had to wipe and reflash the ROM. Reinstall the radio first just to be safe. Or at least make sure that it is on the right version. Having an old or bad radio when you update the SPL will brick your phone.
[G1 Android Development] youneek:
I have a friend on 1.3. Does he need to wipe for 1.4r3?
[G1 Android Development] miketaylor00:
*Shouldn't* need to. But I make no guarantees on anything ;)
[G1 Android Development] androidmonkey:
Got it working now, thanks :)
[G1 Android Development] Vyrus408:
I am also having the same problem with the incoming calls from my contacts. I figured out that if I add the area code with the number, it shows the contacts name BUT when I call out using the dial pad. It doesn't show the contact unless I once again put in the area code.... I there a way to fix this?? I added the area codes to all my contacts and it works fine. I just keep thinking I dialed the wrong number though when I call out from my own area code.. did I do something wrong?? :cool:
[G1 Android Development] uansari1:
Does your phone boot into the OS? If you can get to terminal emulator, then you can reflash Cyanogen's recovery. If you can't get the phone to fully boot, then you could use fastboot. I don't know much about it, but that's your best alternative. If that isn't viable for you, then you can always go into SPL and flash dreaimg.nbh, which will take you back to RC29 stock and then start over and reroot, etc.
[G1 Android Development] androidmonkey:
I installed the latest release but I dont see the green battery meter as shown in the screenshot. Is this a setting somewhere?
[G1 Android Development] miketaylor00:
That screenshot is old. If you look at the bottom of the post you will see screen shots of the current build. Manup changed it because it was really hard to see what the battery level was.
[G1 Android Development] androidmonkey:
I see. So no battery meter at all?
[G1 Android Development] miketaylor00:
Oh, I didn't realize you were talking about the lock screen. That one was removed because of an issue that would drain the battery. Stericson is working on a new one that should be out shortly. I don't know if it will have the battery on it or not.

I thought you meant the one in the status bar at first.
[G1 Android Development] terminal 7:
clock

Anyone know why when first boot the clock is in 2x2 format.

but from then on if you add the clock gadget it becomes the big 3x4 format ?

its done this even on the early builds and its no problem at all but it would be nice to have both available as a choice at the same time.

i know you can use the switcher app but it wont allow one size on one screen and the other size on the next home screen.

BLACK-G1

SPL-yep

RADIO-yep

ROOT-obviously

ROM- jacXrom ~ jacManHeroski-1.6r3a ( i switch alot )

OTHER HTCs - 'xda exec' 'touch elf' 'touch nike dual' 'spvm1500 '
[G1 Android Development] Ryanmo5:
Why would you want a clock on each screen?
[G1 Android Development] terminal 7:
clock small - clock big !

Its just a question, i do like the option of having different screens for different moods etc,

if was simply a functional thing then the digital clock in the top task bar would do just fine, its nice to have choices.

anyways, my question was simply if anyone knew why this ' small clock on first install ' thing was hapening? it was more a point of curiosity than anything else.

peace.

.
[G1 Android Development] ratana412:
call waiting still not beeping

Hi, I continue to have a problem with call waiting and this rom. I am missing calls because no sound notifies me when someone is calling when I am already talking to someone. I only see the notification afterwards that I missed a call. This was an issue with other roms with the stock sysem sounds removed.

This rom is perfect in every other way. Can anyone else confirm that this is a bug, or that it is working for them?
[G1 Android Development] srt4mn:
Found a bug, I unchecked the box for the auto-rotate home-screen in the extended settings menu and backed out and it still rotates when flipped to the side. This was on 1.4r3.
[G1 Android Development] slimster:
Sometimes with settings a reboot always helps. I had the same problem with the "vibrate on answer" and "vibrate on hang up" under call settings. I would uncheck but it would still vibrate....rebooted, no more vibrating. Just my two cents, I could be wrong but uncheck it then reboot.
[G1 Android Development] shafty023:
This would be a feature in Phone.apk . I'll open it up and take a look and see if I can come up with a fix
[G1 Android Development] eruscool:
i had had no issues with call waiting, just yesterday i received two calls at almost the same time and it notified me right away. just make sure you have the latest radio and spl. seems like ppl without the latest ones are having issues with different things. and btw this rom is absolutley perfect, runs like the phone should have run when i first pre ordered it.
[G1 Android Development] Vyrus408:
Thanks!! appreciate your help man.. I have the latest radio N SPL. Thought I might have did something wrong or did something whiles flashing. Stay Kool Shafty023!! :cool:
[G1 Android Development] ratana412:
edit: I do get the beep. it is just incredibly faint. Maybe this has something to do with the audiohack program.