yashsingh1/xdaforums huggingface dataset:
[Touch Pro2, Tilt 2 Android General] manny05:
would anyone care to provide some info on what each command does? benefits?
[Touch Pro2, Tilt 2 Android General] arrrghhh:
He's commented each line... if you're not sure then don't use it. highlandsun also went thru them pretty thoroughly.
[Touch Pro2, Tilt 2 Android General] Entropy512:
I think the only thing that isn't in the category of "soon to be obsolete" or "explained by highlandsun" is the vm.heapsize tweak

I believe that vm.heapsize sets the maximum amount of memory a single app can use. As a result, it can sometimes fix applications that claim to be running out of memory when there is plenty of system RAM. (Traffic features in Google Maps are one thing that frequently breaks with the default setting of 12-16M)
[Touch Pro2, Tilt 2 Android General] manny05:
how much memory do you think an app needs? i mean how would i know what to set it to.
[Touch Pro2, Tilt 2 Android General] arrrghhh:
If you read the OP, that value seems good. AFAIK the default is 12, in the OP it's set to 32.
[Touch Pro2, Tilt 2 Android General] Entropy512:
Most of the Android forums I've read seem to recommend 32m - which seems to be more than enough for any app I am aware of. I think the majority of cooked Android ROMs for other devices use that value.
[Touch Pro2, Tilt 2 Android General] Starfox:
Added support for bluetooth:

sed -e "s% /system/bin/hciattach % /data/local/bin/brcm_patchram_plus -r --enable_hci %" -e "s%-n -s 115200 /dev/ttyHS1 texas 115200 flow%--enable_lpm --baudrate 4000000 --patchram /sdcard/BCM4325.hcd /dev/ttyHS1%" -i /etc/init.rc

This of course assumes you have patchram and the hcd files in their respective place.

-- Starfox
[Touch Pro2, Tilt 2 Android General] fortunz:
If this heapsize line is all I want to use from the thread, should I omit the ">> /sdcard/build.prop"? This stuff is all over my head, but I'm thinking that portion might refer to other commands I'm not using and a file I might not have. Any illumination would be appreciated.

___________________

The following two commands from elsewhere (as pulled from manekineko's custom conf) enable droidwall. This seemed like a good thread for them to be in.
[Touch Pro2, Tilt 2 Android General] Starfox:
For those using F22's rootfs with the new keymaps and would like to use it over the somewhat braindead one residing in FRX07, these commands will help you keep the mappings:

1) While using F22's rootfs with the correct physkeyboard, copy raph_navi_pad.* and microp-keypad.* from /etc/keymaps to /sdcard

2) Rename raph_navi_pad.kl to qwerty.kl

3) Switch over to FRX07, and add these lines to froyo.user.conf

cp -a /sdcard/*.kcm.bin /sdcard/*.kl /init.etc/keymaps/default

4) Then go to startup.txt, and delete any reference to physkeyboard=

This prevents the init from overwriting "our" keymaps with theirs, as keylayout processing occurs after parsing froyo.user.conf. The init copies whatever is in /init.etc/keymaps/default to the proper place in /system/usr/key*, then checks /init.etc/keymaps/$physkeyboard/ exist, then does the same for that directory.

If you want to preserve the default keymaps directory for some reason, you could also do:

mkdir -p /init.etc/keymaps/custom

cp -a /sdcard/*.kcm.bin /sdcard/*.kl /init.etc/keymaps/custom

And use physkeyboard=custom for steps 3 and 4.

Now time for a rant:

Really why even bother defining a key to GRAVE (microp*.kl) then defining GRAVE as 0x03 (aka Ctrl-C) in the .kcm file. You can see the generated .kcm.bin has that included, by hd microp*.kcm.bin, at the bottom. Also why take away a useable SYM popup with 0x09 (aka Ctrl-I or TAB), again in the .kcm file.

Also, the choice of b1home vs b4home. IMHO Android is too unstable to lose ENDCALL. I can recall a number of times the system became unusable with an active phone call. Relying on touch screen interaction to end a call, on a what is still an unstable port, is quite idiotic. Not to mention you lose that nice end button feature in Spare Parts. You still need the same keypress to get to the dialer with either (as pressing takes you to either the home or contact list, and another to go to dialer).

-- Starfox
[Touch Pro2, Tilt 2 Android General] Starfox:
Updated post for FRX07, first and last post has been edited.

-- Starfox
[Touch Pro2, Tilt 2 Android General] kwoodyusa:
I second this! Not having a end call button is killing me.
[Touch Pro2, Tilt 2 Android General] arrrghhh:
Remap it to power button using Accessibility options...
[Touch Pro2, Tilt 2 Android General] Starfox:
Yes, with a non-working prox driver, you do want power button to end the conversation.

-- Starfox
[Touch Pro2, Tilt 2 Android General] Starfox:
This is the keylayout file modified from f22's rhod400-b1home. A few things has been modified.

Fn+Shift+4 9 0 no longer produces ¢ { }

Rear mute is MUTE

Envelope SMS/MMS is SEARCH DPAD_CENTER (Trackball)

Fn+Q W E R T Y	` ¢ ~ |

Fn+A s d F G	^[ (ESC) s d { }

Fn+Z X C V	[ ] < >

Fn+, <space> .	Symbol popup (Android IME) ^I (TAB) >

In Terminal Emulator, map the Ctrl key to Trackball to get Ctrl+<key> by pressing SMS/MMS+<key>. You can now use the quick launch feature under Settings->Applications Search+<key> by pressing Envelope+<key>. Install spare parts and map End Call to Home then Sleep if you'd like.

http://db.tt/iEn6XHn

If you want me to try to do something similar for a different Rhodium layout let me know.

-- Starfox
[Touch Pro2, Tilt 2 Android General] großa:
A german keyboard layout would be fine.

Thanks in advance!!!
[Touch Pro2, Tilt 2 Android General] großa:
I only have a /default.prop and a /system/build.prop. No local.prop.
[Touch Pro2, Tilt 2 Android General] arrrghhh:
Create it. He also said /sdcard/local.prop...
[Touch Pro2, Tilt 2 Android General] großa:
He wrote "There's now a file....." not create a file :p
[Touch Pro2, Tilt 2 Android General] arrrghhh:
You expected this file to magically appear on your SD? LOL :p.
[Touch Pro2, Tilt 2 Android General] fortunz:
Magic? No. Microscopic droids flitting to and fro in the night? Absolutely.
[Touch Pro2, Tilt 2 Android General] maff1989:
Just thought I'd add the obvious... the red end-call key is NOT the power button! :P
[Touch Pro2, Tilt 2 Android General] Starfox:
I assume that the german layout is rhod100_de. Since I don't have a layout I'll have to make a few guesses.

1 2 3 4 5 6 7 8 9 0

! ["/'] # $ % & * ( ) ^

q w e r t z u i o p

@ £ € ` ~ [Escape] [ü/Ü] - [ö/Ö] _

a s d f g h j k l [Backspace]

[ä/Ä] ß { } + = \ / 0x92(?) ...

[Shift] y x c v b n m [Up] [Enter]

... [ ] < > ? ; : ... ...

[Ctrl] [FN] [Envelope] , [Space] .

[Down]

... .... ... Symbol [Tab] | ... ... ....

Ctrl,Fn,Envelope mapped to DPAD_CENTER,ALT_LEFT,SEARCH. And it comes with PTT (Camera) but no rear Mute (but I included just in case, shouldn't cause an issue). Because of the lack of available keys due to the increased alphabet I made some changes. Umlats should properly case (äüö) vs (ÄÜÖ), I don't see any single quote (') key so assigned it to Shift-Fn-2, and have no idea what Fn-L does.

http://db.tt/6OOWETb

-- Starfox​
[Touch Pro2, Tilt 2 Android General] großa:
Thanks. Its working fine so far. Do you need a picture from the keys?

Fn + L = ’ (it should be a single quote)

£€ßä@!"#$%&*()^_ö-ü/\=+?;: working as they should.

Fn + . should open sms/mms but it opens search contact

Fn + , opens the symbol tab, perfect

Fn + backspace is ENTF, also perfect

Fn + right arrow does nothing, should mute the phone

Fn + up arrow (down arrow) does nothing, never used it, so i don't know exactly what they are used to do, its named with picture
[Touch Pro2, Tilt 2 Android General] arrrghhh:
Nice work. Have you talked to stine about committing this?
[Touch Pro2, Tilt 2 Android General] Starfox:
Today I'm gonna sidestep and make a change to startup.txt.

WARNING: This changes the way the phone interacts with your sd card. While the changes are well within the spec for SD, individual controller and cards may not tolerate this change. In short, NO WARRANTY implied or explied for your sd data integrity will be made if you choose to make this change. If you nuke your card, hope you have backup!

I recommend that you have a branded (Sandisk, PNY, etc.) class 4 microSDHC (4gb or larger) when using this option. Regular SD (<2gb) specs were iffy at best and too many el cheapo cards with no name may not like running at spec.

The built-in SD Controller driver (msm_sdcc) runs at 32MHz, which directly correlates to how fast you can read or write data. The SD Card spec says that SD card in SD mode may run up to 50MHz, which is almost 1.6x as fast.

You need to go to my -fox kernel thread and get the kernel and the updated haret, in order to test this. Please refer to that thread for more info.

-- Starfox
[Touch Pro2, Tilt 2 Android General] großa:
Great!!

I've a Transcend SDHC Class6 HighSpeed card.

The specs from this card say that the "HighSpeedMode" runs at 50Mhz (LowSpeedMode 25Mhz).

Trying it now, made a backup just to be sure.
[Touch Pro2, Tilt 2 Android General] Starfox:
Updated rhod100_de. Since Fn+L is ' I just set it at that. Fn+. is | since I didn't have anywhere to put it (Fn+Z was taken, which is where it would be).

http://db.tt/6OOWETb

Unfortunately, the way Android does keymapping is a bit mindboggling.

1) Takes linux scancode and converts it to KEY_xxx taken from the .kl (keylayout) file. This is a one-to-one mapping.

2) Takes the KEY_xxx by ascii and modifies it according to the .kcm.bin (keychars map) depending on the state of SHIFT ALT and couple of other things to output a double-byte unicode.

3) Passes the resulting blob (scancode, mod mapping, keychar) to the apps.

What this means is that I don't see it possible to tell Android to assign special functions to special keys, say Fn+Right, since KEY_DPAD_RIGHT does not have a ascii code to my knowledge, and there isn't a resulting unicode for functions such as KEY_MUTE. So the only way we can modify via .kcm.bin is to overload an existing KEY_xxx (ie. GRAVE) to output a known ANSI sequence (0x03 or Ctrl-C in the stock FRX07).

In short, unless you write an app that intercepts keyevents, "assigning" different functions based on Fn is not possible under Android atm.

-- Starfox
[Touch Pro2, Tilt 2 Android General] Starfox:
This command adjusts how Android manages memory, aka lowmemorykiller. This is going to be more subjective, because it's entirely dependent on what apps and services you have on your phone.

Basically, Android tries to load as many app as possible without going below the limit set by each value (in 4kb pages), starting from the foreground app (first value) to the real background stuff (last value). Although the concept is sound, having Android try to put too many applications in memory has it's downside. When you try to "load" an application that it hasn't already loaded, there can be some memory thrashing as Android has to save to-be-killed app before it can load your app. Also, when apps are loaded, it does use up some CPU to "run", and depending on the app (and bugs) it can end up using quite a bit of CPU (as seen by top).

With the below patch, I've told it to allow 1.5x to 3x as much free memory on non-foreground apps. While the memory is "free" it actually isn't wasted. Linux itself uses most "free" memory as cache, which is usually pretty efficient as it contains frequently accessed data. Also, since this is just cached data it doesn't use as much CPU, and when it does need to allocate memory, it usually just has to discard non-dirty pages which consumes very little CPU overhead.

sed -i "s%minfree 1536,2048,4096,5120,5632,6144%minfree 1536,3072,8192,10240,12288,20480%" /init.rc

Since this changes the file in rootfs, you may want to fiddle with the values first. It can be done on a live system, just write the 6 values in Terminal Emulator via:

su

echo "1536,...." > /sys/module/lowmemorykiller/parameters/minfree

-- Starfox
[Touch Pro2, Tilt 2 Android General] Tippfehler:
Many thanks.

After changing the microp-keypad-files, I have my ö back.

I don´t use qwerty.kl, because it changes the Home button.
[Touch Pro2, Tilt 2 Android General] Starfox:
Again, to mount hyc's RIL fixes:

# Using hyc RIL (for FRX07)

mount --bind /sdcard/libhtcgeneric-ril.so /system/lib/libhtcgeneric-ril.so

init is not very smart when unpacking kernel modules. In fact, if you run one kernel, let it unpack, run another kernel, then go back to the first one, you are going to run into issues with modules not loading because the files are for the second one.

# Fix for init module lameness

rm `find /lib/modules/ -type l -print0 | grep -v $(uname -r)`

-- Starfox
[Touch Pro2, Tilt 2 Android General] arrrghhh:
That mount statement is wrong for FRX07. The RIL is now in /system/lib/libhtcgeneric-ril.so.

Interesting solution on the 'init module lameness'. Have you talked to stine about fixing it permanently? I know you've mentioned this before, I've never personally experienced it... but that doesn't mean it doesn't exist :p.
[Touch Pro2, Tilt 2 Android General] highlandsun:
I fixed that a long time ago in my init patches; mine always checks the currently unpacked version and unpacks the tar file if the versions don't match. Dunno if stinebd integrated that patch tho.
[HTC Inspire 4G] Printerscape:
Using:

AT&T's updated radio (see sig).

Corresponding RIL.

AngelDeath's Northeast v1.2.

GPS Status app with WiFi to download the AGPS data.

Problem:

GPS locks on fine the first time (within 10 meter accuracy in under 20 seconds) but after locking on, it becomes very inaccurate (200+ meter accuracy), and eventually loses all signal (shows no location). GPS status app shows I still have lock on with the satellites however... and it's usually more than 7 satellites.

Any guesses on what's going on and how I can fix this?

*EDIT* Yes, I am in the northeast (NY).
[HTC Inspire 4G] Tx Redneck:
I was having the same issue as you on CM7 till last night. I'm not sure if the new radio and ril corrected it trying a "workaround" that was discovered to get GPS workng on the Aria.

The procedure is as follows:

Nandroid your current setup.

DL and flash any sense rom(I used CoreDroid V6), don't bother w/ the whole setup process just get it up to where you can use maps. Once there, open maps and get a lock. I also did the same w/ GPS Status after flashing the script by Angel Death as well as the ril for the newest ATT radio.

After the lock is obtained, boot to CWM via ROM Manager and restore your previous setup that you made earlier. I chose to make a nandroid of CD V6 at this time too as a safety net.

Once the restore is finished, I reflashed the ril and script after the first boot from the restore process. After flashing those two items, my GPS is rock solid and accurate to 3 meters via GPS Status and generally locks in about 5-7 seconds.

YMMV but it certainly won't hurt to try. If it does, it'll confirm my suspicion of which part(Radio-ril combo or rom flashing) fixed the issue. I suspect that since you're using the latest radio-ril that it's the latter.

Lemme know,

Tx
[HTC Inspire 4G] id10terrordfw:
Based on my experience, radio-ril combo is the most likely, with a little ntp settings thrown in as well.

:D
[HTC Inspire 4G] Tx Redneck:
That's what was required to get GPS on the aria.
[HTC Inspire 4G] Printerscape:
Log:

Full backup of my current ROM

Downloaded Inspired Ace 1.0.1 Full with no addons via ROM Manager

Installed Inspired Ace 1.0.1 Full via ROM Manager, with wipe data, cache, and dalvik cache options selected

Connected to WiFi, and downloaded GPS Status

5+ minutes later, not a single satellite is showing on the scan, let alone locking to one...

. . .?
[HTC Inspire 4G] id10terrordfw:
Do a full wipe in ClockworkMod, not ROM Manager. Format system, data, cache, and dalvik that way.
[HTC Inspire 4G] Printerscape:
Log:

Boot into ClockworkMod Recovery

Wipe data/factory reset, wipe cache partition, advanced->wipe Dalvik cache, reboot into ClockworkMod Recovery again (why not)

Install zip from SDCard->Inspired Ace v1.0.1->Reboot

Connected to WiFi, and downloaded GPS Status

5+ minutes later, not a single satellite is showing again on the scan...

=(

Should I try the default stock AT&T radio, and not the updated AT&T radio?
[HTC Inspire 4G] id10terrordfw:
Are you indoors or outdoors?
[HTC Inspire 4G] Printerscape:
I'm indoor, but leave the phone outdoor at the balcony for ~5 minutes, and check back to see if it's locked on.

The fact that it's not even seeing one satellite... wth?

*EDIT*

I re-flashed the AT&T's updated radio, and re-flashed the corresponding RIL (basically followed these directions), unto the freshly installed Inspired Ace.

Going to try to leave the GPS Status app on and leave it for ~5 minutes outdoors.
[HTC Inspire 4G] id10terrordfw:
Go all the way outside with an unobstructed view of the sky. Sometimes it can take quite a while for first lock, even first satellite acquisition. I've personally seen over 300 seconds. Also, download fasterfix from the market and change your time pool to north america. It may be set to asia by default.

If not, i know of one other step to take. Install attn1's 1.84 Froyo ROM and see what happens.
[HTC Inspire 4G] Printerscape:
Sigh, this time I waited like 10 minutes (I did install fasterfix after you mentioned it), and I came back to 0/0 fix/satellites :/.

Going to just restore my backup, and do a flash of the radio and RIL (like it stated in that post I linked), and just hope for the best...
[Optimus One, P500, V General] dburg84:
This is the latest update from the LG Support tool for the LG Optimus V. A lot have had fatal errors using their executable...once it errors its programmed to delete the .cab update. Luckily I had an old enough dino machine to grab it before it deleted. Happy playing at your own risk :).

VM670ZV5_07.cab file removed until I can figure out whats wrong with it
[EVO 4G Q&A, Help & Troubleshooting] willdareal2010:
Ok I don't know if any has this problem but when I'm in a stock Rom I have both 3g and 1x Icons but when I flash a custom Rom I only get the 1x icon why is that it is mind boggling pleas help
[EVO 4G Q&A, Help & Troubleshooting] SoraX64:
I've noticed this occasionally as well, I would think that the stock ROM isn't reporting your signal strength accurately, or something like that.

You do have mobile data on, correct?
[EVO 4G Q&A, Help & Troubleshooting] wild1z:
From what I read, cannot remember where, this is an issue with cyanogen. You are on 3G when data is enabled but the status icon will remain 1G. Or I have no idea what I am talking about. :) My phone is reporting the same btw. When I go online I use 4G or Wifi anyway. 7.0.2.1 stock PRL 01115 Baseband 2.15.00.11.19
[EVO 4G Q&A, Help & Troubleshooting] SoraX64:
That does make sense, I had the same issue when I was on Cyanogen.

OP, as long as you don't notice a different in speed and connectivity, then it isn't really a problem, I'm assuming.
[EVO 4G Q&A, Help & Troubleshooting] wild1z:
Then again better wait till an expert confirms it. I would like to know so I can answer it correctly later on. :) You could test your speeds with data on in areas you know you do/don't get 3g service and post the results.
[EVO 4G Q&A, Help & Troubleshooting] willdareal2010:
yes data is on but if i flash a regular stock rom like the factory but rooted the 3g icon comes up at the start with no problem but if i put some of the fancy roms or any of the 2.3.3 roms i only get the 1x only i dont know why is this i flash and flash and stilll the same crap .....
[EVO 4G Q&A, Help & Troubleshooting] willdareal2010:
well i guess no help but im on the new virus kingdom port and mann it is fricken sweet " in my peter griffin voice"
[EVO 4G Q&A, Help & Troubleshooting] njonas01:
The answer

Try *#*#4636#*#*

Choose Phone Information

Set preferred network type to CDMA only

Back out, your change is saved.

You should see 3g only now, just as you would with a sense rom.
[Droid X General] GolfnWrx:
When it's mentioned to wipe memory/factory reset before loading ROM is this the procedure they are referring to?

Thanks -
[Droid X General] razorloves:
no.

Since you have to flash the rom from Clockwork Recovery, you will want to do the wipe from there also.

In Clockwork Recovery, you would scroll down and choose "Wipe Data/Factory Reset".
[Droid X General] Jmoney47:
No. Just no
[Droid X General] owenbeals:
U can also wipedata/factory reset via stock recovery... This is incase u bootloop, somtimes wiping data from stock recov will fix this when wiping from cwm wont...

Boot into stock recovery by turningoff phone (or pulling batt if in bootloop), turn on phone by holding home+power, when android and ! Come up hit search button, select wipe data/factory reset, reboot phone... This method will also get rid of rom fragments left behind
[Droid X General] GolfnWrx:
Thanks,

Basically the same as my G1...I kind of expected it to be different :D
[Nexus S General] 350d:
I have updated my phone to 2.3.4 manually and successfully. But today I find two strange files in sdcard, such as radio_dump_2011xxxxxx.bin. Is this a system update message(stock 2.3.4) or update files from OTA? What is the use?

Thanks!

change:

Went back to stock 2.3.3 and get the OTA immediately. But no idea of the use of that file.
[Nexus S General] icewar23:
I get a radio dump every time I lose cell service. The filename shows the date and time of the loss. I have no idea of its contents. You can delete them safely (as far as I know)
[Off-topic] zephyri-xr:
Hi there! You could be the one that saves a humans life tonight.

First, the specs:

MB: Abit AB9 PRO

CPU: Intel C2D E6600

Ram: Corsair XMS2 DHX 2x2GB 800mHz

GPU: Sapphire HD2600XT 256MB 128-bit

HDD: Seagate Barracuda 250GB 7200RPM 8MB

PSU: Aspire Chameleon 550W

I got this PC from one of my relatives. I don't know was it flawless before I got but since I started to use it, it closed games or give black screens itself randomly with no specific triggers but mostly (%99 like) while in games. Once or two when copying data between external HDDs, downloading big stuff, encoding videos, etc. I can't play any kind of games but flash games in peace.

I tried to change GPU (no change, changed to nVidia 6600GT), PSU (no change, but it was like 200W so that wouldn't count) Ram (no changes, before it was 2x1GB 1066 OCZ platinium ram).

Things I never changed MOBO, CPU, HDD.

I got the latest DirectX, GPU drivers. It's like an infection, whenever I update graphic drivers first two days is o.k but then shutdowns restart.

Please someone help.

Sincerely, the zeph.
[Off-topic] Dirk:
Load defaults in BIOS.

Monitor CPU/GPU temperatures.

Update all Drivers including chipset.

Clean OS install.
[Off-topic] zephyri-xr:
Gonna defaults bios. An update could help?

Temperatures are O.K even I do some O/C, no change.

Updating drivers.

No change after clean OS insatalls.
[Off-topic] x10man:
total crash (e.g shuts down) or just freeze up? if total check your PSU mine died on me a while back and just kept on turning off as if the power was pulled

also what OS are you using?
[Off-topic] Dirk:
Sounds hardware then. Returning to defaults in BIOS would be a good place to start. I've had failing overclocks, or RAM throwing errors, after a a few years stability a couple of times. Returning to stock usually solved the issue.

If it was a component failure, for instance the PSU, there would most likely be a pattern of the PC shutting down only when most under stress, i.e playing a game. I can't see it happening for the small stuff. RAM can cause a mess of problems when it fails and would usually be my first choice. Sometime you'd only know, either by the flaky behaviour, or by running Memtest to know for sure. Running with only one Dimm at a time can also help narrow it down to one faulty module.
[Off-topic] x10man:
not sure about PSU under stress mine would just die every 5 mins then not work for ages till it wouldnt work at all