[KERNEL][GPL] Vengeance [1.38][3/5]

  • Thread starter Deleted member 4736004
  • Start date
Search This thread

NoFrown

Senior Member
Jan 6, 2013
152
19
Thanks, found it, will test it right away :)
And in changelog i saw latest version was 1.34, is it available for download yet:confused:

I flashed it, and stuck at Sony logo:(
how is this possible, and how can i fix this?
Do i need a Fresh install before flashing the kernel?
Or doesnt this make any difference.

An Xperia Ray lover
 

TopperBG

Senior Member
Oct 17, 2012
1,344
477
Bulgaria
Xiaomi Mi 9
Already checked it. Nothing changed...

Are you still with BB 72? Try to flash 77.

---------- Post added at 08:36 AM ---------- Previous post was at 08:35 AM ----------

I flashed it, and stuck at Sony logo:(
how is this possible, and how can i fix this?
Do i need a Fresh install before flashing the kernel?
Or doesnt this make any difference.

An Xperia Ray lover

What exact file do you flash? Is it proper file for your device I mean.
 

gu5t3r

Senior Member
May 30, 2012
1,610
1,516
I flashed it, and stuck at Sony logo:(
how is this possible, and how can i fix this?
Do i need a Fresh install before flashing the kernel?
Or doesnt this make any difference.

An Xperia Ray lover

If you have bad init.d scripts you can get stuck at Kernel logo (Sony)...
Remove scripts from init.d and try again...
 

NoFrown

Senior Member
Jan 6, 2013
152
19
I use proper version, Urushi, for my Ray.
I dont know if im on baseband 77, im on uhd 3.0.2 if this means something.
How do i need to install the baseband?
And how do i delete scripts from init.d and what is this exactly
 

Louis235

Senior Member
Jan 14, 2013
655
184
Münsterland
I use proper version, Urushi, for my Ray.
I dont know if im on baseband 77, im on uhd 3.0.2 if this means something.
How do i need to install the baseband?
And how do i delete scripts from init.d and what is this exactly

Sorry, I don't understand you exactly. You want to know where you can see on which Baseband you are? If yes, it's under settings the very last point when scrolling down "telephone" or "about telephone". There your current baseband version is shown.

I never flashed baseband but if you should be in need to do you can simply find "How to's" here, I'm sure.

The init.d folder is here: system> etc > init.d

You simply long press the scripts you want to delete and then a menu with several options is opened and one option is "delete". But be careful what you delete. What init.d exactly is.....I'm just another noob, but it's a folder where scripts are placed for example for zram, or tweaks to rise speed or others.

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

In the past I had not much luck when using vengeance Kernel. Was kinda laggy and so on. But now I've recognized how important it can be to install and use a Kernel on a clean installation. Yesterday I re-flashed stock ftf and than UHD 3.0.2 and your Kernel, using ondemandx/sio 1402/245 and left a lot of maybe needless stuff to see how it works. Really smooth, no single lagg, battery life (till now) is great. Nothing to complaint about. Now I now why all these users here are so content with Vengeance. Now I'm one of them;)
So thank you very much:good:
 

NoFrown

Senior Member
Jan 6, 2013
152
19
Sorry, I don't understand you exactly. You want to know where you can see on which Baseband you are? If yes, it's under settings the very last point when scrolling down "telephone" or "about telephone". There your current baseband version is shown.

I never flashed baseband but if you should be in need to do you can simply find "How to's" here, I'm sure.

The init.d folder is here: system> etc > init.d

You simply long press the scripts you want to delete and then a menu with several options is opened and one option is "delete". But be careful what you delete. What init.d exactly is.....I'm just another noob, but it's a folder where scripts are placed for example for zram, or tweaks to rise speed or others.

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

In the past I had not much luck when using vengeance Kernel. Was kinda laggy and so on. But now I've recognized how important it can be to install and use a Kernel on a clean installation. Yesterday I re-flashed stock ftf and than UHD 3.0.2 and your Kernel, using ondemandx/sio 1402/245 and left a lot of maybe needless stuff to see how it works. Really smooth, no single lagg, battery life (till now) is great. Nothing to complaint about. Now I now why all these users here are so content with Vengeance. Now I'm one of them;)
So thank you very much:good:

So you recommend flashing stock ftf, full wipe, flash kernel and then back to UHD?
 

Louis235

Senior Member
Jan 14, 2013
655
184
Münsterland
So you recommend flashing stock ftf, full wipe, flash kernel and then back to UHD?

The second part of my post was only written as a general comment, sorry.

I'm not so sure why you're stuck on bootlogo. Did you wait long enough at first boot? It takes several minutes, as Vengeance got much features included.
Maybe it's better that I don't recommend you something. Maybe you better wait for someone with more experience. If I knew how I would help you:(
 

gu5t3r

Senior Member
May 30, 2012
1,610
1,516
The second part of my post was only written as a general comment, sorry.

I'm not so sure why you're stuck on bootlogo. Did you wait long enough at first boot? It takes several minutes, as Vengeance got much features included.
Maybe it's better that I don't recommend you something. Maybe you better wait for someone with more experience. If I knew how I would help you:(

Vengenace boot fast when there are not bad scripts in init.d (because of proper init.d implementation for sd-ext scripts) like in latest UHD 3.0.2...

Fix for UHD 3.0.2 is HERE
 
  • Like
Reactions: Louis235

NoFrown

Senior Member
Jan 6, 2013
152
19
Vengenace boot fast when there are not bad scripts in init.d (because of proper init.d implementation for sd-ext scripts) like in latest UHD 3.0.2...

Fix for UHD 3.0.2 is HERE

I absolutely have no idea what i need to do here.
I there any way i can fix the problem without having to edit init.d?
and I miss 2 or 3 lines in the init.d do I need to add them?
Can't you add the fixes as an attachment,so all i have to do is copy paste?
and what do i need to do after
 
Last edited:

TopperBG

Senior Member
Oct 17, 2012
1,344
477
Bulgaria
Xiaomi Mi 9
I absolutely have no idea what i need to do here.
I there any way i can fix the problem without having to edit init.d?
and I miss 2 or 3 lines in the init.d do I need to add them?
Can't you add the fixes as an attachment,so all i have to do is copy paste?
and what do i need to do after

If you want VK+UHD 3.0.2 and don't want to wait - must to do it.
In other case...don't mess with your device. Find well reading friend to do it for you.
It's not so hi-end task but you can do really bad things.
 

Louis235

Senior Member
Jan 14, 2013
655
184
Münsterland
I got a question: maybe it's a little bit noobish, sorry for that.
I have no experience with editing.....

I tried to edit init.d as described by gu5tr3......and that's the line

if [ "$1" != "BG" ]; then $0 BG & exit 0; fi

so it seems to be easy but if I come to the end the "i" of "fi" is set to the next line. Does that mean, that I have set one "space" too much?
Or asked in other words: that line has to be "one line" when I'm ready?

Hope anybody understands me....it's difficult to explain in a foreign language.....

Greets
 

NoFrown

Senior Member
Jan 6, 2013
152
19
If you want VK+UHD 3.0.2 and don't want to wait - must to do it.
In other case...don't mess with your device. Find well reading friend to do it for you.
It's not so hi-end task but you can do really bad things.

So all i need to do is litteraly tipe over all the things added/edited in the fix,
so none of the lines is written down as explanation.
F.E.:
#!/system/bin/sh
exec > /dev/null 2>&1
if [ "$1" != "BG" ]; then $0 BG & exit 0; fi
the underlined part should be added to? because it looks like something that gives extra information
F.E.
if 2+x=5 then x=5-2 so x=3.
I hope you get what I mean
 

Madaditya

Senior Member
Jul 30, 2012
985
1,054
Pune
referany.com
Re: [KERNEL][ICS] Vengeance [ARC/S/PRO][1.32][18/02/13]

So all i need to do is litteraly tipe over all the things added/edited in the fix,
so none of the lines is written down as explanation.
F.E.:
#!/system/bin/sh
exec > /dev/null 2>&1
if [ "$1" != "BG" ]; then $0 BG & exit 0; fi
the underlined part should be added to? because it looks like something that gives extra information
F.E.
if 2+x=5 then x=5-2 so x=3.
I hope you get what I mean

You need notepad++ on your pc...open up the scripts...clear the text in..and just paste the code given my gui5er...save..pretty easy..why want files and spoonfeed for that as well...go ahead you'll learn something
Guess at the end of script you suppose to leave an extra blank line...
Copy as it is...the code


Juz...Be the Smart Geek :cool:
 
Last edited:

Louis235

Senior Member
Jan 14, 2013
655
184
Münsterland
After thinkin a little how to solve my problem I must admit that my question a few posts before was damn stupid. Of course it's not difficult. I just copy the folder to pc edit the tweaks put back and replace. Sorry:rolleyes::laugh:

Have a nice evening@all
 

gu5t3r

Senior Member
May 30, 2012
1,610
1,516
So all i need to do is litteraly tipe over all the things added/edited in the fix,
so none of the lines is written down as explanation.
F.E.:
#!/system/bin/sh
exec > /dev/null 2>&1
if [ "$1" != "BG" ]; then $0 BG & exit 0; fi
the underlined part should be added to? because it looks like something that gives extra information
F.E.
if 2+x=5 then x=5-2 so x=3.
I hope you get what I mean

If you don't know how to edit text file you wouldn't understand explanation for sure... Everything is explained in the post...I only added two lines to scripts, and to second one corrected path for hd script, and that is complicated?

For any script you want to re-execute itself in background and redirect output to null you need to add this two lines so kernel does not wait for script to finish and speed up your boot (on this 2 UHD scripts for 50 secs)
Code:
exec > /dev/null 2>&1
if [ "$1" != "BG" ]; then $0 BG & exit 0; fi
after shell line
Code:
#!/system/bin/sh

If you have zipalign and sqlite db optimizing scripts add this lines to them also and phone will boot in 15 - 30 seconds instead minutes....


I got a question: maybe it's a little bit noobish, sorry for that.
I have no experience with editing.....

I tried to edit init.d as described by gu5tr3......and that's the line

if [ "$1" != "BG" ]; then $0 BG & exit 0; fi

so it seems to be easy but if I come to the end the "i" of "fi" is set to the next line. Does that mean, that I have set one "space" too much?
Or asked in other words: that line has to be "one line" when I'm ready?

Hope anybody understands me....it's difficult to explain in a foreign language.....

Greets

It is because word-wrap (but it does not affect the code), use smaller font to view it correctly...

---------- Post added at 08:23 PM ---------- Previous post was at 08:23 PM ----------

After thinkin a little how to solve my problem I must admit that my question a few posts before was damn stupid. Of course it's not difficult. I just copy the folder to pc edit the tweaks put back and replace. Sorry:rolleyes::laugh:

Have a nice evening@all

:good:
 
  • Like
Reactions: Louis235

Louis235

Senior Member
Jan 14, 2013
655
184
Münsterland
@gu5t3r: just edited the init.d folder and it worked. And booting really speeds up:good:. Thank you very much:). I take very small steps but am learning every day a little. And that's nice to see for me:D
 
  • Like
Reactions: gu5t3r

Babis_ECE

Senior Member
Aug 1, 2010
911
133
Athens
Yesterday I had the first sudden reboot since I flashed Vengeance + Ultimate HD. Very stable kernel in general, although it happened at the worst possible time: I was just finishing my run and tracking and Arce rebooted just before saving tracking fata from Sports Tracker..
 

TinoZgb

Senior Member
Apr 14, 2011
291
81
Zagreb
Yesterday I had the first sudden reboot since I flashed Vengeance + Ultimate HD. Very stable kernel in general, although it happened at the worst possible time: I was just finishing my run and tracking and Arce rebooted just before saving tracking fata from Sports Tracker..

it doesn't solve the problem of reboot, but it could help:
try using google my tracks (i know it's not the same, but it has some cool features), it has the option to continue a session if the phone is turned on within 7 minutes after shutdown, so in case of a reboot your data is safe.
 
  • Like
Reactions: Babis_ECE

NoFrown

Senior Member
Jan 6, 2013
152
19
Re: [KERNEL][ICS] Vengeance [ARC/S/PRO][1.32][18/02/13]

Rachit, can you port this Kernel to Ray? I know it is in folder, but that one doesn't boot. have tried anything, no succes.
I only want people to comment on this if they have a Ray with UHD 3.0.2 and got a boot, and then are polite enough to tell me what they did :D

Sent from my ST18i using xda premium
 

Top Liked Posts

  • There are no posts matching your filters.
  • 192
    D
    Deleted member 4736004
    Disclaimer
    Code:
    /* 
     
     * You may void your warranty.
     * I am not responsible for bricked devices or dead SD cards.
     * Please do some research if you have any concerns about this kernel.
     * YOU are choosing to make these modifications to your device.
     * I absolutely disclaim all the responsibilities.
    [COLOR="Red"] * Flashing kernel requires unlocked bootloader.
    [/COLOR] * You can unlock your bootloader from [URL="http://unlockbootloader.sonymobile.com/"][COLOR="Blue"][U]here[/U][/COLOR][/URL].
    
     */

    Frankly, I don't like bloated and fancy OP's. So I kept the thread simple and clean. Changelogs are not posted here. Check the link in the description.
    All the best!

    Features :-
    Code:
    * Based on official 4.1.B.1.13 sources
    * Compiled using LINARO 4.7.3 Toolchain
    * Added smart overclocking support upto 1.7 GHz
    * Init.d support
    * O2 optimizations
    * CAF backport fixes
    * Updated crc32 lib and jhash
    * VDD sysfs level interface
    * ARM_THUMBEE Support
    * Removed debugging s**ts
    * Optimized Low Memory Killer
    * Swap and zram support
    * ext 2/3/4 support
    * Salvaged RAM
    * Integrated CWM recovery
    * SLUB Memory allocator
    * LZO compression
    * 2 way call recording
    * CIFS, NTFS, FUSE and TUN as external modules
    * Memcopy and compaction
    * Added Cleancache
    * Added frandom
    * Optimized ARM RWSEM algorithm and ashmem
    * /rootfs and /system mounted as rw
    * Persistent adb
    * Google Snappy Drivers
    * Added other miscellaneous optmizations
    * Governors :     + Interactive
                      + Ondemand
                      + Performance
                      + Userspace
                      + Powersave
                      + Conservative
                      + InteractiveX
                      + OndemandX
                      + Smoothass
                      + Brazilianwax
                      + Smartass2 with boost pulse
                      + SmartassH3
                      + Intellidemand2
                      + Virtuous
    * IO Schedulers : + Noop
                      + SIO - default
                      + CFQ
                      + VR
                      + ROW
                      + ZEN
                      + Anticipatory
                      + deadline
    * [COLOR="Red"]See changelog or commits for detailed info.[/COLOR]
    [/B]

    Code:
    [COLOR="Purple"]Root Binary[/COLOR] : ( Flashable via recovery )
    * SuperSU : [URL="http://download.chainfire.eu/204/SuperSU/"][COLOR="Red"][U]Download[/U][/COLOR][/URL]
    * Superuser : [URL="http://androidsu.com/superuser/"][COLOR="Red"][U]Download[/U][/COLOR][/URL]

    Code:
    [COLOR="Purple"][U]Instructions[/U][/COLOR] :
    * To flash : fastboot flash boot boot.img
    * To hotboot : fastboot boot boot.img
    * Via FlashTool

    Credits : Wedgess for recovery

    F.A.Q's :-

    1. Is this working on blah blah?
    > I don't know. Do some research. Keep the disclaimer in mind.

    2. OMG! My device rebooted/crashed/exploded?
    > In case of bootloop, check for conflicting scripts in init.d. If problem persists, get me the logcat or last kmsg.

    3. Battery drains like hell. WTF?
    > Not kernel problem. It's your apps that are waking up device from deep sleep. Check the wakelocks. I don't build kernels to worsen battery life. See here for more info.

    4. Signal is dropping since I flashed the kernel?
    > Again. Not the kernel problem. Check if you have latest ( and proper ) baseband for your device.

    5. WiFi won't work?
    > Flash attached WLAN modules.

    6. Is autoroot included in ramdisk ?
    > No. Autoroot isn't included. Just download flash-able root binary zip from site.

    7. App FC's or something crashes?
    > Try reinstalling app again. Give me logcat if problem persists.

    8. Does this kernel has X or Y mod?
    > Do some research. Check thread, repo, commits etc.

    9. Which governors/IO-schedulers to use?
    > Depends on your usage. See here for more info.

    10.. Version X scored higher than version Y in benchmarks. OP, you screwed your kernel!
    > Deal with it.

    11. I need more info on something?
    > You can find all answers here



    132
    D
    Deleted member 4736004
    Code:
    [CENTER]CODENAME OF ARC : [COLOR="Red"]ANZU[/COLOR][/CENTER]
    Code:
    [CENTER]CODENAME OF ARC S : [COLOR="Red"]AYAME[/COLOR][/CENTER]
    Code:
    [CENTER]CODENAME OF PRO : [COLOR="Red"]IYOKAN[/COLOR][/CENTER]
    Code:
    [CENTER]CODENAME OF NEO : [COLOR="Red"]HALLON[/COLOR][/CENTER]
    Code:
    [CENTER]CODENAME OF NEO V : [COLOR="Red"]HAIDA[/COLOR][/CENTER]
    Code:
    [CENTER]CODENAME OF NEO L : [COLOR="Red"]PHOENIX[/COLOR][/CENTER]

    Code:
    [center][U]
    [URL="http://www.mediafire.com/?kb784mb7ai4o8"][COLOR="BROWN"] Download Kernel [/COLOR][/URL][/center][/U]

    Code:
    [CENTER][URL="https://github.com/rachit-rc96/Vengeance-Kernel-MSM7x30/blob/master/Changelog.txt"][COLOR="RED"]Changelog[/URL][/COLOR][/U][/CENTER]
    25
    Latest UHD has init.d scripts:

    98tweaks
    Code:
    #!/system/bin/sh
    sleep 10;
    
    #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;
    and

    99hd
    Code:
    #!/system/bin/sh
    
    sleep 40;
    hd;
    which is 40+10=50 seconds of unnecessary waiting at boot logo...

    BUT if you modify scripts like this:

    98tweaks
    Code:
    #!/system/bin/sh
    exec > /dev/null 2>&1
    if [ "$1" != "BG" ]; then $0 BG & exit 0; fi
    
    sleep 10;
    
    #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;

    99hd
    Code:
    #!/system/bin/sh
    exec > /dev/null 2>&1
    if [ "$1" != "BG" ]; then $0 BG & exit 0; fi
    
    sleep 40;
    /system/xbin/hd;

    You will not have to wait this 50 seconds at boot logo...
    25
    D
    Deleted member 4736004
    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
    20
    D
    Deleted member 4736004
    Version 1.35 released.
    Added VDD sysfs level interface upon request. Let those voltage tweaks begin :p
    Better init.d support ( thanks to gu5t3r )
    Check changelog for more info on commits.

    PS : Modules have been divided into two sets 1. Wlan 2. Extra OTG modules ( CIFS, FUSE etc )
    Flash 1st set before 2nd set ( if you do ).
    All the best!