yashsingh1/xdaforums huggingface dataset:
[Motorola Milestone Android Development] ed213:
cannot get it work in a script

help required-

i've put all the lines on page 1 in a script file (autostart.sh) but cannot get it working, here's the on-screen error when i did sh autostart.sh

# sh autostart.sh

sh autostart.sh

autostart.sh: /system/xbin: permission denied

mount: No such file or directory

: directory nonexistenteate /sys/kernel/debug/sched_features

: directory nonexistenteate /proc/sys/kernel/msgmni

: directory nonexistenteate /proc/sys/kernel/msgmax

: directory nonexistenteate /proc/sys/kernel/shmmax

: directory nonexistenteate /proc/sys/kernel/sem

net.core.wmem_max = 524288

net.core.rmem_max = 524288

net.ipv4.tcp_tw_recycle = 1

net.ipv4.tcp_rmem = 6144 87380 524288

net.ipv4.tcp_wmem = 6144 87380 524288

kernel.sched_latency_ns = 600000

kernel.sched_min_granularity_ns = 400000

kernel.sched_wakeup_granularity_ns = 400000

i'm in root and made chmod755 to the file already, and if i run these lines 1-by-1 in the shell they work fine, what am i missing here??? thanks
[Motorola Milestone Android Development] meatmon:
Hi 89luca89,

Your script has both

sysctl -w kernel.sched_features=24188

sysctl -w kernel.sched_features=29

Is that correct or typo?
[Motorola Milestone Android Development] Aexel:
I am trying to use the following script with stock ROM. Hope these options makes sense with stock 36:

#!/system/bin/sh
sysctl -p
#
#Disable normalized sleeper
#
mount -t debugfs none /sys/kernel/debug
echo NO_NORMALIZED_SLEEPER > /sys/kernel/debug/sched_features
#
# Memory management
#
echo 2048 > /proc/sys/kernel/msgmni
echo 64000 > /proc/sys/kernel/msgmax
echo 268435456 > /proc/sys/kernel/shmmax
echo 500 512000 64 2048 > /proc/sys/kernel/sem
sysctl -w net.core.wmem_max=524288
sysctl -w net.core.rmem_max=524288
sysctl -w net.ipv4.tcp_tw_recycle=1
sysctl -w net.ipv4.tcp_rmem='6144 87380 524288'
sysctl -w net.ipv4.tcp_wmem='6144 87380 524288'
sysctl -w kernel.sched_latency_ns=600000
sysctl -w kernel.sched_min_granularity_ns=400000
sysctl -w kernel.sched_wakeup_granularity_ns=400000

On CM you can copy it to /etc/init.d/ and set permissions to 750 (correct?).

But on stock ROM this path does not exists. Where do i have to copy it instead in stock ROM to execute it on boot?
[Motorola Milestone Android Development] kholk:
kernel.sched_features is for enabling/disabling scheduler features, like I've done echoing a string to a file in debugfs. I'm seeing that someone doesn't know that (for example luca and androidiani openrecovery) and I'm giving you a warn: don't play with features and settings that you don't know.
[Motorola Milestone Android Development] kholk:
@ed213

Try to change "mount" with "busybox mount" and retry.
[Motorola Milestone Android Development] 89luca89:
See the updated script, it was my error (simply did not have effect those 2 entries)
[Motorola Milestone Android Development] 89luca89:
This was my error, those 2 lines simply did not have effect...(I got wrong writing...)

This is not the script in OpenRecovery, I included your script...

BTW this is the corrected script:

#!/system/bin/sh
sysctl -p
#
#Disable normalized sleeper
#
mount -t debugfs none /sys/kernel/debug
echo NO_NORMALIZED_SLEEPER > /sys/kernel/debug/sched_features
#
# Memory management
#
/system/xbin/echo 2048 > /proc/sys/kernel/msgmni
/system/xbin/echo 64000 > /proc/sys/kernel/msgmax
/system/xbin/echo 268435456 > /proc/sys/kernel/shmmax
/system/xbin/echo 500 512000 64 2048 > /proc/sys/kernel/sem
/system/xbin/sysctl -w kernel.sched_latency_ns=600000
/system/xbin/sysctl -w kernel.sched_min_granularity_ns=400000
/system/xbin/sysctl -w kernel.sched_wakeup_granularity_ns=400000
/system/xbin/sysctl -w kernel.sched_compat_yield=1
/system/xbin/sysctl -w kernel.sched_shares_ratelimit=256000
/system/xbin/sysctl -w kernel.sched_child_runs_first=0
/system/xbin/sysctl -w kernel.hung_task_timeout_secs=0
/system/xbin/sysctl -w kernel.threads-max=5000

It have the same effect as before!
[Motorola Milestone Android Development] meatmon:
Got it. Thanks.
[Motorola Milestone Android Development] Ph0z3:
i do not have echo or sysctl in /system/xbin

both are installed in /bin and /sbin (accidentally installed 2x)

so in the code do i just change the /xbin directory to /sbin ???
[Motorola Milestone Android Development] kabaldan:
Any suggestions from kernel gurus for tweaking of the 2.6.32 kernel from the 2.2.1 test firmware?
[Motorola Milestone Android Development] zeppelinrox:
Some entries give an unknown key error.

all the kernel.sched* entries except for "kernel.sched_child_runs_first" as well as "kernel.hung_task_timeout_secs"

so these "main" settings don't work...

/system/xbin/sysctl -w kernel.sched_latency_ns=600000

/system/xbin/sysctl -w kernel.sched_min_granularity_ns=400000

/system/xbin/sysctl -w kernel.sched_wakeup_granularity_ns=400000

Also "echo NO_NORMALIZED_SLEEPER > /sys/kernel/debug/sched_features" gives a "no such file or directory" error

currently on iaf's cm7 mod

Any ideas on getting these tweaks working or if they are available on cm7?
[G2 and Desire Z General] Bumble-Bee:
Hi i have created a few channels on freenode for general chat about the new phones (pre orders / accesories / apps/ ect) it will be a support channel too when the device is out.

The DesireZ channel is #DesireZ on freenode irc

There is no one on at the moment as its just been made :-D

But come on and join the FUN :-D

------------------------------------------------------------------------------------

Other Channels for there respective devices

Desire HD :- #DesireHD

Tmobile G2 :- #G2-DEV

------------------------------------------------------------------------------------​
[Nexus One Q&A, Help & Troubleshooting] WiKDMoNKY:
Does anyone know how to disable the "Call Status Tone" on the N1? Every time I make a phone call or answer a call, I have to wait to hear the beep before I can talk. It has driven me crazy since I got this phone. I was playing with my wife's Vibrant and came across the option to turn it call tone on or off in her Call Settings, but there is nothing of the sort on the N1.

Does anyone have any idea how to do it? I would be eternally grateful!

Thanks in advance!!!
[Nexus One Q&A, Help & Troubleshooting] WiKDMoNKY:
Anyone?
[Nexus One Q&A, Help & Troubleshooting] danger-rat:
Never even heard of this before.

Are you sure it's the phone, and not a third party app or something (like Google Voice)?
[Nexus One Q&A, Help & Troubleshooting] WiKDMoNKY:
I am pretty sure it has been making the beep since I got the phone and it has happened with every ROM I have installed on the phone.

When a phone call connects, there is a 1 second pause then a beep, then I can start talking.

Am I the only one who has this happening?
[Nexus One Q&A, Help & Troubleshooting] Rusty!:
Doesn't happen to me.
[Nexus One Q&A, Help & Troubleshooting] disgustip8ted:
ive never run into this either, and ive had both tmo and att n1

ive got the vibrate after call answers thing turned on in cyanogen but no beep...

i you google voice and sometimes just call with my cell number too and no beep

when you say you get this across different roms, do you do a full wipe between roms?

if so i'd imagine its hardware
[Nexus One Q&A, Help & Troubleshooting] WiKDMoNKY:
I finally figured it out today, it only happens when I am on my Jabra headset. It is fraking aggravating!!!

Does anyone know how to turn it off?
[Nexus One Q&A, Help & Troubleshooting] Rusty!:
I'm pretty sure that's the headset doing it, not the phone.
[Nexus One Q&A, Help & Troubleshooting] danger-rat:
Agreed - it's the headset... RTFM. :-)
[Nexus One Q&A, Help & Troubleshooting] gibosn6594:
Off to the Jabra forums you go.
[Nexus One Q&A, Help & Troubleshooting] stevenedinburgh:
Mines makes the same annoying sound overtime you make a call a tone plays in the speaker when it connects any ideas on how to turn this off? I just use the phone no headset etc
[Nexus One Q&A, Help & Troubleshooting] Rusty!:
Either it's something your carrier does, or you've installed something that's causing it. It's not the phone.
[Nexus One Q&A, Help & Troubleshooting] ORIELM:
thanks for the info

10x
[Epic 4G General] jbadboy2007:
Can someone post these as .zip so we can flash them through cwm? Is the Di18 rom still the di07 rom?
[Epic 4G General] agonzalez1010:
Here is the ROM update file: S:D700.0.5S.DI18. Just put it on the root of your sd, rename to update.zip reboot into recover mode and let her rip.
[Fascinate Android Development] keith.mcintyre26:
I would love to see this on my phone but is it 2.2/framework dependent? Thanks for any help. http://xdaforums.com/showthread.php?p=8437811&posted=1#post8437811
[Fascinate Android Development] tallnerd1985:
Unfornately if you dont know what you are looking at, hacking a 2.2 app is hard to work on a 2.1 framework. Best to wait a couple weeks until 2.2 drops for our phones
[Nexus One Q&A, Help & Troubleshooting] Noobits:
Hello, I have a Holiday Nexus one and I'm trying to get froyo on it but it didn't update .

Things I've tried:

1) Calling the support HTC line.. they told me to move the date to a future date and wait a couple days... that failed.

2)I've tried manual updating using the bootloader/recovery method but all the files I've tried I get a corrupt/invalid file

3)I've also tried dialing *#*#CHECKIN#*#* on my phone and waiting.. I've done this everyday since I've had my phone (2 weeks)

The guy at HTC suggested I call AT&T and have them push the update to me but I want to know if there's any other options I have? I will try to call them tomorrow but I've a feeling they're not going to be of much help. Thanks in advance.

Also I saw the thread on this forum but the files were corrupt so maybe I can get a new link or something maybe?

Any help appreciated thanks

Always include:

Carrier: AT&T

Country / Language: US

OS / Browser / build number (if applicable):ERD56C (Holiday Nexus One this is still a 2.1 build)
[Nexus One Q&A, Help & Troubleshooting] Jack_R1:
Holiday Nexus? And you're looking to update? Are you serious?

Boot into fastboot

fastboot oem unlock

fastboot flash recovery <download and put Amon_RA's 1.9.0-alpha here>

fastboot reboot recovery

Download FRF91 stock PASSIMG

Copy to SD card

Install through recovery

Reboot

You're done, wait for 2.2.1 update.

Or instead, just download a custom ROM of your choice, which might prove a much better option.

Whenever you feel you don't like the lock sign, fastboot oem lock

Read my signature and use the suggestion.
[Droid Incredible Accessories] rmoney:
Are there any custom back covers out there? I'm specifically looking for something similar to the evo.
[Droid Incredible Accessories] Honestly77:
Not that I have seen. It's possible. I know verizon offers lame red and white ones now...
[Droid Incredible Accessories] jinth0688:
would be cool..i wonder if it'd be possible to take the kickstand part out of the evo back and put in the back of my extra back cover by cutting out a spot for it
[Droid Incredible Accessories] graff_king:
you would have to find a replacement evo since the kickstand is actually in back of phone, not batt door. I have evo and inc and am working on a kickstand type idea. Will post pics when useable
[Droid Incredible Accessories] sk806:
I've only seen smooth back covers for extended batteries, and they tend to make the phone quite a bit thicker.
[Droid Incredible Accessories] k_chupe:
got any links for the covers you're talking bout?
[Galaxy S I9000 Q&A, Help & Troubleshooting] wattsy1612:
okay guys,

so i would like to be able to flash rombie v2a. i have flashed the phone itself using 512pit file and 2.2 jpk firmware using odin. so i got a jpk 2.2 samsung galaxy s and want to flash to rombie whats the saftest way ? Do i just copy the update.zip to sdcard/ then do 3 button recovery and flash that way or is something else needed.Rombiev2a jph files state the kernel needs changing and to use odin to flash it i get all that. but doesnt state if this is the same for jpk aswell. if anyone at all could shed some light and tell me hows i can flash rombie v2a 4 jpk i would be very gratefull cheers wattsy
[Galaxy S I9000 Q&A, Help & Troubleshooting] Banger242:
I am using Rombies' V2A Full with JPK. You need to flash the i9000 kernel first to have recovery mode 2e. You need it to be able to flash the update.zip or you will get an error about unsigned updates. Then once you flash the update you flash the JPK kernel back to the phone.
[G1 Android Development] jcarrz1:
This is a video of how the rom is progressing

[YOUTUBE]S63EPGTbhPE[/YOUTUBE]

This is not available for download. If you want me to upload it, let me know in the thread.

I'm excited to see this developing for the g1. Thanks to everyone who's helped and the guys in the HERO CDMA forum. nfinitefx45.

Thanks,

jcarrz1
[G1 Android Development] mrhousto:
I own a Droid Eris as well as the G1. Developer punk.kaos over in the Eris forum has ported Sense/Froyo to the Eris. I believe he got it from the HTC Wildfire. It works, but its in the 'beta' stage right now. It has resolution issues as well as camera issues. I'm sure Kaos will get these sorted out soon. Check the Wildfire forums for it.
[G1 Android Development] jcarrz1:
i should have been more specific. this is based on the wildfire dump.
[G1 Android Development] nickislauw:
im going to try this NOW on my mytouch 3g (htc magic 32B) and will give feedback :)
[G1 Android Development] Original Android <3ers!:
I bet the res on this is going to SUCK! But good luck guises.
[G1 Android Development] nickislauw:
lol maybe it does.. but froyo sense will be good though ^^
[G1 Android Development] nickislauw:
it wont get past the splash screen:o:(
[G1 Android Development] lolmensch:
sorry... I got enraged as there are many newbies around and I exagerrated.

@all always stay ontopic and be polite other than me
[G1 Android Development] nickislauw:
OMG OF COURSE I DID READ IT BUT DID YOU READ THIS ??

EDIT this may actually work for some people, my g1 is weird sometimes. try it, it won't brick your phone, but if it bricks your phone it's not my fault.

SO I THOUGHT THAT IT MAYBE COUUUULD WORK ON MY PHONE.

i only posted that it wont get past. so he get sureness.

understand :) ?

//Nick
[G1 Android Development] jcarrz1:
Thanks for taking the time to try it out. calm down lol.

Your behavior is similar to mine, although i don't know for sure if it's the same without a logcat... if you still have it flashed i'd really appreciate one.
[G1 Android Development] jcarrz1:
yea it will be a little buggy. Check out screenshots from the Hero CDMA development section, you can see how rosie looks.
[G1 Android Development] etu_aty:
hi i found this for resizing, is pretty handy and fast. it might help you. check it out...

http://xdaforums.com/showthread.php?t=785864
[G1 Android Development] jcarrz1:
thanks. I'm now getting stuck on fonts when booting... A lot closer though.
[G1 Android Development] protomanez:
Hmm Hmm I'll get someone to look over this. It'd be pretty sexy if we got this to work :3
[G1 Android Development] jcarrz1:
Got it. Uploading :) probably won't work for mt3g. I currently am using mtd partitions with everything moved onto /system.

I'm uploading one, however, that puts app_s on sd-ext and framework in /data, so there's no need for mtd partitions.

Edit: bam

http://www.mediafire.com/?1dj5rum8oe3ndzo
[G1 Android Development] protomanez:
Yes, that would probably be a good idea. MTD may screw up something that we don't want screwed up :p
[G1 Android Development] jcarrz1:
lol i like mtd :) but i know most ppl don't, so i uploaded the normal one. please try it!
[G1 Android Development] protomanez:
Yeah lemme just nandroid my current rom and try it out.
[G1 Android Development] protomanez:
Silly, you forgot to sign it xD
[G1 Android Development] jcarrz1:
haha well use clockwork... i rarely sign stuff, clockwork doesn't verify if you uncheck the option in the recovery.
[Vibrant Q&A, Help & Troubleshooting] torpy:
Hello,

I currently have a Unlocked stock vibrant that I am using with an ATT SIM. I would like to start experimenting with different ROMS/Kernels and was wondering if I will need to "Unlock" my phone every time I flash a new ROM or kernel.

In which scenarios will I need to redo the unlock process and in which will I not?

Thanks.
[Vibrant Q&A, Help & Troubleshooting] rhcp011235:
Yes, You need to unlock it each time. Keep the code.
[Captivate General] labbu63:
http://virusrom.com/Modds/REBOOT_POWER_MENU.zip

it shows a option to reboot when you hold the power menu its from the evo 4g thread

in the second post of this thread where it says mods

link

PICS:
[XPERIA X10 General] The5ickne55:
I find the button to close together, even the android keyboard. What do yall think of them? What do yall recommend for big fingered dudes? Also, how hard is it to install a new keyboard?
[XPERIA X10 General] lft4ded:
I agree the Android keyboard is 'meh'. While I do wish the Standard keyboard had a larger space bar, otherwise I love it, I like Betterkeyboard with the Glass Orb skin. I know it doesn't affect the actual key size but I find that I'm a lot more accurate with that skin than others. Plus they have the Compact keyboard mode which may help. It was worth cost to me.
[XPERIA X10 General] pshdo:
The HTC_IME mod is great...

http://xdaforums.com/showthread.php?t=624416

And IF it still is too small, you can set it to show up as an old-style phone keyboard with the 12 keys, and then it will use t9 spelling for you...
[XPERIA X10 General] JamesBarnes:
I cant recommend shapewriter highly enough. Once you have used it (or similar, swype for eg) you will not want to go back to the normal "tapping" method.

PM me if you want the apk.
[XPERIA X10 General] tuxo87:
Yeah, HTC touch input is very cool. Smart keyboard pro is also nice, but if your fingers are THAT big, I'd suggest Blindtype :P

http://www.youtube.com/watch?v=m6eKm1gUnTE

(it has not been released yet, though :D)
[XPERIA X10 General] tuxo87:
lol shapewriter can be found in the market o_O
[XPERIA X10 General] skimminstones:
been trying a lot of different keypads. Swiftkey is pretty good for the language and predictive options but not much space between the keys like all the others. No matter what keypad i try i still seem to be going back to the htc one.

They really should release it onto the market officially.
[XPERIA X10 General] johndub71:
I use smart keyboard and just recently gone pro with it .
[XPERIA X10 General] JamesBarnes:
Not in mine :)
[XPERIA X10 General] chaostimmy:
What about ultra keyboard? I love it, everything is configurable!
[XPERIA X10 General] ikanos:
I have the same problem that I don't like any of the keyboards out there.

Swype is slow for me - I only speed up if I swipe the same word over and over again, which rarely happens in real life.

T9 and Ultra requires too many corrections and having to double or triple tap to get the exact letter you want is annoying when the prediction doesn't get it right.

Other keyboards the keys are too small especially if you have to type anything a bit unusual. Blindtype would have the same problem though it's not available yet.

Anything else out there?
[XPERIA X10 General] tetracortica:
i have tried a whole dozen before someone here recommend shapewriter, it's really that good, once i got used to it, i don't even want to use 'keyboard' on my phone anymore
[XPERIA X10 General] JamesBarnes:
Shapewriter 3.0.9 (Non-expiring) : http://www.mediafire.com/?qwffb21f0804twk
[XPERIA X10 General] jassired:
Try Swift Key.........i prefer it over Skype and Stock
[XPERIA X10 General] _raz_:
SlideIT for the best "exotic language support" gets my vote. Has about 18 languages supported - including the Nordics, including different keyboard layouts (so you'll see the national keys, too). Current version (2.x) looks professional enough, too. A nice bonus is the single-key language switcher.

Shapewriter has a nicer key-spacing, so less error-prone, but lacks advance language support feats. If they get the Nordics fixed, it'd be a good choice too.

Swype looks good but seems lag-ridden, at least enough for me not to trounce SlideIT at present (let's see, if Nordic languages come by).

Bottom line: since I found Shapewriter, and later SlideIT, I haven't looked back to the traditional tap-tap-tap-keyboards - no matter how polished, no matter how good their prediction is. Speed, and even a reduced error rate (at times, only!) - two top reasons to start using a sliding keyboard.

Give them a try. A good try. Once you get beyond that initial WT... barrier, writing on your phone will never be the same.
[XPERIA X10 General] mgene63:
Just tried shapewriter on the evo and I have to second that so far it is better than swype. I just like the fact that is it real easy to add words to the dictionary.
[XPERIA X10 General] PollPixx:
I have now swiftkey, its new and so far it's working well
[XPERIA X10 General] im_iceman:
I had a few problems with the latest update of Swype.. UNTIL... I changed some of the settings (found the problem on there website, can't recall what the changes were now..) but now it's fantastic again.. and the sliding from the swype key to the Sym key to get the navigation keys is just genious..)..

Needless to say, I love it.. it is the proverbial dogs cogs.
[XPERIA X10 General] mrtim123:
+1 (and enough for the 10 character minimum post)
[XPERIA X10 General] deejaylamb0:
awesome, the expiration was getting annoying. Much appreciated!!

homie I REALLY appreciate the fact that you took the time to hook up up with some seriously detailed knowledge; your post is far more useful than the "I like ____ more than ___."

Per your rec's, I actually will try both alternatives, because I ran out of Swype beta time and I couldn't find a lasting apk :p

Time for a new keyboard [again]!
[XPERIA X10 General] Chartres:
Not having found a proper Slovak dictionary in any keyboard, I still use 'tap tap tap's, and my favourite is clearly Touchpal that I got used to in WinMo. Try it out, it has 3 different layouts: classic T9 numpad, two letters / key, and normal qwerty.

What I love most is that you can type capital letters and different symbols just by swiping the keys in different directions, no need to press shift/fn etc. On the market it's called Touchpad Chinese input but comes with an English dictionary. Cheers
[XPERIA X10 General] :
U tried Smart Keyboard? I tried everything n finally m in love with Swype..
[XPERIA X10 General] naveen_reloaded:
i dont know .. but when u root ur phone .. u get htc mod keyboard which is the best....
[XPERIA X10 General] stan.s:
I like SwiftKey. It's got optional feedback, multiple keyboard layouts (qwerty, qazerty, etc) and all the romance languages plus Swedish. You can also enable the voice recognition to type. It only needs one more setting and that is the timer on the long key press for alternative insert without switching keyboards. It's a great alternative keyboard. (And I like to be able to swipe the keyboard away and the swipe word function.)
[XPERIA X10 General] _raz_:
That's a big round of thanks :) Glad if I could be of service!
[XPERIA X10 General] DeathAbyss:
You cant go wrong with swype.
[XPERIA X10 General] johndub71:
Yay, smart key pro has predictive t9. So happy now.
[XPERIA X10 General] dennka:
maybe someone can point, I installed Shapewriter 3.0.9, I enabled it and made sure nothing else is selected as for another keyboard, when I try to type something, I still see default keyboard. I am on debranded and rooted to 024 X10. Any thought. I had same matter with Swype. Maybe I am not enabling it right? Any help appreciated
[XPERIA X10 General] stan.s:
A long key press on the input field should bring up a keyboard selection options showing all installed keyboards.
[XPERIA X10 General] prasad.adam:
Spot on mate. Haven't yet tried SlideIT but impressed with Shape Writer. Its faster than tap and also more accurate. Not to forget the fun element. And yes getting over that initial WTF is crucial too.
[XPERIA X10 General] blue_mice:
My $$ goes to TouchPal too.

Mice