yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] vmcp:
Really don't know what to tell you. I have yet to run into the problem of it not rotating. You DO have it enabled don't you? :)

Check in a shell;

sqlite3 /data/data/com.android.providers.settings/databases/settings.db "SELECT name,value from system where name='accelerometer_rotation';"
[G1 Android Development] Gimpeh:
Its enabled. I'm running it on a Google ION although others appear to be running it on a mytouch3g with no issues.
[G1 Android Development] vmcp:
yeah, weird. Thought the ion and mytouch3g were the same. Perhaps not?

What do you get when you do a logcat via adb? When I flip the phone I see the following:

I/ActivityManager( 1509): Displayed activity com.android.mms/.ui.ConversationList: 802 ms

I/WindowManager( 1509): onOrientationChanged, rotation changed to 0

I/WindowManager( 1509): onOrientationChanged, rotation changed to 1

I/WindowManager( 1509): Setting rotation to 1, animFlags=0

I/WindowManager( 1509): Config changed: { scale=1.0 imsi=0/0 locale=en_US touch=3 key=2/1/2 nav=3 orien=2 }

D/StatusBar( 1509): updateResources
[G1 Android Development] palosjr:
adb remount

adb shell rm -r /system/media/boot.mp3

adb shell reboot

the boot animation mp3 is gone now

if you eventually want to push it back let me know and I will upload it.
[G1 Android Development] Gimpeh:
I can't set up via ADB right now since I am at work. Whats the enable command via terminal? Settings says its enabled.
[G1 Android Development] IOmega666:
Well i tried to use compcache following this http://xdaforums.com/showthread.php?t=542899

but i cant make it to work :S i did what i says there, but i always get

=== CompCache status ===

CompCache version 0.6+

rzscontrol: 1: Syntax error: "(" unexpected

!!!ERROR Compcache disabled

rzscontrol: 1: Syntax error: "(" unexpected

CompCache: MemLimit (system) 16384(user)

rzscontrol: 1: Syntax error: "(" unexpected

CompCache: BackingSwap (system) /dev/block/m

CompCache: cc_swappiness - 30(system) 30(use

=== CompCache status output ===

rzscontrol: 1: Syntax error: "(" unexpected

what am i doing wrong ?
[G1 Android Development] Shaquiel Harris:
Ding ding ding ding!! we have a winner!! "apps like swapper" We dont use swapper any more. Swap partition bro. Swap partition.
[G1 Android Development] ChrisChavez:
Ya! I wanna know too!!! :o
[G1 Android Development] Godson1227:
I saw a post somewhere that said just type the commands in terminal but when I do it like it says nothing and I'm not sure if it's working or not so idk if its that simple
[G1 Android Development] IOmega666:
I tried the guide i posted above, just copy userinit.sh and user.conf and i gave them permissions with chmod 755, i previously edited the user.conf with notepad++ in windows, putting all to work as CompCache with backing_swap, but when i do the

sh /system/sd/userinit.sh -s

it tells me this

am i doing something wrong ?
[G1 Android Development] solid101:
what the diff with the 1.6a and b also how what are the steps to editing the swap and whats the best swap with compache or no compache
[G1 Android Development] PeDe7:
is it possible to avoid the htc loading screen??
[G1 Android Development] Coopaman:
Guys i entered my console to check my swap and this is what I have

total used free shared

Mem: 97900 9132 88768 0

0

Swap: 0 0 0

Total: 97900 9132 88768

can anyone translate this? and also tell me what I need to do to speed up 1.6r2a i have a 8gb sd card
[G1 Android Development] dragonranpu:
What I did was get ADB setup on my computer. That working then I got a couple of Neat little apps.

First was Notepad++ That Allows you to edit the user.conf.

Than I got ADB File Explorer V3

Using The second file I pulled the user.conf out of the system/bin directory. I opened it in notepad++ and changed the settings to match the stuff listed in the first post.

Then I pushed it back to the system/bin on the phone and rebooted. That was all.

Check out this thread for info on ADB and such

http://xdaforums.com/showthread.php?t=532719
[G1 Android Development] :
its saying you sont have any swap
[G1 Android Development] brian_v3ntura:
you have no swap. most likely ur swap is off. or u dont have the partition.

i have the code to enable swap if you want
[G1 Android Development] IOmega666:
EDIT :

i follow dragonranpu steps, and did it with ADB Explorer, and i got it all working .

Thx !! its pretty nice this 1.6r2 ROM
[G1 Android Development] Godson1227:
http://xdaforums.com/showthread.php?t=542899 here's a guide I found
[G1 Android Development] IOmega666:
anyway, how can i know that is really working ?

cuz i pushed the user.conf that i edited into system/bin and then pulled it back to see if it was rly modified and it was, but how can i know if its working ?
[G1 Android Development] Godson1227:
I got the same things what's goin wrong ?
[G1 Android Development] IOmega666:
well like someone said a page ago, i did this

sh /system/bin/swap

and i get this

and if i do

sh /system/bin/swap -s

i get this

what the hell am i doing wrong ? :S why is CompCache disabled ?
[G1 Android Development] dragonranpu:
Type sh /system/bin/swap -s Into terminal emulator
[G1 Android Development] L10nH34Rt:
Hey JAC & CC! Any chance you are gonna publish the 32B config.gz? Because I'm trying to compile the kernel for my 32A port of your rom and I want it to be as close as possible :)

Thanks :D

Of course if you'd like to support 32A devices yourself, I'll be more than happy to assist you in testing on my device :)

Kernel patch is here if you are interested :)

Thank you very much! ^^
[G1 Android Development] IOmega666:
exactly the same that i get with ADB using Windows CMD .
[G1 Android Development] n1ghtl1fe:
i thought compcache was confirmed not to really do anything for hero roms?
[G1 Android Development] ChrisChavez:
Some posts on here are saying that 96MB or something is the sweet spot for linuxswap...

I just want my Hero to run the best that it can... :)
[G1 Android Development] mobite:
help needed with user.conf

All,

First thanks all the devs for all this super duper ROM... The world won't be the same without your contributions!

Here is my question. I have been searching for ways to edit & update user.conf mainly to change my swappiness. I can edit (w/ Notepad++) and push it back to /system/sd. Here are my problems:

1. Initially, I tried to edit (via vi) the /system/BIN/user.conf directly from the console but it says it is a "read-only file". And I can't copy the PC version to from /system/sd to /system/BIN when the phone is in normal operation mode.

2. I then tried running the userinit.sh method from /system/sd. It seems to work. It is showing the changed swappiness when I "cat /proc/sys/vm/swappiness." but it turns back to the default 30 value after a reboot.

3. Then I tried doing the above in "recovery" mode. But /system/bin doesn't exist. And when running userinit.sh from /system/sd, it complaints that it can't mount /dev/block/mtdblock3.

I am probably confused of how this user.conf and any pointers will be greatly appreciated.

Thanks in advance.
[G1 Android Development] jcarrz1:
anyone else have google talk not working and the market just staying at "starting download" forever, the icon never shows up at the top?
[G1 Android Development] vmcp:
Terminal on the phone or via adb? I checked this log from adb via the command:

adb logcat

You can use the "log collector" app that is installed on the JACxHEROSki16.r2a rom. (believe it's on most of the other ones too) It will save the log to an app. i.e. email
[G1 Android Development] jf4888:
Changing swappiness is so simple you've used every other way, except the easiest way

Go into terminal emulator

Type su

Then type in

echo 100 > proc/sys/vm/swappiness

Then exit terminal

And swappiness is set

remember don't reboot because the swappiness will go based off default

And you can change the 100 to whatever you like just don't go out of your limit because your phone will freeze I choose 100

Cuz I have a 96mb swap so if you have 32 try 40 or 60

Or get a 96mb swap

And sorry jac for this post

Just helping a guy out
[G1 Android Development] lucky 69:
just flash this rom .great as always so far so good everythings working.had no trouble with text,mail anything with this rom.runs good took forever to load first time but i knew that.thank jac/cc ! also was wondering i have bettercut,i use on the other builds,first hero build .i went to change the icons,it showed them change when i was in the app butwhen i went back out to home screen nothing changed.has anyone had this prob?i know its not the rom its runs great .yes ive been searching and i posted this in here because i wanted to see if any one on hero build had this prob.thanks again for all your hard work jac/cc! OH YA THIS IS A VERY VERY FAST ROM!!!!!!!!!!!!!
[G1 Android Development] Gimpeh:
I moved it around a bit trying to get it to change and this is all the log collector got related to the sensor.

08-29 16:00:10.650 I/WindowManager( 1504): Screen status=true, current orientation=1, SensorEnabled=false

08-29 16:00:10.650 I/WindowManager( 1504): needSensorRunningLp, mCurrentAppOrientation =1

08-29 16:00:10.650 I/WindowManager( 1504): needSensorRunningLp, SCREEN_ORIENTATION_PORTRAIT

08-29 16:04:28.794 E/HardwareService( 1504): GetPreferredValue (settings.display.brightness, 102) failed!

08-29 16:04:28.794 E/HardwareService( 1504): GetPreferredValue (settings.display.brightness): read from property = 65

08-29 16:04:28.824 I/WindowManager( 1504): Screen status=true, current orientation=1, SensorEnabled=false

08-29 16:04:28.834 I/WindowManager( 1504): needSensorRunningLp, mCurrentAppOrientation =1

08-29 16:04:28.834 I/WindowManager( 1504): needSensorRunningLp, SCREEN_ORIENTATION_PORTRAIT

08-29 16:04:28.974 E/HardwareService( 1504): GetPreferredValue (settings.display.brightness, 102) failed!

08-29 16:04:28.984 E/HardwareService( 1504): GetPreferredValue (settings.display.brightness): read from property = 65

08-29 16:04:28.984 E/HardwareService( 1504): GetPreferredValue (settings.display.brightness, 102) failed!

08-29 16:04:28.984 E/HardwareService( 1504): GetPreferredValue (settings.display.brightness): read from property = 65
[G1 Android Development] jcarrz1:
Bi

Anyone?
[G1 Android Development] ChrisChavez:
WOW! A LOT OF HELP!!!! Much smoother now, thanks a lot man.

Think I'm gonna re partition my sd today to have a 96MB swap.

Are you using 1.6r2A??? If so, no slow down over time because of the high swap???
[G1 Android Development] ChrisChavez:
That's happened to me a few times on a lot of Hero ROMS.

Not too big of a deal. If you have a task manager, just kill the market place app, reopen it and try again...

Usually what I do when this happens is just a reboot and everything is fine.

You can even have multiple downloads that are "frozen" at downloading.

When you reboot, they will all finish downloading and install.

Hope this helped. :)
[G1 Android Development] xitaxuta:
Everything seems to be working for me
[G1 Android Development] BombaMyte:
Since I'm gonna have a good bit of time doing nothing this evening, I'm gonna grab 1.6r2a (these versions names are getting TOO long, LOL!) and try it out. Had to get rid of 1.5xx due to the SMS issue and head back to xROM, but switchROM (thx devsk) will help me test things out.

It seems like the SMS issue's "handled", so I'll be testing that for certain. I do have a question tho: My secondary partition is ext3. I've read that CC uses ext4. Is there any differences (performance, speed, etc.) between the two partition types?
[G1 Android Development] lucky 69:
yep i second that!
[G1 Android Development] jcarrz1:
google talk working for you guys too? cuz when i open it it just closes. and believe me i've tried everything, even reflashing and logging in w a different google acct. nothing. but its not the biggest deal to have apps, i just use jacxhero cause its wayyy faster than drizzy (which apps work with for me btw) and cuz of the eyecandy. i have my ipod for the apps... but a resolution would be nice, for example i use a tuner for musical instruments on there, and my ipod doesn't have a microphone...

whoawhoa just noticed, when i rebooted based on mr. chavez's advice, it said the process com.google.process.gapps has stopped unexpectedly. what does this mean?
[G1 Android Development] jcarrz1:
I dint think hero roms supported ext4 yet... mebbe i'm wrong, but yep ext4 is way faster. (for the roms that support it) but honestly, unless you install an operating system on ext4 on your computer, you're not gonna notice any difference, especially with 500kb apps on a phone.
[G1 Android Development] xJCHAVx:
Been running this yesterday afternoon on my G1 ... still fast as hell ...no problems with sms (i tested 10 out of 10 twice once yesterday and once today) ...and LEDs f'n sweet!!! JAC, Cyrowski all the other devs are awesome I appreciate all the hardwork n time. On another note I ran this on a friends my touch and got a blurry screen after the phone went to sleep ... so rebooted and set the time out to NEVER... accelerometer stopped working ... Guess i'll start puring through the older versions and c if I can find one that'll work on his my touch. Either way muchos gracias guys I'll be sure to donate ASAP (payday lol):D
[G1 Android Development] :
thanks a lot!!!! this saved me from having to push/pull userinit.sh everytime i flash
[G1 Android Development] jf4888:
Well actually im not using a hero ROM currently(waiting on someone)

Because I need stability because from time to time hero is never good enough for me

I want a stable hero rom

Not no "just as fast as cupcake" one either

But yeah it won't slow down in time that I know of usually(I think)

Hero roms are good for about a week with a 96mb swap set with 100 swappiness

So yeah good luck
[G1 Android Development] Abbens:
this rom is faster than 1.5R2 thanks
[G1 Android Development] mobite:
Thanks for the response. It was helpful. And I did finally find the right article that I can set the swappiness permanently even after reboot. Here is the right steps I did.

1. First I used your approach "echo.." to test the setting to determine the parameter values to use.

2. Once the value is set, I am ready to set this permanently by changing the user.conf

3. The phone should be in normal operation mode (ie. not recovery)

4. Connect to PC

5. use "adb" to pull the user.conf from /system/bin to PC

6. Edit it using "Notepad++" - make sure to select "Format" -> "Convert to UNIX" before saving the files.

7. type "adb push user.conf /sdcard" from your PC command prompt

8. "adb shell", and type the followings

a) su

b) mount -o remount,rw /dev/mtdblock3 /system

c) cp /sdcard/user.conf /system/bin/

Now the default value is changed.

Hope this helps.
[G1 Android Development] jcarrz1:
anybody else have this?
[G1 Android Development] :
Just thought i would tell you guys that HTC MUSIC + Browser = unbeleivable lag
[G1 Android Development] ChrisChavez:
I've seen that from time to time but I just ignore it cuz nothing bad ever happens from it... LOL

That I know of. =/
[G1 Android Development] jcarrz1:
yeaah, but does your google talk work? and what about market?
[G1 Android Development] BRAND1SH:
has anyone had any success getting rid of the fuzziness after switching to a different rom ? if so, which ?

thanks all
[G1 Android Development] :
what do you mean?
[G1 Android Development] amd85:
I am sorry but i would disagree with that, i tried playing music and then browsed the internet. I would not say it was unbelievable lag but there was a fraction of a sec delay the first time that the browser pops up. But once the browser fully opens up it is smooth and no lag at all.

Even when i excited the browser its just as smooth with or without the music playing in the background.
[G1 Android Development] GBerg2119:
I'm currently running JACHeroSki-v1.5r2 which I updated from JACxHERO v1.5 and my friends have been telling me that they have been receiving multiple text messages whenever I send them a text. Also, when I installed it, I don't think the wipe worked from the recovery seeing as how I still had all my pictures, videos, etc after installation. When I was checking ringtones as well I noticed I had duplicates of all the ringtones. Should I wipe and re-flash to the newer JACxHEROSki? Would that fix the problem? And seeing as how the wipe didnt work from the recovery, is there a different way to wipe it without reformatting?
[G1 Android Development] Coopaman:
No I have the 3 partitions, How do I enable the swap?

thanks in advance..

-If anyone sees this before he does and they kno how to enable the swap, you can also help :D
[G1 Android Development] Breakthecycle2:
Quick question...in Jac's builds he has both touchflow and "regular"? (the name slips my mind. If i wanted to ABD pull "regular" what are the commands I need?
[G1 Android Development] ccyrowski:
Launcher.apk

/data/app_s/Launcher.apk

however, once the system boots it's moved to sd so

adb remount

adb pull /system/sd/app_s/Launcher.apk /pathtoplaceyouwanttoputyourfile
[G1 Android Development] twistedumbrella:
If I only posted what I knew... It would definately shut this whole argument down, but I wouldn't be so damn popular ;)
[G1 Android Development] ccyrowski:
wouldn't be popular how? And what argument?
[G1 Android Development] mikkodd:
whats with all the beef?
[G1 Android Development] Breakthecycle2:
So could I do

adb remount

adb pull /system/sd/app_s/Launcher.apk/Desktop?
[G1 Android Development] twistedumbrella:
The Drizzy JAC bullshizzle. Best way to put it was Drizzy does one hell of an optimization. You and JAC do one hell of a kernel / system internal setup. I throw in scripting and some graphics stuff. Without that whole combination, I had to learn to optimize, theme, port, and god knows what else just to get the best of everything. A couple weeks ago all I had to do was my part. Eh, whatever. It's just too bad... I think we all know by now I don't take sides anymore. Just not worth it. We all have something to offer one way or another.

I'm not saying each one of us can't do it all alone, we just each seem to have a specialty.
[G1 Android Development] jcarrz1:
geez drizzy... even if the stuff he puts out (according to his twitter in a couple of days) is the best/fastest stuff ever, i might not use it... he's a little rude (www.twitter.com/heartbreakdrake)

cummon get over it!

Isn't this all just because jac was proud of his work and said something like "this is all mine" and then drizzy got all pissed? forgive people... geez jac would have been glad to add drizzy's name in...
[G1 Android Development] AbsoluteDesignz:
Makes me wanna age check people...I just always initially assume everyone is 26 like I am. lol.

Its funny how quickly uninvolved parties pick sides too.

I do not care about the details, I do not care whose build is faster at the time I will always use the most stable build IMO...all I know is that this is devolving (albeit a lot more subtly) into another Haykuro + whomever that dude was beef...

Its funny how sheeplike the common poster is...I honestly cannot believe people are taking sides over which build they prefer. Now to be honest, attitude wise JAC > Drizz...hands down...if I had to drink with anyone, it'd be Jac, seems much more collected...but I use Drizz's build...personal feelings over the reflected personality of the person behind the s/n...does not matter.

So all the random uninvolved folks...stay out of it.
[G1 Android Development] GBerg2119:
Anybody got advice? I'm using CM v1.4 Recovery. And also when I would repair the ext filesystems from recovery, the first time it would tell me to do it manually from the terminal. What is the correct code I would have to enter?
[G1 Android Development] ccyrowski:
Even so, it's important to note that XDA is an open community. You, JAC, and I list everything we change in our changelog. It's absurd to put "secret optimizations" in a changelog without saying what those are so we can benchmark them, implement them and give full credit to the creator, and/or improve upon them if we have the capacity to do so.

That's just my two cents on the matter.
[G1 Android Development] ccyrowski:
I'm 22. Just graduated with a Degree in Political Science! hahaha, the second most worthless degree next to an English Major.
[G1 Android Development] AbsoluteDesignz:
I was a business major...

I'm currently an accountant and I run a graphics design company and work for my boys T-shirt company as well..
[G1 Android Development] ccyrowski:
I'm a Director of New Media for a non-profit. Was Director of New Media for Mayor Ken Cockrel (Mayor of Detroit) until he lost the election to Dave Bing a Republican effing disguised as a Democrat!
[G1 Android Development] AbsoluteDesignz:
lol, that's rough man.
[G1 Android Development] devsk:
This is probably the fastest Hero ROM yet! That's good news! The browser, the home screen and the widgets, all work fine.

But the HTC dialer is abnoxiously slow! I mean it doesn't show up dialing when I press talk, and then the call doesn't go away when I press End. I ended up having a call going on in the background...very very poor response time there. Is there something to be tuned in the dialer yet? It was plenty fast earlier, so what happened?
[G1 Android Development] Coopaman:
Just loaded it on and noticed a change immediately, but i still have 0 for swapiness will having a 32 swap make it that much more faster?

if so can anyone help me out with the code for it
[G1 Android Development] Darrien13:
Whis is this SO FAST xD
[G1 Android Development] justanothercrowd:
Sorry i haven't been around much I'm on vacation this weekend.

You wont see me posting any negative comments about any dev as this whole thing has consumed way to much thread/space etc and it it just not productive or tactful and looks bad to any new visitors to XDA.

I'm not saying I've never gotten upset and posted something without thinking it through, but it shouldn't be commonplace.

When people work hard at something they may feel a need to defend there work if others try to discount it by either dissing it, not crediting the authors or whatever...i can understand that obviously but we need to keep XDA positive and welcoming to new members, devs etc

Whatever happened..happened. Done deal.

I'm a relaxed guy..and even after all this I am willing to keep it professional and try to continue helping out the xda community regardless of who is involved.

I am kindly asking others to do the same so we can continue moving forward and continue making notable progress.

(because if i was a dev who was new to this site...i may think twice after reading through some of these threads about posting my work here)
[G1 Android Development] Dror520:
totally agree!
[G1 Android Development] Shaquiel Harris:
Very true. It's Just that dude is annoying as hell. and you cant deny to that jac.
[G1 Android Development] devsk:
Props to you man!
[G1 Android Development] Shaquiel Harris:
got the 2.x system img Right on JAC.
[G1 Android Development] Graph.Two:
Im trying to figure out the same thing :)
[G1 Android Development] ChrisChavez:
Amen, brother...
[G1 Android Development] ChrisChavez:
YA! :confused:
[G1 Android Development] ChrisChavez:
QUICK QUESTION!

If I have a 96MB linux-swap partition does that mean this ROM will use it automatically?

Or will it still use 32MB swap and I have to type in some magical code to get it higher?

I know how to set the swappiness higher (I think) but just wanted to know if I need to set linux-swap higher or if its already set to recognize your partition size....

THANK YOU IN ADVANCE!!!! :DDD
[G1 Android Development] miketaylor00:
Was this issue ever fixed? I am getting the same thing on A. I even tried unloading and reloading compcache manually and I get the same error message that way. Can anyone offer me some insight on this?

Edit: Sorry the post I quoted wasn't the best one. This is referring to the error when Compcache is enabled.
[G1 Android Development] Lakers3408:
Swap is enabled by default

su

free

You will see your swap running with a bunch of numbers.

To change swapiness, I explained it a few days ago. Do a search here for Notepad++