Showing posts sorted by relevance for query Init.d. Sort by date Show all posts
Showing posts sorted by relevance for query Init.d. Sort by date Show all posts

What is Init.d and How to Enable It on Your Android Device

Universal Init.d is an application to make init.d feature on Android to running some script, and then it can execute the script automatically every time we boot / restart our Android device. In other words, it can help us applying init.d script without need to be manual executed by the us everytime we boot / restart the device.

What is init.d script on Android and how should i care about it?


Init.d Script is like a bunch of text containing command for the Android system to be executed. There are many benefits using init.d script, depend on the init.d script itself of course. But mainly, user placing init.d script on their Android device to get better performance from the device like reduce lag, help RAM performance, better graphic and sound, and other many of positive purposes.

The main advantage of using Init.d script of course is to tweak the Android system without need any additional application as the command is send directly to the system.

Universal init.d application can be used on every Android device running any kernel, need rooted device though. After we activate the Universal Init.d, we can place the init.d script we want to execute every boot on directory /system/etc/init.d/.

The best place to find Init.d scripts is on XDA forums. You can search init.d script that shared and created by the members which suits your need to tweak your Android device there.

universal init.d android application main user interface

Why Init.d is not activated on my Android device (the init.d script is not running / affect) after enabled the Universal Init.d?


Remember Universal Init.d is need root permission to execute the script everytime you boot the device.

If it is the first time you open / install the Universal Init.d app, make sure the switch is in "on". Then you will see two come-from-nowhere init.d script. Tap the one named "00banner", then tap the three dot icon on top and tap "Execute", now Universal Init.d will asking root permission and be sure to give it. Now then the root permission is gained, you can start placing the script on /system/etc/init.d/, and it will executed automatically everytime you boot your Android device (there will be delay 1 - 2 minutes after booting complete for the init.d script to be executed).

Best practice when applying / adding init.d scripts on your Android device


If you start using an init.d script and later you find it very usefull on your Android device, i'm sure you will also start to seek for more better scripts you think will greater than your old installed one. But one behaviour on init.d script if you use more than one script at a time, is they may will get conflict each other if the script command is same.

Say you installed two init.d script. Script A is for increasing RAM performance, and Script B is tweaking whole system and RAM performance is also one of the function. You be better remove the script A first, before placing the script B. Because there are same function that will run same command on both two script that is RAM performance tweak, it will get conflict each other and who know which one will affect the RAM performance on the system it is script A or script B.

So, best practice on using / applying init.d script on your Android device is use single script. By use only one init.d script, it will avoid scripts conflict each other and you can compare the script effectiveness from one script to another.

Universal Init.d APK Android application download link


-> UNIVERSAL INIT.D.apk (855 kB)



This Android application is available on the Play Store. Rate it and give it nice comment if you find it usefull.

Defiant07 Swap Init.d Script - Improve RAM Performance on Your Android Device

Now i will share a tutorial to imrove your Android device performance by tweaking the memory (RAM) using swap, and we will use init.d script called (and you may notice the creator by the script name) "Defiant07 swap script".

Personally i use swap RAM and disable the zram to increase performance on my mid-entry smartphone Samsung Galaxy V. It is proven (at last to me) can reduce lag and imrove multitasking ability. Before, i use RAM Manager Pro to did it. But recently since i found Defiant07 Swap script, later i switch using it, as it can send the swap RAM command directly to system without any additional app running so it won't use RAM and CPU for it. I use it on my Android smartphone running CyanogenMod 13 (6.0 Marshmallow) and the results is satisfied to me.

There are 2 methods to do swap RAM on our Android device using Defiant07 script. Both of them will require us running the script command to set and create an init.d scripts. One option via script manager app, and the other one is via terminal emulator. Choose the one suits you.

Requirements:


defiant07 swap script command terminal emulator

screenshot ram and swap diskinfo app

Installation Defiant07 swap script


Via Terminal Emulator (Flashable)


Tools:

Steps:
  1. Flash the Defiant07 swap it on zip file through recovery, reboot your Android device.
  2. Open Terminal Emulator app, type: su, enter, then type: swapit, enter.
  3. Follow the instruction to create setup for your swap and RAM setting preferences.

Via Script Manager (Non flashable)


Tools:

Steps:
  1. Download and extract the Defiant07 swap for Script Manager method zip file, inside it you will find the script file which you must run using Script Manager application.
  2. Open the Script Manager app, locate the script you just extracted before, and be sure to run it on root mode.
  3. Follow the instruction to create setup for your swap and RAM setting preferences.

Optional steps, disable the zram


Download and place the init.d script disable zram on /system/etc/init.d/. This is just based on my experience that if the zram is not disabled, the swap RAM is likely untouched and useless. Also by disabling the zram, it will reduce lag on your Android device as zram working by compressing block of ram, it will consume cpu resource.

Now after all is done, you can reboot your Android device.



Check out the original thread by Defiant07 at XDA Forum

Increase RAM Performance on Android Device with Swap using RAM Manager Pro APK App

Have a problem with your little RAM size? Your App and game always force close because your Android device is running out of RAM space? Then maybe you can try this method to help your Android device RAM. Note that there is no guarantee it will work perfect, because i have test it on every different ROMs and the output is different too.

Swap is a process information of running application exchange from and to, to and from RAM and swap file. When we run an app, the running process will be written on RAM and then it will written to swap file. So when the swap file is already have the process information that needed, RAM doesn't need to create it again, thus this will bring more empty RAM space, more application can be running at the same time, and more responsiveness.

Requirements:
* Rooted.
* A file manager with root explorer ability.
* Update latest Busybox
* UNIVERSAL INIT.D.apk app.
* INIT.D DISABLE ZRAM SCRIPT.
download: via MEDIAFIRE (original) | via USERSCLOUD (mirror).
* RAM MANAGER PRO.apk app.
* (Optional) DISK INFO PRO.apk app.
* (Optional) MEMORY LOCKER.apk app.
* Brain :v


Steps to increase RAM performance on Android device with swap file to /cache directory



  1. Creating swap file on /cache directory

    Open the RAM Manager Pro app and don't forget to give it superuser rights. Open the sidebar (klik the top left icon), then tick the "Set on boot", after that tap "Extra" -> Tap "Clean cache" / "Drop cache" first, then tap "Archive exchange" / "Swap file". And then create swap on /cache. Create your desired swap file size, use app like Disk Info to know your total /cache size. Of course the size is can not exceed the total of your /cache size, just left it 30 MB or more for caching process.

    For Samsung Galaxy V SM-G313HZ device, you can make about or less than 170 MB.

    Why on /cache directory?

    Cause' based on my research :v this directory have the fastest write / read speed than other directory. Making the swap file on other directory is likely will make swap is slow to accessible thus less usable. Note that i am using Samsung Galaxty V, a mid-entry device, maybe and maybe it will different on other Android smartphone with better hardware (maybe :v ).


  2. Deleting / disable the ZRAM

    Zram is work by compressing the RAM to create more empty space. The hardware will be more burnened because it have to "compress" RAM. So by disable the Zram will conserve more resources to do more important task on our Android smartphone (lag reduce).

    Make sure your Init.d app is activated (the switch is on). Copy the INIT.D DISABLE ZRAM SCRIPT to system/etc/init.d/ directory, set it permission (chmod) to rwxrwxrwx (777). Done! Reboot your Android device...

    After reboot, wait a while (2 minutes or more). And look the Swap file size on app like Disk Info pro. If the swap size is equal to what we just created, then the swap is success.

  3. Optinal Step

    Install and open the Memory Locker app, and then lock the RAM Manager app. This is just to reduce the chance of RAM Manager being killed by OOM process.

    OOM (Out Of Memory) is a process that often happen when Android is running out of memory (RAM). Android must kill background app process to make sure your currently opened (foreground) app / game is not force close caused by no memory (RAM) left.


Because this is Swap, so the benefits would not instantly feel by us, we will feel the difference after a while we using the device (the Android device is more responsive).

Remember if you using some cleaner application, DO NOT clean the cache partition / directory. Otherwise you must recreate the swap file again.



All credits to:
- All applications developers used above.
- VICTOD@MODACO.COM (for his disable zram init.d script).
- Google.com :)

Getux for CM11 ROM Custom Kernel Samsung Galaxy V SM-G313HZ

Allright, now I will share about custom kernel for Samsung Galaxy V SM-G313HZ called Getux Kernel. For your info, "Getux" is a name of Indonesian food :D . This custom kernel is created for Samsung Galaxy V running CyanogenMod 11 ROM (CM11). So do not try this on other ROM, except you are a true hacker :v . This kernel is created by cleverior.ipul@XDA.

Actually I do not have intend to install a custom kernel before. But recently I need to switch my Samsung Galaxy V SM-G313HZ ROM into the one running Android KitKat because I want to play Final Fantasy IV (FFIV) Android game (Some Square Enix games cannot run on Android Lollipop and up, and one of them is FFIV). Well the stock ROM is sucks :v , so I prefer to go back with CyanogenMod 11 ROM.

But the developer is removed the third final release of CM11 ROM because some bugs. Then I go with the second final release of course, and guess what? It cannot boot up. Luckily I got some qlues by guys there that we can fix it by installing another custom kernel. I had a traumatic with OC kernel as it overclocked to 1.4 GHz (my Samsung Galaxy V SM-G313HZ Android phone cannot handle so high CPU clock speed as make it cannot boot up). Then I choose the Getux Kernel and voila! Finally it can boot :D .

Requirements:

about phone kernel info getux kernel cm11 samsung galaxy v sm-g314hz

overclock getux kernel cm11 samsung galaxy v sm-g313hz

Getux Kernel for Samsung Galaxy V SM-G313HZ CM11 feature


v. 1
  • The standard feature of CM11 stock kernel.
  • Added 600 MHz CPU clock speed.

v. k1.1

  • Re-compiled kernel with Sabermod 4.9.x toolchain
  • (NEW!) Changed zRAM compressor to LZ4 (faster than LZO)
  • Triple-zRAMs (more crazy multitasking)
  • Added new IO scheduler : ROW, FIOPS, SIOPLUS, BFQ, ZEN
  • Added new governor : INTERACTIVE
  • (NEW!) Overclock increased to 1,3GHz
  • Disabled zCache, enabled zswap and enable LZ4 zswap compression
  • LZ4 compression to kernel
  • zRAM backported from Linux 3.9 (to enable LZ4 compression)
  • Init.d supported

How to install Getux Kernel on Samsung Galaxy V SM-G313HZ running CyanogenMod 11 ROM (CM11)


  1. It is recommended to install it on fresh CM11 ROM installment (install it just after the rom is done installed).
  2. Just go to recovery mode and install the zip file of Getux Kernel you just downloaded.
  3. After the Getux Kernel is finish installed, wipe dalvik cache.
  4. Reboot your Android phone!

Getux Kernel for Samsung Galaxy V SM-G313HZ CM11 ROM download link


-> GETUX KERNEL v. 1.zip (5.4 MB)

-> GETUX KERNEL v. k1.1.zip (5.5 MB)

Getux Kernel v. k1.1 notes


There is one update I must underlining it on Getux Kernel v. k1.1, it is that the CPU speed frequency has been overclocked into 1.3 GHz by default. This will bring more performance on this Android phone of course, especially when playing games. But if your Samsung Galaxy V Android phone cannot handle it, it will cause you random reboot.

To set to normal CPU clock speed, we can set it through system settings:
  1. Open the Developer Options. Go to "Settings" -> "About Phone", tap about 7-10 times rapidly on "Build number" section. There should be a toast message "You have enable developer option".
  2. Go back to "Settings" main menu, it should appear "Performance" option now, select it.
  3. Select "Processor" -> "Maximum CPU frequency", and set it to "1.2 GHz".
  4. Do not forget to check the "Set on boot" option.

To activate init.d, type "getuxmagic" (without quotes) in Terminal Emulator app.



Source: Blog Si Ipul.

7 Reasons That Will Make You Want to Root Your Not Rooted Android Device

Android, the open source project mobile system operation is have fast progress in it's development. But there is one thing cannot be separated from Android OS is it the old Android version or even to the most new Android N Nougat, and it is ROOT.

As we know Android is an open source operating system, so we have rights to modify the system as we like. By Rooting our Android device is the way we can unlock "the security seal" of the device so we can through the deep of the system. Actually for honest, Root is something that every user should not do so easy to his device. As for a rooted device can also bring user some serious trouble like bricking it, to the most important things like security and privacy of the user.

rooted android break chain

Also although Root is something that can void the warranty of an Android device, but still most user will do it anyway as there is so many benefits and advantages they get. But nowaday there is so many information we can get on websites tell us how to Root our Android device easily, and even there is solution to prevent if something bad happen when we did a failed Root.

My myself start Rooting my first Android smartphone Samsung Galaxy V SM-G313HZ when it still 3 months old in my hand. You know what is the first reason why I brace myself to rooted my Android smartphone at that time? To get internet access for free (oopss...) :D.

Now here it is, the 7 reasons that will make a user to root his Android device.

  1. Performance and Function Tweak


    When I just got my first Android smartphone, I'm very happy with it. The first game i was hunting is Final Fantasy III, then I playing it and "awesome". Then i knew that GTA game is also playable on Android, but with size 2 GB, but my phone storage is just 2 GB :( . But there is solutions to trick it, move the data and obb of game to external SD card (which usually have great space like 8 GB, 16 GB, 32 GB, etc...) using some applications like Foldermount or some Xposed module like XinternalSD. And guess what? That's right, the applications is need ROOT :D.

    Also with Rooting your Android device, we can do many things to boost the device performance. There is many ways we can improve the performance of our device like removing unnecessarry bloatware (system applications), using some Init.d scripts, applying tweak to the RAM, and many more.
  2. Better Gaming Experience


    Playing game on Android device is also had many variations too. From Playing the usual Android game to playing some old school games like Playstation Portable using emulator application. One more reason to root your Android device for you who are gaming freak, to get more performance on the game and maximize your gaming experience.

    final fantasy iv the after years android game ceodore vs boss

    Let me give you a hints about the best Android application to maximize your gaming experience, and it is GLTools. By using GLtools application, you can enchant the graphic or even reduce lag and quality so you can play hind end game on an low end Android phone.
  3. Change Display and User Interface


    One the most reason why users root his Android device, it is to change the display and User Interface (UI). Yeah, we can change the color, the statu bar icon like clock, battery, change the Settings background with your girlfriend photo, or even fake the signal to 4G even you use a 3G phone :D.

    There is also many ways to do it, and one of the most popular method is using Xposed module as it is fairly easy to use and not too risky. Some popular Xposed module to modify the User Interface: Wanam Xposed (mainly for Samsung Touchwiz Kitkat), Xblast Tool (for Kitkat and down), or GravityBox (available for Android Jelly Bean to Marshmallow).
  4. Stay Up to Date


    Every Android device of course will get system update from the device Vendor. The update can include of Android OS version or even small updates to fix some minor bugs. But I'm sure an Android device will soon stop getting the official updates as more and more new device released. If we want, we also can take an act to update the system or OS version by ourself.

    Like my Samsung Galaxy V Android smartphone, now i'm running it with Android Marshmallow which originally released as Android Kitkat, although it never get official update from the manufacturer. To do that, I am installing an aftermarket firmware created by third party (non-official) and flash it by myself. It is often called installing a "Custom ROM".
  5. Change ROM


    Like I said above, by Installing a custom firmware or custom ROM (the right one of course...) we can update the OS version. But just not that, by Installing custom ROM is like a total modification also to the Display, performance, new features, and many more.

    custom roms on android

    To install a custom ROM, we need a custom recovery. And root is the only way if we want to install a custom recovery directly and using it by our Android device.
  6. Backup and Restore


    Now this also one more things that pretty important, to easily backup and restore of our Android device content. Actually Google also has offer you a service to backup your device to the Google Drive cloud. But it needs a lot of time and bandwith of course.

    If we have a rooted Android device, we can easily backup it's whole content from the applications, system, the apk's and anythings directly to our external storage, so no computer needed. There are many apps on the market that offer to do that, example the best is Titanium Backup and Helium.

    Or even we can make a full backup of our Android device content and system using the Backup feature on custom recovery like TWRP, CWM, etc as easy as "one tap".
  7. Hack 2 Free and Hack 2 Win :D


    Last but not least, is a bad reasons that is we can get premium / paid Android app or game for free. Or just hack an in-app-purchase of an application or game to get some premium features for free. It need some hacking jobs and some right tools like Lucky Patcher, which need root access of course.


    And also we can hack an Android game like the money, the gold, similar like that if we have root access because the system is already unlocked so we can make changes to everythings.

Like I said earlier, rooting your Android device is something you must think twice before to do it. As we get many benefits, a rooted Android device is also could bring us some trouble including bricking it or some serious trouble about your privacy and security.

I think rooting our Android device is ok if we know what app and what kind of jobs the root application will do to our Android device. And choosing the rights Superuser management app is also an important thing so you can keep your privacy and security safe.