[MOD] Enable init.d support - RAZR i Android Development

Credits go to DooMLoRD, he did the work, I did just adapt it to our razr i
You will need root and busybox installed
I did root with motofail2go, so unlocked bootloader isn't required
DooMLoRD said:
[ info ]
i am attaching a easy to run package which contains the files required for full functionality of executing startup scripts (init.d scripts)...
basically this will allow the user to execute custom shell scripts, placed in /system/etc/init.d/ folder and they will be executed on each boot!
i dont have this device yet!!
thanks to Jozinek for testing this on his phone!
[ requirements ]
stock rooted ROM
windows PC with adb drivers installed
[ how to install ]
download the provided zip package
save it on c:\
extract the contents of the package
connect phone with usb debugging active to PC via ADB
execute "runme.bat"
follow onscreen instructions & enjoy!
incase some issue is there post the output/log of script
[ additional info ]
i have added the following things in the package:
corrected /system/bin/sysint file
run-parts binary in /system/xbin/run-parts (which is basically busybox 1.19.3 binary)
correct /system/etc/install-recovery.sh file (this file gets executed by default on stock kernel too!)
test/example script /system/etc/init.d/99test
to check if this is working the test script (99test) will create a temporary file /data/local/tmp/init.d_log_test.txt on each boot
[ donations/device fund ]
i dont yet have this device but i plan to buy it.... if u guys want to donate to me to get this device OR if u feel that this work has helped u OR u think that the work i put into making this is worthy of donations, then click on the following link for buying me some coffee/beer/etc
i am currently channeling all my donations to get this phone asap and to avoid selling my ARC!!!
PAYPAL DONATION LINK
[ download link ]
generic-init.d-support-v01.zip
MD5HASH: 2eda273af4b91c34f868807820cceaee
let me know how it goes!
{
"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"
}
ENJOY!
Click to expand...
Click to collapse
When it is done reboot, and then you can verify if it worked by checking if there is a init.d_log_test.txt in /data/local/tmp
My rom is Retail EU 31006, I don't know if it works in other roms

Hai lennox671,Thk for good work sharing & can we include more performance feature such as supercharge& battery saving,good ram,faster read toward top performance.Thks.

lennox671 said:
Credits go to DooMLoRD, he did the work, I did just adapt it to our razr i
You will need root and busybox installed
I did root with motofail2go, so unlocked bootloader isn't required
When it is done reboot, and then you can verify if it worked by checking if there is a init.d_log_test.txt in /data/local/tmp
My rom is Retail EU 31006, I don't know if it works in other roms
Click to expand...
Click to collapse
Dear sir,this is not working in my JB uk GB version, can you guide me
.Thk.

Daniel 9999 said:
Dear sir,this is not working in my JB uk GB version, can you guide me
.Thk.
Click to expand...
Click to collapse
Only for ICS. JB is not able to root without unlocked bootloader. Despite this mod doesn't work on rooted JB. Try another ROM with init.d enabled or AIO boot mod.

Related

OpenRUU for Linux & Mac - NEW! Extract rom.zip from any RUU! BETA2

OpenRUU - RUU Shell Script For Linux & Mac
This is a shell script to flash an official RUU from HTC.
You do not need root.
The script will:
NEW! Extract a rom.zip from an RUU & works on any device!
Get your current ROM version
Get Your Current HBOOT Version
Get Your Battery %
Reboot into RUU Mode
Flash the ROM using fastboot or NEW! Flash the rom in HBOOT without a PC!
Reboot your phone
Enjoy!
DOWNLOADS
RUU Exract Version (beta) http://forum.xda-developers.com/attachment.php?attachmentid=350639&stc=1&d=1277632079
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.)
Donate - GBP
Donate - Euro
Donate - 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"
}
RESERVED for Q&A
This is one awsome script!!!
Why is it only for Linux & Mac? if you need windows binaries of fastboot and adb I can give them to you...
1. Windows users have HTC's Official ruus which are better.
2. I don't know half of the commands I need to make it work.
But I will do an hboot flash version when I have the download script running. Does anyone know the windows equivalent of 'wget'?
Sent from Steve Job's Android Prison using XDA App
Working on mac? Only have exe-file.
Hey,
i hope that anybody can help me with my problem.
Unfortunately I'm a newbie to all this. I just rooted my desire and want to revoke it now in order to get the OTA-froyo update.
So I downloaded OpenRUU and the RUU_Bravo_TMO_UK_1211104_Radio.exe.
Can anybody please explain to me how to get an zip-file out of the exe and afterwards how to tell openruu to use this file for updating?
Thanks a lot,
Mali
Source code for binary files
Hi - any chance you could share the source code for the binaries included in the zip file?
jgu__ said:
Hi - any chance you could share the source code for the binaries included in the zip file?
Click to expand...
Click to collapse
If you mean adb & fastboot, they are part of the Android SDK which is open source.
failed to copy 'PB99IMG.zip' to '/sdcard/PB99IMG.zip': Permission denied
Ok I am running into this problem:
Transferring to root of SD Card using adb...
failed to copy 'PB99IMG.zip' to '/sdcard/PB99IMG.zip': Permission denied
Done!
Verifying file transfer succsessful...
opendir failed, Permission denied
I haven't rooted the phone, but I do have a gold card in the SD slot... do I need to be rooted to use this?

[TOOL][N4] TOOL ALL IN ONE (Drivers|Unlock|TWRP|Factory Image|Stock Recovery)

This is the Nexus 4's TOOL ALL IN ONE Discussion Thread more info and download go to the Original Thread
TOOL ALL IN ONE
{
"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"
}
ADVANCED OPTIONS
FUNCTIONS
Install Drivers
Install Drivers
Unlock Bootloader
Lock Bootloader (use carefully)
Flash TWRP Recovery
Flash Stock Recovery
Flash Stock Factory Image
Automatic ROOT
Install APKs
Uninstall APKs
Take a Screenshot
Take a Screen Reocrd
Flash Partitions
Erase All Data (This function can decrypt the phone)
Reboot Phone
Update the Tool to latest version
Update Adb and Fastboot to latest version
Set Adb and Fastboot priviliges in system wide
Install Zip directly from PC (Required TWRP on phone)(These functions work perfectly on my pc but i have perfect adb drivers on my pc and perfect TWRP on my phone)
Flash Fastboot ROM
Delete downloaded files
ADB File Manager
DEVICE LIST
If you want you can send a request to add a new device here:
New Device Request Form
Device List
DOWNLOAD
Original Thread
DONATE LINK
If you want to support the project please consider making a donation, thanks.
​
226 download in just 2 days .
Excellent. you guys are really really awesome. i enjoy being on N4 due to such tools. you made everything easy
Effort appreciated. keep it up.
Sharjeel.Khan said:
226 download in just 2 days .
Excellent. you guys are really really awesome. i enjoy being on N4 due to such tools. you made everything easy
Effort appreciated. keep it up.
Click to expand...
Click to collapse
226 of last version, 415 of first version
Finally i got a solution for Nexus and Pixel Factory Image flash, now it works perfectly
Does this tool still support Nexus 4 and is updated for Windows 10?
/root said:
Does this tool still support Nexus 4 and is updated for Windows 10?
Click to expand...
Click to collapse
Yes

[TOOL] Universal Fastboot & Adb Tool

This is my latest creation. Easy to use, it has been created to support all devices compatible with fastboot and adb. Currently, only some basic functions are available, coming soon many more commands
Universal Fastboot & Adb Tool
{
"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"
}
FUNCTIONS
Install Drivers
Unlock Bootloader
Flash Recovery
Reboot Phone (from anywhere to anywhere)
Update the Tool to last version
Complete Wipe from Fastboot
Open a cmd window with fastboot and adb privileged
NOTE
This is the first release and it can have some bug. If you find some bug tell me with a pm or a comment
Before using the tool, make sure that you have turned the oem unlocking, usb debugging.
If you have any problems during installation then first try to update the Microsoft Net freamwork to latest version:
https://www.microsoft.com/it-it/download/details.aspx?id=30653
HOW TO INSTALL
Download .zip file;
Extract all its contents into a folder;
Click on setup.exe;
Click on "Install";
Waiting for the end of the process;
Enjoy your tool
UPDATE
There will be no need to re-download the new tool, but just look for new updates directly from the tool.
In all cases I'll update the link in this thread and report it when there are new updates with its changelog.
CHANGELOG
#1.0.0.0
Initial Release
#1.0.0.1
Added Huawei Unlock Bootloader support
Added Sony Unlock Bootloader support
Added Some Other Commands (now you can open a free cmd window with fastboot and adb privileged)
General Bugfix
CONTACTS
If you think it necessary to add new features please comments or send me a private message or send me an email to [email protected]
DOWNLOAD
Universal Fastboot & Adb Tool
( Alternative Link )
DONATE LINK
If you want to support the project please consider making a donation, thanks (If you make a donation, please tell me for what tool you have made it).
DONATORS:
Andrea Della Verde: 1.00 €
Thanks I needed this one
Thread closed, please use the central thread below:
[TOOL] Universal Fastboot & Adb Tool
Thanks,
Darth
Senior Moderator

[TUTO]Custom Splash screen - A700F

{
"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"
}
Hi all. I just want to share how to change your splash screen, if ever you want a customized one. I created my own, for FENECK-Rom_GNT_DEV. So without further ado, here's the tutorial:
** Warning **
It is forbidden to reproduce this tutorial on another forum without asking permission.
If you use this tutorial to produce a content on your rom think about granting credit to my humble effort (thanks)
NOTE: Tested perfectly on STOCK-Rom without any problems.
Pre-requisites:*
- Rooted device
- Terminal Emulator
- Back up!
** Warning **
It is forbidden to reproduce this tutorial on another forum without asking permission.
If you use this tutorial to produce a content on your rom think about granting credit to my humble effort (thanks)
This operation involves risks: This forum "Galaxy-Note-Team & XDA" and / or myself can not be held responsible for any problems encountered during installation or possible handling problems.
WELL READ THE TUTO BEFORE ANY MANIPULATIONS (SAME SEVERAL TIMES)
Steps:
☆1.) Start emulator terminal
now for the codes:
☆2.)Now type:
su
Click to expand...
Click to collapse
☆3.)Now it's time to pull out the param.bin, which contains the splash logo:
dd if=/dev/block/platform/15540000.dwmmc0/by-name/PARAM of=/sdcard/param.bin
Click to expand...
Click to collapse
☆4.)Now we must create a folder on main sd card:
mkdir /sdcard/param
Click to expand...
Click to collapse
☆5.)Then enter the directory:
cd /sdcard/param
Click to expand...
Click to collapse
☆6.)And untar the param.bin into the created folder:
tar xf /sdcard/param.bin
Click to expand...
Click to collapse
If all goes well, you can see a param folder in your main sdcard (mine is in internal memory), which has all the bootloader's images. Just copy the logo.jpg to your PC.
☆7.)Now you can edit the logo.jpg to your liking - note that the background should remain black, and the size should not be more than +-400KB.
☆8.)Once done editing, copy your customized logo.jpg on main sd card
☆9.)Then, we have to paste it inside /sdcard/param folder, and re tar param.bin:
cp -f /sdcard/logo.jpg /sdcard/param/logo.jpg
cd sdcard/param
tar cf - `ls | sort -t.` > /sdcard/param.bin
Click to expand...
Click to collapse
☆10.)Lastly, we need to return param.bin in system:
dd if=/sdcard/param.bin of=/dev/block/platform/15540000.dwmmc0/by-name/PARAM
Click to expand...
Click to collapse
☆11.)After these steps, reboot!
VOILA! Now you have your won splash image!*
Credits:
@topjohnwu For Magisk v13.0 (96f8efc)
@Chainfire For SuperSU
@MitoTakatori For the tutorial I inspired
@XDA For To allow us to exchange and learn
@GalaxyNoteTeam=Team Dev Fast&FamousTo be a great team of sharing and mutual aid
@baloo30310To make me the pictures I need
@thijac99To make me fast mirrors rom
@IZI.XavFor creating our GalaxyNoteTeam forum and the Fast & Famous team
Contributors​LE FENECK >>> http://www.galaxynoteteam.com/, - FrenchFamousTeam® - GNT
If my work pleased you hit the button thank you.
whole team you thanks and waiting for your return.
Thank you

how to mount R/W on system on sony Xperia Z1

hello guys.. please help me
my xperia z1 success rooted.. but I only read file on the system :crying::crying:, so
HOW TO CHANGE R/O TO R/W ON THE SYSTEM?????
wildanegan said:
hello guys.. please help me
my xperia z1 success rooted.. but I only read file on the system :crying::crying:, so
HOW TO CHANGE R/O TO R/W ON THE SYSTEM?????
Click to expand...
Click to collapse
If running stock rom you need to disable RIC by repacking kernel with a script
Follow step 5: https://forum.xda-developers.com/crossdevice-dev/sony/root-root-stock-firmware-modern-sony-t3558904
And read this thread: https://forum.xda-developers.com/xp...ia-z1-lollipop-5-1-1-build-14-t3246373/page12
SUPERUSER said:
Its recommended to use these sketchy last resort rooting options to get root to be able to backup ta partition before unlocking the bootloader or whatever you need to do and then replace it with a proper root.
If you are running stock rom and want to root this.
Then to keep it simple I recommend to flash a stock rom with flashtool and then follow the guide here:
https://forum.xda-developers.com/crossdevice-dev/sony/root-root-stock-firmware-modern-sony-t3558904
You need a stock rom downloaded to repack the stock kernel and then flash it back to the device.
So Its much simpler if you actually download a stock rom and flash it while you're at it.
http://www.flashtool.net/index.php
While you are following the guide make sure to disable ric in the script too.
Otherwise you won't get rw to system partition.
Since chainfire supersu is completely handed over to that chinese business I recommend to migrate to magisk instead.
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
And lastly when the phone is booted up install busybox
https://play.google.com/store/apps/details?id=stericson.busybox
Click to expand...
Click to collapse
SUPERUSER said:
Sorry ....somehow I didn't see your notification and totally missed to reply to you.
If you are stuck on the sony logo you configured the script wrong.
Say N to everything but RIC or the phone will not boot.
I repacked the kernel from my Togari to demonstrate but the procedure is exactly the same for Honami.
{
"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"
}
Click to expand...
Click to collapse
I do want to add that I do now have my doubts about magisk because I have had some issues with magisk on lollipop and I instead went with supersu.
But I you got magisk working then you don't need to do worry about this
thank for information, and im sorry if i late for reply your post
and then I'll trying all your say,,,
thankyou verry much :baik: :baik: :baik:

Categories

Resources