yashsingh1/xdaforums huggingface dataset:
[Xperia Arc Android Development] Okluzhion:
Re: [KERNEL][ICS] Vengeance [ARC/S/PRO][1.32][18/02/13]

I once flashed CM on my bf's HTC Desire HD, and then later on reflashed stock based ROM. I didn't have to change kernels, so I guess that's a yes.

Sent from my cracksperia Arc
[Xperia Arc Android Development] TopperBG:
But if you launch script in background, isn't it necessary to remove those "sleep"s ?

Because with them boot will wait again 50s ?
[Xperia Arc Android Development] gu5t3r:
No, after you relaunch in BG, first script will wait 10 seconds before applying settings and second script will wait 50 seconds before applying settings but phone will continue booting immediately...

jader's intention was for his scripts to apply settings last so other tweaks don't overwrite them, but he forgot to relaunch them in background, either this simple way or by creating function...

function way:

#!/system/bin/sh
exec > /dev/null 2>&1

RunInBackground(){

#here goes original script without shell line

}

RunInBackground & exit 0;

Anyway, there is better way for waiting for script to apply setting last, the way zeppelinrox uses...

while [ "`busybox ps | busybox grep android | busybox grep -v grep`" ]; do sleep 10; done

...but requires busybox...

or the way I use for smartassV2 script...

while [ "0`getprop sys.boot_completed`" -eq 0 ]; do sleep 10; done

using that way scripts would look

#!/system/bin/sh
exec > /dev/null 2>&1

RunInBackground(){
while [ "0`getprop sys.boot_completed`" -eq 0 ]; do sleep 10; done

#Tweak SD readahead values
echo 1024 > /sys/devices/virtual/bdi/179:0/read_ahead_kb;
echo 1024 > /sys/devices/virtual/bdi/default/read_ahead_kb;

#File system tweaks
busybox rm -rf /data/tombstones/*;

#Tweak various memory settings
sysctl -w vm.dirty_ratio=20;
sysctl -w vm.dirty_background_ratio=5;
sysctl -w vm.vfs_cache_pressure=300;
sysctl -w vm.oom_kill_allocating_task=0;
sysctl -w vm.min_free_kbytes=2048;
sysctl -w vm.dirty_expire_centisecs=200;
sysctl -w vm.dirty_writeback_centisecs=500;
sysctl -w vm.panic_on_oom=0;
sysctl -w vm.overcommit_memory=1;
sysctl -w vm.overcommit_ratio=50;
sysctl -w vm.swappiness=0;

sysctl -w kernel.panic_on_oops=1;
sysctl -w kernel.panic=10;
}

RunInBackground & exit 0;

and

#!/system/bin/sh
exec > /dev/null 2>&1

RunInBackground(){
while [ "0`getprop sys.boot_completed`" -eq 0 ]; do sleep 10; done

sleep 10;

/system/xbin/hd;
}

RunInBackground & exit 0;
[Xperia Arc Android Development] jcgechevarria:
Bad model info

Can anyone tell me why if i have an arc lt15, in phone settings i see taht i have an arc s lt18i, and when connect to pc, PCCompanion shows that i have a st18 ray?????:eek::eek::eek::eek::eek:
[Xperia Arc Android Development] Okluzhion:
Re: [KERNEL][ICS] Vengeance [ARC/S/PRO][1.32][18/02/13]

Your ROM's doing it. You have to edit some lines in build.prop to fix it.

Sent from my cracksperia Arc
[Xperia Arc Android Development] digitalsuni:
is USB OTG will work on this?

is USB OTG will work on this kernal?
[Xperia Arc Android Development] digitalsuni:
pls help.

Cant able to mount usb stick.

pls help.
[Xperia Arc Android Development] :
Re: [KERNEL][ICS] Vengeance [ARC/S/PRO][1.32][18/02/13]

I had planned to discontinue this kernel for MSM7x30 devices. But seeing the immense support from arc community, I may continue the kernel for anzu, ayame and iyokan. Rest have been discontinued already. There have been over 10000+ downloads of 1.32 from these 3 devices alone.

:)

edit: i am ready with new version. Just need some testers first to verify if it stands better than 1.32

If you guys want CM9 supported kernel, send me last and working fxp kernel for your device
[Xperia Arc Android Development] Madaditya:
Thanx for supporting!

Glad you would like to continue!
[Xperia Arc Android Development] jcgechevarria:
Thanks, are you planing any update?
[Xperia Arc Android Development] openperl:
There is a file named "build.prop" in System folder.

The file "build.prop" determines the spec of your phone.

Edit the file.

- Search the forum and there will be good tutorials. :laugh:
[Xperia Arc Android Development] :
+1

Moral support from me!!

without Vengeance 1.32 it like not a phone

to slow to use

you've done better than the whole team sony
[Xperia Arc Android Development] Iqbal Ansari:
please provide voltage control support in the next update.
[Xperia Arc Android Development] Babis_ECE:
Thank you Rachit for continuing development, Vengeance is a trully great kernel, would love to see next versions of this..!
[Xperia Arc Android Development] fireillusion:
Re: [KERNEL][ICS] Vengeance [ARC/S/PRO][1.32][18/02/13]

Keep up the excellent work :)
[Xperia Arc Android Development] rod555:
yes :thumbup:

---------- Post added at 08:39 AM ---------- Previous post was at 08:37 AM ----------

yeah! :D
[Xperia Arc Android Development] :
Links for 1.34 are live.

Will update thread on confirmed boot.
[Xperia Arc Android Development] kAcA.:
^^ Downloaded new kernel but can't download the Modules... Is it me or?
[Xperia Arc Android Development] vashta:
Confirmed Boot.

Currently on :

Rom : 4.1.B.1.13 ROM

Baseband : 77

Wifi : Work.

Device : Xperia Arc / Unlocked BL
[Xperia Arc Android Development] gu5t3r:
It's you...
[Xperia Arc Android Development] kAcA.:
^^ Yep.. It was me.

Anyway - Confirmed boot AYAME :good:
[Xperia Arc Android Development] Drupry:
I can comfirm boot on my Xperia PRO with Viper v5 ROM
[Xperia Arc Android Development] rod555:
amazing!!
[Xperia Arc Android Development] Zotmen:
Vengeance v1.34

yeah! yeah! yeah!
[Xperia Arc Android Development] demonhunter1991:
This kernel is very stable and has good battery life! I very like it! Thanks so much
[Xperia Arc Android Development] NoFrown:
all this positive feedback :)

really bad that it is discontinued for Xperia Ray :(

isn't it possible that you make this kernel available for Ray again?

Will be your tester if you need one :thumbsup:
[Xperia Arc Android Development] jcgechevarria:
Don't work

On a LT15I with fresh 587 rom i get keyboard was stoped after login, first i get android.com.phone was stoped error. with 1.34 version
[Xperia Arc Android Development] gerardojerry:
It boots correctly in Arc S, Viper v5 ROM, lets see the battery life :D
[Xperia Arc Android Development] gu5t3r:
One complaint only about init.d; you are copying sysinit from /res/extras to /sytem/bin from veng.sh but init.rc is trying to execute /system/bin/sysinit before any service is started (and sysinit it is not there on first boot), thus if switching from another kernel and having A2SD script will result in Factory Reset as sd-ext partition will not be mounted because init.d sripts won't be executed...

Isn't it easier and simpler to just exec /res/extras/sysinit or put sysinit in /sbin and just exec /sybin/sysinit from init.rc ?

Of course, you would have to set 0755 permission to /sybin/sysinit and cpio will preserve it...

Also, code that creates /system/etc/init.d directory and sets permissions of scripts should be in sysinit because if I copy script to /system/etc/init.d and I don't set permission to execute, on first reboot script will not execute because sysinit runs before veng.sh; sysinit will skip that script and then veng.sh will set correct permission so script can finally execute on second reboot...

If you put that code in sysinit before /system/bin/logwrapper /sbin/busybox run-parts /system/etc/init.d, sysinit will first set correct permissions to all scripts and then execute them...So that script that I would copy to init.d without correct permissions would run on first reboot this way...

Update: Found error in veng.sh; Line 285

# [SYSINIT] fixing sysinit permission
/sbin/busybox echo "[38] $TIME - [SYSINIT] fixing sysinit permission"
if /sbin/busybox [ -d /system/system/etc/init.d ];
then
/sbin/busybox chown root.root /system/etc/init.d
/sbin/busybox chmod 0755 /system/etc/init.d
fi;

if /sbin/busybox [ -e /system/system/etc/init.d/* ];
then
/sbin/busybox chmod -R 0755 /system/etc/init.d/*
fi;

.../system/system/etc/init.d will never exist so permissions will never be fixed...

and in Line 284 you don't redirect echo output to log...
[Xperia Arc Android Development] nokiagye:
The max cpu speed? Thanks
[Xperia Arc Android Development] gu5t3r:
1.7 GHz
[Xperia Arc Android Development] Zotmen:
I have not found ROW I/O Scheduler! :(
[Xperia Arc Android Development] :
Lastest stock rom xperia pro

- booting is good

- wifi working

- gps working

- bluetooth no time to test

- everything other it seems be good

- not able to continue to test like my others tests with AnTuTu

- because I use phone every day it is not the "fresh new rom"

- (lot sms, lot phone book, opera temp etc)

- It will not show real results

But on the start, with same apps, with all same settings I get

memory increase from 173 to 183!

- how you do that

- vengenace 1.32 restart memory 173 (advanced task manager)

- vengeance 1.34 restart memory 183 (advanced task manager)

I have no any problem with init.d`s, I hew one "set" from my collected!

smartassV2/sio

max 1018 min 184

I think if it's by my new rom my xperia on 1Mhz will be working as arc on 1.4 Mhz.

With this kernel I got results about 5100 5200.

many thanks you deserve one small donation

and you working in the silence not as us jader with to to to much comments

and newer finished the rom
[Xperia Arc Android Development] nokiagye:
Gu what do you think this? Or lupus v10?

---------- Post added at 10:18 PM ---------- Previous post was at 10:14 PM ----------

Don't say about antutu. the scores are not true... On my arc s with viper and lupus the antutu say with 1600 mgz.4800 max and the Rom+kernel works perfect... And on other roms say 5000 and6000 but the phone was lugy

So......

Don't believe on this

---------- Post added at 11:00 PM ---------- Previous post was at 10:18 PM ----------

I install it just now with 250 apps work perfect 200+ ram only on 1400 a little lugs on trigger nice jab...it would be nice another recovery like the doom kernel red and with quick option to choose something... And another kernel boot image thanks
[Xperia Arc Android Development] Arrowblue:
After Flashing V1.34 icons are missing from every where. Settings>Apps also missing icons ,, fc launcher did not help ,all my apps

stored on Sd card are mising,, when i select an app says ( app not found ). i am having this trouble only with Vegeance kernel i tried other versions

too and result were same.

any suggestions?
[Xperia Arc Android Development] gu5t3r:
Do you have A2SD scripts?
[Xperia Arc Android Development] :
I can not believe that the whole teams, makers of the benchmarks do not make it good?

I can not believe that in one car, measures speed does not work if the motor working not!

I can not believe that one car, that passes through the finish line as first, be declared a third place.

The whole planet, all the people on the earth, all tested and work with benchmarks and all and all have confidence in it and working with it!

- everywhere are some benchmarks of competition,

- a standard that says this is a quickly

Only one place in this all, only one place on this planet, only here in this forum, it is not so.

benchmarks are nothing

guys what is it with yours

who are you here on xda to tell the whole planet, that their measurement standards are stupid

for me all the people do not know anything, and the only one thing they know is to count and measure
[Xperia Arc Android Development] Arrowblue:
i am using Link2sd to move apps to Sd card.Still those apps that are installed on sd card are also missing icons.
[Xperia Arc Android Development] gu5t3r:
As I said In post page before, Vengence starts executing init.d scripts after second reboot... probably it didn't mount /data/sdext2 for link2sd...try rebooting 2 or 3 times and regenerating link2sd boot scripts...
[Xperia Arc Android Development] Arrowblue:
I asked this question like every where, using other kernels i never had this problem its only Vengeance. Well i think Vengeance is not made for me:p moving back to rush.
[Xperia Arc Android Development] gu5t3r:
Main plus of new Vengeance is /dev/frandom (for filling entropy), it is 21 time faster than /dev/urandom and more than 500 faster than /dev/random

...but to see it in effect you need to enable it with this init.d script

#!/system/bin/sh

if [ -e /dev/frandom ]; then
chmod 644 /dev/frandom
mv /dev/random /dev/random.ori
mv /dev/urandom /dev/urandom.ori
ln /dev/frandom /dev/random
chmod 644 /dev/random
ln /dev/frandom /dev/urandom
chmod 644 /dev/urandom
fi

which will force android use frandom instead random and urandom....

You can't see it's effect in AnTuTu Benchmark which are same for LuPuSv10 and Vengenace 1.34 on my rom (everytime I run it I get different result, benchs are inconclusive but around same result), but after forcing frandom UI seems a lot snappier...

Try it and give back results...

Thing I don't like about Vengeance is no VDD control as my phone runs stable at 1500MHz at 1250mV, 1400MHz on 1200mV, etc...

My UnderVolt table:

VDD=/sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
echo '134400 850' > $VDD
echo '184320 875' > $VDD
echo '249600 900' > $VDD
echo '364800 900' > $VDD
echo '460800 950' > $VDD
echo '576000 950' > $VDD
echo '652800 1000' > $VDD
echo '768000 1000' > $VDD
echo '806400 1025' > $VDD
echo '921600 1050' > $VDD
echo '1017600 1075' > $VDD
echo '1113600 1100' > $VDD
echo '1209600 1125' > $VDD
echo '1305600 1175' > $VDD
echo '1401600 1200' > $VDD
echo '1516800 1250' > $VDD
echo '1612800 1250' > $VDD

---------- Post added at 03:49 AM ---------- Previous post was at 03:46 AM ----------

Until you edited post it stated you use TB...

I edited Vengeance 1.34 Ayame for myself to have better init.d executing...Contact me on pm if you want for me to modify Anzu version for you to try...
[Xperia Arc Android Development] Arrowblue:
Hi,

Benchmark or no benchmark at all does it matter? i have 2 Xperia arc : i bought them here in belgium, i am using Viperxperia rom V5 with Rushkernel v10 on both of my devices and i tried benchmark softwares there is always difference in those result ! using same devices using same kernel and same rom still there is alot of diffrence between them. so i think benchmark is a rubbish concept ..but i do understand you too.

Good Luck :good:
[Xperia Arc Android Development] 3Dota:
new kernel seems bit more responsive in last 3 hours... in .13

let's see in whole day ...
[Xperia Arc Android Development] dpkmna:
In change log it is said that "Add and enable Frandom"

So do we have to again enable by this script ?
[Xperia Arc Android Development] bern4d1:
Can't we use this kernel for A2SD?
[Xperia Arc Android Development] Iqbal Ansari:
Really good kernel.

just one thing missing.

Pls add undervolting support then this kernel will be perfect.
[Xperia Arc Android Development] tonyru:
modules wifi not work on my arc
[Xperia Arc Android Development] eagleeyetom:
Thread cleaned. Please keep it on topic.

Thanks!
[Xperia Arc Android Development] rezaswandira:
+1, please fix the modules
[Xperia Arc Android Development] TopperBG:
I have idea in mind... because successfully started LuPuSv10 in HotBoot, can be Vengeance 1.34 started in HotBoot AND working with 1.32 modules?

For testing purposes.

I know LuPuS kernel have integrated modules and due to this it works with WiFi w/o additional flash hence it can work just fine in HotBoot :)

Just a idea :fingers-crossed:
[Xperia Arc Android Development] gu5t3r:
Frandom module is enabled, but you need to force android to use it...

Just make e.g. 20frandom in /system/etc/init.d, apply 777 permissions and reboot (or use one from attachment)...

If you have random.ori and urandom.ori in /dev/ it means it is enabled as random and urandom are hardlinked to frandom =)

Yes you can, but when switching from another kernel it can make mess because it doesn't execute init.d scripts until second reboot (until sysinit is copied from /res/extras to /system/bin/)
[Xperia Arc Android Development] vashta:
Strange... wifi work great in my Arc... :cowboy:
[Xperia Arc Android Development] nokiagye:
Gu you are our man thanks once again...i il post when I go to pc to test

---------- Post added at 04:48 PM ---------- Previous post was at 03:51 PM ----------

Gu I put the frantom in to initd what job it does?
[Xperia Arc Android Development] gu5t3r:
It keeps entropy fast and full...

Test: /dev/random

root@android:/dev # dd if=random of=null bs=1M count=3
dd if=random of=null bs=1M count=3
0+3 records in
0+3 records out
384 bytes (384B) copied, 0.000579 seconds, 647.7KB/s

root@android:/dev # dd if=random of=null bs=1M count=1
dd if=random of=null bs=1M count=1
0+1 records in
0+1 records out
128 bytes (128B) copied, 28.720093 seconds, 4B/s

as you can see random doesn't look so slow at first (648kB), but that is due SuperCharger tweak to keep entropy full 3MB...

....on second run when entropy is empy we see a real speed of random, 4B/s i.e SLOW

Test: /dev/urandom

root@android:/dev # dd if=urandom of=null bs=1M count=32
dd if=urandom of=null bs=1M count=32
32+0 records in
32+0 records out
33554432 bytes (32.0MB) copied, 27.944611 seconds, 1.1MB/s

Test: /dev/frandom

root@android:/dev # dd if=frandom of=null bs=1M count=128
dd if=frandom of=null bs=1M count=128
128+0 records in
128+0 records out
134217728 bytes (128.0MB) copied, 5.207428 seconds, 24.6MB/s
root@android:/dev # dd if=frandom of=null bs=1M count=512
dd if=frandom of=null bs=1M count=512
512+0 records in
512+0 records out
536870912 bytes (512.0MB) copied, 20.932007 seconds, 24.5MB/s

It is ultra fast and never empty....

What 20frandom script does is forcing android to use frandom instead random and urandom...

Test of random and urandom after running script (you don't need to run it manually it executes on boot if put in init.d):

root@android:/dev # /system/etc/init.d/20frandom
/system/etc/init.d/20frandom
root@android:/dev # dd if=random of=/dev/null bs=1M count=64
dd if=random of=/dev/null bs=1M count=64
64+0 records in
64+0 records out
67108864 bytes (64.0MB) copied, 2.818756 seconds, 22.7MB/s
root@android:/dev # dd if=urandom of=/dev/null bs=1M count=64
dd if=urandom of=/dev/null bs=1M count=64
64+0 records in
64+0 records out
67108864 bytes (64.0MB) copied, 2.673767 seconds, 23.9MB/s

From test we see android system uses frandom instead random and urandom....
[Xperia Arc Android Development] 3Dota:
no problem in here ...
[Xperia Arc Android Development] digitalsuni:
Cant able to use lastest pendrives in USB OTG..

Only pendrive comes with led only works..

Pls do something bro..:thumbup:
[Xperia Arc Android Development] gu5t3r:
This is problem on all kernels...I think it's problem due to USB Sticks, as some of them don't work even on Xperia U & Xperia S that have Sony Stock support for OTG (but some that don't work on ArcS work on Xperia S)....

On the new Xperia Z almost all USB Sticks works (had a chance to test)...
[Xperia Arc Android Development] Iqbal Ansari:
Please can somebody add voltage control to this kernel.

Or any guide to do so.
[Xperia Arc Android Development] Yovecio:
How to add it?
[Xperia Arc Android Development] gu5t3r:
It's for LuPuS kernel...

Make script i.e. 60UV in init.d

#!/sbin/busybox sh

VDD=/sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
echo '134400 850' > $VDD
echo '184320 875' > $VDD
echo '249600 900' > $VDD
echo '364800 900' > $VDD
echo '460800 950' > $VDD
echo '576000 950' > $VDD
echo '652800 1000' > $VDD
echo '768000 1000' > $VDD
echo '806400 1025' > $VDD
echo '921600 1050' > $VDD
echo '1017600 1075' > $VDD
echo '1113600 1100' > $VDD
echo '1209600 1125' > $VDD
echo '1305600 1175' > $VDD
echo '1401600 1200' > $VDD
echo '1516800 1250' > $VDD
echo '1612800 1250' > $VDD

---------- Post added at 07:30 PM ---------- Previous post was at 07:29 PM ----------

Values are based on KTG kernel which is undervolted by default...
[Xperia Arc Android Development] Yovecio:
So no for vengeance right? :(
[Xperia Arc Android Development] nokiagye:
Gu because I don't understand what job doing the frandom can you simple explain?
[Xperia Arc Android Development] TopperBG:
Random is in use very often in Android - to generate random number/sequence.

Examples with real results are and what is the difference when is generated random dummy files already posted from gu5t3r above.

---------- Post added at 11:15 PM ---------- Previous post was at 11:05 PM ----------

BTW modules for 1.34 didn't work for me (two times re-flashed, few reboots, nothing)

But works old ones from 1.32 ?
[Xperia Arc Android Development] gu5t3r:
Will work if one day Vengeance will have VDD control...For now, it doesn't....

LINK1

LINK2
[Xperia Arc Android Development] digitalsuni:
Any other kernel supports all usb sticks????
[Xperia Arc Android Development] gu5t3r:
Think not, it's due hardware...
[Xperia Arc Android Development] rezaswandira:
Figured out the problem, my /system partition remaining was less than 7MB while the modules size is pretty darn big about 9MB

So i cleaned up my system a little bit, reflash modules, then voila the wifi works :victory:
[Xperia Arc Android Development] Louis235:
I have a strange problem. I'm on ICS HD Supernova Build 7 and have an LT18i. So for some reason Vengeance Kernel doesn't work. It seems to be normal till I reboot. It stuck at Sony Logo. If I change Kernel this doesn't happen. I really like to use this Kernel. Is there anything I can do?

Thanks in advance
[Xperia Arc Android Development] gu5t3r:
probably bad init.d scripts as vengeance does not run them on first boot...try deleting everything from /system/etc/init.d
[Xperia Arc Android Development] Louis235:
Thank you. I'll gonna try it immediately and ill report:)

---------- Post added at 06:36 AM ---------- Previous post was at 06:05 AM ----------

That works:):):). I deleted everything as you said and now Vengeance boots normally:good: One question. Now as the whole init.d folder is deleted...does this effect performance negatively?
[Xperia Arc Android Development] TopperBG:
Confirm - 1.34 boots on LT18i (in my sign) and WiFi works already :)
[Xperia Arc Android Development] mamenvn:
Hi pro,

I'm not found random, frandom, urandom in /dev/ folder
[Xperia Arc Android Development] Obing:
How about VDS kernel !?

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

It did work for me !
[Xperia Arc Android Development] blakstar:
how is the battery in this one 1.34 ?
[Xperia Arc Android Development] gu5t3r:
Every kernel had /dev/random and /dev/urandom...

Vengeance 1.34 also has /dev/frandom...

Seems you're not very good at finding things...

ls -l /dev/*random*
[Xperia Arc Android Development] jkjacek:
On 1.32 battery life was good. I just installed 1.34 and let you know after 2 or 3 days of usage.

Arc S, Viper 5.0
[Xperia Arc Android Development] blakstar:
OK, thank you, don't forget to report. I don't like to flash something without reviews
[Xperia Arc Android Development] zygzoo:
i have vengeance 1.34 with 4.1.B.1.13 firmware

in attach i put a screenshot with baterry consumption
[Xperia Arc Android Development] Zotmen:
UnderVolt

gu5t3r, you can do undervolt for Vengeance v1.34?
[Xperia Arc Android Development] gu5t3r:
Nope, only Rachit Rawat can do that...
[Xperia Arc Android Development] Madaditya:
NO boot!

Tried hot boot....

it fails..

cleaned all init.d scrits as well and tried

on Iyokan

Edit: elf dosent hot boot!

Kernel flashed properly and booted as well!
[Xperia Arc Android Development] Zotmen:
UnderVolt

But are there any ways to lower voltages?
[Xperia Arc Android Development] gu5t3r:
You can ask him for UnderVolted version as he only has to edit one file and compile kernel again.... 30 mins job tops...
[Xperia Arc Android Development] Zotmen:
Thank you! And what can you say about I/O ZEN?

Which is better - VR, SIO or ZEN?
[Xperia Arc Android Development] gu5t3r:
I think you cant hotboot elf kernel, but I can convert it to IMG for you...

---------- Post added at 07:27 PM ---------- Previous post was at 07:24 PM ----------

I use SIO, don't know about ZEN... No information about it and Rachit didn't declared if ZEN ROW is one scheduler, ROW should be better than SIO as it's made specially for Flash memories...