Hello
Im trying to run Hydra script with KT kernel...
When I run the script with Script Manager I get the ( se screenshot in this post)
What do I do wrong? I have followed some guide lines and thing, but manye of the options mentioned in these are not in KTweaker....
Can someone help?
I think I have some settings in Ktweaker wrong before running the script
Did you following the instructions for installing and making a script work?
Installation
Download links will include the specified profile(s) as well as an "Adjustments" file. The "Adjustments" file is just for easy view of all changes made to a profile compared to stock settings.
1. Download the file(s) to your phone. In case of .bin files, optionally rename the file(s) as .txt
2. Copy ONLY the profile(s) (DO NOT copy the "Adjustments" file) to /sdcard/KTweaker folder using a file Manager of your choice.
3. Open Ktweaker app and click on "Restore Prefs from sdcard".
4. The file you just copied should be listed there. Choose the one you want to apply.
5. After applying, make sure the "Set options on boot" setting on the main menu of KTweaker has a little green text bellow confirming that the settings will be applied upon reboot.
6. Profit!
thnx
Sent from my Samsung Mobile with XDA Premium
nikzDHD said:
Did you following the instructions for installing and making a script work?
Installation
Download links will include the specified profile(s) as well as an "Adjustments" file. The "Adjustments" file is just for easy view of all changes made to a profile compared to stock settings.
1. Download the file(s) to your phone. In case of .bin files, optionally rename the file(s) as .txt
2. Copy ONLY the profile(s) (DO NOT copy the "Adjustments" file) to /sdcard/KTweaker folder using a file Manager of your choice.
3. Open Ktweaker app and click on "Restore Prefs from sdcard".
4. The file you just copied should be listed there. Choose the one you want to apply.
5. After applying, make sure the "Set options on boot" setting on the main menu of KTweaker has a little green text bellow confirming that the settings will be applied upon reboot.
6. Profit!
Click to expand...
Click to collapse
In step one, is it important to rename the file as .txt? Or can I just put it straight into KT Kernel folder on mobile?
Related
hi everyone, i've made bootanimation changer zip for changing bootanimation.zip without ADB or PC Connection.
You need just a Zip Editor (in PC or phone), and your favourite bootanimation.zip with this zip file.
First of all, prepare your bootanimation.zip, this mod, current nandroid backup, and zip opener/editor (Such as androzip or else..)
-> open your zip manager (for me this is Root Explorer)
-> Extract my zip file any directory
-> put your bootanimation.zip in extracted-folder/system/media/
-> select your "extracted-folder" and choose "zip this folder"
-> your file ready for flashing.
NOTICE: I WILL NOT RESPONSIBLE IF YOU BRICK YOUR PHONE. ALL RESPONSIBLITIES BELONGS TO YOURS
If anything gone bad; restore your nandroid backup..
please comment and tell issues me.
Images below (with comment)
fatal.blade said:
hi everyone, i've made bootanimation changer zip for changing bootanimation.zip without ADB or PC Connection.
You need just a Zip Editor (in PC or phone), and your favourite bootanimation.zip with this zip file.
First of all, prepare your bootanimation.zip, this mod, current nandroid backup, and zip opener/editor (Such as androzip or else..)
-> open your zip manager (for me this is Root Explorer)
-> Extract my zip file any directory
-> put your bootanimation.zip in extracted-folder/system/media/
-> select your "extracted-folder" and choose "zip this folder"
-> your file ready for flashing.
NOTICE: I WILL NOT RESPONSIBLE IF YOU BRICK YOUR PHONE. ALL RESPONSIBLITIES BELONGS TO YOURS
If anything gone bad; restore your nandroid backup..
please comment and tell issues me.
Images below (with comment)
Click to expand...
Click to collapse
Sir, can I request [CWM][MOD-ZIP] for application?
Sent from my GT-S5830 using Tapatalk
yes but your application's name and path must be changed in updater-script in extracted META-INF\com\google\android\updater-script .
For Example; i have embed Google Maps 5.8 in /system/app folder (this means you make this app SYSTEM APP situation)
1) just extract my zip any place you preferred
2) go into extracted folder and delete system/media/ folder
3) make folder named "system" in extracted folder
4) go into "system" then create another folder named "app" in there.
5) put your apk in "app" folder,
6) for now you have this folder tree:
extracted/cwm-flashable/
--------------------------- META-INF/
-------------------------------------- com/google/android/updater-script and update-binary
-------------------------------------- [few signer files there in META-INF]
--------------------------- system/app/google-maps-5.8.apk
Click to expand...
Click to collapse
7) go into META-INF/com/google/android/updater-script and select "open in text editor"
8) find these lines:
Code:
[FONT="Courier New"]
ui_print("----------------------------");
ui_print("Detected: Samsung Galaxy Ace");
ui_print("google maps 5.8 installer"); <<-- Change app name with version
ui_print("by fatal.blade"); <<---------------------------
ui_print("INFO: ITS HIGHLY RECOMMENDED"); <<
ui_print("BACKUP SYSTEM WITH NANDROID "); << DONT CHANGE THESE because it warn you from bricking
ui_print("BEFORE FLASHING THIS UP!!!! "); <<
ui_print("----------------------------"); <<---------------------------
ui_print("->installing google-maps.5.8.apk");
delete("/system/media/bootanimation.zip"); << Remove This Line
ui_print("->bootanimation.zip deleted."); << Remove This Line
package_extract_dir("system", "/system"); << DONT CHANGE IT
ui_print("->google-maps installed"); << Change it with your info
set_perm(0, 0, 0644, "/system/app/google-maps-5.8.apk"); << Change your apk name but not touch numbers
ui_print("->Process Completed.");[/FONT]
9) Save updater-script
10) go to extracted/ and change name of folder before zipping ("I Changed it "cwm-google-maps" ")
11) now you have :
----- extracted/cwm-google-maps/META-INF ----- etc
folder.
12) tap and hold cwm-google-maps folder and select "Zip this folder" Option
13) After zipping process, Select "Go To Extracted" option
14) Finish, you can flash your file with cwm.
that's it. very easy huh?
I will upload example "cwm-google-maps.zip"
cheers, fatal.blade
fatal.blade said:
yes but your application's name and path must be changed in updater-script in extracted META-INF\com\google\android\updater-script .
For Example; i have embed Google Maps 5.8 in /system/app folder (this means you make this app SYSTEM APP situation)
1) just extract my zip any place you preferred
2) go into extracted folder and delete system/media/ folder
3) make folder named "system" in extracted folder
4) go into "system" then create another folder named "app" in there.
5) put your apk in "app" folder,
6) for now you have this folder tree:
7) go into META-INF/com/google/android/updater-script and select "open in text editor"
8) find these lines:
Code:
[FONT="Courier New"]
ui_print("----------------------------");
ui_print("Detected: Samsung Galaxy Ace");
ui_print("google maps 5.8 installer"); <<-- Change app name with version
ui_print("by fatal.blade"); <<---------------------------
ui_print("INFO: ITS HIGHLY RECOMMENDED"); <<
ui_print("BACKUP SYSTEM WITH NANDROID "); << DONT CHANGE THESE because it warn you from bricking
ui_print("BEFORE FLASHING THIS UP!!!! "); <<
ui_print("----------------------------"); <<---------------------------
ui_print("->installing google-maps.5.8.apk");
delete("/system/media/bootanimation.zip"); << Remove This Line
ui_print("->bootanimation.zip deleted."); << Remove This Line
package_extract_dir("system", "/system"); << DONT CHANGE IT
ui_print("->google-maps installed"); << Change it with your info
set_perm(0, 0, 0644, "/system/app/google-maps-5.8.apk"); << Change your apk name but not touch numbers
ui_print("->Process Completed.");[/FONT]
9) Save updater-script
10) go to extracted/ and change name of folder before zipping ("I Changed it "cwm-google-maps" ")
11) now you have :
----- extracted/cwm-google-maps/META-INF ----- etc
folder.
12) tap and hold cwm-google-maps folder and select "Zip this folder" Option
13) After zipping process, Select "Go To Extracted" option
14) Finish, you can flash your file with cwm.
that's it. very easy huh?
I will upload example "cwm-google-maps.zip"
cheers, fatal.blade
Click to expand...
Click to collapse
Thanks now I know.... its easy..
Sent from my GT-S5830 using Tapatalk
i uploaded zip file for u
where do we find the rom boot animation in root manager !
Sent from my GT-S5830 using xda premium
dylan_ace said:
where do we find the rom boot animation in root manager !
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
its in system>media
its the bootanimation.zip
The app bootanimation changer is fully automated though..
of course, but it is an alternative way (and exercise for me )
Now I test it with my own apps... working great... thanks:beer:
Sent from my GT-S5830 using Tapatalk
You're welcome
Sent from my GT-S5830 using XDA App
exactly how to download this file??
i tried saving it as a txt file but wont run because of a syntax error
Has anyone made a zip??
1) download file - v6supercharger_update8 put it in ur sd card leave the file extention as it is, dont change anything.
2) download script manager from market, start the app check "run as root" search for supercharger file click on it, check run as root and press "run"
3) follow instructions
p.s. for me best works option 5. balanced
Since Serajr 'one click' superuser mod only works on stock ROM, you have to use apktool to achieve the same on CM. Here's how you can do it on your phone. Only tested on official CM12 on Xperia Z1c, with a clean flash of /system, (unmodified), but probably can be applied elsewhere, maybe with some adjustment.
1. Follow steps 1 and 2 in this post, (except for the part about copying theme files) - http://forum.xda-developers.com/sony-xperia-z1-compact/general/tweak-theme-computer-t3279649 Note that the /system/framework/SemcGenericUxpRes/SemcGenericUx file is not present in CM ROM, so instead you would copy /system/framework/org.cyanogenmod.platform-res.apk. Also copy /system/framework/services.jar to the same directory.
2. Import the first 2 files as framework, according to step 3 in the link above, then tap on services.jar, and 'decompile all'. You will end up with a folder called 'services-src'.
3. Using a root browser and capable text editor, (I used Mixplorer and Jota+), follow instructions to mod PackageManagerService.smali file here - http://forum.xda-developers.com/showpost.php?p=62909773&postcount=4
Notes on this step: This file is over 60,000 lines long, which is why I specified 'capable' above. Many text editing programs won't handle it very well. Even if they can display it OK, you're going to need something that has a good search function, and copy/paste ability or it will be a big headache trying to do this on a phone. I found the first line to edit somewhere around line 8,700, by searching for 'compareSignatures'. The tutorial recommends using the word 'cannot' to help find the second one, but that didn't work for me. I used 'compareSignature' for that also, and just used the arrows to jump ahead through the search results until I found it.
4. Once the mods are made, save and exit. Then go back to apktool, and tap on 'services-src' folder and choose 'recompile'. You will end up with a file called 'services.apk'. All that is in the 'apk' is a classes.dex file. Use Mixplorer or RTB to extract the classes.dex from the apk. Then, with Mixplorer, go into your original services.jar, (that you copied into apktool folder), and delete the classes.dex file in there. Then go back to your new classes.dex, that you extracted from services.apk, and copy it into the services.jar. Using Mixplorer, you don't have to unzip/rezip or extract anything. Just long-press your new classes.dex, choose copy, then go into the jar just by tapping it, and then paste.
5. Move the new services.jar to /system/framework and reboot, (of course back up your original just in case).
The only way I know to test su mod is to attempt to use something that claims to require it, so I tested it with this - http://forum.xda-developers.com/cro...t-xperia-z5-systemui-particle-effect-t3206206 (the same thread as above). See screenshots for success verification.
very nice
Hi guys, i really love the 3Min battery Mod from @gharrington Tyvm bro. There is a lot of threads of how to make it yourself but i think most of them are not too detailed and cover everything. So since i use these instructions my self i thought of sharing them in case someone may benefit from it.
Preparation: :
1. Download the latest BatchApkTool .
2. Tools needed and how to extract System.img.
3. Recommended tools needed: Notepad ++, 7zip or Winrar
Instructions::
A.
1. Download the latest BatchApkTool unzip it and move the need files to their designated folders explained in the next step.
2. We need to get SystemUI folder and framework folder(Inside it Framework_res.apk and arm64 folder is needed) either from a System.img in that case use the guide in the preparation section on how to extract it or import them from your device using any file manager with root.
3. Put SystemUI folder in _priv-app folder, and framework folder in to _framework folder.
B.
Open BatchApkTool select your language make sure that all the settings match your rom, enter the following numbers for changes:
83. Smali(By default it's the latest "2.2 latest when writing this" so just check it in case)
84. Api level: ------------- select 23( for Marshmallow)
85. Apktool(By default it's the latest stable version "it was 2.2.0 when writing this" just make sure it is)
C.
1. Under Smali section select '01 Deodex all apks and jars'(In case your rom isn't deodexed yet if it is skip this step). If your rom is stock then your SystemUi.apk needs to be deodexed for this to work. (For Nexus 6p select Arm64 when asked)
2.Under Smali section select '02' to move the deodexed files to _Input_Apk folder.
*Make a backup of META-INF folder and AndroidManifest.xml after extracting them from the deodexed SystemUI.apk file using Winrar or 7zip.
3.Under ApkTool section select '1' to decompile Apks.
4. After that go to _Input_Apk folder and open the decompiled SystemUI folder, navigate to res/layout/system_icons.xml and open with notepad ++
5. Find:
Code:
android:layout_width="9.5dip"
and
Code:
android:layout_height="14.5dip"
Note: These values may not be an exact match, doesn't matter
Change both values to
Code:
android:layout_width="0.0dip"
and
Code:
android:layout_height="0.0dip"
6. Hit enter and directly underneath that line add the following:
Code:
<com.android.systemui.statusbar.policy.MinitBattery android:layout_width="wrap_content" android:layout_height="wrap_content" />
7. Save your work and close notepad ++
8. You now need to navigate to smali/com/android/systemui/statusbar/policy folder
** Download the latest Modfiles package(3MinitBatterySettings, MinitBatteryResources, 3 Smali files) needed from here or main website.
9. Copy the 3 smali files(files that end with .smali) into that policy folder.
10. Time to recompile the SystemUI.apk. Under ApkTool section select '3 recompile apks' in Batchapktool.
11. Once recompiling of SystemUI.apk is complete go to it in _OUT_APK you will find it there, open it with 7zip or Winrar and Don't Extract.
12. Delete META-INF folder and AndroidManifest.xml from newly recompiled SystemUI.apk and replace them with the original backup we took in step C.2.
13. Download the 3MinitBattery_Template1.zip(will remove original SystemUi.apk and replace it) or 3Minit_Battery_Template2.zip(Will not remove the original SystemUi.apk and will leave it for you to remove it manually in case you want to back it up).
14. Use one of the template zips then open it don't extract it just open it with Winrar or 7zip and drop 3MinitBatterySettings, MinitBatteryResources that we got in step C.8 to their respective folders in the zip file. Drop the newly recompiled SystemUI.apk to SystemUI folder if you choose template 1 and if you choose template 2 put it in priv-app folder.
P.s: If you choose template 2 after flashing it go to system/priv-app/SystemUI folder in your device and with any file manger with root delete SystemUi.apk after you back it up to where ever you choose then reboot the device.
15. After this make a backup of your rom and flash the zip.
16. To use 3minBattery app open it and choose your customization then reboot you should see the changes after that. Good luck! :good:
Credits go to:
- @gharrington for his Mod&Guide.
- bursoft for Batch ApkTool.
- @bdorr1105 for his Thread.
- https://androidmtk.com for the Guide&Tools.
Awesome tutorial.. I am looking to add it into a modified stock rom for a Samsung tablet that I have.. Do you know of any easy to follow tutorials for that? i am very new to this part of android..lol.. i am usually on the flashing end and now i am trying to help out for this tab because it has no custom roms until mine. Again, awesome tutorial.
glockman4519 said:
Awesome tutorial.. I am looking to add it into a modified stock rom for a Samsung tablet that I have.. Do you know of any easy to follow tutorials for that? i am very new to this part of android..lol.. i am usually on the flashing end and now i am trying to help out for this tab because it has no custom roms until mine. Again, awesome tutorial.
Click to expand...
Click to collapse
Ty much appreciated. It has been a while since I created this thread since then I have stopped using this mod because it's kind of a headache to do it for every update add to that since Google already enabled the battery percentage inside the battery there was no need any more for the mod. Anyway it's still great to be able to change from time to time. Regarding the tutorial I am sorry to say I haven't tried to create a custom ROM so I can't help you much with that but I am sure there are a lot of tutorials but will require some time to search. Good luck with your project.
Hi devs. Hi users. Hi testers!
I made two zips that might help you in some random point of time in future.
:laugh:
Both zips are flashable via recovery. Note that I have only tested working on aosp and cm-based roms. No custom skinned-oem ROM tested. However, it would be good if you provide info on what roms they work (or not)
This zip will remove the password/pin/pattern from your lock screen and reset it to swipe-to-unlock mode.
Not tested with smart lock modes.
Link : https://drive.google.com/file/d/0BxkDSj8MtdPQQTQ4a1VWQl8wME0/view?usp=drivesdk
This zip allows you to authenticate ADB from device, without booting the ROM first. Useful for devs who need ADB access even while booting the ROM for the first time.
Things you must have :
Code:
1) A pc which you have previously used to authenticate ADB access.
2) The zip from my link.
3) Some non-noob brain. Majorly this zip is for devs.
How to proceed :
Code:
1) First we need to obtain a file named "adbkeys.pub".
1a) For windows, go to the windows drive (usually c: drive) and browse to /users/(your-username-here)/.android/
1b) For most Linux distros : go to home directory, browse to /.android/
Generally .android will be hidden by default. In that case, just enable hidden files and folders from folder view options.
2) After you get the adbkeys.pub file, open it with a text editor. You will see a code there. Copy all of that code. Or use the shortcuts (ctrl+A) and then (ctrl+C).
3) Extract my zip. You will see a file in /data/misc of the extracted zip. Open that file with text editor. Erase any previous text in my file. Or use the shortcut (ctrl+A) and then (del). Paste the previously copied code into that file. Or use the shortcut (ctrl+V).
4) Save the file, rezip the extracted folders (which are data and meta-inf).
5) Flash that final zip file from recovery.
Link for ADB zip : https://drive.google.com/file/d/0BxkDSj8MtdPQdkZNeVp6U3ppR0k/view?usp=drivesdk
Please hit thanks button if it helps you