[Q] I need help on zipalign. - Galaxy 3 Q&A, Help & Troubleshooting

What is zipalign, what are the benefits of zipalign and how do i do this?
Thank you

60 views but 0 replies
Someone help me please

just use the search option

EdisDee said:
just use the search option
Click to expand...
Click to collapse
I find just one thread with the same question and that thread also has only 2 posts and the person who made the thread posted saying he found the answer but never mentions what the answer is.

I found something about placing a file in the init.d folder but the file was not specified so if anyone has the file in their init.d folder could they copy it to their sd card, upload it to dropbox or any other file share website and share it with me please.

Help please

I know this is bloody perfect forum but sometimes you just need to jump out for a while. It's easier.
"The Android SDK includes a tool called zipalign that optimizes the way an application is packaged. Running zipalign against your application enables Android to interact it more efficiently at run time and thus has the potential to make it and the overall system run faster. We strongly encourage you to use zipalign on both..."
source: http://developer.android.com/resources/articles/zipalign.html
Enable? Nor sure. Kyrillos has it by default. I don't remember about others...
EDIT: Remove ".TXT" and place in /etc/init.d (or /system/etc/init.d). I belive it should be enoguh but can't say for sure. I only hope Kyrillos will not mind, it is from his 8.1 rom. Or hillbeast who edited it to work with hybrid.

mrvek said:
I know this is bloody perfect forum but sometimes you just need to jump out for a while. It's easier.
"The Android SDK includes a tool called zipalign that optimizes the way an application is packaged. Running zipalign against your application enables Android to interact it more efficiently at run time and thus has the potential to make it and the overall system run faster. We strongly encourage you to use zipalign on both..."
source: http://developer.android.com/resources/articles/zipalign.html
Enable? Nor sure. Kyrillos has it by default. I don't remember about others...
EDIT: Remove ".TXT" and place in /etc/init.d (or /system/etc/init.d). I belive it should be enoguh but can't say for sure. I only hope Kyrillos will not mind, it is from his 8.1 rom. Or hillbeast who edited it to work with hybrid.
Click to expand...
Click to collapse
I did what you said. I am rebooting the phone now and hopefully your help is sufficient

Smonic said:
What is zipalign, what are the benefits of zipalign and how do i do this?
Thank you
Click to expand...
Click to collapse
Download "ADB Mask Controller"
install it, connect your phone with USB debugging enabled.
Make sure the connection is detected by the application, click on the refresh button beside SEARCH Option in the program.
in the first screen, you will find option "Push Zipalign" Do that.
Go to the screen titled "Zipalign"
select the optioin you want to use zipalign for user app or system app or both.
Caution : Use this tool judiciously, it has many advanced features used by ROM developers mainly. Like pushing an app to system, removing bloatware, Sql LIte, and many many more.....A wrong step may force you to reflash your ROM.
Hope it helped.

umangsagar said:
Download "ADB Mask Controller"
install it, connect your phone with USB debugging enabled.
Make sure the connection is detected by the application, click on the refresh button beside SEARCH Option in the program.
in the first screen, you will find option "Push Zipalign" Do that.
Go to the screen titled "Zipalign"
select the optioin you want to use zipalign for user app or system app or both.
Caution : Use this tool judiciously, it has many advanced features used by ROM developers mainly. Like pushing an app to system, removing bloatware, Sql LIte, and many many more.....A wrong step may force you to reflash your ROM.
Hope it helped.
Click to expand...
Click to collapse
I clicked on 'push zipalign' a number of times and then clicked on zipalign data/app but nothing happens. It says zipalign not found. Push zipalign and try again or sth like that. I've rebooted my phone and i'm trying now,

Check if you have /system/bin/zipalign. If not try to put it there manually.
ADB controller might have problems mounting your /system r/w and it is read-only. Maybe you can mount it r/w and then try with controller (just guessing, though).
And you'll need to have the S03_zipalign made by kyrillos and hillbeast in /system/etc/init.d (or just /etc/init.d) posted earlier. For what I can tell it zipalign's all apps from /system/app and /data/app.

mrvek said:
Check if you have /system/bin/zipalign. If not try to put it there manually.
ADB controller might have problems mounting your /system r/w and it is read-only. Maybe you can mount it r/w and then try with controller (just guessing, though).
And you'll need to have the S03_zipalign made by kyrillos and hillbeast in /system/etc/init.d (or just /etc/init.d) posted earlier. For what I can tell it zipalign's all apps from /system/app and /data/app.
Click to expand...
Click to collapse
I second that esp rw option, its already there in ADB Controller. U can manually browse as instructed above. Its not that difficult, I am sure u will be able to do it well, reply here if u still get probs even after taking all steps as directed in my previous post and the post i quote above.

umangsagar said:
I second that esp rw option, its already there in ADB Controller. U can manually browse as instructed above. Its not that difficult, I am sure u will be able to do it well, reply here if u still get probs even after taking all steps as directed in my previous post and the post i quote above.
Click to expand...
Click to collapse
Thanks for the help. I'll go back and thank the posts
Anyway i decided not to do any tweaks because i always end up flashing a different ROM anyway, I'm weak when it comes to flashing ROMS
It's like an addiction

Smonic said:
Thanks for the help. I'll go back and thank the posts
Anyway i decided not to do any tweaks because i always end up flashing a different ROM anyway, I'm weak when it comes to flashing ROMS
It's like an addiction
Click to expand...
Click to collapse
hahhahahha...this tweak is not that difficult to implement..and i guess pretty safe...agree totally to the last line

I thought I'd give this a go. I've moved the first file on the previous page to system/etc/init.d and the second file on the top of this page to system/bin. Is this sufficient?

you mean to say you have s03_zipalign in /system/etc/ini.d and zipalign file posted above as /system/bin/zipalign ??
i guess this should do for you .. awaiting to hear if u succeeded.

umangsagar said:
you mean to say you have s03_zipalign in /system/etc/ini.d and zipalign file posted above as /system/bin/zipalign ??
i guess this should do for you .. awaiting to hear if u succeeded.
Click to expand...
Click to collapse
It's working fine. The apps load up fast and i'm happy Thanks!

Related

[GUIDE] Newbie's Step-by-Step: From Stock Cellular South Showcase 2 Kernel/ROM +

After bdemartino wrote his AWESOME thread for the Mesmerize it seemed only fitting that the Showcase get their very own... And since his Thread was Flawless, with his permission I'm mostly copy/pasting word for word.
THIS GUIDE IS SPECIFICALLY FOR THE SHOWCASE
If you're Looking For FROYO Skip down to the bottom of this post to the Section Labled FROYO!!!!!
Keep in mind there are many variations to each step, this is what worked for me the easiest.
And last but not least. There is always the disclaimer that attempting any of this can and will make your phone dysfunctional and or possibly bricked beyond repair (but most likely just dysfunctional which is a pain in the arse to deal with) if you do not follow steps completely (and of a trustworthy source such as xda - ehm and in the appropriate forum ).
So make sure you're in a comfortable environment (not a good idea to be trying to accomplish this while slamming beers at the bar), take your time, read each step that these people have taken the time to carefully write up (then follow it), and you'll be just fine. Be patient as things don't always move fast and you never want to freak out as you may screw things up bad, when it's actually just taking longer than you would expect. Always give it at least 5 minutes before you determine it's looping or crashing or whatevering, there is alot going on behind the scenes, trust me!
Steps to Customize Your Stock Showcase (For Eclair 2.1)
1) Root your phone. - Basically all this means is gaining the ability to give programs/apps and yourself SuperUser access (equivalent of being admin in windows) and also the ability to flash roms via recovery, detailed below.
The easiest way to root is through the z4root.apk. (an application that will run right on your phone)
Download Here
After download, put z4root.apk on your SD card root directory
Then make sure in Settings->Applications that the "Unknown sources" box is checked.
If you don't have a file manager, download a free one from the market, using the file manager navigate to the z4root.apk and select to install it. Note: If you need help at this step, no offense I would suggest getting someone with more experience to help you continue on. I'm serious here
Reboot your phone
After it boots, open the z4root app and press root. At this point it is going to hang, give it 2 minutes and pull the battery. Count to 10, put it back in and turn it on. - This is normal
After your phone boots open z4root again and click root, this time it will run no problems and phone will reboot.
NOTE**IF YOU HAVE PROBLEMS WITH z4root: "give Super One Click a try. It's a package you have to download to your computer, but you get to see more of what's actually going on so you know where it's at in the process. I have only used up to version 1.5.5, and I know that version is very capable for the Showcase on 2.1. It is located here."-This Information provided by phidelt82**
Once you are rooted (you will see the superuser icon in your apps, it will show apps you've given that permission to... eventually) you will need to make sure you have a file manager that can request root permissions (read/write) before you will be able to complete the next step. Search the market for "root file manager" and pick one to download and install.
I use Root Explorer
It's a few bucks, but there's hardly a day that goes by when I don't use it.. (Well worth the money)
Also at this step I would download and install RomManager and TerminalEmulator as you will need these later.
2) Install RomManager and the ClockworkMod Recovery. These will basically just give you the ability to boot into recovery where you can more easily flash kernel's/rom's and anything else you wish to push to your phone. (Recovery is basically a bios like interface - but it's different than the stock version)
I was able to install the Clockwork Mod Recovery very easily just by simply using the root file manager app I had downloaded, along with following with the instructions.
(In your file manager, MAKE SURE YOU ARE Read/Write not Read/Only, for RootExplorer there is a toggle at the top, other ones you may have to enable this through settings, others may just be R/W by default, you will just have to determine this or google the app)
Download the two Files you need from the bottom of this post
Place both files on your SD card root if you were using a computer to download them or you could always download them through your phone's browser
Using the root file explorer app, move the Redbend_ua file from the SD card to /system/xbin/
Long press on the Redbend_ua file and click permissions, there should be one check missing, check that so that all are marked. Save and exit.
Now open TerminalEmulator
NOTE:The spaces below are actual spaces and in bml8 there is a lowercase "L" not a "1" there is also a space after cd, after redbend_ua, after restore, and after recovery.bin
TYPE THIS ALL EXACTLY AS SHOWN BETWEEN THE QUOTES
at the command line ($) type "su" (then hit enter)
Type "cd /system/xbin" (then hit enter, which changes directory)
Type "redbend_ua restore /sdcard/zImage /dev/block/bml8" (then hit enter, It will now scroll a bunch of text and reboot.)
After phone boots, open RomManager
Click on Flash ClockworkMod Recovery
Select the Samsung Fascinate your phone will still be the Showcase. This is just what works with our model.
At this point you're all stock and ready for new kernel/rom. (but now you are able to do so very easily)
Accessing Recovery!!!!!
NOTE: There are a few ways of getting into recovery mode. The easiest is to download QuickBoot.
Once installed you can install the widget to any homescreen or just use the app from the app drawer. Once you open the app, click Recovery and it automatically reboots the Phone into Recovery..
You may have to click the install update.zip (while you're on the stock kernel after Voodoo you won't have to anymore)
The other method, which you will need incase you EVER Bootloop! Is the 3 finger method (Hold down the volume up and down keys and the power button all at the same time when you're turning your phone on) Once you see the Samsung splash screen you can remove your finger from the power button, but keep holding down both volume keys!!!
Incase of Bootloop, remove the battery and do this while Rebooting...
AGAIN WHILE YOU STILL HAVE A STOCK KERNEL, YOU WILL PROBABLY HAVE TO *apply sdcard:update.zip* after you enter the FIRST RECOVERY...
The next Screen will be Clock Work Mod, this is where you will want to do your First Nandroid Backup!!!!
3) KERNEL: Install Voodoo lagfix kernel and new 5.0 sound
Now onto Installing a Voodoo Kernel
If you want speed and good battery life (and high standard marks) +unlocking the headphone amp and eq controls (it makes even the samsung headset sound killer) go here and follow those steps for using your now functional recovery mode to flash the new Voodoo 5.0 kernel.
Now you can install Voodoo Control and get new life out of those earbuds!!!
Note: Just an FYI, after installing custom kernel's you will always have an issue on start up of seeing a flashing black box in the middle of the samsung logo. This can be corrected by installing a custom boot screen (only requires root access) and you can find out how here.
4) Custom ROM : Download and install the ROM of your choice.
Right now we really only have 1 that I recommend..
It's Phidelt82's PicknPack Rom
This is a deodexed Rom which allows you to use MODS and themes. This ROM is 100% Stable, I've been running it for a WHILE with ZERO issues...
MODS/Themes/Customization
NoClock in the Status Bar
Midnight Theme
HoneyComb Digital Clock
Shutdown Animations or Images
Bootanimations with new Boot Sounds
Of course there is WAY more than these listed, but this should fill up your afternoon playing around with your new and IMPROVED Showcase!!!
FROYO FOR THE SHOWCASE = YUMMY!!!!
Yes, for those of you that didn't already know, thanks to Phidelt82 we now have Froyo!!!! I've been running it for about a week and it's Delicious!!!
I'm not going to Write as much as I did for the 2.1 b/c the directions are in the threads already.. Just follow the Directions, if you have any problems after that read through the threads and see if anyone's already figured them out...
And this will work with a Factory Showcase!!!!!
First of all you need to go to:
[Froyo-Odin] Showcase EB11 - Cellular South Update (be sure to Thank Phidelt82)
After this you will have 2.2, now you can use:
SuperOneClick to root your new Froyo Showcase (if you want)!!!
And if you plan on doing Mods/Themes/etc.. You should go ahead and Flash the EB11 Showcase Pick-n-Pack, again be sure to thank Phidelt82 for this!!!
If you flash the PicknPack Rom made by Phidelt82, then there's no need to root... It comes PREROOTED.. You only need to ROOT if you're staying on the Stock 2.2!!!
If you're flashing the picknpack do a Nandroid backup after you're done.... If you're going to stay on the Factory 2.2, do you a Nandroid backup after that...
Thanks to lmartin92, JT1134, Phidelt82, we now have a voodoo kernel with lagfix for 2.2 which can be found HERE...
If you're new to using voodoo lagfix kerenls.. Remember to always disable lagfix before doing Nandroid Backups/Restores/Flashing mods/Themes for YOUR SAFETY
I'm working on a few themes... sbrissen has already Made us the NoClock and NoAmPm mod (you have to be on the picknpack for these)
For a list of the Mods/Themes/Roms for the showcase look HERE
Always check the Mesmerize forums for new Android Development, Mods, Themes, etc...
And for help Don't be afraid to ask (after you've read this legnthy post) or drop by the #samsung-mesmerize channel at http://webchat.freenode.net/
Thanks to Phidelt82 for all of his dev support for our phone!!! If you want to donate to him click HERE
Thanks to bdemartino who wrote the AWESOME tutorial HERE that i mostly copied/pasted from!!! Be sure to click his thank you button if this helped you out...
Reserved FOR Me!!!!
Great work elijah, you are the Showcase king
bdemartino said:
Great work elijah, you are the Showcase king
Click to expand...
Click to collapse
my Kingdom sure is small lol
It is probably bigger than you think Elijah
ocs111 said:
It is probably bigger than you think Elijah
Click to expand...
Click to collapse
yeah, you just don't see much Activity out of showcase users...
btw... could you help out with this??
http://forum.xda-developers.com/showthread.php?t=945069
I will be glad to help test. I am just not much in script writing. When I read that post yesterday I thought there were problems with it. Just let me know what I can do. Right now I am rooted with Z4 and running voodoo kernel.
elijahblake said:
yeah, you just don't see much Activity out of showcase users...
btw... could you help out with this??
http://forum.xda-developers.com/showthread.php?t=945069
Click to expand...
Click to collapse
ocs111 said:
I will be glad to help test. I am just not much in script writing. When I read that post yesterday I thought there were problems with it. Just let me know what I can do. Right now I am rooted with Z4 and running voodoo kernel.
Click to expand...
Click to collapse
I'm hoping Bubbakoush will test since he has a showcase that needs to be flashed back to factory... I wouldn't recommend flashing this until after he can confirm it works
elijahblake said:
my Kingdom sure is small lol
Click to expand...
Click to collapse
Hey bro, don't think we're not around... I'm just enjoying my rooted Showcase, waiting for some more ROMs to give a try.
Thanks for all the work putting this together, and everything else you've been working on for Showcase!
Nice write up!
elijahblake said:
yeah, you just don't see much Activity out of showcase users...
btw... could you help out with this??
http://forum.xda-developers.com/showthread.php?t=945069
Click to expand...
Click to collapse
We're here... For the most part i'm waiting on a stable 2.2 or 2.3 based rom. Running pick-n-pack for now with Voodoo5.
Whenever I got to the terminal emulator and do the "redbend_ua restore /sdcard/recovery.bin /dev/block/bml8" it comes back with a permission denied and then reboots the phone...I've check my spelling/case numerous times. Following the instructions on the original post/thread where the zip file came from goes ok, but the recovery rom doesnt allow me to install the VooDoo in the next step. Any help would be great.
Thanks.
blroberts228 said:
Whenever I got to the terminal emulator and do the "redbend_ua restore /sdcard/recovery.bin /dev/block/bml8" it comes back with a permission denied and then reboots the phone...I've check my spelling/case numerous times. Following the instructions on the original post/thread where the zip file came from goes ok, but the recovery rom doesnt allow me to install the VooDoo in the next step. Any help would be great.
Thanks.
Click to expand...
Click to collapse
you more than likely are going to need to install Root Explorer onto your phone.. And use it to move the files (that's what I and many others had to do)
blroberts228 said:
Whenever I got to the terminal emulator and do the "redbend_ua restore /sdcard/recovery.bin /dev/block/bml8" it comes back with a permission denied and then reboots the phone...I've check my spelling/case numerous times. Following the instructions on the original post/thread where the zip file came from goes ok, but the recovery rom doesnt allow me to install the VooDoo in the next step. Any help would be great.
Thanks.
Click to expand...
Click to collapse
Are you typing su first to grant root permissions? You should see a # instead of a $ at the prompt.
Sent from my voodoo froyo Mesmerize
I have root manager installed and used it to move the files from the /sdcard directory to /system/xbin and I am typing su at the terminal to change from $ to #
One more question:
Do I need to follow the instructions in this thread: http://forum.xda-developers.com/showthread.php?t=860250
or the ones that are in the first post of this thread?
blroberts228 said:
I have root manager installed and used it to move the files from the /sdcard directory to /system/xbin and I am typing su at the terminal to change from $ to #
One more question:
Do I need to follow the instructions in this thread: http://forum.xda-developers.com/showthread.php?t=860250
or the ones that are in the first post of this thread?
Click to expand...
Click to collapse
Long press on the Redbend_ua file and click permissions, there should be one check missing, check that so that all are marked. Save and exit.
will Root Manager allow you to do this? If not Rootexplorer will.
if you do this:
I'm not sure if you can do this through terminal or not... I did mine from my pc... you may have to leave off adb shell and just start at su when using terminal...
This is making the file executable
adb shell
su
chmod 777 /sdcard/redbend_ua
while it's still on the sdcard (Before moving it then you don't need to worry about it)
Ok, it seems that the Mes instructions were infact different on this method... I've updated the first post... If you'll read now you'll see what you should be typing in..
sorry about that, and thanx for pointing it out
I'm sorry, I am using Root Explorer...and yes, I have all 777 permissions to the redbend_ua file under /system/xbin, the only thing that I can think of is by looking in the /sdcard directory, there is no recovery.bin file that the last terminal command is referring to...is there suppose to be, if so, it comes from the voodoo mesmerize post...am I suppose to download that?
blroberts228 said:
I'm sorry, I am using Root Explorer...and yes, I have all 777 permissions to the redbend_ua file under /system/xbin, the only thing that I can think of is by looking in the /sdcard directory, there is no recovery.bin file that the last terminal command is referring to...is there suppose to be, if so, it comes from the voodoo mesmerize post...am I suppose to download that?
Click to expand...
Click to collapse
did you also get the zImage file? it was included in the test_no_voodoo.zip
If you did that step then you need to download ClockworkMod from the market and install the fascinate version of recovery.
elijahblake said:
did you also get the zImage file? it was included in the test_no_voodoo.zip
If you did that step then you need to download ClockworkMod from the market and install the fascinate version of recovery.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=860250
look at that thread and tell me where you're at....
Yep, ive done all of that stuff also...and whenever I take the entire zip file, rename it to update.zip and reboot into recovery it tells me that the sdcard is busy

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

[Q] Keyboard Dropping/Missing Keystrokes?

Since I've gotten my Sidekick, I've noticed on most ROMs a horrible tendency to not register key-presses on the physical keyboard. There was one ROM early on that didn't do this (or very little) and one of the versions of RAGE was very good. I'm running GOV3.2 Bulky right now and it's not horrible, but it's noticeable. Does anyone have an idea of what might cause this? Thanks.
ged92781 said:
Since I've gotten my Sidekick, I've noticed on most ROMs a horrible tendency to not register key-presses on the physical keyboard. There was one ROM early on that didn't do this (or very little) and one of the versions of RAGE was very good. I'm running GOV3.2 Bulky right now and it's not horrible, but it's noticeable. Does anyone have an idea of what might cause this? Thanks.
Click to expand...
Click to collapse
I thought my keyboard was going bad or i just did not press the key all the way, now im on stock and i have not had that issue, hope someone finds the rom
ultraprimeomega said:
I thought my keyboard was going bad or i just did not press the key all the way, now im on stock and i have not had that issue, hope someone finds the rom
Click to expand...
Click to collapse
I wonder what the issue is that's causing it to show up on custom ROMs. Though, I've had it on the stock ROMs as well.
Have you tried this version of the kernel? Along with the removal of the keystroke logger, it also contains a patch that allows you to lower the keystroke timer delays... If you are experiencing dropped keystrokes, this could help, as the patch was designed for tht very issue.
http://forum.xda-developers.com/showthread.php?t=1663622
yogi2010 said:
Have you tried this version of the kernel? Along with the removal of the keystroke logger, it also contains a patch that allows you to lower the keystroke timer delays... If you are experiencing dropped keystrokes, this could help, as the patch was designed for tht very issue.
http://forum.xda-developers.com/showthread.php?t=1663622
Click to expand...
Click to collapse
Thank you!!!!!!!! I went ahead and dug into that thread. I do have that kernel already on my phone. I looked at the thread linked in that thread that gives a patch to adjust the timer delay and column delay in the kernel. HOWEVER, I'm not knowledgeable enough to apply that patch to my phone as it's given. Elsewhere in that thread, someone gave the commands to edit the settings manually through a terminal which I did through Android Commander on my PC and it worked wonders! Being the suspicious type, I guessed that the settings might not keep after a reboot. Unfortunately, that is the case and I had to reapply the settings after my phone finished restarting. So, I'll have to play with this a bit more to get it to keep, but thank you for showing me this!
You're welcome! That patch was made just for this issue. And yeah, it doesn't stick after a reboot, so we could either compile the kernel with chosen settings added in, or make a simple init.d script. I never did either one lol, was too lazy to try editing and building the kernel from source, and was on the stock ROM so I thought maybe it had no init.d support. You could probably create a file with those same commands used in Terminal, and throw it in your init.d folder to change the settings at boot.
yogi2010 said:
You're welcome! That patch was made just for this issue. And yeah, it doesn't stick after a reboot, so we could either compile the kernel with chosen settings added in, or make a simple init.d script. I never did either one lol, was too lazy to try editing and building the kernel from source, and was on the stock ROM so I thought maybe it had no init.d support. You could probably create a file with those same commands used in Terminal, and throw it in your init.d folder to change the settings at boot.
Click to expand...
Click to collapse
I set my column delay to 30 and my timer delay to 1 and it now feels like I'm typing on a Sidekick again! I wouldn't know how to correctly compile the kernel myself with these settings changed. So, are there any devs out there willing to make a zip that can be flashed in CWM so these settings will become permanent?
ged92781 said:
I set my column delay to 30 and my timer delay to 1 and it now feels like I'm typing on a Sidekick again! I wouldn't know how to correctly compile the kernel myself with these settings changed. So, are there any devs out there willing to make a zip that can be flashed in CWM so these settings will become permanent?
Click to expand...
Click to collapse
+1
I've noticed this problem and thought it was just me :$
I've had this happen as well as my screen thinking I was pressing it in one location when I wasn't even touching the phone. :s Had me at my wits end.
Sent from my SGH-T839 using xda premium
To those interested in the commands I used to fix the keyboard, see below. If you reboot your phone, these settings will go away and you will need to input these commands again. For a permanent fix, someone will need to add them to a kernel that can be flashed. To use these commands, your phone must be rooted. I've successfully used Android Commander to enter these commands from my PC while my phone is connected via USB.
The current timer delay may be read with:
cat /sys/devices/platform/s3c-keypad/timer_delay
The default is 5 if I remember correctly.
A new timer delay may be set with:
echo 1 > /sys/devices/platform/s3c-keypad/timer_delay
The default 300 µs column delay value may be read with:
cat /sys/devices/platform/s3c-keypad/column_delay
A new delay may be set with:
echo 30 > /sys/devices/platform/s3c-keypad/column_delay
In either command, you may experiment with different values by changing the 1 or the 30 in either command to what you want. I believe the lowest is 1 and the max is 256 for the timer delay. If you damage your phone running these commands, that's on you. I'm just telling you what I did and feel worked for me. YMMV. Also, if you don't want to connect your rooted phone to your PC and want to use Terminal Emulator from the Play store, that will work too. You need to enter 'su' prior to running the above commands and grant the terminal super user permissions for the commands to take.
ged92781 said:
I set my column delay to 30 and my timer delay to 1 and it now feels like I'm typing on a Sidekick again! I wouldn't know how to correctly compile the kernel myself with these settings changed. So, are there any devs out there willing to make a zip that can be flashed in CWM so these settings will become permanent?
Click to expand...
Click to collapse
I'll work on it for the next releases of the Bi-Winning roms and also try to attach flashable zips.
RicAndroid said:
I'll work on it for the next releases of the Bi-Winning roms and also try to attach flashable zips.
Click to expand...
Click to collapse
Thank you!
ged92781 said:
Thank you!
Click to expand...
Click to collapse
You are very welcome! All done, BTW. Posting my updates now.
Permanent Fix(Manual way)
Taking the timer_delay and column_delay tricks shown above...I was able to make an init.d script(pretty easy, tbh) but don't feel it merits an update.zip since it's so easy. What I did was:
1. go to /etc/init.d
2. find the last script(In GOV3.3 it's 18complete) and rename it - adding one to the sequence(In my case I renamed it to 19complete)
3. make a new file name 18keyboardfix(The number depends on your rom, really...like if you renamed the above file to some thing like 33complete, you'd call this 32keyboardfix. Easy? right?)
4. Open the file you just created and put:
Code:
!#/system/bin/sh
echo 1 > /sys/devices/platform/s3c-keypad/timer_delay
echo 30 > /sys/devices/platform/s3c-keypad/column_delay
5. Set the permissions to rwxr-xr-x or whatever the numeric equivalent is. (0755, iirc)
6. Reboot
7. (Optional) Recheck the values with the following commands:
Code:
cat /sys/devices/platform/s3c-keypad/timer_delay
Code:
cat /sys/devices/platform/s3c-keypad/column_delay
I take no credit for this fix. Really, it was all ged92781 for providing the commands. All I did was find a way to make it permanent(Well, it's just reset when the devices is turned off and the init.d scripts set it back to you desired values, but that's debatable on whether it's permanent or not...either way...it works and is a simple fix)
SammaelAkuma said:
Taking the timer_delay and column_delay tricks shown above...I was able to make an init.d script(pretty easy, tbh) but don't feel it merits an update.zip since it's so easy. What I did was:
1. go to /etc/init.d
2. find the last script(In GOV3.3 it's 18complete) and rename it - adding one to the sequence(In my case I renamed it to 19complete)
3. make a new file name 18keyboardfix(The number depends on your rom, really...like if you renamed the above file to some thing like 33complete, you'd call this 32keyboardfix. Easy? right?)
4. Open the file you just created and put:
Code:
!#/system/bin/sh
echo 1 > /sys/devices/platform/s3c-keypad/timer_delay
echo 30 > /sys/devices/platform/s3c-keypad/column_delay
5. Set the permissions to rwxr-xr-x or whatever the numeric equivalent is. (0755, iirc)
6. Reboot
7. (Optional) Recheck the values with the following commands:
Code:
cat /sys/devices/platform/s3c-keypad/timer_delay
Code:
cat /sys/devices/platform/s3c-keypad/column_delay
I take no credit for this fix. Really, it was all ged92781 for providing the commands. All I did was find a way to make it permanent(Well, it's just reset when the devices is turned off and the init.d scripts set it back to you desired values, but that's debatable on whether it's permanent or not...either way...it works and is a simple fix)
Click to expand...
Click to collapse
Uh, oh....I used echo "number" /proc/sys/devices/platform/s3c-keypad in my script. Will I have to change it?
RicAndroid said:
Uh, oh....I used echo "number" /proc/sys/devices/platform/s3c-keypad in my script. Will I have to change it?
Click to expand...
Click to collapse
Idk, honestly. Try and see if your script works first, if not, then use the one I made using the commands ged92781 provided. Now...to find a way to fix the spaztic touch screen...that'll be tricky.
SammaelAkuma said:
Idk, honestly. Try and see if your script works first, if not, then use the one I made using the commands ged92781 provided. Now...to find a way to fix the spaztic touch screen...that'll be tricky.
Click to expand...
Click to collapse
I'm using your commands, dude. I'm very into details....so thanks!
RicAndroid said:
I'm using your commands, dude. I'm very into details....so thanks!
Click to expand...
Click to collapse
Lol. No problem. And good luck with the custom rom cooking.

[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..

[SCRIPT - ROOT] Moto X Root Script (Locked Bootloader)

Script removed/Effort "canceled" (see release notes)!​
Dear fellow XDA'ers, i have written a quick and simple script to tie in all of the great work done by jcase and beaups that helps you root your Moto X. This script simply follows the instructions written by jcase and beaups and automates those scripts with a simple menu.
This script should technically work for "any" Moto X on "any" carrier, provided the methods contained within have the same success rate across all carriers. I do not have the capacity, nor experience, to trap for all situations.
This script ASSUMES that you already have the Motorola drivers installed and your device has successfully connected to your computer via USB Debugging Mode. If you need the drivers, they can be found here.
Instructions:
Download and extract this script on to your Windows Desktop.
Download ALL of the following to the same folder as the GO!.CMD ("640k's Moto X Root Script" Folder). These files should NOT be unzipped:
your specific 4.2.2 factory image.and/or 4.4 factory images (if you are on 4.4, you will need BOTH images).
jcase's RockMyMoto (4.2.2) and SlapMyMoto (4.4).
beaups' MotoWpNoMo.
Saurik's Cydia Impactor
Execute Go!.CMD and follow the on-screen prompts.
Links:
Moto X Firmware Page
jcase's RockMyMoto Thread
jcase's SlapMyMoto Thread
beaups' MotoWpNoMo Thread
Saurik's Cydia Impactor Page
Disclaimers:
I make no warranties of any kind regarding the accuracy or efficiency of this script or the processes contained within. This script was tested on a single device and was written based off of the instructions provided within these forums. You can perform these steps yourself!
jcase will NOT support the use of this script. Should you run in to issues with any of the functionality/procedures written specifically by jcase, you will not be supported by jcase unless you are following his methods.
beaups will NOT support the use of this script. Should you run in to issues with any of the functionality/procedures written specifically by beaups, you will not be supported by beaups unless you are following his methods.
Because I have compiled other's hard work into a command-line script, i have decided to distribute my script uncompiled. That way, in the event of major changes, significant errors, etc., that I don't have time to address, the user community can lend a hand. If you find my work useful, please Thank Me.
WARNING
Make sure your device is fully charged before beginning!
Some people have reported an inability to flash their device, have received "unknown errors", weird partition errors and general chaos during the flashing/imaging process. If this happens to you, try a different USB port. I have read threads/seen reports where sometimes USB 3.0 ports cause failures during this process. Change to a USB 2.0 port and try again.
[*]In general, it is difficult to completely brick your device using this method. As long as you can get to the fastboot menu, your device is recoverable. If your phone will not power on, you did not follow one of the two warnings above.
TIPS:
If "Waiting for device" seems to be taking a really long time (your device is ready, but the script hasn't picked it up yet), try either turning off USB Debugging and then back on, or try removing the USB cable and re-inserting it.
If you are on 4.4, looking for root, your device will be re-imaged two times with 4.2.2. Don't input your details until the 2nd time, to avoid having to repeat your effort.
Connect to your WiFi before enabling USB Debugging Mode to avoid IP Address errors. The batch script tends to get funny on some of the retries. I've tried working out most of the bugs.
I'm confident I haven't worked out 100% of the bugs in this script, although I've tried very hard. I've only tested it with one device, the XT1060. If you have issues, please do not PM me, post them here in the thread.
If for some reason the script abnormally ends or you close out of it, without running the cleanup process at the end, ADB will remain present and cause an error in the script, which will cause the script to fail. Browse to the folder with the CMD prompt and type "ADB kill-server" (kill-server is case-sensitive). This will get the script running again.
Thanks jcase, beaups, saurik and anyone else who has contributed to this effort!
Changelog:
1/9/2014: Initial Release. Only tested on one device. Better bug management within each step, more options at advanced menu, including ADB Debug Window. Removed auto-upgrade to 4.4. I suspect this is where my woes were.
1/9/2014: Removed ADMINISTRATOR requirement. I don't think this will do any harm, but it was creating conflicts with Windows 8.
1/9/2014: Changed TELNET conditions to trap for user interaction.
1/14/2014: Adjusted initial TELNET session.
1/14/2014: Corrected a type on line 366 (would have given an error).
1/15/2014: Re-worked TELNET routine again.
1/16/2014: Simplified menu options, included automated checking for write protection. This check will skip steps once WP has already been turned off.
1/16/2014: Included additional instruction, including more messaging and better message waiting.
1/16/2014: Added additional messaging for troubleshooting purposes.
1/16/2014: Corrected a bug related to BATCH language that was ending the TELNET steps.
1/17/2014: Made another adjustment to TELNET handling.
1/17/2014: Added additional error checking.
1/17/2014: Added some wait time on the second TELNET phase.
2/28/2014: Canceled script effort (ran out of time). With 4.4.2 released, none of the current root methods are valid or work.
BEFORE YOU START WITH ANY METHOD THAT REQUIRES YOU TO WIPE YOUR DEVICE, MAKE SURE YOUR DEVICE IS 100% FULLY CHARGED!! IF YOUR DEVICE SHUTS DOWN WHILE THE SYSTEM IS FLASHING YOU WILL BRICK YOUR DEVICE!!!​
heck yes!!!!!!!!!!!!!!!!!!!
Hold the phone. The script at the very last step isn't working. Can't fix right now. My personal device doesn't have root, so it failed. Will need to troubleshoot.
Appreciate the effort put into this for the community
Sent from my XT1060 using xda app-developers app
ok so the script seems to be doing what it's designed to do, which is good. but i've borked my device testing it, which is bad. but i was able to trap for more conditions and provide a better menu system, which is good.
as soon as i can figure out if i can un-bork my device, i'll post the script back up.
My device has root. Script is back online.
I really appreciate your hard work. I've had trouble getting this to work by myself. I'd love to give this a shot later today. I had a few questions though.
You said to "install the script" after it is downloaded but what exactly needs to be installed? Also you said to put all the files in the install folder, but I'm not seeing an install folder in the extracted .rar.
I want to make sure the script runs smoothly so it would be best if I could see exactly how your files are set up. Would you perhaps be able to upload a screenshot?
Thanks!
flipfreak said:
I really appreciate your hard work. I've had trouble getting this to work by myself. I'd love to give this a shot later today. I had a few questions though.
You said to "install the script" after it is downloaded but what exactly needs to be installed? Also you said to put all the files in the install folder, but I'm not seeing an install folder in the extracted .rar.
I want to make sure the script runs smoothly so it would be best if I could see exactly how your files are set up. Would you perhaps be able to upload a screenshot?
Thanks!
Click to expand...
Click to collapse
so my original intention was to distribute this as a self-extracting EXE but because i wanted to share my work and XDA's attachment policy, i changed it to a rar.
just unzip it (anywhere). you'll get a "640k's Moto X Root Script" folder. make sure your .zips from the links above are in the same folder as the Go!.CMD and you'll be good to go.
640k said:
so my original intention was to distribute this as a self-extracting EXE but because i wanted to share my work and XDA's attachment policy, i changed it to a rar.
just unzip it (anywhere). you're get a "640k's Moto X Root Script" folder. make sure your .zips from the links above are in the same folder as the Go!.CMD and you'll be good to go.
Click to expand...
Click to collapse
Thank you! That clears things up. I'll give this a try later and let you know how it went
flipfreak said:
Thank you! That clears things up. I'll give this a try later and let you know how it went
Click to expand...
Click to collapse
based on my testing, unless something goes completely wrong, it should be pretty hard to completely bork your phone. if you get into a bootloop, the advanced menu can help you restore your system files as long as you can get in to the bootloader (usually you can).
640k said:
based on my testing, unless something goes completely wrong, it should be pretty hard to completely bork your phone. if you get into a bootloop, the advanced menu can help you restore your system files as long as you can get in to the bootloader (usually you can).
Click to expand...
Click to collapse
Hmm, well I tried it but it keeps telling me that 7za.exe is not in the folder, even though it is sitting right above Go!.CMD. Any idea why it would say this? I ran it as an administrator
flipfreak said:
Hmm, well I tried it but it keeps telling me that 7za.exe is not in the folder, even though it is sitting right above Go!.CMD. Any idea why it would say this? I ran it as an administrator
Click to expand...
Click to collapse
can you screen shot the window and your folder where the files are?
thanks.
640k said:
can you screen shot the window and your folder where the files are?
thanks.
Click to expand...
Click to collapse
Sure
flipfreak said:
Sure
Click to expand...
Click to collapse
did you extract the contents to your desktop? i'm guessing it's failing because you're technically not running the cmd file in the same folder. for example, windows will allow you to run files directly from a .zip, but it caches that file in to a temp folder somewhere. if you haven't unzipped the files, the script won't see any of the files.
i'm here to help, i want this to be successful.
640k said:
did you extract the contents to your desktop? i'm guessing it's failing because you're technically not running the cmd file in the same folder. for example, windows will allow you to run files directly from a .zip, but it caches that file in to a temp folder somewhere. if you haven't unzipped the files, the script won't see any of the files.
i'm here to help, i want this to be successful.
Click to expand...
Click to collapse
Yeah, the files are all extracted to my desktop. If I run it as an administrator, it gives me the error telling me that that 7za.exe is not in the folder. If I don't run it as an administrator, it tells me that it will abort and to press any key to continue. When I press any key, it brings me to the menu where it asks me what I want to do.
I'm not sure what I could be doing wrong. Maybe we should just wait and see if anyone else has this problem. It could be on my end.
flipfreak said:
Yeah, the files are all extracted to my desktop. If I run it as an administrator, it gives me the error telling me that that 7za.exe is not in the folder. If I don't run it as an administrator, it tells me that it will abort and to press any key to continue. When I press any key, it brings me to the menu where it asks me what I want to do.
I'm not sure what I could be doing wrong. Maybe we should just wait and see if anyone else has this problem. It could be on my end.
Click to expand...
Click to collapse
ok i'm seeing the same issue. it's isolated to Windows 8. troubleshooting now.
Windows 8 is running the CMD prompt from /WINDOWS/SYSTEM32... which is the exact problem i detailed earlier. i'm going to remove the admin requirement. i don't think it's necessary.
flipfreak said:
Yeah, the files are all extracted to my desktop. If I run it as an administrator, it gives me the error telling me that that 7za.exe is not in the folder. If I don't run it as an administrator, it tells me that it will abort and to press any key to continue. When I press any key, it brings me to the menu where it asks me what I want to do.
I'm not sure what I could be doing wrong. Maybe we should just wait and see if anyone else has this problem. It could be on my end.
Click to expand...
Click to collapse
download the new file and try it again.
640k said:
download the new file and try it again.
Click to expand...
Click to collapse
That got it working. I'm now stuck at attempting a telnet session. Should I restart? Here's a screenshot
flipfreak said:
That got it working. I'm now stuck at attempting a telnet session. Should I restart? Here's a screenshot
Click to expand...
Click to collapse
i was afraid of that. open the TELNET.ERR file with notepad and show me the contents. jcase stuck some user interaction in there that only occurs one time, so i was never able to trap it again.
thanks for your help.
640k said:
i was afraid of that. open the TELNET.ERR file with notepad and show me the contents. jcase stuck some user interaction in there that only occurs one time, so i was never able to trap it again.
thanks for your help.
Click to expand...
Click to collapse
No problem.
ÿýÿýÿûÿû
~ $ dalvikvm -cp /sdcard/RockMyMoto.jar RockMyMoto
RockMyMoto 1.0
by Justin Case
PayPal Donations maybe sent to: [email protected]
Special thanks to saurik, you rock!
System is write protected...
Executing step 1...
To use RockMyMoto you most solve a
simple equation. This helps ensure
you are paying attention, and also
amuses JesusFreke and myself.
Solve for a:
a/24=70
Please type a whole number as your answer:
Click to expand...
Click to collapse

Categories

Resources