Enable init.d support on any rom [Stock] without any app - Samsung Galaxy Fame

One thing that i like very much about android is init.d support which enable user to run script during the device boot up so by putting Boost script in the init.d folder which is present in /system/etc/init.d can significantly improve device performance..
So without say much here is the method :
Requirement:
1 Rooted Phone obviously
2 File Explorer like Esfile Explorer with root access option enable
3 BusyBox Latest 1.22.1
4 A Good Luck
Process:
1 Open ESFiles Explorer and navigate to /system/etc and look for init.d folder if there is no folder name [init.d] then create one by click on +new button on ESFiles Explorer, or if init.d folder present than Goto step 2
2 Navigate to /system/etc folder and look for file name "install-recovery.sh" if present then Goto step 3
3 In /system/etc folder Create one file name "init.post_boot.sh"
4 Now open both "install-recovery.sh" & "init.post_boot.sh" one by one and write down following command at the beginning of the both file
Command:
#!system/bin/sh
run-parts /system/etc/init.d/*
{Above Lines are case sensitive}
5) Download the test.init.d.zip file from the below attachment link
6) put the 0test file in /system/etc/init.d folder and set permission rwx-rwx-rwx
7) Reboot device :fingers-crossed:
NOTE after Reboot open ESFiles Explorer and navigate to /data and there you will see Test.log file meaning init.d support working perfectly
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
HIT Thanks if you like the post

Nice Turotial. But there is already an app called "Universal Init.d Support" that does all the job easily with just one click.
Here is the apk.
Credit for the app goes to its respective owner.

Yeah thats true But being a geek I like to do things by myself also uni-init v does the same thing as what I said it. uni-init enable works the same way and did the same tweak to enable init.d support

nice information,,thanks for a great script

Related

OpenRUU v1 for Linux & Mac - A Script to Update Your ROM [W/ OR W/O ROOT!]

OpenRUU - RUU Shell Script For Linux (See the post below for mac support)
This is a shell script to flash an official RUU from HTC.
I tested this on my device and it ran fine, it uses exactly the same commands as the RUU app.
You do not need root.
The script will:
Get your current ROM version
Get Your Current HBOOT Version
Get Your Battery %
Reboot into RUU Mode
Flash the ROM using fastboot
Reboot your phone
Enjoy!
DOWNLOADS:
2.73.405.5 Generic WWE (The one you need to root with flashrec)
TO INSTALL:
GUI Method:
Extract the zip > right click on the script > properties > permissions tab > Select 'Enable execution as a program' > OK > Double Click > Run in terminal
Terminal method:
Code:
Extract the zip
cd /path/to/files
chmod 755 OpenRUU-Hero-WWE-2.73.405.5.sh
./OpenRUU-Hero-WWE-2.73.405.5.sh
If you want me to add a ROM then please PM me with the rom.zip, see here for how to extract a rom.zip from an RUU.
If you can, please donate so I can afford better hosting, I also have some cool features to implement when I get proper hosting too. (If you can host a rom.zip, please PM me.)
- GBP
- Euro
- Dollars
Post here with any bugs/comments so my turkeys can get to work!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Mac Support
For Mac:
Download this,
Delete 'adb' & 'fastboot' from the folder you extracted the files too,
Rename 'fastboot-mac' to 'fastboot',
Copy it to the script folder,
Run the Script.
If you get errors then please put in a codebox the terminal output.
That's a nice idea. Something the community has been lacking for a while too
Hope it goes well
Reserved #2 - ^^ DOH! This 30secs thing really annoys me

[Bootscreen] bios boot screen

I came across a bios boot screen on a dutch forum. I liked it very much but couldn't find a good one for the i9300. Now I managed to do that, I ported it to the i9000. So here it is!
BIOS BOOT ANIMATION:
EXAMPLE:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Install instructions with Root Explorer:
Root Explorer: Play Store Link
1. Download the boot animation zip file to your phone.
2. Open the Root Explorer App
3. Locate the bootanimation.zip in your downloads folder
4. Copy zip file to System/Media Folder
Long Press on bootanimation.zip
Select Copy
Select Parent Folder
Select Parent Folder again
Select System
Select Media
Press “Mount R/W” (If it says “Mount R/O” Leave alone)
5. Select Paste
6. Set permissions to rw-r--r--
7. Change owner and group to "0 - root"
8. Reboot
Download link:
http://www.mediafire.com/?1eseknfrbgpf333
I will try to make a flashable zip when I have time again.
Have you managed to make a zip file to flash from recovery..??
Sent from my blazing SGS I9000 using Tapatalk 2
Roots said:
Have you managed to make a zip file to flash from recovery..??
Sent from my blazing SGS I9000 using Tapatalk 2
Click to expand...
Click to collapse
Make your choice lol:
http://forum.xda-developers.com/sitesearch.php?q=energy star bios bootanimation
That bootanim exists everywhere, maybe the most diffused ever.
I wanted to make a cwm zip for you but after having a look in the bootanimation.zip from here you can be sure it won't work (someone tested it?Not even sure your device will boot,pretty rare to be that buggy for a bootanim..)
I found one Samsung Galaxy S tagged, only bad side is that it's maybe a little too fast (30fps) we could reduce that later if you want.
For now if you want to test here's a cwm zip that will push it to data/local (I prefer it like this, that way you'll keep your bootanim even if you upgrade your rom unless you wipe data).
http://db.tt/XljPVikX
Thanks! remind me of my old PC
is it good for i9001 too? it's my first boot animation...

[TUTORIAL][SOFTKEYS] Change Softkeys at GNex with ZipThemer and without (CM11)

The Problem at CM11 is that the SoftkeyZ app doesnt work.
This is baecause of the following problem:
The folder is normally /system/app (for SoftkeyZ),
but in cm11 it is /system/priv-app.
But it can be done manually by two Methods.
Not only for CM11
You need :
-Root Explorer
https://play.google.com/store/apps/details?id=com.speedsoftware.rootexplorer&hl=de
First Method:
Now:
-Go to /system/priv-app/SystemUI.apk
-Extract to sd card
-Go to folder of the softkey you downloaded and put the .png files to :
/SystemUI/res/drawable-xhdpi
-Paste them and overwrite the old files.
-Zip the SystemUI folder with the new data.
-Go to SystemUI.zip and rename "SystemUI.zip" to "SystemUI.apk".
-Put the renamed SystemUI.apk to the /system/priv-app.
-Overwrite the old SystemUI.apk.
-Reboot manually ( the SystemUI.apk is mostly crashed at the first time doing this).
-After reboot set permissions of the SystemUI.apk to rw-r-r
Second Method: (Tested only at CM11)
ZipThemer is usable with this Method and you can make FLASHABLE ZIPS!
-Download the softkeys you want
- Extract them .
- Go to folder of the extracted
- There is one folder named "SystemUI" and a "nameofsoftkeys.xml"
- Open the .xml file with Text editor it look like this :
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
- Then change the line "<path>/system/app/</path>" to "<path>/system/priv-app/</path>"
- Save settings and go back. (delete the "nameofsoftkeys.xml.bak")
- Zip the folder where the SystemUI folder and the .xml file is included
- Go to Zipthemer (NOTE: Extras -> Update Edify -> browse for actually ROM -> Configure !! If not it may not work.)
- Go back to ZipThemer and search at "+Theme" for the new Zip
- Build it. And then go to Recovery and flash the zip. If this doesn't work then flash the undo.zip to reactivate the old softkeys.
Done
Screenshots can be posted here. :good:
works to me. im on omnimetal. thx
cuprienk said:
works to me. im on omnimetal. thx
Click to expand...
Click to collapse
No Problem
Sent from my Galaxy Nexus using xda app-developers app

[GUIDE] Hosts-Based AdBlocking Without Root

This approach is useful for certain OS's where you wish to keep root for security reasons, the system is poorly supported, or for, e.g., Copperhead OS where root won't install properly.
Note: this guide presumes an unlocked boot loader and/or TWRP recovery.
You shall need a hosts file from another android device on which you are currently running AdAway on. Alternately, you could acquire a hosts file from the various sites which offer hosts:
https://filterlists.com/ This has to be the most comprehensive source of URL, spam, AdExcrement, tracking, and malware filter lists known.
...or...
https://github.com/AdAway/AdAway/wiki/HostsSources
To get started, you could go with this:
http://winhelp2002.mvps.org/hosts.txt
Or use the linked hosts file amalgamated from 7 or 8 different blocklist sources. It features almost 70,000 blocked addresses, so that's not a bad haul.
hosts 2.3 MB
https://mega.nz/#!pIsggIpD!9GlmO51-9dndTz9bJIWX8SJ-1wosukIOIU6VJ-l_kuU
Note that going overboard with block lists will start to break webpages and break legitimate webpages. Experiment carefully.
Either way you should harvest your hosts file from /system/etc/ on the devices you have run AdAway on. You will need a root-level file manager (CM File Manager, ES File Explorer, or similar) to get at it.
The exact file is at: /system/etc/hosts. Notice it does not have any file extension. Keep it that way.
0. Copy this blocklist hosts file to the base directory of you SD card, then plug into your computer and copy it over to the PC.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
1. Next, take your target device and copy the blocklist hosts file over to the SD card on that device.
2. Restart target device into TWRP recovery.
3. Go to the Mount function and mount the System partition as read/write.
4. Go to the File Manager Option.
5. Navigate to the SD card and select the modified hosts file.
6. Copy this hosts file to the /system/etc/ directory, overwriting the original.
7. Restart to system and enjoy.
Any thoughts or questions?
Reserved!
this method does not work on moto g5 cedric

[J737P] J7 Refine How to modify APN [ROOT]

First, before you start, this is for root users.
*Remember to follow the steps correctly
1. You will need those apps:
1 CSC Features expert
2 Mix Explorer
3 link2sd
*all the app will need root permissions
2. Open the Csc app And find: Opmenu
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
And Rename the SPR To GLOBAL
You will see that the changes will not apply when you save it, do not worry, all you need is the file feature.xml
3. Open Mix Explorer go to: / System / csc There is the file features.xml Open it with the tx editor from the MIX and verify that the changes were applied correctly, find this: ConfigOpMenuStructur That should look like
If it is in GLOBAL, do not modify it, but if it still says SPR, change it to GLOBAL.
* Now we will move that file to this address: / odm / omc / BST / conf * Being there we will find several files
* Rename the file [cscfeature.xml] To [Originalcscfeature.xml] and now Rename the file [features.xml] as [cscfeature.xml] * It will have to look like this.
4. Open Link2sd and find: Sprint OMADM And freeze. Since this is the app to refresh the APN every so often.
*Now go back to the initial screen of the app
and do a Quick Reboot * After doing the Quick Reboot, now we are ready to modify our APN
5. Go to Settings,connections, Mobile network, Access points names
open it and modify what you need to modify and do not forget to save the changes.
6. go back to the mix explorer app and let's rename the previous files to their original state
[cscfeature.xml] To [fakecscfeature.xml] and now Rename the file [Originalcscfeature.xml] as [cscfeature.xml] * It will have to look like this.
AND NOW DO A SIMPLE RESTAR AND THAT'S ALL
Where uable to do anything else with the apn ie unlock..?

Categories

Resources