[Zips][Devs]Helpful zip files - Lenovo A7000 Guides, News, & Discussion

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

Related

[How To] Create a custom firmware for SmartQ Ten3 T15

These are the steps explaining you how to create a custom firmware based on the SmartQ firmware releases.
Warning : Creating a firmware and changing the files may cause your device to stop working, I won't be held responsible for any damage caused by this.
Creating a firmware file is actually very easy, not much is involved and nothing more than some basic software is required to create the files. If you don't understand the steps below than maybe you shouldn't fiddle around with this and wait for other members to create these.
There is nothing explained here about the flashing itself, as I will create a seperate How-To about that with pictures explaining the steps of the recovery.
Also there is nothing explained about kernel building itself, I have no clue how to do that and I'll leave that up to SmartQ.
Use the instructions below to make your own Firmware file with the software you want in it and make all configuration changes you want.
1. If you haven't already download the latest official firmware from SmartQ.
2. Extract the zip file. You then have 2 files, a Chinese .txt file with the release notes. And a file called "SmartQT15".
3. Rename the file "SmartQT15" to "SmartQT15.zip". Accept any warning about making the file useless, as in fact you are making it useful.
4. Extract the zip file. Then you end up with 4 new folders :
"boot" - This will be the files required for booting the OS. And possibly the recovery.
"data" - The user apps and data are in this folder.
"META-INF" - The certificate SmartQ used is in this folder and also the update script that manages the update process.
"system" - The actual Android OS.Stay clear of the boot folder, unless you are 100% sure about what you are doing, this may cause a bricked device without the possibility to reflash.
Add apps to the app subfolder in the data folder. Make sure if you do add apps to set the permissions in the update script file and make changes accordingly. The data-extra.tar file is extracted during the update process.
In the "META-INF\com\google\android" folder you can find the updater-script file, you can edit this with Notepad++. This file tells the CWM based recovery what to do and in this file the permissions are set for apps. Also is it required to edit this if you want to create a pre-rooted firmware.
Be carefull what to change in the system folder it can cause your OS not to boot, but it should be no problem to revert back to another build that did work previously as you didn't touch the boot folder and the recovery should work normally.
Once you have made all the changes you wanted to do. You follow the steps back.
5. zip the 4 folders backup using Winzip or WinRAR, whatever suits you best (You can use compression, I tried out Fast, Normal, Good compression in WinRAR and the firmware flashed without problems). Make sure you have the 4 folders in the "root" of your zip file. Use for filename "SmartQT15.zip"
6. Rename the "SmartQT15.zip" file to "SmartQT15" and accept any warning again about changing the extension of your file.
You have now created a flashable firmware file for the SmartQ Ten3 T15.
Copy his file to the root of an empty microSD card and follow my How-To about flashing Custom Firmwares.
Don't use the guide to flash original SmartQ firmwares as this won't work, by changing the firmware package you break the firmware signature and the recovery will check for this during flashing.
Signature checking can be disabled though in the recovery as I will explain in the new How-To.
If you have any questions feel free to post below and I'll do my best to answer them, all the above is based on my experience and from what I could find out on the Internet.

[TOOL] [WIN] APK Batch Installer

(Hope this is in the right section...)
So you've just downloaded a whole clump of APKs, but where to start in installing them?
Before, you had to copy them to the SD card, open the file manager, click one, choose Install, wait, click Done, scroll down a bit and click another.
But now, none of that is needed :victory:! Now all you have to do is use
APK BATCH INSTALLER​
Prerequisites
[-] Working ADB drivers for your phone
[-] USB debugging to be enabled
[-] Some APK files
Instructions
1. Download and extract the RAR file attached
2. Find the extracted files, and open -- APK BATCH INSTALLER --
3. Copy your APK files to 'apkfiles'. It's in the same folder as APK BATCH INSTALLER
4. Press any key.
5. Wait.
6. Now delete the 'apkfiles' folder (it'll be recreated next time)
This is less time-consuming than copy-to-memory-card-use-apk-installer-and-click-one-by-one.
Let me know what you think!

How do I Hydra script working in KT kernel?

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?

Return to Stock Rom D803 from Kit Kat Rom

Hoping I could get this finally resolved with a little bit of help. I'm running a Kit Kat Rom (Mahdi Rom) and trying to revert back to Stock 4.2.2.
I've tried countless scenarios and i keep getting 2 problems. The First is:
When im in R&D Test Tool and run Normal Upgrade test and "Upgrade Start". I cannot select a language to select it's blank.
After i proceed i get the following problem " i get stuck on 49% and it starts all over again" it wont pass that state
I've tried both of these methods and ran all files as Admin
How to flash ROM:
The Files are Hosted on my server for fast speeds!
1). Download all The Files Below!
1.2). Firmware Files are HERE!
1.3). Download R&D FlashTool & Other Files :Here
1.4).Download Drivers HERE!
Quote:
2. unzip
- LGMOBILEAX
- LG_KDZ_FW-Update_OfflineFix
3. install B2CAppSetup.exe in
LG_KDZ_FW-Update_OfflineFix\KDZ_FW_UPD_EN
4. go to C:\ProgramData\LGMOBILEAX
remove all files and folder
5. copy all files and folders from LGMOBILEAX that you unzip from step2 to C:\ProgramData\LGMOBILEAX
Method 1. work with vbs script
1. run Automatic Offline Procedure.vbs in \LG_KDZ_FW-Update_OfflineFix folder
2. now R&D test tools appear please select KDZ File
3. select Normal web upgrade test
4. Select Upgrade start
5. In Select Country & Langauage Please Select Country to Different Country (do not worry if does not has Langauage to select )
6. Process Flashing firmware start...Please waiting just moment.
7. for process 100% you is finishing flash return to stock firmware
Method 2. edit host file
thank @Hid3rs
1. Go to windows/system32/drivers/etc/ and open your hosts file! (open it with wordpad)
2 . Add this line at the end of the document:
127.0.0.1 csmg.lgmobile.com
3. Save hosts file
4. Install msxml (you can find it in the downloaded KDZ_FW_UPD_EN folder)
5. Start http in the shttps folder
6. Start Windows Enabler and turn it on (system tray!)
7. Start UpTestEX_mod2_marwin
8. Flash your .kdz as you normally would
Any Help would be greatly appreciated
itworks78 said:
Hoping I could get this finally resolved with a little bit of help. I'm running a Kit Kat Rom (Mahdi Rom) and trying to revert back to Stock 4.2.2.
I've tried countless scenarios and i keep getting 2 problems. The First is:
When im in R&D Test Tool and run Normal Upgrade test and "Upgrade Start". I cannot select a language to select it's blank.
After i proceed i get the following problem " i get stuck on 49% and it starts all over again" it wont pass that state
I've tried both of these methods and ran all files as Admin
How to flash ROM:
The Files are Hosted on my server for fast speeds!
1). Download all The Files Below!
1.2). Firmware Files are HERE!
1.3). Download R&D FlashTool & Other Files :Here
1.4).Download Drivers HERE!
Quote:
2. unzip
- LGMOBILEAX
- LG_KDZ_FW-Update_OfflineFix
3. install B2CAppSetup.exe in
LG_KDZ_FW-Update_OfflineFix\KDZ_FW_UPD_EN
4. go to C:\ProgramData\LGMOBILEAX
remove all files and folder
5. copy all files and folders from LGMOBILEAX that you unzip from step2 to C:\ProgramData\LGMOBILEAX
Method 1. work with vbs script
1. run Automatic Offline Procedure.vbs in \LG_KDZ_FW-Update_OfflineFix folder
2. now R&D test tools appear please select KDZ File
3. select Normal web upgrade test
4. Select Upgrade start
5. In Select Country & Langauage Please Select Country to Different Country (do not worry if does not has Langauage to select )
6. Process Flashing firmware start...Please waiting just moment.
7. for process 100% you is finishing flash return to stock firmware
Method 2. edit host file
thank @Hid3rs
1. Go to windows/system32/drivers/etc/ and open your hosts file! (open it with wordpad)
2 . Add this line at the end of the document:
127.0.0.1 csmg.lgmobile.com
3. Save hosts file
4. Install msxml (you can find it in the downloaded KDZ_FW_UPD_EN folder)
5. Start http in the shttps folder
6. Start Windows Enabler and turn it on (system tray!)
7. Start UpTestEX_mod2_marwin
8. Flash your .kdz as you normally would
Any Help would be greatly appreciated
Click to expand...
Click to collapse
This is a Development section not a Q&A section. There's another section for this.

[Guide] 3Min Battery Mod(Step By Step Instructions) using BatchApkTool

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.

Categories

Resources