How to add init.d support? - HTC Amaze 4G

I need to add init.d support for a rooted stock ROM. I know xboarder has included it on his ROMs and googled several ways to do it, but i dont know which is the right one for Amaze. Any useful help will be greatly appreciated, thanks!

Anybody? I think thats important for everyone who wants to install V6 Supercharger and have the settings remain after reboot... Hopefully xboarder or mike1986 will reveal the trick

The Amaze is Dual core @ 1.5 with a gig RAM, you don't need v6 tweaks

i know very well the specs of the Amaze. Using V6 is a much better option than killing apps with a task manager, and i will never have to check how much free ram i have left after using a bunch of apps because with v6 the ram cleans up itself, thats why i want to install it... so, if you now how to add init.d support to the stock rom and share it, that would be appreciated.

flash stock rooted rom they have init.d support bam and enjoy

xboarder56 said:
flash stock rooted rom they have init.d support bam and enjoy
Click to expand...
Click to collapse
tnx for the suggestion man, but i also want to learn how to do it by meself. can you give me some advice or put some links with references? thx in advance

lgtsanev said:
tnx for the suggestion man, but i also want to learn how to do it by meself. can you give me some advice or put some links with references? thx in advance
Click to expand...
Click to collapse
use htc kitchen thats the easyest way for you google it

http://forum.xda-developers.com/showpost.php?p=10216730&postcount=2

if youre talking about dsixda's Android Kitchen, he stopped working on it before Amaze came up, its not in the list of supported devices. So it works on it nonetheless?

lgtsanev said:
if youre talking about dsixda's Android Kitchen, he stopped working on it before Amaze came up, its not in the list of supported devices. So it works on it nonetheless?
Click to expand...
Click to collapse
yes it does man it will work just fine use a stock rom and put it through the kitchen its just scripts to do the process for you

Brilliant, thanks!

So, I was told by mike1986 (the creator of the Revolution HD ROM) an even easier way to enable init.d support and run custom scripts at boot. I've tested it, it works perfectly well:
Open /system/etc/init.post_boot.sh with Root Explorer's Text Editor and at the end before ;;esac type /system/xbin/busybox run-parts /system/etc/init.d, then create a /system/etc/init,d folder and its done!
Thanks again to everybody that helped!

Related

[ROM]mySlide-1.0.2

mySlide-1.0.2
YOU PROBABLY DON'T WANT THIS...DON'T WASTE YOUR TIME!!!!!
This is just what I want, not necessarily what you want http://www.mediafire.com/?tstgikwhfezj6ph
This Rom will mostly be unsupported and unmaintained.
Flash at your OWN RISK.
What it is:
Stock slide rom.
added busybox
added netcat (busybox nc isn't good enough for me)
added bash
added htop
removed link toolbox->df (prefer the one in busybox)
removed link toolbox->rm (prefer the one in busybox)
changed the default animated boot ADVERTISEMENT and jingle
pngcrushed and zipaligned apks (with the execption of one) to save some space
Kangs:
what isn't.
maybe a few more little changes I forgot.
changes:
from 1.0.0 to 1.0.1:
added a2sd (from eugene373's smr5r1. breaks boot animation)
added default themes back.
from 1.0.1 to 1.0.2
added e2fsck
mySlide-1.0.0-signed
mySlide-1.0.1-signed
mySlide-1.0.2-signed
Themes in this are broken (1.0.0 only). If you want the default themes back then flash this...
themes-signed.zip
hey dumfuq glad to see you over on the slide section now. can we expect some overclocked kernals from you like on the g1?
jriv said:
hey dumfuq glad to see you over on the slide section now. can we expect some overclocked kernals from you like on the g1?
Click to expand...
Click to collapse
I sure hope so, but only time will tell.
That would be sick wonder how high this processer can go?
Sent from my T-Mobile myTouch 3G Slide using XDA App
Is the IM app erased in this and the tmobile app pack? i hate those apps
Nevermind i used ur rom and erased the files and signed it again. Thanks for the rom
dumfuq said:
YOU PROBABLY DON'T WANT THIS...DON'T WASTE YOUR TIME!!!!!
Click to expand...
Click to collapse
Not sure why you say that (in those words), but this does look decent!
Also, noob question, but are the stock ROMs (apps included) not zipaligned by default?
Yup they were already zipaligned. At least the ones I just checked
Honesty I didn't even look first. The crush actually takes off about 10Mb though.
yo dumfuq quick question... what exactly is required in editing a kernel to allow for overclocking and undervolting?
kingofyo1 said:
yo dumfuq quick question... what exactly is required in editing a kernel to allow for overclocking and undervolting?
Click to expand...
Click to collapse
Not exactly sure if this is what your asking but basically...
You need the kernel source code to edit (the legend kernel source has the espresso board files),
A handy dandy text editor (like vim),
a cross-compiler (There is one under prebuilt/linux-x86/toolchain in an AOSP or cyanogenmod build environment),
and a linux environment (cygwin might work not really sure).
1. download source
2. unpack source
3. edit source
4. set environmental variables
4. compile source
5. make a boot.img or an update.zip
Obviously that's incredibly simplified, but hopefully you get the idea.
Ok quick question to the maker of this rom... How can i add the themes back to this rom? I want to put the themes back but i dont kno which folder to put them in. Also which folder is where i can change the boot animation you have installed to stock? Thanks
this actually seems like exactly what i want. My only question is does it support a2sd. if so.. i have a new rom
btate0121 said:
this actually seems like exactly what i want. My only question is does it support a2sd. if so.. i have a new rom
Click to expand...
Click to collapse
good question. a2sd is a plus
you don't put them in anywhere. you can download and install them. there's a thread already with a small pack of themes to download and install. You install like any other APK. Search this forum section for them.
NiN39Z said:
Ok quick question to the maker of this rom... How can i add the themes back to this rom? I want to put the themes back but i dont kno which folder to put them in. Also which folder is where i can change the boot animation you have installed to stock? Thanks
Click to expand...
Click to collapse
The PNG crush killed the stock themes. If you want them back you can either boot to recovery and push the original ones to /system/app/ or just flash this...themes-signed.zip. That is just an update.zip that will copy the original themes back to your phone.
btate0121 said:
this actually seems like exactly what i want. My only question is does it support a2sd. if so.. i have a new rom
Click to expand...
Click to collapse
Nope, no a2sd.
any plans to add a2sd? I mean seriously... this would be PERFECT for my needs if it only had a2sd. I'm happy with a stock rom... i just want a2sd.
btate0121 said:
any plans to add a2sd? I mean seriously... this would be PERFECT for my needs if it only had a2sd. I'm happy with a stock rom... i just want a2sd.
Click to expand...
Click to collapse
Nope. Currently I don't use a2sd, or this rom really. I made this just for an optimized stock rom to bounce back to when needed. Currently I'm running a customized version of eugene's cm6 as my daily driver.
in your experience.. how hard would it be for a novice to add a2dp to this? I did a quick google and found about 3 good pages of data.. but it seems pretty complicated (packing and repacking boot.img looks to be pretty intense on a windows machine without any experience from what i can tell). Do you think i should attempt this? LOL.
dumfuq said:
Nope. Currently I don't use a2sd, or this rom really. I made this just for an optimized stock rom to bounce back to when needed. Currently I'm running a customized version of eugene's cm6 as my daily driver.
Click to expand...
Click to collapse
what is the difference between your customized version and the regular?
btate0121 said:
in your experience.. how hard would it be for a novice to add a2dp to this? I did a quick google and found about 3 good pages of data.. but it seems pretty complicated (packing and repacking boot.img looks to be pretty intense on a windows machine without any experience from what i can tell). Do you think i should attempt this? LOL.
Click to expand...
Click to collapse
what were the links they seem like the ones i have been looking for lol! i can already unpack and repack a boot.img im just looking for the steps i need to add to get aps2sd to work! i had a link explaining it but i cant find it anymore or google it!

[Q] Road runner questions?

Sorry for posting this here but I am a junior members and I can't post in dev. I already flashed speedy, how do I flash road runner? Do I need to delete all speedy files first or just flash over top?
Id also like to know
Sent from my DROID X2
neckbonest said:
Sorry for posting this here but I am a junior members and I can't post in dev. I already flashed speedy, how do I flash road runner? Do I need to delete all speedy files first or just flash over top?
Click to expand...
Click to collapse
1. Go here and download 0vermind's init.d re-hack
2. Flash the init.d re-hack in BSR (Bootstrap Recovery)
3. Flash Speedy v2 (Road Runner)
4. Reboot twice
To make sure the scripts are working go to /data and check for "ZipAlign log" if you see it, the scripts are working.
Don't be sorry. This section is for general which includes Q&A
Does anyone know if these scripts will work with the atrix ports?
I am a noob and didn't want to start a new thread that would clutter up so this seemed like the best place to ask.
They should work on atrix port but in theory you don't need to flash the init.d hack its already built into atrix port.
rkuhldude77 said:
Does anyone know if these scripts will work with the atrix ports?
I am a noob and didn't want to start a new thread that would clutter up so this seemed like the best place to ask.
Click to expand...
Click to collapse
Yes the scripts are working GREAT with the Atrix port
I install this morning and my phone is working outstanding
7 hours and my phone is still at 80%
the min CPU freq is set @ 250 up from 216
another question...so now that naven updated his scripts do i even need this? Or would it be smart to install this over navens latest release?
rkuhldude77 said:
another question...so now that naven updated his scripts do i even need this? Or would it be smart to install this over navens latest release?
Click to expand...
Click to collapse
It depends which scripts u prefer. They are different in some ways...and u may need to delete parts of conflicting scripts or entire script itself. I saw some people had problems when trying to do that. Just make ur nandroid before trying to be safe.
U could just push the scripts into init.d folder u want to use and fix permission/owners.
So the scripts from these two guys are named differently, does navens have the script that helps battery or can I just add that specific one from overmind into navens zip file?
If so what is the name of the script?
Sorry again I am a noob and am just trying to figure this stuff out
I wanted to say thanks for your interesting work on RoadRunner. I've flashed it, along with the hack, and it wasen't loading as I wasen't seeing Zipalign. log. but realized maybe I should reload busyox, hch I did. Then upon reflashing roadrunner, the zipalign.log appeared. Al started speeding up after this as well as increasing battery life. So thanks again
Steve

[BATCH SCRIPT] MR. Navigator 1.8 (updated 11.9.11)

v1.8 was a major update.
Please redownload all files and delete old ones. ​
This is a script I made for myself to put all popular scripts and Patchers in one FILE!!!
I will add scripts on request! This is a Windows/PC batch script using command prompt. This was created on Windows 7 but will work in Windows XP or higher.
Included scripts of November 5:ADB/Fastboot setup for first time users, ADB and Fastboot for already installed users, FTP server for online file storage, ADB and MR. Navigator updater included in options,
Well I decided to share this with you guys.
Please message me if you would like to be a greater!
BUGS: None! well...you tell me
​1.8 out..
Working on:
YOU TELL ME]I'm looking to contact a good range of known devs for permission to implement there script or patcher into my AIO (all in one) script.
Support for all devices will be added after fixing some compatibility issues on a good range of devices...... But works perfectly with MT4G tho , a auto installation of ADB wireless if your lazy like me. ACpatcher, ICS status bar layout patcher, and new scripting codes!;
I would respect constructive feedback/criticism because I'm a young mind looking into developing...and such!
Expect v1.9 to come November 10th (Thursday) with BUGFIXES
l]
Download Mr navigator with v1.8 and all needed setup files here (Must have to run)- http://www.mediafire.com/?xy4cl7655m3xu03
If you just want to download v1.8 update because your coming from an older version, here-- Major update (re download all files)
(You need actual Mr navigator to run, but if u just wish to update mr navigator you can just download this then look at my how to update guide below MAJOR UPDATE REDOWNLOAD ALL FILES
How to update: Mr navigator v1.9 will be named "update.bat"
Don't open it just move it to the same folder as Mr navigator.bat Then open Mr. navigator and go to options/updater. Then it will detect the update and ask if you want to apply it ​
Which scripts are you speaking of exactly?
Sent from my Xoom using xda premium
Jaytex24 said:
Which scripts are you speaking of exactly?
Sent from my Xoom using xda premium
Click to expand...
Click to collapse
maybe splash script flasher by trueblue_Drew, adb easy installation (WIP) by me, revolutionary auto root, ics status bar layouts fix for cm7, and any other requests
cool
I was stuck on a problem but I figured it out so i coughed out 1.5 a day early!! All I need are TESTERS!!!! plz....lol
Jaytex24 said:
Which scripts are you speaking of exactly?
Sent from my Xoom using xda premium
Click to expand...
Click to collapse
Yea I don't understand what these are supposed to do...?
xmc wildchild22 said:
This is a script I made for myself to put all popular scripts in one FILE!!!
I will add scripts on request!
Well I decided to share this with you guys.
Please message me if you would like to be a tester!
BUGS: None! well...you tell me
1.5 out..(MAJOR PROBLEM FIXED)
Working on:
I'm looking to contact TrueBlue_Drew for his permission to implement his script into mine.
Support for all devices will be added after fixing some compatibility issues on a good range of devices......
works fine with MT4G tho
I would respect constructive feedback/criticism because I'm a young mind looking into developing...and such!
download 1.5 here...
(EXPECT NIGHTLIES UNTIL A WEEK AFTER STABLE RELEASE)
http://www.mediafire.com/?xy4cl7655m3xu03
Click to expand...
Click to collapse
it would be nice to know exactly what your scripts are suposed to do to our phones... no details makes ppl not want to flash things... just sayin...
irrelephant said:
it would be nice to know exactly what your scripts are suposed to do to our phones... no details makes ppl not want to flash things... just sayin...
Click to expand...
Click to collapse
True, sorry this is one of my first threads
Advice:
Search "Scripts" here on XDA and youll find lots of results. The most popular ones that I kow of so far are the V6, Darktremor, and Juwe(?) Ram Scripts. A good starting point would be to start an official "Scripts" thread and provide links to each popular script devs forum thread. Ask the devs permission if you can link direct download links to their script so you can track which ones are more popular with users and then collaborate with the devs themselves on making a batch script .zip file that contains multiple scripts for different functions (RAM mods, partitioning mods, etc). Script manager is a useful app, but I would rather all scripts be flashable through cwm. If you really push yourself on this project I really think you could gain a good following among fellow XDA users. Good luck
although I would prefer using windows batch scripts because then I could use adb help and I'm familiar with most commands. I still have alot to Learn about making update.zip which can be flagged in recovery...so for know, I'll stick with what I already know. but I might look in to what you suggested and I've already started private message some people. :-]
1.6
here you go (v1.6)

[ROM] (11-May) BMW-BOY V0.3 for Jetstream And Puccini (Build No:1.30.502.1) Uploaded

HI Guys
SORRY FOR LONG DELAY ROM ALREADY UPLODED FIND BELOW DOWNLOAD LINK
I would like to present my first custom Rom and also First Custom Rom for Jetstream and Puccini
This Rom for AT&T Jetstream and Puccini Rogers (Tested on My AT&T Jetstream)
For AT&T Jetstream device and Rogers Puccini you should flash WIFI modules to fix the WIFI Issue from here http://forum.xda-developers.com/showpost.php?p=20987718&postcount=1
Features of my ROM
Based on Build No 1.30.502.1
NO Wipe (Recommended to Wipe for full optimization)
Unsecured boot.img
ROOT (SU + SuperUser Permissions )
Newest BusyBox
RAM optimizations
Speed optimizations
Add task killer tweak for speed
Zipaligned (Improved RAM management)
Zipalign on boot (for user applications on data partition)
Fully de-odexed
init.d scripts (BusyBox run-parts) support
Boot animation and down animation changed
Android Market updated to latest 3.4.4 (Removed Stoke Market)
Bloatware applications removed
WIFI Tethering and Phone Functions enabled by defult
And another things
Release
Code:
V0.3
Based on Build No. 1.30.502.1
Tweak Framework for More smooth scroll
Some tweaks on build.prop for touch improvement
Add Google music
Add Tapatalk HD for tablet (Freeware from Samsung Tab)
Add new Notification and alert ring tones
APN List from CyanogenMod
[B][SIZE="3"]V0.02[/SIZE][/B]
Based on Rogers Rom Build No: 1.30.502.1
Fixing ran busybox run-parts option
Fixing Zibalign on Boot
New Boot animation
Add Go SMS Pro
Remove Rogers App to data/app for easy uninstall
Add Nano text editor
Bash shell support
Ad-Hoc support
V0.01: Initial Release
App Moved to Data/app for easy uninstall
Code:
BooksTablet
HD Games
Kidmode
Macleans
Maps
MyAccount
onDemand
PolarisOffice
Press Reader
Sound hound
Spotnet
Twitter
UrMusic
Requirements
• Bootloader unlocked
• Root from Here http://forum.xda-developers.com/showpost.php?p=20781807&postcount=1
• Custom Recovery from Here http://forum.xda-developers.com/showpost.php?p=20821096&postcount=1
How To Flash
• Make NAND Backup First
• Place Zip file into your SD Card
• Boot into CWM Recovery
• Install zip from SD Card
• Choose zip from SD Card
• Navigate to ROM zip
• Flash
• Enjoy
Since we don't know BLOCK PARTITION # FOR BOOT.IMG for now you need to flash custom boot.img to have the full functionality in this Rom
Download Boot.img from Here:
Boot.img for V0.3: http://www.mediafire.com/download.php?27e87vnf28jnh1a
Boot.img for V0.2:http://www.megaupload.com/?d=T9UZ3RTT
How to flash the the boot.img
make sure that your device on debugging Mod
run the following commands
Code:
adb reboot bootloader
fastboot devices (to make sure that you device is connected)
fastboot flash boot file.img
Download Link
V0.3
https://docs.google.com/open?id=0B3nY5-_s21qPemxFNGtuZkpDc2M
V0.02
http://www.megaupload.com/?d=4FL2Z0AS
V0.01
http://db.tt/u5OfYeRm
MD5:afeda740aabd5c79cf30c457dc4f53bc
Special Thanks to DooMLoRD to give us Root, Custom Recovery, and WIFI modules,
And Task650 to direct me for some issues
If you like my Work just press thanks button
Reserved for me!!!!!!
AWESOME
will try it someday soon.
question - what is optimized exactly?
Hmmm. Nice try and initial release. I hope developers will follow you to make good roms
Flashing this tonight after I make a nandroid backup
typhoonikan said:
Flashing this tonight after I make a nandroid backup
Click to expand...
Click to collapse
Try it. If you not like it you can restore your backup or look for my thread with the backups good luck
Sent from my HTC PG09410 using Tapatalk
feherhollo said:
Try it. If you not like it you can restore your backup or look for my thread with the backups good luck
Sent from my HTC PG09410 using Tapatalk
Click to expand...
Click to collapse
Try it, its working
Can I please have a checksum? pleaseplease
typhoonikan said:
Can I please have a checksum? pleaseplease
Click to expand...
Click to collapse
MD5:afeda740aabd5c79cf30c457dc4f53bc
just wondering. but what have you done to "fully optimize and tweak"?
guru_shastri said:
AWESOME
will try it someday soon.
question - what is optimized exactly?
Click to expand...
Click to collapse
task650 said:
just wondering. but what have you done to "fully optimize and tweak"?
Click to expand...
Click to collapse
Post by Mistake but I think is good try for first time
sorry for that and i think is good start for all of us
and when you flash it you will find big difference
bmw-boy said:
Post by Mistake but I think is good try for first time
sorry for that and i think is good start for all of us
and when you flash it you will find big difference
Click to expand...
Click to collapse
huh??? i was just asking what you did to "fully optimize" it. I'm releasing my rom tonight so your "start" is a little late bro. lol.
task650 said:
huh??? i was just asking what you did to "fully optimize" it. I'm releasing my rom tonight so your "start" is a little late bro. lol.
Click to expand...
Click to collapse
we can share our work together and learn from you
really i hope to learn in android world and i was very happy today to make my first custom ROM and flash it successfully
bmw-boy said:
we can share our work together and learn from you
really i hope to learn in android world and i was very happy today to make my first custom ROM and flash it successfully
Click to expand...
Click to collapse
yeah good job bro. me and Dutch Danny are going to be working together also on a rom that is going to be killer. lol
task650 said:
yeah good job bro. me and Dutch Danny are going to be working together also on a rom that is going to be killer. lol
Click to expand...
Click to collapse
but in the end all of us will be happy to have custom Rom
flash .rar?
Not that I don't believe you have installed this ROM and not that I don't have any experience flashing, but how did you flash a .rar file? CWM will flash .zip files but not .rar.
EDIT: ok so you double compressed the file, not really needed....
Russ741
---------- Post added at 10:13 PM ---------- Previous post was at 09:22 PM ----------
Good job BMW-BOY, the ROM boots and allows access to the Market. Strangely it isn't as fast as the stock ROM. I didn't take any measurements but sense panels don't scroll as smoothly and apps don't open as quickly.
For a V0.01 great work!
Russ741
Can i have a stock config ,fresh from the device?
Code:
adb pull /proc/config.gz
And bmw-boy,this rom is running stock kernel?
@BMW
i just wanted to let ya know bro. But nothing you have stated in the OP is working. Zipalign doesn't work (No zipalign database), No init.d support, no working busybox run-parts, ect... just figured I'd give you the heads up.
P.S- Nice bootanimation. Its the same one I've been using in my Samsung Galaxy Tab 10.1 rom for a while now.
New Update uploading
New Update uploading
Uploaded:

[Q] what init scripts can i run on stock rom?

from the init.d scripts section of this thread: forum.xda-developers.com/showthread.php?t=1227269
which ones can i run on a stock locked rooted prime? i think stock doesnt support init.d scripts but theres a tutorial on how to enable it but i dont know which ones from the thread would work. i hope to get some responses because every time i post a question i get more views than replies. thanks
fcortes626 said:
from the init.d scripts section of this thread: forum.xda-developers.com/showthread.php?t=1227269
which ones can i run on a stock locked rooted prime? i think stock doesnt support init.d scripts but theres a tutorial on how to enable it but i dont know which ones from the thread would work. i hope to get some responses because every time i post a question i get more views than replies. thanks
Click to expand...
Click to collapse
The stock kernel won't execute init.d scripts so none of them will work for you.
And since your prime is still locked you can't install a different kernel.
Therefore your decisions is first to unlock then install a custom rom (most include a kernel that supports init.d). Then you can spend time checking out various scripts.
djmcnz said:
The stock kernel won't execute init.d scripts so none of them will work for you.
And since your prime is still locked you can't install a different kernel.
Therefore your decisions is first to unlock then install a custom rom (most include a kernel that supports init.d). Then you can spend time checking out various scripts.
Click to expand...
Click to collapse
oh ok. i saw a post somewhere where it showed how to add init script support to stock roms. thanks for the reply. ill just find another way to add more points to my benchmark
fcortes626 said:
oh ok. i saw a post somewhere where it showed how to add init script support to stock roms. thanks for the reply. ill just find another way to add more points to my benchmark
Click to expand...
Click to collapse
You won't get a great benchmark with the stock rom I'm afraid... too much crap is going on and the kernel is not very quick.
djmcnz said:
You won't get a great benchmark with the stock rom I'm afraid... too much crap is going on and the kernel is not very quick.
Click to expand...
Click to collapse
i got a 10960 mostly all higher scores are from overclocking it
djmcnz said:
The stock kernel won't execute init.d scripts so none of them will work for you.
And since your prime is still locked you can't install a different kernel.
Therefore your decisions is first to unlock then install a custom rom (most include a kernel that supports init.d). Then you can spend time checking out various scripts.
Click to expand...
Click to collapse
That is a large bummer. I'd like to run some init.d scripts (primarily to run crontab), but the unlock tool isn't working on my Prime (unknown error nonsense).
cmckitterick said:
...the unlock tool isn't working on my Prime...
Click to expand...
Click to collapse
That's a larger bummer... :crying:
And I read that ASUS won't provide a path to resolution? Sucks.

Categories

Resources