yashsingh1/xdaforums huggingface dataset:
[Xperia Arc Android Development] gu5t3r:
You have a bunch of bad, stupid and poorly written scripts in init.d...

Also, Viper ROM added some of those on update...

For example,

97oom is making you wait 60 secs at boot screen because you don't relaunch it in background...

and script is pointless

#!/system/bin/sh

sleep 60

PPID=$(pidof com.sonyericsson.android.socialphonebook)
echo "-17" > /proc/$PPID/oom_adj
PPID=$(pidof com.android.phone)
echo "-17" > /proc/$PPID/oom_adj
PPID=$(pidof com.sonyericsson.home)
echo "-17" > /proc/$PPID/oom_adj
PPID=$(pidof com.sonyericsson.conversations)
echo "-17" > /proc/$PPID/oom_adj

because it adjusts adj for launcher, messaging and contacts app only once and those app will close themself eventually...

also, what is you guarantee that contacts and messaging is running when this scripts execute

Delete the script...Use supercharger bulletproof apps...

06removecache

doesn't do anything because there is no shell line

should look like this for cache cleaning on boot

#!/system/bin/sh
REMOVE_CACHE=1

if busybox [ $REMOVE_CACHE -eq 1 ]; then
CACHE_DIR=(` busybox find /data/data -type d -iname *cache* -print `);
for dir in ${CACHE_DIR[*]}; do
busybox find $dir -type f -delete
done
log -p i -t boot "Cleared data cache..."
fi

99Pimp_my_Rom

has error in sqlite3 db optimizing syntax and should look like this

#!/system/bin/sh
### Pimp my Rom : Optimization of all sqlite3 databases each boot
OptimizeDatabases(){
if [ -e /system/xbin/sqlite3 ]; then
for i in `$BUSYBOX find ./ -iname "*.db"`; do
/system/xbin/sqlite3 $i 'VACUUM;'
/system/xbin/sqlite3 $i 'REINDEX;'
done
fi
}
### Pimp my Rom : Battery Savings
echo 500 > /proc/sys/vm/dirty_expire_centisecs
echo 1000 > /proc/sys/vm/dirty_writeback_centisecs
### Pimp my Rom : Strict Minfree Values
echo '2048,3840,14080,15360,17920,20480' > /sys/module/lowmemorykiller/parameters/minfree
###Disable log cat on boot
rm /dev/log/main

exec > /dev/null 2>&1;
OptimizeDatabases & exit 0;

S86battery

is setting your ondemand up threshold to 70 from original 90 which will result in more battery drain

is resetting battery stats every boot, and I'm not sure why it didn't bootloop your phone as its poorly written code

Speedy

you are setting read_ahead_kb sdcard read cache first to 512, then to 3072, and againt to 2048...???

anything bigger than 1024 for <512MB devices is pointless... produces lag...

DELETE THEM ALL EXCEPT SUPERCHARGER, LINK2SD AND ZRAM

p.s. maybe you can retain also xloud and clearbass
[Xperia Arc Android Development] xperiarcs:
When Release for GB ? :)
[Xperia Arc Android Development] nokiagye:
thanks alot you're right for all

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

so quich one to delete?ok i keep the zram supercharger link to sd clearbass xloud and the removecache?i must delete this too?and thanks thanks alot

i reboot it and it opens much much faster
[Xperia Arc Android Development] gu5t3r:
If you modify removecache like described in this LINK you can keep it but...
[Xperia Arc Android Development] nokiagye:
ok i delete it one more question on the lupus script i aply all the scripts and it say do you want to crate a folder on initd beacose on every reboot you mast aplu the script again and i say yes crate its ok this?and exept supercharger i have seeder apk the sd to 1024 the swaper 500mb and the zram of the lupus setings to 200 its ok all this ?and again tnks

it stuck again with lupus i reflash the rom
[Xperia Arc Android Development] gu5t3r:
If you use SWAP then disable ZRAM, or don't make it bigger than 64MB...

The problem with ZRAM is that when ZRAM is filled with 100MB of data, it occupies about 30 MB of RAM...

So, when you fill 200MB of ZRAM you have 60MB less of RAM to use...

That doesn't happen with swap as it's not stored in RAM rather on SD Card, but, it is of course slower...Benefit of swap is that you can use all 351MB of ram on LuPuSv10 and run memory hungry apps and games...

I found that read_ahead_kb is best to set to 768 kB on ArcS, as I said 768kB gives same bench results in SD Tools as 1024kB but produces less LAG in real life...

---------- Post added at 07:14 PM ---------- Previous post was at 07:11 PM ----------

lupus menu ask you to create script in init.d folder, not to create a folder, of course, choose yes...

thus...supercharger overwrites lmk settings of lupus as it runs last...
[Xperia Arc Android Development] nokiagye:
ok now i understand. in 30 minutes with lupus it stuck 2 times i dont nowwhat to do ..install all the rom from begening or another kernel?

with another kernel it works but i want this is fast

..the v5 i install it above the 4.5 only wipes i make i dont now mabe this is the problem
[Xperia Arc Android Development] gu5t3r:
Dunno, I use LuPuSv10 my V3 fix with SuperCharger on Stock ICS latest .13 Rom and I didn't experienced any kernel Reboots or Bootloops =(

Did you tried removing all scripts from init.d?

Viper Rom is a mess, looking at /system/xbin folder; developer didn't know how to make symlinks to busybox so he copied busybox for awk, free and pidof...LOL

Try deleting /system/etc/install-recovery.sh and /system/xbin/sysinit

Try deleting /system/xbin/busybox to use LuPuS integrated one...

Viper ROM is executing init.d scripts again without check if kernel done that already...

Vengeance kernel does not generate busybox symlinks in /system/xbin like my LuPuS v3 fix

and Viper uses /system/xbin/run-parts which does not exist on Vengence but exists in LuPuS...
[Xperia Arc Android Development] nokiagye:
i install the rom from begin with full format-wipe and 20 minutes now its ok one more time thanks for all this now i know some thinks

i install all my apps one by one it will take some our and i tell you how it works
[Xperia Arc Android Development] gu5t3r:
Delete /system/etc/install-recovery.sh, /system/xbin/sysinit, /system/xbin/busybox from Viper Rom, it will help you for sure... (LuPuSv10_gu5t3r_V3_Fix will link /sbin/busybox to /system/xbin/busybox on boot)
[Xperia Arc Android Development] nokiagye:
i install 100 apps-games and play dead trigger on 1000 mgz smooth

the problem was the fast upgrade without wipes...
[Xperia Arc Android Development] black heart:
Couldn't find the zram enabler zip, any help?
[Xperia Arc Android Development] Madaditya:
V10 has it integrated...

No need to flash again..

Run lupus script...

You get options to enable/disable zram...

Juz be the smart Geek :cool:
[Xperia Arc Android Development] lizzardking2004:
wifi problem

i installed lupusv10 yesterday and keep having weird wifi problems!!!

I also installed the wifi module.

When i turn on my wifi all my connections in the area keeps switching,

also when i try to connect to my home network it won't let me.

I also tried to reset via terminal but no succes.

Same problem happend when on stock ICS .587 generic.

Hope someone had the same problem before (i really want wifi on my Phone)

Thx for help...
[Xperia Arc Android Development] [NUT]:
What ROM are you running?
[Xperia Arc Android Development] lizzardking2004:
Latest UHD rom.
[Xperia Arc Android Development] caqo71:
as GB roms are back.. is there some chance to make this kernel to work with a GB rom? ;)
[Xperia Arc Android Development] [NUT]:
Jader himself also complained about wifi not being very stable, and one of reasons why he released 3.0.x of UHD was because of his WIFI being much more stable on it... have you ever tried UHD 2.0.x?

Maybe you could try to update your BB + libs, at some freaky moment my wifi went bonkers for a while, flashing a new baseband + libs fixed that for me... though it should not have (as the BB + libs are for your GSM/3G hardware, not for wifi) ... but it can't hurt to try, right?
[Xperia Arc Android Development] izuall187:
We need to wait for any maintenance on this. Wifi is still not working although the kernel is working smoothly on any gb rom i've tested with BB83 with gb libs. Or an update on the wifi module should do just fine.

Device: Lt8i

Kernel: DooMKerneL v22
[Xperia Arc Android Development] binhgreat:
How to recompile this kernel from source? I want to change some file in ramdisk, but don't know how to extract it from .IMG file. Lupus pack its ramdisk by a different way with other kernel.
[Xperia Arc Android Development] [NUT]:
Better wait for the latest version before you redo something: the next version will contain a lot of changes, to the ramdisk aswell.
[Xperia Arc Android Development] gu5t3r:
use lzcat instead gzip

and use lzma instead gunzip

ramdisk uses lzma compression instead gzip

dont forget to unpack with cpio to preserve permissions
[Xperia Arc Android Development] wedgess:
LuPuS v11 Released

[B]-v11[/B]
- [COLOR="Red"]Updated kernel to 2.6.32.60[/COLOR]
- CWM = volume down
- TWRP = volume up
- Complete clean up and new improved LuPuS Menu
- Free's more RAM 360mb RAM in total now
- Fixed AROMA
- Backport Binder from CAF 3.4.0
- Triple Buffer
- Frandom
- Tweaked deadline
- Tweaked SmartassV2
- New governor SmartassH3
- New IO-Scheduler ZEN
- Patch so entropy no longer depletes
- Zcache
- ARM optimizations
- Genlock backported from CAF
- Replaced old compaction with newer/better version
- Backported logger from CAF and free'd RAM from logger
- Updated improved LMK
- Removed fudgeswap
- Updated crc32 lib from 3.3 kernel
- New net scheduler Stochastic Fair Blue (SFB)
- Optimized Tiny RCU
- CFS tweaks
- Quick keyboard reset (hold HOME + POWER)
- Timed_gpio backported from CAF
- Snapdragon optiizations
[URL="https://github.com/garwedgess/LuPuS-STOCK-ICS-Xperia2011/commits/2.6.32.x"]** Plus more see here for all patches and credits**[/URL]
[COLOR="Green"]Also Big Thanks at gu5t3r and [NUT][/COLOR]
[Xperia Arc Android Development] openperl:
Great KERNEL!

T--H--A--N--K--S!!!

#-----------------------------------------------------#

failed: enable zram

enable frandom

error message: ".... no such file or directory ... "
[Xperia Arc Android Development] solid7:
i lost my root after this kernel

i even download the binary and everythings nothings works

root is gone
[Xperia Arc Android Development] [NUT]:
You have to flash it?
[Xperia Arc Android Development] nokiagye:
it work perfect i dont loose anything try it thnks wedges
[Xperia Arc Android Development] zgmfx20:
is it only me or videoplayback(720p) doesn't work on version 11? i'm on GB lt15i.

i wanted this badly i tried this on my arc but videoplayback doesn't work. It's fast and high ram.:crying:
[Xperia Arc Android Development] caqo71:
is there some GB WIFI modules compatibles. :confused:
[Xperia Arc Android Development] [NUT]:
I'll try it tonight (don’t have the phone with me right now and I’m currently at work) as I have GB (X-Gamer) installed for testing purposes now anyway.

I'll report back after testing, somehow I never thought of testing the playback of video during the pre-release tests :eek:

---------- Post added at 09:07 AM ---------- Previous post was at 09:05 AM ----------

Not yet, we hope to have working gb wifi in next version, but no promises!
[Xperia Arc Android Development] zgmfx20:
thanks bro! i'm also on X-Gamer 2.0, im glad with the performance of this kernel
[Xperia Arc Android Development] vashta:
Is this the wifi modules for v11 ? Coz, it's still wrote in v10, and i can't find another link for modules in op
[Xperia Arc Android Development] d4k-pho3nix:
Thanks for the update but do not work on miui for arc :rolleyes:
[Xperia Arc Android Development] caqo71:
any other past version worked for MIUI? :confused:
[Xperia Arc Android Development] Devoct:
what MIUI version do you use?

i use MIUIv4 stock based, 3.2.8..it works like a charm.
[Xperia Arc Android Development] gu5t3r:
Modules are in Kernel for ICS, for GB there are no WiFi modules yet...
[Xperia Arc Android Development] Hotfingers:
This is strange, but it happened to me too. :confused:

The only way I could get root back was to go back to v10 of the kernel.

(

here's what else I tried before going back to v10: -

flashed the superSU zip, but it didn't work (got the zip from the link in the 2nd post).

re-installed my rom (AROMA works beautifully).

This gave me SuperSU back, but no root :confused:.

tried allowing superSU to update the binary, but no joy.

)

So eventually had to go back to Lupus v10 :(

(I'm using this XPERIA T rom - http://xdaforums.com/showthread.php?t=1746508)
[Xperia Arc Android Development] gu5t3r:
can you type in SManager:

/system/xbin/busybox

and

/sytem/xbin/busybox --list

---------- Post added at 11:40 AM ---------- Previous post was at 11:32 AM ----------

And post the output?
[Xperia Arc Android Development] binhgreat:
Why the "vendor" partition is not mounted? After flash Lupus kernel, I have many application from vendor. How to I get it back?

Anyway, Lupus is great kernel.
[Xperia Arc Android Development] mamenvn:
Dear gu5t3r!

Don't have frandom in the /dev/ folder, why?
[Xperia Arc Android Development] gu5t3r:
I made Kernel to generate all symlinks user /system/xbin/busybox supports in /system/xbin/

But didn't know old BB's had su so it overwrites su from SuperSU and SuperUser...

QUICK FIX UNTIL NEXT RELEASE: copy /sbin/busybox to /system/xbin/busybox from TWRP and flash SuperSU or SuperUser CWM root zip
[Xperia Arc Android Development] gu5t3r:
In SManager:

/sbin/lupus

And enable it from menu...
[Xperia Arc Android Development] d4k-pho3nix:
Wifi works just when you active it one time after have to reboot
[Xperia Arc Android Development] seboxxl:
Zram doesn't work.
[Xperia Arc Android Development] [NUT]:
it does...

Useless reply? No! Useless way to report a bug... What did you do to try and get it working? How do you conclude zram does not work? :rolleyes:
[Xperia Arc Android Development] gu5t3r:
This is kernel busybox, did you flash ROOT CWM zip after coping /sbin/busybox to /system/xbin/busybox to get ROOT back?

---------- Post added at 01:17 PM ---------- Previous post was at 01:14 PM ----------

In SManager

/sbin/lupus

Use LuPuS menu to enable zram, you can even choose size...
[Xperia Arc Android Development] nokiagye:
Gu the v11 work but I have many lags
[Xperia Arc Android Development] seboxxl:
Sure I can, but IT DOES NOT WORK (attachment).

I tried "touch 74lps_zram" and than enabling zram + reboot, but IT STILL DOES NOT WORK.

When I type "free" swap = 0. It means that ZRAM DOES NOT WORK.
[Xperia Arc Android Development] openperl:
#---------- 2nd post --------------------------------------

"enable zram" and "enable frandom" failed.

#--------------------------------------------------------------

error message is just like this, ".... no such file or directory ... " .

I saw the same kind of post in V11 kernel for Xperia Pro.

A Question: I want to know whether the kernel makes init.d script files or users should make the script files manually in advance.

I put zram and frandom scripts files into /system/etc/init.d , and found it work.

And one more strange symtom: When I transfer data by USB cable, In/Out data transfer lags severely. Even the transfered data were damaged.
[Xperia Arc Android Development] JCDentonMale:
Problem fixed by following your recommendation.

C:\Users\JCDentonMale>adb shell
root@android:/ # cp /sbin/busybox /system/xbin/busybox
cp /sbin/busybox /system/xbin/busybox
root@android:/ # reboot recovery

Then flash SuperSu 1.25 in CWM and done ;)
[Xperia Arc Android Development] gu5t3r:
su
/sbin/lupus

or

su
/sbin/sh /sbin/lupus

NOT

sh /sbin/lupus

As Terminal Manager does not read proper PATH in which /sbin should be first

In SManager you can just type lupus....
[Xperia Arc Android Development] zgmfx20:
Hi [NUT]

We're you able to test it already on X-Gamer rom? Did 720p videos play? By the way I found no errors in lupus menu, init.d scripts were created and executed including frandom (/dev/frandom).:good:
[Xperia Arc Android Development] openperl:
Why "/sbin/lupus" DOES NOT WORK AND ONLY VOMIT ERROR MESSAGES is what I'd like to know.

If already the zram and frandom script files in init.d folder, and flash V11 kernel, no problem.

But not in such a case, the kernel vomits a simple error. What is the reason?
[Xperia Arc Android Development] gu5t3r:
What error?

As I said in Terminal Manager you need to

su

and then

/sbin/lupus

I have the same kernel and it works...

As last resort try

su
/sbin/busybox sh /sbin/lupus
[Xperia Arc Android Development] seboxxl:
Thanks for help, it's working now.

I'd like to ask about something else.

- smart toggle overclock upto 2ghz

In CPU Control and in Lupus voltage settings max frequency which I can set is about 1,6Ghz. Is there a way to set it e.g. 1,7Ghz?
[Xperia Arc Android Development] gu5t3r:
No...

Anyway, device cannot run continuously on freqs above 1.6, or play games.... It will overheat...
[Xperia Arc Android Development] nokiagye:
Wedgess on my arc s everything work good but the kernel is very lagy..

I go back to v10
[Xperia Arc Android Development] vashta:
Finally found a free time in my pc.

Trying this v11 just now, and my root is gone like others :silly:

There's lot post discuss about this... damn :laugh:.

Let's read... :p
[Xperia Arc Android Development] wedgess:
Wait untill later currently try to fix 720p playback
[Xperia Arc Android Development] nokiagye:
Please make something for the lugs
[Xperia Arc Android Development] vashta:
My /system do not contain /xbin/busybox ... in fact it's empty :rolleyes:

Where should i put the copied files ?:confused:

​

Edit :

My bad.. i haven't mount the /system yet :p

*not get used to TWRP style.. :D

Root is back now, thx gus...:highfive:
[Xperia Arc Android Development] Devoct:
laggy?

really?

i'm using v11, with miui v4, and it has never been this fast and smooth before. :silly:

the only problem is only video playback.
[Xperia Arc Android Development] gu5t3r:
Well, wedgess is trying to fix that, I already have fix ready for UnRoot (Will just skip "su" when generating symlinks) and will try to make

su
lupus

work even it Terminal Emulator....
[Xperia Arc Android Development] nokiagye:
on the same rom viper with the same apps and setings and scripts and the v11 is very lugy i try to go back to v10 but i dont have wifi i try everything..

so again to v11

i make a video

---------- Post added at 03:02 PM ---------- Previous post was at 02:29 PM ----------

i go back to v10 i go to vengeance and the wifi dont work

the wifi work only with the v11 i restore my backup and we see

http://www.youtube.com/watch?v=DhuI1Egpr3c wach
[Xperia Arc Android Development] gu5t3r:
to get back wifi on v10 you need to delete /data/local/tmp/wifi-fix_v1

then wifi will reinstall on next boot, reboot again for wifi to work....
[Xperia Arc Android Development] nokiagye:
I restore the backup and its ok now.. But this problem only with the v11 I get
[Xperia Arc Android Development] gu5t3r:
It's because v10 is using marker to check if wifi files are copied correct, and when you flash other kernel and go back you need to delete /data/local/tmp/wifi-fix_v1 for v10 to know it should install wifi files again

v11 uses new method, which checks if files are correct in /system/lib/modules/

you can always copy them manually form /res/modules or /res/icswifi to /system/lib/modules with file explorer that supports root
[Xperia Arc Android Development] cx-11:
Its the Video Playback fixed now? Wedgess you will make a new Update number about the Videofix?

THX for ur great Work im still there on your Kernel.

Nice

CX:good:
[Xperia Arc Android Development] Legion69:
Lupus v11: WiFi not working for me. Switched back to v10 version but Lupus script is gone :eek:

Any advice?
[Xperia Arc Android Development] leon22heart:
Is there a way (script or command) to check if frandom works? Cause im not sure if is activated from lupus menu.Great kernel btw
[Xperia Arc Android Development] gu5t3r:
Wait until fix, thus WiFi work on Stock ROM...

When fix comes out if WiFi doesn't work try deleting /system/lib/modules drectory and see if it's recreated on boot...

If that does not work try copying all from /res/icswifi to /system/lib/modules
[Xperia Arc Android Development] Legion69:
Thanks, I flashed kernel from Ur signature, WiFi is back but still no Lupus script, no options for kernel :(
[Xperia Arc Android Development] gu5t3r:
Use SManager; in v11 fix lupus menu will work in both TE and SManager...

This is TE error as /sbin is not in path...

/sbin/sh /sbin/lupus

or as last resort

/sbin/busybox sh /sbin/lupus

Should work for now...
[Xperia Arc Android Development] Legion69:
Dont work, busybox failed, useing CWM backup.
[Xperia Arc Android Development] Prider555:
YouTube not working!!!

Can someone tell me if the YouTube app is working for You after flash v11, because its not working for me.

Im using UHD 3.0.2!See attachment

PS: I don't hear Bieber, i have picked the song intentionally.( and sorry for bad english)
[Xperia Arc Android Development] gu5t3r:
not working wait for fix
[Xperia Arc Android Development] wedgess:
LuPuS kernel does NOT play Justin Bieber songs they are blocked by default

..

Joke:p

As gu5t3r said fix will be up tonight. Just working on HDMI now...

Edit - HDMI fixed... release in the next 2hours.
[Xperia Arc Android Development] cbd dvd:
Gmail and play store not work with v11...

Any solution?

si estas hay, ¡¡¡salvame superman!!!
[Xperia Arc Android Development] nokiagye:
We don't sleep tonight...:)
[Xperia Arc Android Development] wedgess:
Released LuPuS v12

[B]v12[/B]
- Fixed HDMI
- Fixed Video playback/recording
- Reverted back to linux kernel 2.6.32.9
- Removed triple buffer (caused some lag)
- Fixed problem with root @ gu5t3r
- LuPuS Script now runs properly from Terminal Emulator @ gu5t3r
- Free RAM = 355mb and is stable
- Added fool-proof to ramdisk -- if non-supported Android version is found (not ICS or GB) Kernel will boot into CWM

-- Link back up
[Xperia Arc Android Development] demonhunter1991:
Where 's wifi module?

oh, I don't see where to down wifi module for v12... Can I use wifi module of v11 for v12?
[Xperia Arc Android Development] vashta:
It's integrated with the kernel
[Xperia Arc Android Development] zgmfx20:
720p videoplayback still not working.:(

EDIT: I'm on rom x-gamer (GB)
[Xperia Arc Android Development] Devoct:
working fine here.
[Xperia Arc Android Development] tjongi:
Wifi not working on v12 ,,, where is wifi module download link ?

i m on Xperia Ultimate HD 3.02 rom,, any help ?
[Xperia Arc Android Development] gu5t3r:
WiFi modules are in /res/icswifi11/

Do you have line ro.build.version.sdk=15 in /system/build.prop?
[Xperia Arc Android Development] Hotfingers:
Hi @wedges and @gu5t3r

Thank-you for the quick responses to the v11 issues.

It was less than a day, and you two sorted out the issues.

I'm now using v12 and happy with it. :D
[Xperia Arc Android Development] seboxxl:
So which kernel should I use to O/C my Arc S to 1,8Ghz?
[Xperia Arc Android Development] vashta:
@gu4t3r / @wedgess

About frandom... Should I used a script to enable it or it's enable by default ?
[Xperia Arc Android Development] wedgess:
You can enable it in lupus menu. It will create the init.d script for you...
[Xperia Arc Android Development] gu5t3r:
Vengeance or Rush...

But if you like your phone I do NOT recommend running it above 1.6 for anything except benchmark....

Or glue a cooler to phone...
[Xperia Arc Android Development] openperl:
lupus (menu) makes a file in /system/etc/init.d

At V11 (I'm using Terminal Emulator),

cd /sbin

1) sh lupus --> menu loaded but when I enable "frandom" and "zram", it didn't work. (x)

2) sh /sbin/lupus --> menu loaded and enabling "frandom" and "zram" worked. (o)

So be careful when you input text command if you use Termainal Emulator.

"Script Manager" is OK for both the above cases.

Hi gu5t3r, thank you for your precise instruction.
[Xperia Arc Android Development] gu5t3r:
In v12 I made workaround for TE...

You can launch it by just

su
lupus
[Xperia Arc Android Development] openperl:
Yes, it works like a charm!

You are the man! :good:
[Xperia Arc Android Development] Louis235:
Hi!

I have frandom already in my init.d-folder. Flashing this Kernel should I delete the existing frandom script before?

And is there already a Justin-Bieber-Song-Fix:D?

Thanks for your hard work:good: