[script wanted] Droidmote boot script - Miscellaneous Android Development

Hey guys and girls..
As I know nothing about script writing and are time limited at the moment..
I need the following commands in a script that will run at boot using
script manager.
su
insmod /system/lib/modules/uinput.ko
Click to expand...
Click to collapse
those of you that know Zulu, will know he has his hands full so I don't want too bother him with it..
but he has done a great job of supplying the right module for us to use on our media boxs.
I have it working via terminal so now want to go one step further and get it auto loading..
so..any one that wants to lend a hand, I will make sure you get the credits..
you can check out Zulu's forum for more info.
http://www.videomap.it/forum/viewtopic.php?f=4&t=44
thanks advanced
Sent from my Transformer TF101 using Tapatalk 2

try this and do not let problems i'm always available. i work 48 hours a day
unrar the attachement, get the script and after:
in script manger flag this as root, flag as executable and say to script manager to start it on boot.
For other people, the device of this boy not have the init.d but only a stock rom with root permissions

Zulu,
You are too good to us.
thanks will try tonight and see how it goes..
I have been in touch with the Geniatech support to get it baked in to the Kernels.
they have promised to do it, so lets see if they do, and if they do then hopefully its another range of devices that will be cooking with your control..
works like a charm..

Related

Easy way to change your bootscreen *Updated 4/11/11* Pushboot 3.0!!!

Well, people keep posting in this thread so I figured I would do a very very large update. I know its been 7 months, and for that I apologize, been very busy and this wasn't a priority.
Now, its one version of Pushboot for everyone. Load it up, follow the directions and you should be set.
Remember to start you need:
-HTC Drivers installed
-A working bootanimation.zip
-An mp3 file if you want boot sound
-Your phone plugged in to the usb port (lol)
-Only ONE .zip and/or .mp3 in the folder containing pushboot
Other than that, I included everything needed to make this work.
Any issues let me know and I can try to help you out!
And leave feedback and if you like this, press the thanks button on this post =D
timothydonohue said:
search before you post. there are already several threads about this
Click to expand...
Click to collapse
Yeah, I found this one
http://forum.xda-developers.com/showthread.php?t=697527
I made a simple bat file that does almost everything for you...which I didnt see in that thread anywhere.
So feel free not to be a **** right away and assume I am someone who doesn't know how to use a forum...Thanks
Thanks a lot for this. might come in handy.
Updated this to make it much easier, and to include a sound file if you want.
Re: Easy way to change your bootscreen *updated*
BTW thanks OP, but maybe you should try to post this at the apps / themes board.
-------------------------------------
Sent via the XDA Tapatalk App
Personally, I found the batch process that you created very useful. Thank you OP.
Note:
It's a moderator responsibility to exact organization, control & relocation. They are often very busy but fear not, they will manage the forum to better effective.
But for the sake of camaraderie among us phone-lovers, lets not self-deputize ourselves in a moderator capacity. Less than friendly "assistance" can and has deterred others from posting potentially very useful information. Growth excels when we help each other to become better...
Thanks OP. Helped me a lot.
evanscnce said:
I changed PushBoot so everything needed is included.
Basically, upzip, put your zip file (and if you want an mp3 file) into the folder
plug in your phone
open pushboot.bat
follow the prompts
(make sure that when the phone goes into recovery that you wait till it connects to your pc before continuing)
and you should have a custom boot animation and boot sound!
Any problems, let me know
I also included the dancing android bootscreen and the nexus one bootscreen.
Click to expand...
Click to collapse
i'm fully rooted and this method is not working for me. it doesn't load the sound or the boot animation.
Fixed for full root
Fullroot users use pushboot2.bat
otherwise, just use pushboot.bat
evanscnce said:
Fixed for full root
Fullroot users use pushboot2.bat
otherwise, just use pushboot.bat
Click to expand...
Click to collapse
i'm getting no audio on pushboot2 and i'm fully rooted. at the end i just see echo then echo then the program closes. no reboot is done to my phone.
well first of all I JUST reuplaoded a new zip, so get that (forgot to hide all the random code)
also, I assume you put an mp3 in the folder right?
and to reboot you have to choose reboot in your recovery on the phone
evanscnce said:
well first of all I JUST reuplaoded a new zip, so get that (forgot to hide all the random code)
also, I assume you put an mp3 in the folder right?
and to reboot you have to choose reboot in your recovery on the phone
Click to expand...
Click to collapse
I cant get mine to work, it placed my boot stuff in the media folder
where does the bootanimation.zip have to be because it keeps saying that it missing. Where does the bootanimation have to be on my computer or sdcard?
Keep up the good work, I like the ease of the process.
Re: Easy way to change your bootscreen *updated for fullroot!*
On your computer in the same folder as pushboot.bat is where the bootanimation.zip and SPC_animation_final.mp3 has to be.
-------------------------------------
Sent via the XDA Tapatalk App
Good job OP, I'll give it a shot later, using now the custom boot from Fresh 0.3 ROM.
OP ~ Thanks for spending your time putting this script together. I've learned from it. I also showed it to my friend who just picked up an EVO and he's now learned a bit about ADB as well.
Very useful, thank you very much. timothydonohue: lol.
OP you have any composed boot screens we could try out with this trick? I mean I'd like to see if I can follow your steps with a good working bootimg. before I go trying to make some of my own....baby steps for me
Also TimD, brother you need to chill out and stop drinking 5 hour energy..... this is the correct place for this post not buried in 700 pages of the detritus that fills most of these threads.
Re: Easy way to change your bootscreen *updated for fullroot!*
Thanks OP! Will def give it a shot once I get home.
-------------------------------------
Sent via the XDA Tapatalk App
Thanks for making this guide very easy to follow

How to write a script

I am wanting to write a script to change my UV without using Voltage Control, but I have no idea how. Could someone point me to instructions, or possibly write it for me? Thanks in advance.
sixstringsg said:
I am wanting to write a script to change my UV without using Voltage Control, but I have no idea how. Could someone point me to instructions, or possibly write it for me? Thanks in advance.
Click to expand...
Click to collapse
voltage control will write the scrpit and put it in the /system/etc/init.d directory but you need to set that directory to read/write, i use root explorer for this. you can view the script in a text editor via root explorer and you will see what it is doing if you want to mimic it.
Dani897 said:
voltage control will write the scrpit and put it in the /system/etc/init.d directory but you need to set that directory to read/write, i use root explorer for this. you can view the script in a text editor via root explorer and you will see what it is doing if you want to mimic it.
Click to expand...
Click to collapse
But isn't that just the boot settings? Or are the apply now settings there too? I'm trying to change it with tasker.
sixstringsg said:
But isn't that just the boot settings? Or are the apply now settings there too? I'm trying to change it with tasker.
Click to expand...
Click to collapse
oh, mis understood. ok then what is wrong with using voltage control?
ill look into it. not sure off the top of my head,
edit: wait what am i saying i know this. the script is the same. putting it in init.d just is a place to make the phone run it on boot. you can copy that script anywhere and edit it for alternate setting and execute it yourself.
Dani897 said:
oh, mis understood. ok then what is wrong with using voltage control?
ill look into it. not sure off the top of my head,
edit: wait what am i saying i know this. the script is the same. putting it in init.d just is a place to make the phone run it on boot. you can copy that script anywhere and edit it for alternate setting and execute it yourself.
Click to expand...
Click to collapse
Ok sweet. I want it in tasker because I cant UV as much when its plugged in without CD, so I then could lower the UV when it's plugged in, then raise when unplugged. Thank you!
Sent from my CM7 powered captivate
Well I have the script done, but now I don't know how to make tasker run it as root...
Sent from my CM7 powered captivate
there is or used to be an application called sl4a (scripting layer for android) i dont know where to get it but there is a market app called scripter that is essencially the same. if you put the script on the sd card and import it into scripter and it will give you the ability to shortcut to it, you can use taster to open the shortcut automatically under whatever situation you are changing settings or just put the shortcut on the desktop and open it like an application. you should be able to give scripter su permissions to run it. scripter is nice to have because it also adds a support for all file extensions to android. any file extension that doesnt run in another app will just be tagged as a scripter file so you can download any file type in the stock browser of send and recieve them in mms and email with the stock apps.
also i dont know much about scripting, im still learning. i understand the commands and this one is simple just echos some numbers into configuration files, but im not sure of what can be used within the script. it may be possible to add an su command at the start of the script or start each command "sudo". not sure though, if this doesn't work then scripter is definately the way to go.
after years of windows i am more comfortable with a gui that a terminal window, but i get by.
I don't see a way to create a shortcut to my script in scripter....
oh sorry i was mistaken. you can do it in launcher pro activities i thought it shows in shortcuts but i was wrong. im not sure if tasker can use launcher pro activities. let me see if there is an alternate way. did you try putting su in the script and see if that works?
Dani897 said:
oh sorry i was mistaken. you can do it in launcher pro activities i thought it shows in shortcuts but i was wrong. im not sure if tasker can use launcher pro activities. let me see if there is an alternate way. did you try putting su in the script and see if that works?
Click to expand...
Click to collapse
When I tried launcher pro activities, it force closed anyway. And I tried su once, but ill try again.
Edit: yeah, su doesnt work. And tasker doesn't return errors when something fails. I have to check voltage control to see if it worked.
Sent from my CM7 powered captivate
sorry. about that, search google for sl4a. that is what tasker expects you to have when you launch scripts anyway. that is why it wants you to have the script in /sdcard/sl4a/scripts
i would assume sl4a would work better in combinations with tasker. hope that it works! ill try to find it.
running the script from the stock file manager or some other meathods will run scripter and ask for su permissions but i have been trying it as well to see what trouble you are having and for some reason when the script is started by tasker scripter doesn't get launched. i assumed it would work because in most situations scripter acts just like sl4a but in this case i was wrong.
edit: here is sl4a http://code.google.com/p/android-scripting/
trying it now
Dani897 said:
sorry. about that, search google for sl4a. that is what tasker expects you to have when you launch scripts anyway. that is why it wants you to have the script in /sdcard/sl4a/scripts
i would assume sl4a would work better in combinations with tasker. hope that it works! ill try to find it.
running the script from the stock file manager or some other meathods will run scripter and ask for su permissions but i have been trying it as well to see what trouble you are having and for some reason when the script is started by tasker scripter doesn't get launched. i assumed it would work because in most situations scripter acts just like sl4a but in this case i was wrong.
Click to expand...
Click to collapse
Yeah, I found that app. Thanks for all the help! We'll get it eventually.
Sent from my CM7 powered captivate
not working for me. sl4a force closes. i dont know how to get it to use super user, it may need something in the script or maybe there is a super user version, or maybe it is just out dated and doesn't work in froyo. im not really sure. im about to talk to my brother who knows all about bash scripts in linux and sh scripts are similar. maybe he has an idea. unfortunately he doesn't have an android phone but if he did he would be the person to ask.
Yeah, it keeps fcing on me too... I don't know.
Sent from my CM7 powered captivate
It is working for me. I had to wait a while at first for a permission request for anonymous user data... also it could be that you already have a folder made. it gave me an error saying that it could not gain permission to add the folder to my sdcard. I think this might be because I have sdext and a2ext... maybe...
Sent from my HTC Vision using XDA Premium App
TheNewGuy said:
It is working for me. I had to wait a while at first for a permission request for anonymous user data... also it could be that you already have a folder made. it gave me an error saying that it could not gain permission to add the folder to my sdcard. I think this might be because I have sdext and a2ext... maybe...
Sent from my HTC Vision using XDA Premium App
Click to expand...
Click to collapse
Is it working for you with tasker? And I already accepted the anonymous user data prompt.
Sent from my CM7 powered captivate
No clever scripter/tasker people know how?
Sent from my CM7 powered captivate
sixstringsg said:
No clever scripter/tasker people know how?
Sent from my CM7 powered captivate
Click to expand...
Click to collapse
In case anyone was wondering, you can use the script locale plugin and it works wonderfully.
Sent from my CM7 powered captivate

HeroC Recovery Pack

For experienced users only.
First of all props to roebeet for coming up with this idea over at the gTablet thread here.
This 'Recovery Pack' will install AmonRA-v1.6.2 and ClockworkMod-2.5.0.7 binaries in a folder 'recovery' created in /system/etc and 2 shell scripts in /system/bin used to call flash_image and flash the recoveries from Terminal Emulator.
How to use:
1. Flash the Recovery Pack
2. In Terminal Emulator:
$su
#amonrecovery.sh ~ for AmonRa-v1.6.2 Recovery
#cwmrecovery.sh ~ for ClockworkMod-2.5.0.7 Recovery
As you can see there's minimal typing and easy to remember names.
If you like you can add/replace recovery images in the /system/etc/recovery folder and create/adjust the shell script.
HeroC-Recoveries-signed.zip ~ Just the 2 recovery images and 2 shell scripts.
md5: 7414ee444eea7bdbf1e85e2ac89d7b86
HeroC-Recovery-Pack-signed.zip ~ Same as above but also installs flash_image in /system/bin.
md5: 936c949548de760ea2c135dccf0d60f8
As always Nandroid and proceed at your own risk. (read first line)
cant you do the same thing through rom manager this seems kind of pointless rom managers actually better to because u dont have to mess with TE.
I don't use ROM Manager all that much myself (GTablet doesn't play nice with it), but I assume you'd need an active Wifi connection to get the download, in case you wanted it? And what if the download site itself was offline? The scripts are more convenient, imo - you know that it will work since it's local, and it's pretty fast to run them. Terminal Emulator is a pretty good app to have, anyway.
And, it will always be the same version each time - which could be a good or a bad thing, depending on your needs of course. But options are always a good thing.
Bierce22 said:
cant you do the same thing through rom manager this seems kind of pointless rom managers actually better to because u dont have to mess with TE.
Click to expand...
Click to collapse
You can, but what if you can't boot in to the rom or you borked your recovery?
thats true i guess.
ill keep my mouth shut on these things for awhile ive already had enough shouting matches for one day lmao.
aiwetir said:
You can, but what if you can't boot in to the rom or you borked your recovery?
Click to expand...
Click to collapse
Well if you can't boot into the rom then you can't use terminal emulator either
Sent from my HERO200 using XDA App
trip187 said:
Well if you can't boot into the rom then you can't use terminal emulator either
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
adb
10characters
Bierce22 said:
thats true i guess.
ill keep my mouth shut on these things for awhile ive already had enough shouting matches for one day lmao.
Click to expand...
Click to collapse
I just had a shouting match on Facebook so I'm probably a bit grumpy, I should have said:
"Yes, you can do these things in ROM Manager, but if you can't boot into the rom or recovery, you can use these same scripts with ADB. I've had a hard time finding flash_image in the past so this whole pack is probably useful if you are in deep poo with your phone."
jazzruby said:
As always Nandroid and proceed at your own risk. (read first line)
Click to expand...
Click to collapse
I agree with that and this tool. Rom manager isn't better than this just because the server could be down, you have to download the recovery for the first time, etc, etc. Not saying its bad because I used to use it but now I use this if i'm on mobile and adb shell if on computer. Thanks
Thanks for this to all involved. I doubt I'll ever need it since I'm s-off, but it's a pretty awesome tool! I'm sure it will be useful to other users, I will link them to your thread

[How To][Video Tut] Install/Run V6 Supercharger + Patching Services.jar [1/6/2013]

Hi Geeks
Somehow many people wont understand how to insatll V6 Supercharger on their Devices
So Came up A Video tutorial,expecting it would help in some way
Original Thread - [V6BlackDog]Hey Hey Launcher, sed The Way U mv, Gonna make U Fast, Gonna make U $mooth!
Thank the OP,-=zeppelinrox=- at post #11 or Here​
Rules:
1.Dont call yourself a Noob and do nothing,this is just an excuse! (Words of the OP )
2.Just because you got the OP link dont ask redundant questions there,read read and if you dont get,you may ask
providing proper required files,ill tell ya! Hold on
3.If you notice i got some things wrong,well please help me if you find something
I make it for Beginners so the simple language
4.If you dont like/Undersand it,unsupercharge and move on,SIMPLE!
5.Hacking Services.jar at Post#2
Notes:
1.This Script will work on ANY Rooted Android Device,so please dont ask if it will work on my 'Bla bla bla'
2.I get all this right from the original thread after reading...
Click to expand...
Click to collapse
A Few Explainations
*You may skip these (Coz the script tells you everything,a bit more precisely)
Yet for Beginners,lets read...
1.OOM groupings and priority fixes
v6 actually groups your apps according to the priorities they are used.Like the home Launcher should always
have the highest priority,followed by the soft keyboard and so on...(Sometimes your launcher gets killled
after playing a heavy game,so thats what wont happen after setting actual priorities)
2.Low memory killer values
Linux or android defines certain values the the system Ram should should always keep free for better
functioning of your device
This script will let you set the values,say high(For gamers) or low(MultiTasking) according to your requirement
and Tests/experience
256hp,512 hp,786+(In the script) are all LMK option values you can choose from
There's also a MKF calculator that calculates OPTIMUM minfree valuse based on your device RAM
3.Detailing
This will optimize all sqlite3 databases found on your device.
Resulting in faster database access and less ram usage for smoother performance.
4.Engine Flush-O-Matic
As you use your device,your cache keeps growing and your device becomes slow
In linux RAM never remains FREE,the free ram is always used to store device cache
Flush-o-matic Cleans this cache+Useless RAM usage and allows you to have a device,again with optimum RAM
You can set the time to what this script will run,so it starts automatically in the background & works for you!
5.Fixalign
This fixes permissions of all the apps and then Zipalings them(Simulatneously!The only Script of its kind! )
This basically helps optimize all the apps and less ram consumption,thus a Faster device!
6.Wheelalignment and fix emissions
These zipaling and fix permissions,but separately
7.BulletProof Apps
There are few apps which your frequently use,so this will keep those in memory (Your choice apps)
so they are quickly accessible without them having to start each time!
-=Starter Kit=-(Recommended,not compulsory)
Always use the Latest busybox (Atleast 1.16.2 and above)
contains Recommeded busybox squite3 and zipalign binary
Watch the video in highest available quality
If the Video Thumbnail Dosent show up here's the link [How To][Video Tut] Install/Run V6 Supercharger + Patching Services.jar [1/6/2013]
Links
1.[V6BlackDog]Hey Hey Launcher, sed The Way U mv, Gonna make U Fast, Gonna make U $mooth!
2.Download Page
3.Latest Script (The Best solution for blazing fast updates )
Click to expand...
Click to collapse
This is A video tut,so DONT call it a clone of threads and updated
Will Keep Updated as well
Credits
1.Zeppelinrox(Thank him) For the SCript Of course!
2.gu5t3r (For helping me with things,when i needed a tut like this)
Click to expand...
Click to collapse
If this was helpful hit Thanx and motivate for making things simpler
Would appreciate feedback​
Hacking/Patching Services.jar
Need:
The problem with SuperCharging ICS is that ICS doesn't read ADJ values from build.prop or local.prop -
they are hardcoded into services.jar!(From the OP,you see the OP tells us everything!)
Requirements:
1.Java Installed on your PC
2.Your device drivers installed on the pc
3.USB debugging mode enabled on your Device
4.Latest Ultimatic Jar Patcher Tools
Click to expand...
Click to collapse
For ROM Cooks
The files needed are in:
init.d folder
/data/*.sh
/data/V6* folder
build.prop and local.prop (if applicable).
*.rc files (init.rc, etc) are optional.
patched services.jar
Click to expand...
Click to collapse
Dont just watch and move on
Hit Thanx and motivate if things got simpler :good:​
Reserve 2
^Coz We dont just Root phones for Fun
ok. 2 questions: 1. i am following along with you in the video, but i never see you activate the starter kit? should i assume you already did this? if so, how can i activate the starter kit?
i am using i9300XXEMB6, OMEGA 43.3 XXEMC3
i already put the starter kit on my INTERNAL SD CARD, and tried to run it from recovery. two times i tried to run the starter kit, it said, "installation failed". so i guess i have not activated the starter kit yet. however, i did down load smanager, and was following you along until you chose the script, and i haven't run the starter kit.
so question 2. can i run the script along with you, or do i need to wait until i run the starter kit?
stevae said:
ok. 2 questions: 1. i am following along with you in the video, but i never see you activate the starter kit? should i assume you already did this? if so, how can i activate the starter kit?
i am using i9300XXEMB6, OMEGA 43.3 XXEMC3
i already put the starter kit on my INTERNAL SD CARD, and tried to run it from recovery. two times i tried to run the starter kit, it said, "installation failed". so i guess i have not activated the starter kit yet. however, i did down load smanager, and was following you along until you chose the script, and i haven't run the starter kit.
so question 2. can i run the script along with you, or do i need to wait until i run the starter kit?
Click to expand...
Click to collapse
You are suppose to install the starter kit exactly the same way you ran the script!
It is not flashable in cwm
Unzip the starter kit,then throught script manager run the script when it again asks you to install
1.busybox(as i said it is not compulsory to install the starter kit)
If your busyboz is 1.16 or greater..you are fine without the kit
If you get errors (segmentation fault) while running fixaling and detailing u need the kit..or start with the scripts
^Coz We dont just Root phones for Fun
ok, so i figured out the starter kit, and tried to run my installation right along with your installation on the video. but mine kept getting faster or slower than yours, and so i would get off of where you were. sometimes my installation went much faster than yours, and while i was waiting for yours to catch up, it chose not to allow the choice i was waiting to find out about, so it was not installed. how can i go back and change those choices?
also, how can you tell if you are fully (100%) supercharged?
stevae said:
ok, so i figured out the starter kit, and tried to run my installation right along with your installation on the video. but mine kept getting faster or slower than yours, and so i would get off of where you were. sometimes my installation went much faster than yours, and while i was waiting for yours to catch up, it chose not to allow the choice i was waiting to find out about, so it was not installed. how can i go back and change those choices?
also, how can you tell if you are fully (100%) supercharged?
Click to expand...
Click to collapse
The script itself tell u how much supercharged u are..
Hit option 30...for changing shoices
Might wanna hit thanx
^Coz We dont just Root phones for Fun
yes of course i hit thanks for you doing this video. but i don't understand where do i hit option 30?
i didn't see what the script said about my supercharge, because it went too fast a lot of the time.
---------- Post added at 03:11 PM ---------- Previous post was at 02:26 PM ----------
i am only 50% because i didn't run ultimate jar patcher tool. but i don't understand how to run it. it says on the op to run through supercharger, but when i run supercharger it just says i haven't run it yet, and sends me back to xda page. i have it down loaded, and on my phone in both the external sdcard, and the 0sdcard (internal) so why isn't supercharger running it?
or how do i run it?
stevae said:
yes of course i hit thanks for you doing this video. but i don't understand where do i hit option 30?
i didn't see what the script said about my supercharge, because it went too fast a lot of the time.
---------- Post added at 03:11 PM ---------- Previous post was at 02:26 PM ----------
i am only 50% because i didn't run ultimate jar patcher tool. but i don't understand how to run it. it says on the op to run through supercharger, but when i run supercharger it just says i haven't run it yet, and sends me back to xda page. i have it down loaded, and on my phone in both the external sdcard, and the 0sdcard (internal) so why isn't supercharger running it?
or how do i run it?
Click to expand...
Click to collapse
To run ultimatic patcher tool,you need a
1.java installed pc
2.Latest utimatic patcher tools from the download page
3.Device connect with usb debugging enabled
then 'Extract' the tools and run the .bat file
Note*-Hacking services.jar (by ultimatic jar patcher tools is for More for multitasking and not for Gamers!)
Read the comments while you run the .bat file,it will tell ya everything
for changing options,
Do as i did in the video..
Run the script
Then you see anything like driver options?
Enter (1-34)
There u enter 30..and select scrolling speed as slow...
You might wanna hit thanx
^Coz We dont just Root phones for Fun
i have run it several times. each time it says that everything is going great. but when i finish, i am still only at 50% sc. so i posted my logs on the v6 thread, as it asked me to do. but there is no comments throughout that execution that says why my launcher is not sc, only that it isn't.
I had replied but it would be good to also note here that if, while patching, the before and after ADJs are the same, nothing is changed.
So in cases of it not working, be sure to only patch a previously unmodified services.jar.
zeppelinrox said:
I had replied but it would be good to also note here that if, while patching, the before and after ADJs are the same, nothing is changed.
So in cases of it not working, be sure to only patch a previously unmodified services.jar.
Click to expand...
Click to collapse
Right said!
i didnt get the reply,
Ahh!the messagin service sometimes behaves that way
MOst Rom makers used your Style services.jar and so the result
So,next ill make a tut for hacking services.jar and also tell people to check if everything was succesful =)
checking adjs and all
Thanx
zeppelinrox said:
I had replied but it would be good to also note here that if, while patching, the before and after ADJs are the same, nothing is changed.
So in cases of it not working, be sure to only patch a previously unmodified services.jar.
Click to expand...
Click to collapse
ok. so here would then be my next question. since it obviously did it successfully at some point for the first time, why didn't it supercharge my launcher at that point? then i would not have patched it again.
zeppelinrox said:
I had replied but it would be good to also note here that if, while patching, the before and after ADJs are the same, nothing is changed.
So in cases of it not working, be sure to only patch a previously unmodified services.jar.
Click to expand...
Click to collapse
i have searched this entire site, and there is nothing on how to find or check adj's. also, how do i choose which services.jar to patch?
ok madaditya, time for another video!!! lol!
Well I think the only tools to check ADJs for groupings are by me
Ultimatic shows them just before applying settings.
You can grab services.jar from your roms flashable zip and put it where ultimatic tells you to.
Problems happen when a rom half asses the patch to services.jar and values are not consistent in both ProcessList.smali and ActivityManagerService.smali
Anyway, I'm working on a workaround/fix so that ultimatic uses the values in PL.smali as a last resort and instead will try and get the values from AMS.smali first.
This lessens the likelihood of it not patching due to different values in the 2 smali files.
stevae said:
i have searched this entire site, and there is nothing on how to find or check adj's. also, how do i choose which services.jar to patch?
ok madaditya, time for another video!!! lol!
Click to expand...
Click to collapse
Ill need some time,got exams :-/
zeppelinrox said:
Well I think the only tools to check ADJs for groupings are by me
Ultimatic shows them just before applying settings.
You can grab services.jar from your roms flashable zip and put it where ultimatic tells you to.
Problems happen when a rom half asses the patch to services.jar and values are not consistent in both ProcessList.smali and ActivityManagerService.smali
Anyway, I'm working on a workaround/fix so that ultimatic uses the values in PL.smali as a last resort and instead will try and get the values from AMS.smali first.
This lessens the likelihood of it not patching due to different values in the 2 smali files.
Click to expand...
Click to collapse
Uummm,yup!
Coz i never came across any script that tells you the ADJ values..
Actully i gotta know everything,it be the ram lesson,sqlite optimization,how scripts work,what init.d does etc only after i Started reading for 'supdercharger'
Ha! Zep's at work!
So eagerly waiting for next update and whatever you have on your minds
With image #7! :thumbup:
^Coz We dont just Root phones for Fun
Tut For HAcking Services.jar and making launcher Super-Strong Check POst#2
Apologies for the Delay
stevae said:
ok madaditya, time for another video!!! lol!
Click to expand...
Click to collapse
stuck on bootloop.. help..
cant even restore the nanddroid backup.. says MD5 mismatch..
Mr Prize said:
stuck on bootloop.. help..
cant even restore the nanddroid backup.. says MD5 mismatch..
Click to expand...
Click to collapse
Strange!
Get Aroma FIle manager from here http://forum.xda-developers.com/showthread.php?t=1646108
1.flash it via cwm and browse to system/etc/init.d and delete all scripts there!
reboot and it should boot..
2.Try supercharging again
3.If the problem continues post the logs from data/ on to the original Supercharger thread(links in OP) thread
Note-Always make sure you use the latest scripts
Hope this helps
I can't connect my phone to charge only. It always connects as a mass storage. Get stuck at "daemon started successfully..."
It's an Xperia GO with CM10.1
arenaboy007 said:
I can't connect my phone to charge only. It always connects as a mass storage. Get stuck at "daemon started successfully..."
It's an Xperia GO with CM10.1
Click to expand...
Click to collapse
Make sure u have ADB drivers for your device installed
And try connecting using the MTP mode...
Try using both modes...
Always the 'latest scripts..

[Mod-Request] HAL1/HAL3 Swichter

Hi,
I saw now days few ROM has HAL switch. Which is fantastic to use any camera apps in our favourite ROM.
As that feature is not available in all ROM and if i want to try a ROM which has good battery life or good performance but that ROM lacks with that HAL switch feature, so i can't use my favourite cam app there.
Can anyone please make a TWRP flashable zip for
"HAL swichter - switch between hal1 and hal3"
So i can use or anyone can use Oxygen OS port Cam with Google Camera or Sultan's cam.
Thanks & Regards,
Normas Interruptor said:
Hi,
I saw now days few ROM has HAL switch. Which is fantastic to use any camera apps in our favourite ROM.
As that feature is not available in all ROM and if i want to try a ROM which has good battery life or good performance but that ROM lacks with that HAL switch feature, so i can't use my favourite cam app there.
Can anyone please make a TWRP flashable zip for
"HAL swichter - switch between hal1 and hal3"
So i can use or anyone can use Oxygen OS port Cam with Google Camera or Sultan's cam.
Thanks & Regards,
Click to expand...
Click to collapse
its just a shell command. do it in terminal. make a .txt right down the command to remember it, open shell execute it.
app ? heh..... make 2 .sh scripts. one with each command. Thats easy for the most amateur user.
For a more advanced user make a .sh script with an if command to getprop and if = {command1} true -> then {command2}.
Then this script in sd, link it on homescreen and single press it to execute. Voila. Here is your app.
kessaras said:
its just a shell command. do it in terminal. make a .txt right down the command to remember it, open shell execute it.
app ? heh..... make 2 .sh scripts. one with each command. Thats easy for the most amateur user.
For a more advanced user make a .sh script with an if command to getprop and if = {command1} true -> then {command2}.
Then this script in sd, link it on homescreen and single press it to execute. Voila. Here is your app.
Click to expand...
Click to collapse
Well, thank you for your reply ?.
But I'm kind of noob here who don't know how to make that script or .sh script. That's why i asked to someone to make a flashable zip so i can flash this via TWRP recovery and after that I don't need to do anything with emulator or other step.
Normas Interruptor said:
Well, thank you for your reply .
But I'm kind of noob here who don't know how to make that script or .sh script. That's why i asked to someone to make a flashable zip so i can flash this via TWRP recovery and after that I don't need to do anything with emulator or other step.
Click to expand...
Click to collapse
ok, but
i don't think anyone is interested in this.
for example me. i don't care changing hals to use different camera apps.
but the idea of how to do it is just like i said in the previous post. so someone that uses it and has a few script knowledge will do it
kessaras said:
ok, but
i don't think anyone is interested in this.
for example me. i don't care changing hals to use different camera apps.
but the idea of how to do it is just like i said in the previous post. so someone that uses it and has a few script knowledge will do it
Click to expand...
Click to collapse
I hope so
setprop presist.camera.HAL3.enabled=1
cpt.macp said:
setprop presist.camera.HAL3.enabled=1
Click to expand...
Click to collapse
Where i need to do that?
Please elaborate the full steps... As I'm using RR ROM unofficial by "niceash_soni"
Deleted
Normas Interruptor said:
Where i need to do that?
Please elaborate the full steps... As I'm using RR ROM unofficial by "niceash_soni"
Click to expand...
Click to collapse
Still haven't solved it ?
You just need to make a .sh script with just 2 if commands.
One will check for hal1 and one will check for hal3.
You don't need app and it's boring to open terminal and write a whole line every time you need to toggle that.
Try it and if you can't do it I'll write it for you when I'm back.
Or simply make 2 scripts with the setprop commands if you can't make it with the if command to check.
Tapping one script will do hal1=0 and hal3=1.
Tapping the other will do hal1=1 and hal3=0.
kessaras said:
Still haven't solved it ?
You just need to make a .sh script with just 2 if commands.
One will check for hal1 and one will check for hal3.
You don't need app and it's boring to open terminal and write a whole line every time you need to toggle that.
Try it and if you can't do it I'll write it for you when I'm back.
Click to expand...
Click to collapse
Thank you for your reply.
I'm noob bro.
I don't know how to do it...
If you can write down all the steps so i can try with it but with the above short note I can't understand what I need to do with script.
Please make a flashable zip if you can or any best thing.
Regards,
Normas Interruptor said:
Thank you for your reply.
I'm noob bro.
I don't know how to do it...
If you can write down all the steps so i can try with it but with the above short note I can't understand what I need to do with script.
Please make a flashable zip if you can or any best thing.
Regards,
Click to expand...
Click to collapse
pfffffffffffffffffff why nobody answers to him ?
2 scripts. +install app from play store to press and execute them.
Code:
#!/system/bin/sh
#Enable HAL3
setprop persist.camera.HAL1.enabled=0
setprop persist.camera.HAL3.enabled=1
echo "HAL3 Enabled"
Code:
#!/system/bin/sh
#Enable HAL1
setprop persist.camera.HAL3.enabled=0
setprop persist.camera.HAL1.enabled=1
echo "HAL1 Enabled"
Otherwise use if to check prop. getprop ........... > x if x=1 then ............
Use the 1st way for now. Going to bed cause im drunk xD
kessaras said:
pfffffffffffffffffff why nobody answers to him ?
2 scripts. +install app from play store to press and execute them.
Otherwise use if to check prop. getprop ........... > x if x=1 then ............
Use the 1st way for now. Going to bed cause im drunk xD
Click to expand...
Click to collapse
Thank you for your time.
But still I don't know how to use this ?...
Need more guidance.
Normas Interruptor said:
Thank you for your time.
But still I don't know how to use this ...
Need more guidance.
Click to expand...
Click to collapse
decompress at sdcard. search google , find app to easy press execute scripts, link scripts to homescreen , thats it.
Use local terminal for those command with root access , don't expect spoon feeding , use Google.
kessaras said:
pfffffffffffffffffff why nobody answers to him ?
2 scripts. +install app from play store to press and execute them.
Otherwise use if to check prop. getprop ........... > x if x=1 then ............
Use the 1st way for now. Going to bed cause im drunk xD
Click to expand...
Click to collapse
Here is my build.prop file... Can you please tell me which code do i need to use?
Or
If it is possible to you? Can you please add these codes in that build.prop file and share with me?
https://drive.google.com/file/d/0B5c0qxNUWHOkcFBYSmNpaE1xSFU/view?usp=drivesdk
Thanks
Normas Interruptor said:
Here is my build.prop file... Can you please tell me which code do i need to use?
Or
If it is possible to you? Can you please add these codes in that build.prop file and share with me?
https://drive.google.com/file/d/0B5c0qxNUWHOkcFBYSmNpaE1xSFU/view?usp=drivesdk
Thanks
Click to expand...
Click to collapse
its not a prop in build.prop. its a prop in the kernel, at another file, depending the kernel.
i think it was missing su permission. try those with an app that can execute scripts.
kessaras said:
its not a prop in build.prop. its a prop in the kernel, at another file, depending the kernel.
i think it was missing su permission. try those with an app that can execute scripts.
Click to expand...
Click to collapse
So, i have to flash the attached your Camera HAL zip that's it. Right?
Normas Interruptor said:
So, i have to flash the attached your Camera HAL zip that's it. Right?
Click to expand...
Click to collapse
No... In there , there are only 2 scripts. Want to enable hal1 ? You tap execute the hal1 script. Want to enable hal3? Execute hal3 script.
I didn't make any app or module.
But if this goes on for long I will make it.
I believe soon the maintainers will do something about that because many people ask for this now. If they don't do it, I'll do it in the end even if I don't care about hal -_-
Anyway. Search Google play for app that can execute scripts on tap and you are good with those 2 scripts for now. Easy tap the one you want.
kessaras said:
No... In there , there are only 2 scripts. Want to enable hal1 ? You tap execute the hal1 script. Want to enable hal3? Execute hal3 script.
I didn't make any app or module.
But if this goes on for long I will make it.
I believe soon the maintainers will do something about that because many people ask for this now. If they don't do it, I'll do it in the end even if I don't care about hal -_-
Anyway. Search Google play for app that can execute scripts on tap and you are good with those 2 scripts for now. Easy tap the one you want.
Click to expand...
Click to collapse
Well, i have tried two script apps... Script manager and shscript... Can't understand how to make these two command executable on one touch... People are smart who actually know that how to do that, even i have tried to watching YT videos as well, so i can understand how to make those scripts executable... But no luck...
You are the only one who help me alot here...
Heartiest thanks to you.
------------------------------------------
Now closing this thread as I'm so dumb to understand these methods, i know that would be very easy one for those who know how to do that... That's why people calling me here "spoon feeding" and all...
Now going to switching from RR ROM unofficial build by "Niceash_soni" to APEX ROM, however I don't feel comfortable on that, because that ROM has EAS kernel, that is very laggy all the time to me (using OP3). Don't know the reason behind that. So i would have to use that ROM with EXkernel for custom ROM V12 (latest one).
Though i love the RR ROM by "Niceash_soni" but he will not adding these method and sometimes he was very rude to me as i have request him twice. It's okay as i can understand he could be frustrating with so many requests or repeated requests.
__________________
Thank buddy, helping me so much here.
Normas Interruptor said:
Well, i have tried two script apps... Script manager and shscript... Can't understand how to make these two command executable on one touch... People are smart who actually know that how to do that, even i have tried to watching YT videos as well, so i can understand how to make those scripts executable... But no luck...
You are the only one who help me alot here...
Heartiest thanks to you.
------------------------------------------
Now closing this thread as I'm so dumb to understand these methods, i know that would be very easy one for those who know how to do that... That's why people calling me here "spoon feeding" and all...
Now going to switching from RR ROM unofficial build by "Niceash_soni" to APEX ROM, however I don't feel comfortable on that, because that ROM has EAS kernel, that is very laggy all the time to me (using OP3). Don't know the reason behind that. So i would have to use that ROM with EXkernel for custom ROM V12 (latest one).
Though i love the RR ROM by "Niceash_soni" but he will not adding these method and sometimes he was very rude to me as i have request him twice. It's okay as i can understand he could be frustrating with so many requests or repeated requests.
__________________
Thank buddy, helping me so much here.
Click to expand...
Click to collapse
Other people also ask in other roms. It's the same in the official rr. No worries. Soon someone that needs it, will do something. Otherwise me or some other guy will do. Since more people ask for it , it will definitely come.
Don't close the thread. It seems it's only you but there are hundreds more hidden behind this
It's just that our free time is always little as we work for more than 8 hours. Sometimes 12 hours. Anyway. Leave it as it is . Soon a maintainer or a senior will do something.

Categories

Resources