yashsingh1/xdaforums huggingface dataset:
[HTC EVO 3D] sniperkill:
Hey ViperBoy, Vin, Tommy. I tried to send you guys pm's instead of posting my question here, but i'm sure you guy's know whats up, lol. My question is, and isn't rom related, but you guy's are the kings of script writing IMHO. So here's my question. I seen inside vipeROM under "system/etc/init.d" where you raise the sdcard read_ahead_kb to "2048". But my problem lies inside this file called "21viperom" on line (17) it says

echo "2048" > /sys/devices/virtual/bdi/179:0/read_ahead_kb;

Now after I flash vipeROM, I go to /sys/devices/virtual/bdi/179:0/read_ahead_kb and it says the cache size is "2048", like it's supposed to. Now, If I want to change the rest (17:0, 18:0, 179:64, 7:0, 7:1, 7:2, 7:3, 7:4, 7:5, 7:6, 7:7 and default, using a script from Dsexton702 (I've attached a copy of both 21viperom and 02sdcardspeedfix) it changes them all EXCEPT 179:64, 179:0, and 0:18.

Now I know so that I wont have conflicts in the scripts that I have to edit 21viperom and delete line 17, and I then have to add to 02sdcardspeedfix these lines:

if [ -e /sys/devices/virtual/bdi/0:18/read_ahead_kb ]; then

echo $READ_AHEAD_KB > /sys/devices/virtual/bdi/0:18/read_ahead_kb

echo "SD card read ahead kb SET to $READ_AHEAD_KB"

fi

if [ -e /sys/devices/virtual/bdi/179:0/read_ahead_kb ]; then

echo $READ_AHEAD_KB > /sys/devices/virtual/bdi/179:0/read_ahead_kb

echo "SD card read ahead kb SET to $READ_AHEAD_KB"

fi

if [ -e /sys/devices/virtual/bdi/179:64/read_ahead_kb ]; then

echo $READ_AHEAD_KB > /sys/devices/virtual/bdi/179:64/read_ahead_kb

echo "SD card read ahead kb SET to $READ_AHEAD_KB"

fi

But even after deleting line 17 from your 21viperom script, and adding to 02sdcardspeedfix the lines outlined above, it still WILL NOT change 0:18, 179:0, and 179:64. These stay at the default 128, but all the rest are at 3072 (where I want them). So how do I get these stubborn read_ahead_kb things to change?

P.S. I'm also going to attach the script that I edited to try to get the read_ahead_kb things to change. Could one of you script masters look at "MODDED_22sdcardspeedfix.zip" for me and tell me what the hell am I doing wrong? PLEASE?

EDIT: when I use the MODDED_sdcardspeedfix file, and push it to /system/etc/init.d ev erything is working as it should except 0:18, 179:0, and 179:64, I need to get these changed some how.
[HTC EVO 3D] il Duce:
The only ones that need to change are 179:0 and 179:64, so you're good if you got those. Also, you have any cpu apps? Like setcpu, system tuner, absolute system, root toolbox, autokiller, etc?
[HTC EVO 3D] sniperkill:
Thanks ilduce for the reply, but no matter what I try, I cant get 179:64 to change.

EDIT: No, I'm not using anything except what vipeROM has..
[HTC EVO 3D] il Duce:
This is flash zip for 2048, extract and modify the value to 3072, repackage and flash. http://db.tt/DR89dnOU

Also delete the script you had already in init d. Wipe caches, etc.
[HTC EVO 3D] Cuppeerr:
Jw how many texts do you send/receive a day?
[HTC EVO 3D] sniperkill:
Okay, thanks ilDuce. I'll give it a try. But first I gotta finish modding some other stuff before I can flash. I'm usually pretty good at this stuff, but when all else fails, I gotta ask, you know?

So the only read_ahead_kb files that would make a sdcard faster is 179:0 and 179:64?
[HTC EVO 3D] il Duce:
Correct sir.
[HTC EVO 3D] Vinchenzop:
Uhh, on average, about 100 sent and received combined. It ranges alot depending on whether or not I'm working
[HTC EVO 3D] -viperboy-:
As Duce said, none of those are really important and I wouldn't mess with stuff like that if you don't know what it does.
[HTC EVO 3D] thesparky007:
When do we get our surprise? :-(
[HTC EVO 3D] Cuppeerr:
Ok that would explain why your battery is better than mine! I'm around 350 sent and received a day haha
[HTC EVO 3D] sniperkill:
Very good words to live by my good man, lol... I was pretty sure that the only one's that mattered to the sdcard speed were 179:0, and 179:64. But I second guessed myself when I looked into the "Universal Adrenaline Shot V3 Tweaks" I found in the "Android Software and Development" section (attached). If you look into the "02sdcardspeedfix", it has all of the "read_ahead_kb" files listed in the file. Perhaps someone should inform the OP that all thats needed for the sdcard speed increase is the kb increase for 179:0, and 179:64..
[HTC EVO 3D] -viperboy-:
It's still being worked on, taking forever man.

See, that's the problem, It's meant to be universal, so some phones might have those locations for the sd tweak. I took a quick peak through that .zip and I honestly wouldn't flash that **** on my phone. I wouldn't recommend anyone else to do so either.
[HTC EVO 3D] MistakenUtopia:
What's the good Kernel for viperROM?
[HTC EVO 3D] twister99403:
the supercharged badass mean STOCK ROM cuz htc hasn't released the kernel source code for the new base lol
[HTC EVO 3D] PatrickHuey:
Does anyone use widget locker? I've tried several times to use this app but for some reason it always makes my keyboard when trying to type so unresponsive. Does anyone? Experience this?
[HTC EVO 3D] pvndpk:
are the 3d photos,3d videos and 3d games working on this?
[HTC EVO 3D] Bondue:
Yessssssss viperROM FTW!
[HTC EVO 3D] twister99403:
I used to but it's been really laggy like your having so stopped. I like MIlocker myself...
[HTC EVO 3D] -viperboy-:
Stock. Custom kernels break the camera since the new base has an updated kernel.

I used to. Been running stock since I went back to v2.5 RC2 so I can test any bugs that might come up that you guys report :)

Yes, but if you flash a custom kernel, these might not work properly.
[HTC EVO 3D] blizzard1017:
I have tried different roms, new installs you name it. That doesn't like my phone either
[HTC EVO 3D] PatrickHuey:
Yeah I'm not sure what to do. Its like a hit or miss.
[HTC EVO 3D] thesparky007:
I made a new theme for xda called xdabrown go check it out in themes apps yall
[HTC EVO 3D] blizzard1017:
The golocker or whatever isn't near as customizable but works better
[HTC EVO 3D] lowetax:
ah yes, from my og evo days, changing /sys/devices/virtual/bdi/179:0

to different read ahead kb based on the sd card you have ...

i'm on stock viperROM 2.5 RC2, and just looked at 179:0 and 179:64

and they both are set at 128 ! what is up with that ???

changing to 512 makes quite a difference ...
[HTC EVO 3D] smw6180:
128 is the only setting you can make and be sure it will work on almost every sd card out there. Setting it any higher tends to make cheap cards have fits. That's why you can change it in tweaks or vc (pretty sure you can change it in vc anyhow).
[HTC EVO 3D] lowetax:
actually, how do you change it ?

so it sticks after reboot.

didn't see it when i start vc

(besides text edit, of course)
[HTC EVO 3D] smw6180:
Guess it's not in there, and I just checked and didn't see it.

If you go into tweaks, tap advanced tweaks, then set sd card cache size that'll do it and it'll stick on a reboot.
[HTC EVO 3D] il Duce:
rofl...

@sniperkill read above ^^^ lol.

I forgot sd card cache was in tweaks. Delete out that script and try using just the advanced tweaks option, thanks smw :)
[HTC EVO 3D] smw6180:
The reason I didn't jump in earlier is because I wasn't 100% certain what he was trying to accomplish with those scripts. Once I figured it out I decided to let it lie. ;)
[HTC EVO 3D] il Duce:
I'm on cm7, I probably would have found it if I were on sense lol.
[HTC EVO 3D] lowetax:
thanks. with that screen background i didn't even notice advanced tweaks !

thanks Steve !
[HTC EVO 3D] trollallot:
Hey Bruce you can change the background png to make it easier to read. In drawable hdpi

Still using my blackberry...as a paperweight
[HTC EVO 3D] smw6180:
De nada, Compadre. :)
[HTC EVO 3D] ksamani:
LOL

sent from the THIRD dimension
[HTC EVO 3D] -viperboy-:
Vin and I just updated all the old info in the 2nd-4th post. If you have any questions, please look there. Please also let us know if there is anything that should go in there that isn't there now or if there are any errors. Thanks alot :)

Oh, and follow @vinchenzop and @-viperboy- on Twitter for the latest updates!

Love,

the viperROM Team

<3
[HTC EVO 3D] Vinchenzop:
yea...what he said. Since many mods are now found within the viperROM updater app, I made a short how-to for the app with screenshots in the 4th post. I also added the old_epst mod to the updater this morning, so anyone that likes to change their PRL, you will need the old epst and its available in the updater
[HTC EVO 3D] -viperboy-:
A typical conversation between Vin and I. He seriously makes me laugh so hard LMAO!

LMFAO!
[HTC EVO 3D] mmvic:
I need that!!!
[HTC EVO 3D] thesparky007:
Viper gets boring thanks but Vin gets all the love
[HTC EVO 3D] smw6180:
I just HAD to thank your post for that one. ;)
[HTC EVO 3D] Vinchenzop:
He doesn't even see thanks because he used the old forum skin (pre-thanks) lol!
[HTC EVO 3D] blizzard1017:
I thanked you for telling me this
[HTC EVO 3D] sniperkill:
Hey guy's. I'm sure your all getting tired of me bringing this up, but the init.d file that ilDuce hooked me up with last night still does not work, but it looks right to me just by looking at it. So I tried and I renamed it to 03sdcardtweak and dropped it in my init.d folder, rebooted and it still reads 128! Is there something I'm missing? I made sure I edited the 21viperom init.d file before starting, and deleted the line just under #file system tweaks echo "2048" > /sys/devices/virtual/bdi/179:0/read_ahead_kb;. (so there wasnt any conflicts) I then added the 03sdtweak, then I rebooted and checked in /sys/devices/virtual/bdi/179:0 and in 179:64 ][/B] but it still did not work.

If I dont add the 03sdcardtweak and leave the 21viperom init.d file untouched, and check in /sys/devices/virtual/bdi/179:0 and it reads "2048". So I then tried to add a line into the 21viperom file since the line in viperboy's file was working. This is the line I added to see if it would work echo "2048" > /sys/devices/virtual/bdi/179:64/read_ahead_kb; but that still didn't work.

I just want both 179:0 and 179:64 both to read "3072" without having to edit those files between each boot. Could someone PLEASE help me out a little? Whether I'm doing something wrong, or whether something is wrong elsewhere. I've attached a copy of exactly what I had in my init.d folder "03sdtweak".

P.S. I got a donation set aside for the one who solves this delima for me, along with another donation I got for these guys here in "viperWorld". I'll be hooking it up (donations) as soon as I get my sick kids in bed for the night.
[HTC EVO 3D] smw6180:
You don't need any init scripts for this.
[HTC EVO 3D] NC-IL:
I would love to have "pdroid" on my phone but currently it is not compatible with evo 3D.

https://market.android.com/search?q=pdroid

Can anyone suggest similar app?
[HTC EVO 3D] Cuppeerr:
Hey whats the best way to track battery usage and check for wakelocks?
[HTC EVO 3D] sniperkill:
Okay, I'm seriously feeling like a noob here. When you say "tweaks" do you mean in Leedroid tweaks? Cuz thats the only "tweaks" I see in vipeROM RC2, unless I'm stupid, dumb, AND blind, lol...
[HTC EVO 3D] smw6180:
Yeah, sorry. Leedroid tweaks. :)
[HTC EVO 3D] NC-IL:
BetterBatteryStats is recommend by gurus.

https://market.android.com/details?...sImNvbS5hc2tzdmVuLmJldHRlcmJhdHRlcnlzdGF0cyJd
[HTC EVO 3D] sniperkill:
Thank you so much for your wisdom, and guidence wise one. But I still am having blindness issues, lol. Is there a newer version of Leedroid Tweaks out other than what I am running? Here's a screenshot.

EDIT: Sorry for my ignorance. I've opened my eyes and have seen the light. I have seen that there has been a newer version of the tweaks, lmao. I'm so stupid sometimes. Thank you for being so patient, and you too ilduce, viperboy vin, and tommy.
[HTC EVO 3D] smw6180:
lol..wise one.

See where it says 'advanced' at the top of your screen shot? Tap that.
[HTC EVO 3D] paallday:
LOL I did the same thing top right c advanced settings?

Sent from my PG86100 using Xparent Green Tapatalk
[HTC EVO 3D] cctaylor410:
Select advanced tweaks on the top right of the page right below leedroid tweaks tittle.
[HTC EVO 3D] hhisc383:
Sorry if this has been addressed, I could not find it.

With the newest update, v2.5 RC2, does anyone else have a problem with getting the hotspot to work? It was working fine before I applied the update.

Thanks.
[HTC EVO 3D] -viperboy-:
Here you go, get ready to pay me... Forget about it lol you're changing things that aren't going to affect anything. There are settings that you can set in init.d that will get overwritten by the kernel or system and there is nothing you can do about it.

Pay up :p

This is why we just redid the 2nd and 3rd post!!

Yup, reported numerous times :) fix is in the updater.
[HTC EVO 3D] bigjack216:
Anyone else having problems flashing this ROM I can't seem to get it to flash
[HTC EVO 3D] paallday:
I can almost garantee u need 2 update go 2 settings about phone software, more or just look 4 baseband under software forget which... Tell me what it is n basically if it ends in .5 u gotta update

did it help? hit the button!

sent from a viper bitten alien
[HTC EVO 3D] sniperkill:
lmao, when Brainmaster came up with the sdcard tweak, he had a script/init.d file you could drop inside the init.d folder that would keep the sd cache size for 179:0 at 2048, or whatever you wanted it to be, after a little time went by, everyne learned that you also had to change 179:64 to get the full effect of the tweak. So what has changed between then and now is beyond me.

Anyways, thanks for getting me up-to-date on the sdcard tweak (thinking to myself, damn, if he have told me this yesterday, I could have done something more productive with my day, damnit! Thanks!)(just playing viper). You guy's are awesome.

So, are these settings in the system and kernel why you only changed 179:0 in your 21viperom script, and not 179:64? Can this file (179:64) be changed to stick after a reboot without the use of any apps?

In addition, I'll be MORE than happy to pay up, you guy's deserve some bacon.. Is your pp link in the OP up-to-date?

Thanks smw6180. You an okay guy in my book, no matter what viperboy, and vin were saying about you the other day, lmao. JK buddy. I never even thought of trying to press that "Advanced Tweaks" area. Sometimes, my brain just don't wanna worky!

---------- Post added at 11:08 PM ---------- Previous post was at 11:01 PM ----------

Like one of the above posters said, make sure all your firmware bits are up-to-date, like your radio, TZ, SBL, and the RPM. Then try re-downloading your rom.zip. Make sure your using twrp 1.1.1/twrp-2. Also, if you have h-boot 1.50, firstly you need to be using a modified recovery like the one in the sticky thread ,"Flash anything you want on H-boot 1.50" or something like that. It's located in the "Roll-up Sticky thread". Some use the unmodified twrp recovery and have success. But I personally have H-boot 1.50 and use twrp 1.1.1. If you have H-boot 1.50 you need to use the all called "Flash Image GUI" by Jrummy to flash the boot.img first (it self extracts the boot.img) then reboot into recovery and wipe, then flash the rom.
[HTC EVO 3D] dkdude36:
in one post, convince me that this is the best rom there is, and you will get thanks
[HTC EVO 3D] bigjack216:
Ahhh is twrp required or can I use cwm because that just might be my problem
[HTC EVO 3D] lowetax:
send vin the thanks.

because it's smooth, fast, solid and you get instant support from Frick and Frack and others in the know.

plus it takes days to drain the battery - ykwim.

the best is whatever floats your boat, but viperROM sure qualifies!
[HTC EVO 3D] twister99403:
well said...
[HTC EVO 3D] dkdude36:
ok flashing....
[HTC EVO 3D] blizzard1017:
Cause Stone Cold said so!!
[HTC EVO 3D] Jaybell4444:
Best thing you did! This Rom is top notch and the best out there! Battery, smoothness and performance. You'll never go back!!! :D
[HTC EVO 3D] -viperboy-:
Thanks everyone! You guys are due for an update here soon, but I'm still working on this project. I'm sorry, its just taking me way longer than I thought. But it is in the works, I promise :)

Also, I will share more later, but I think that I may have come up with a solution to the 1.5 HBOOT and kernel flashing issues. I have yet to test my theory, but I think it may work and it will be a good solution while waiting for the hboot to be cracked :)
[HTC EVO 3D] PatrickHuey:
Prime eh? Fancy.
[HTC EVO 3D] ksamani:
Wow...not only do you make ROMs but you also making it easier for people who have hboot 1.5 to flash ?? That's what's up...why not just crack it ? And save all of them the trouble ...I know you can do it ...

sent from the THIRD dimension
[HTC EVO 3D] sniperkill:
Because I said so, thats why :cool:!!

(Just kidding dude)lmao... It really is a awesome rom :D

---------- Post added at 02:01 AM ---------- Previous post was at 01:54 AM ----------

You can use cwm also, BUT you gotta make sure you either use the app called flash image gui, or "adb reboot bootloader" and then "fastboot boot recovery.img" (make sure you have a copy of your recovery.img in the same folder as your fastboot) and then you only have to flash the rom. When you boot into recovery using fastboot gives you write privelages on the boot.img partition, also where your ramdisk and other files are located.. Just make sure the recovery your using is PROVEN to work with the H-boot you have :D

BTW vin, you got my 8 thanks for the day, for the last 8 posts you had wrote..
[HTC EVO 3D] lowetax:
ditto ...

and will be testing out the hotspot today. day trip to PSU for lacrosse game.
[HTC EVO 3D] -viperboy-:
Oh man, I like corn on the cob.
[HTC EVO 3D] paallday:
Rip Joe Pat you will always be Penn states coach!!

did it help? hit the button!

sent from a viper bitten alien
[HTC EVO 3D] Vinchenzop:
Ain't happening this time sunshine!

Sorry I was quiet the last 12 hours or so. My girlfriend's birthday was yesterday and we got her black-out drunk. I'm managing, but she has seen better mornings lol. Thanks for the thanks ;)
[HTC EVO 3D] -viperboy-:
Watch, it will happen haha

And shame on you, Vin. Getting a lady that drunk lol
[HTC EVO 3D] mayfield103:
Trans HTC flip clock
[HTC EVO 3D] Vinchenzop:
You can lead a horse to water...

I just took her out, she was ordering her drinks. She ordered me 10 jack and Cokes and multiple shots of Jameson. But I'm seasoned...she lost this round
[HTC EVO 3D] sofla2:
The last time I drank like that I felt like death had found me the next morning LOL
[HTC EVO 3D] paallday:
Give her bread, water,

did it help? hit the button!

sent from a viper bitten alien
[HTC EVO 3D] Vinchenzop:
I have a slight fog, but I'm good to go, her on the other hand...I'm just glad it wasn't a wine night

We went with pancakes, coffee and ibuprofen lol
[HTC EVO 3D] tx_jaycee:
Actually B vitamins are better the enzyme that converts alcohol to sugar requires thiamin (B1). I'm a toxicologist so trust me....
[HTC EVO 3D] Vinchenzop:
Oh, I believe you sir

Eating/drinking high B-vitamin enriched foods after a hangover is good because ethanol inhibits the body from absorbing the b-vitamins, causing a mild deficiency. Replenish that, along with electrolytes will make you feel 100% better
[HTC EVO 3D] 24601:
Free hangover advice from toxicologists. What more evidence do you need to flash this rom?
[HTC EVO 3D] jackpearce:
They say that if you can remember how many drinks you had, you didn't drink enough.

;-)
[HTC EVO 3D] dkdude36:
That's all I need.

Oh and do screen off animations work for anybody?

Fantastic ROM loving it so far
[HTC EVO 3D] blizzard1017:
They don't work for anyone on the new base yet.

And I find a big fat bowl of phò helps a hangover as well.
[HTC EVO 3D] evolution3d:
Still loving the battery life on viperROM Redline v2.1.1...

When there are custom kernels 100% working on the new base, I'll give it a go again. It's hard to imagine battery life could be any better than this though...
[HTC EVO 3D] wasnt:
Okay... LOVE ViperROM. Awesome!

I'm having a problem though. I was fiddling around in VC and I started getting lots of FCs. I fixed permissions and that didn't help so I rebooted. The reboot never occurred as it just sat on ViperROM bootup screen. So I went in and tried to restore via my Nandroid backup and BOOM the MD5 didn't match (that royally sucked my ass).

I did a factory wipe and re-flashed the ROM. All is great minus one big thing... the ViperROM Updater is missing! I've flashed it twice and I know it was there before the whole crash. Where is it? It's not listed anywhere, even in the apps lists.

Can I get this from somewhere else? Should I be concerned that other things might not be working? It seems like everything else is good minus that issue.
[HTC EVO 3D] paallday:
+ 1

Mmmmmmmmmmmmmmmmm pho drOOl

If u don't no what pho is its a big giant bowl of hot meaty soup and its FRICKING AWSOME

someone should make a pho ROM!!

did it help? hit the button!

sent from a viper bitten alien
[HTC EVO 3D] wasnt:
Nevermind, a second flash fixed that. :D
[HTC EVO 3D] blizzard1017:
I rocked a bowl for lunch today. I think i scared the owners cause this white boy went IN on that bowl. Sriracha and Asian chili in it and im not coming up for air
[HTC EVO 3D] Doomstang:
oops meant to Quote you instead I Thanked you :p

That's pretty good battery life...here was mine on the old:

annnnnnd here it is on the new:
[HTC EVO 3D] lowetax:
after the Terps beat PSU 16-6 today in women's lacrosse on the new field there.

i was blown away seeing PSU sports complex !

talk about nice facilities !!!
[HTC EVO 3D] dkdude36:
guessing this has even a little bit of ciq in it right?

yeah massive reboots on anthrax
[HTC EVO 3D] il Duce:
Shouldn't reboot. Maybe wipe cache /dalvik and try again? Iirc this rom used anthrax as default for a while.

Oh and I think most folks are running vins version, since the op had boot image issues.
[HTC EVO 3D] thermus:
Wonder if its possible to hack the lockscreen files to add 6 apps to the lockscreen. 4 is great but i have 6 apps I always use and would be nice to have lockscreen access. "Thank" if you think its a good idea :) going to post this in the themes section. Thought I would throw it out here to us Vipers first.
[HTC EVO 3D] I_Am_Lorde:
The letter P on my keyboard doesn't work. NO matter how hard I push it, or how I tap it it will not work. This is on the stock keyboard as well as others I have downloaded from the market. ANyone have any clue as to why this could be occuring? I reflashed the rom just to make sure something didn't go wrong when I flashed the first time. I may be wrong but I don't think its a hardware issue because it is just the letter p and nothing else, then again what do I know?

Thanks in advance!
[HTC EVO 3D] dkdude36:
yeah i had the wired unbootable thing agian. where is everybody finding vin's versions it seems like he has one for every rom
[HTC EVO 3D] -viperboy-:
That sounds more like a hardware issue to me man.

And you all can start hating me now... Got an iPhone 4S today lol traded the stupid Samsung for it and didnt have to pay any money so it was a good deal. Don't worry, development won't be stopping here :)
[HTC EVO 3D] twister99403:
Ouch burn to android you traitor!! lol jk
[HTC EVO 3D] tmomda:
Yea I'm running the latest Anthrax as well and getting tons of reboots. Cleared the cache and dalvik twice with no noticeable results. Checked my log and I got a "Failed to find provider info for android.server.htcCheckin" error; not sure if that means anything really.
[HTC EVO 3D] paallday:
I am running it with no problems on the ROM from the op.... 2 questions, 1 did u follow his flash instructions 2 A t? And 2 u r on r 14 right?

did it help? hit the button!

sent from a viper bitten alien
[HTC EVO 3D] z50king:
I sent and received 96 text messages today and was at home on a weak 4G signal all day. Not bad
[HTC EVO 3D] tmomda:
Chad's instructions? Yea I always follow that to a T. I wipe delvik and cache, flashed the kernel, re-wipe delvik and cache, reboot the phone, waited 10 minutes, and reboot again. Also, yes, I am using r-14.