[Q] what init scripts can i run on stock rom? - Asus Eee Pad Transformer Prime

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.

Related

[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

How to add init.d support?

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!

System Tuner question

Just a quick question about system tuner tweaks. Is it better to have them applied after booting or via init.d script(assuming your rom supports it)?
ElAguila said:
Just a quick question about system tuner tweaks. Is it better to have them applied after booting or via init.d script(assuming your rom supports it)?
Click to expand...
Click to collapse
I'd use the app....g
gregsarg said:
I'd use the app....g
Click to expand...
Click to collapse
its an option in the app...
You can have them applied with initd or after the boot sequence has completed...
I myself use initd
Init.d support is available in only a limited amount of kernel use.
My reply was an attempt to prevent confusion among users that don't have init.d kernel support.
And honestly, many don't even know what it is. Especially those with stock devices.
And if init.d support is toggled on without supported kernels, it often FC's...or. worse ....see threads on stock rooted att note.
I should have been more specific, and said,
Use the " on boot completed " setting in the app ..it works the same and won't give you migraine headaches later ..sorry ....g

[Q] cifs kernel modules for JB?

Hello,
today I got my update to 4.1.1. Besides a few minor issues the biggest problem is that the Transformer reboots when I start cifs manager.
There were no more reboots after I renamed cifs.ko and md4.ko but of course I coudn't mount any shares without the modules. I searched around and found something for the Nexus which didn't work either but nothing for the Transformer yet.
Any idea where I can find them? Some threads show that others got the updates a bit earlier, so perhaps the modules are already around somewhere. Or would some kind soul compile them if they don't yet exist?
Many thanks
Armin
by the way: Is there a way to stop the almost permanent update notifications? I would have liked to wait with the update but it is impossible to really work with the tablet because every few minutes it asks again if I would like to update -- even though I selected "wait for a day".
So I gave up after some time and allowed the update and now I don't have cifs mounts any longer...
I got same Problem, too. Maybe a custom kernel for stock rom?
Keron23 said:
I got same Problem, too. Maybe a custom kernel for stock rom?
Click to expand...
Click to collapse
I would look at the custom roms that have CIFS capabilities, download them and pick them apart with blobtools2 and ext2explorer.exe to see what modules you can poach for the stock rooted rom you are running.
Perhaps though a simple post in the thread or email to the author might yield the modules you need without that work.
hx4700 Killer said:
I would look at the custom roms that have CIFS capabilities, download them and pick them apart with blobtools2 and ext2explorer.exe to see what modules you can poach for the stock rooted rom you are running.
Click to expand...
Click to collapse
I tried this one: http://forum.xda-developers.com/showthread.php?t=1803557 but could not find a cifs.ko in it. Do you know
one that has the modules?
hx4700 Killer said:
Perhaps though a simple post in the thread or email to the author might yield the modules you need without that work.
Click to expand...
Click to collapse
Tried that too, I asked someone who provided an earlier version in a PM -- but no answer yet.
So, still no luck and hoping for someone to just post the beasts...
armin58 said:
I tried this one: http://forum.xda-developers.com/showthread.php?t=1803557 but could not find a cifs.ko in it. Do you know
one that has the modules?
Tried that too, I asked someone who provided an earlier version in a PM -- but no answer yet.
So, still no luck and hoping for someone to just post the beasts...
Click to expand...
Click to collapse
Here you go.
flumpster said:
Here you go.
Click to expand...
Click to collapse
Thanks a lot, works great!
Now cifs modules works on JB stock for unlocked devices without any crashes. Thanks a lot.

[KERNEL MODULE] Make /system writeable

This is a kernel module that defeats HTC's system write protection
Devs are free to use this in their ROMs, just credit me and link here
Download:
Kernel version 3.0.21-g6c11713: http://goo.gl/u39km
Kernel version 3.0.21-gfdb1a80: http://goo.gl/5hRmU
Click to expand...
Click to collapse
How to use:
copy the module to your device (eg: /system/lib/modules), insert the module, then remount system
insmod /system/lib/modules/wp_mod2.ko
mount -o remount,rw /system
This must be done at boot, if you make changes to /system, then load the module, you risk corrupting the filesystem.
How to implement in ROMs
There are two good ways to implement this in ROMs:
1. make an init.d script containing the commands above
or
2. add the commands to init.rc in the ramdisk
NOTE TO POTENTIAL KERNEL DEVS:
The module would not be necessary if you make a custom kernel. Simply make sure it is compiled without CONFIG_MMC_MUST_PREVENT_WP_VIOLATION
Please hit the Thanks button if you download this
If you really like it, please consider buying me a beer
Source code: http://goo.gl/VmSwe
This is a great news...
I think most people is using kernel version 3.0.21-g6c11713
as this comes with the EU & Asia ROM.
It will only work for the exact kernel version, and even then it may take many attempts before I get it right.
Here's one for kernel version 3.0.21-g6c11713
download: http://goo.gl/Vtcex
Please let me know exactly what happens after running the commands in the OP
Warning: don't go trying this unless you know what you're doing, it probably won't work yet and it might crash your device
flar2 said:
It will only work for the exact kernel version, and even then it may take many attempts before I get it right.
Here's one for kernel version 3.0.21-g6c11713
download: http://goo.gl/Vtcex
Please let me know exactly what happens after running the commands in the OP
Warning: don't go trying this unless you know what you're doing, it probably won't work yet
Click to expand...
Click to collapse
I just change the version no to the earlier wp_mod2.ko and tested, it works
I can delete a file and after reboot the deleted file is not returning
Testing your new wp_mod2.ko and will let you know in a while
EDIT:
Yeah...Whoa... tested the new wp_mod2.ko and ...yippieeee... IT WORKS
Attached are the screenshot before and after I removed 3 items
Thanks a lot
So I guess the best is to edit the ramdisk to run this module ?
Or an init.d script will be enough ?
Sorry for a noobish question.
And request for permission to include this in my ROM... thanks
ckpv5 said:
I just change the version no to the earlier wp_mod2.ko and tested, it works
I can delete a file and after reboot the deleted file is not returning
Testing your new wp_mod2.ko and will let you know in a while
EDIT:
Yeah...Whoa... tested the new wp_mod2.ko and ...yippieeee... IT WORKS
Attached are the screenshot before and after I removed 3 items
Thanks a lot
Click to expand...
Click to collapse
Great! Thanks for testing.
I'll update the OP.
While I'm at this are there any other kernel versions in use?
ckpv5 said:
So I guess the best is to edit the ramdisk to run this module ?
Or an init.d script will be enough ?
Sorry for a noobish question.
And request for permission to include this in my ROM... thanks
Click to expand...
Click to collapse
Either way will work fine
Anyway, you're no noob, I used your ROMs back when I had a One V, top notch stuff!
flar2 said:
Either way will work fine
Click to expand...
Click to collapse
Yep.. confirm either way works fine.
Thanks again for this great mod
flar2 said:
This is a kernel module that defeats HTC's system write protection
Devs are free to use this in their ROMs, just credit me and link here
How to use:
copy the module to your device (eg: /system/lib/modules), insert the module, then remount system
insmod /system/lib/modules/wp_mod2.ko
mount -o remount,rw /system
This must be done at boot, if you make changes to /system, then load the module, you risk corrupting the filesystem.
How to implement in ROMs
There are two good ways to implement this in ROMs:
1. make an init.d script containing the commands above
or
2. add the commands to init.rc in the ramdisk
NOTE TO POTENTIAL KERNEL DEVS:
The module would not be necessary if you make a custom kernel. Simply make sure it is compiled without CONFIG_MMC_MUST_PREVENT_WP_VIOLATION
Source code: http://goo.gl/VmSwe
Click to expand...
Click to collapse
Thank you so much for making this.
Yes, yes, yes!!
Finally i can remove sh*t and integrate updates into system with link2sd on my desire x
thanks man!
@ckpv5
thanks for the addon you made for your mysense-rom
Thanks man, looks great.
I'll add this in Half~Sense V 0.8
Sent from my awesome fridge
Added to Index, a very usefull tool.
It works, added it as an init.d script.
Adding in V.0.8
Hi,
can anyone made a flashable ZIP for users who has already installed some ROMs on HTC Desire X please ?
thanks, Petr
monopoly said:
Hi,
can anyone made a flashable ZIP for users who has already installed some ROMs on HTC Desire X please ?
thanks, Petr
Click to expand...
Click to collapse
cpkv5 made some zip for mySense: Link. It's working for me.
Hi flar2
Any chance a mod for 3.0.21-g01fle38 ?
I tried and it works fine for me and most users but today one user mentioned my edited wp_mod2.ko not working.
so maybe you can help with a proper one ?
thanks in advance.
ckpv5 said:
Hi flar2
Any chance a mod for 3.0.21-g01fle38 ?
I tried and it works fine for me and most users but today one user mentioned my edited wp_mod2.ko not working.
so maybe you can help with a proper one ?
thanks in advance.
Click to expand...
Click to collapse
I'm going to try to install your version and see if I can change the CID permanently (or delete the apps permanently too). I have flashed the OC kernel from atis112 so I guess I don't need to flash yours too, right?
Thanks flar2 for your work!
gbueno6 said:
I'm going to try to install your version and see if I can change the CID permanently (or delete the apps permanently too). I have flashed the OC kernel from atis112 so I guess I don't need to flash yours too, right?
Thanks flar2 for your work!
Click to expand...
Click to collapse
You CAN''T change CID without S-OFF.
Stereo8 said:
You CAN''T change CID without S-OFF.
Click to expand...
Click to collapse
I know, but I saw some topics regarding change CID with S-ON in One S so I just wanted to try (with no luck).
Well, I really want to S-OFF so I can flash kernels from recovery...
Sent from my HTC branded muffin...

Categories

Resources