[Guide][Tool] How to create flashable zip (noob proof - the easiest way) - Miscellaneous Android Development

Hello everyone..
In my tutorial here, I want to show newbies how to create their own flashable zip file to flash by recovery mode (CWM)...
Now installing your mods become easier and faster
Needed tools for newbies:
1) Download your desired template:
Template - for auto-perm-fix kernel support.zip
Template - for non auto-perm-fix kernel.zip
more details is down there!!
2) WinRAR or 7-zip program installed in your computer.
3) Auto-ZIP-Signer patch in case your kernel needs it
4) Cup of hot tea!!!
Which template should I use?
It depends on kernel you are using whether it supports auto permission fix or not (most of custom kernels support this feature)..
To know if you are using kernel with auto permission fix or not, boot into recovery mode and check if you have fix permissions option or not (usually under advance). If your kernel has fix permissions option, then use Template - for auto-perm-fix kernel support.zip otherwise, use Template - for non auto-perm-fix kernel.zip.
What will happen if you use wrong template?
If your kernel supports auto permission fix feature and you used Template - for non auto-perm-fix kernel.zip, nothing will go wrong (so don't worry!!) but the flashing process will take unnecessary longer time for fixing permissions!!.
If your kernel doesn't support auto permission fix feature and you used Template - for auto-perm-fix kernel support.zip, then you might need to fix permissions of the flashed mod manually or to add extra permissions line in updater-script (not advised for newbies)
How is it working?
Open the template zip file by WinRAR or 7-zip (don't extract!! Just open)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
​
Now what you need to do is just to drag & drop your modded file into its corresponding destination inside the zip file.
​
Copy your finished zip file to your external SD card.
​
Boot into recovery mode and flash your file... Now you can treat yourself the cup of tea.. you deserve it
Extra step:
If you are using stock kernel that needs varification key from flashable zip file, then you need to use Auto-ZIP-Signer to sign your finished zip file.
First copy your finished zip file from previous step and open ZIP Auto-Signer folder (download from above).
Now paste your zip file in "put-zip-to-sign-here" folder and run the script patch.
Now go to "Finished" folder and copy "Signed.zip" into your external SD card.
Boot into recovery mode and flash your signed file
Simple and noob proof tutorial, I hope it will help you all new xda members

Related

can not deodexing Rom with xUltima & Android Kitchen, v0.223

Hey together.
(at first: I do not want use a finished custom rom. I am happy as my Rome is now running)
I Would like to deodex my JB Stock Rom to coustomize my self with Mods and other but for almost everything i used a deodexed Rom. I tried xUltima and the Android Kitchen, v0.223 by dsixda and both doesn't work.
On the Android Kitchen, v0.223 by dsixda i can't find my TWRP Backup and i don't know how i convert it or somthig else.
On xUltima i become instantly an Error. When i delete the odex file which caused the error i become instantly a another error.
Here is a Picture from xUltima:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
i have no idee how i fix this.
no one an idea?
Make a imitation ROM:
Create a dump.
Download Rhythm Manager's version of file manager.
Now go to / (self explanatory) and copy system.
It'll take a while, but copy it to sdcard.
Now copy the file onto computer. Find a ROM and copy the META_INF.
Make a empty boot.img.
Put the boot.img, system, and meta_inf into a zip folder. THis would be your ROM.
You can take it from there.
mr_verystock said:
Make a imitation ROM:
Create a dump.
Download Rhythm Manager's version of file manager.
Now go to / (self explanatory) and copy system.
It'll take a while, but copy it to sdcard.
Now copy the file onto computer. Find a ROM and copy the META_INF.
Make a empty boot.img.
Put the boot.img, system, and meta_inf into a zip folder. THis would be your ROM.
You can take it from there.
Click to expand...
Click to collapse
okay sounds quite simple but i have some questsions. it does not matter whitch META_INF i use? And how i make a empty boot.img? Can i put the Deodexed file back in the Data und Jar Folder or must i flash it?
Specimann said:
okay sounds quite simple but i have some questsions. 1) it does not matter whitch META_INF i use? 2) And how i make a empty boot.img? Can i put the Deodexed file back in the Data und Jar Folder or must i flash it?
Click to expand...
Click to collapse
1) Yes. Any ROM is okay. Just get it from an actual ROM.
2) Step 1: unhide extension by going explorer.exe --> organize --> Folder and search options --> view --> uncheck Hide extension ... --> click apply to folders--> Apply. Now simply make a .txt file on desktop and rename the extension as img, and the file name make it boot.

[TUTORIAL] [NO PC] [GUIDE] CONVERT Amrv7 games TO Amrv6 WITHOUT PC!! (full guide)

Today i am going to TEACH you how to convert ARMv7 games to ARMv6 without using pc, Its easy and no special ability requires it means even a noob can do this thing. so lets get started.
:thumbup:
What you need to have is........
1) ROOT Explorer(To OPEN APK FILE)
2) LIB Files of Unity Engines
3) Zipsigner (play store)
Download Links:
""""""""""""""""""""""
Download A TO Z LIB Files from hear
http://www1.datafilehost.com/d/20eebbea
Download ZIPSigner from this form PLAYSTORE !! (free)
============================
Instructions:
1) Using rootexplorer extract the APK File
Go to extracted apk folder and head to Assets>Bin>Data> and Open "MAINDATA" file in text viewer.
2) Now Check the Version of Unit
3) Now you have the info about the Unity Engine Version, in our case it is 3.5.5f3 so now you have to extract 3.5.5f3 libs which you have downloaded from above links. (u can see unity engine version on top after opening maindata in textviewer.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
4) Now using Rootexplorer Delete LIB Folder from extracted APK folder(while using rootexplorer u will find apk folder in speedsoftware>extracted) and Place ARMv6 lib folder now head to Assets>Libs and delete ARMv7 folder and place the armeabi-vfp. now we are almost done.
5) Now using rootexplorer zip the
APK folder. (Let suppose xyz.zip)
6) now open Zipsigner press input locate the zip (xyz.zip) folder u have created with amrv6 libs.
7) now go to signed output file
And give address
/sdcard/xyz.apk
(u can use ur ownname.apk name in place of xyz.apk)
8) Now select auto-testkey in KEY.
& SIGN UR APK
It will take few minutes an all done!!
And ur signed apk will place in ur sdcard (not any folder).
Install it and urEnjoy with chainfire 3D!! :thumbup:
NOTE: If you find Unity Engine
Version 4.0 or above it means its dead end :banghead: and
those games can not be converted
Get ready 4a war!!
Don't forgot to press thanks :thumbup:
Bye!!

[TUTORIAL] [NO PC] [GUIDE] CONVERT Amrv7 games TO Amrv6 WITHOUT PC!! (full guide)

Today i am going to TEACH you how to convert ARMv7 games to ARMv6 without using pc, Its easy and no special ability requires it means even a noob can do this thing. so lets get started.
:thumbup:
What you need to have is........
1) ROOT Explorer(To OPEN APK FILE)
2) LIB Files of Unity Engines
3) Zipsigner (play store)
Download Links:
""""""""""""""""""""""
Download A TO Z LIB Files from hear
http://www1.datafilehost.com/d/20eebbea
Download ZIPSigner from this form PLAYSTORE !! (free)
============================
Instructions:
1) Using rootexplorer extract the APK File
Go to extracted apk folder and head to Assets>Bin>Data> and Open "MAINDATA" file in text viewer.
2) Now Check the Version of Unit
3) Now you have the info about the Unity Engine Version, in our case it is 3.5.5f3 so now you have to extract 3.5.5f3 libs which you have downloaded from above links. (u can see unity engine version on top after opening maindata in textviewer.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
4) Now using Rootexplorer Delete LIB Folder from extracted APK folder(while using rootexplorer u will find apk folder in speedsoftware>extracted) and Place ARMv6 lib folder now head to Assets>Libs and delete ARMv7 folder and place the armeabi-vfp. now we are almost done.
5) Now using rootexplorer zip the
APK folder. (Let suppose xyz.zip)
6) now open Zipsigner press input locate the zip (xyz.zip) folder u have created with amrv6 libs.
7) now go to signed output file
And give address
/sdcard/xyz.apk
(u can use ur ownname.apk name in place of xyz.apk)
8) Now select auto-testkey in KEY.
& SIGN UR APK
It will take few minutes an all done!!
And ur signed apk will place in ur sdcard (not any folder).
Install it and urEnjoy with chainfire 3D!! :thumbup:
NOTE: If you find Unity Engine
Version 4.0 or above it means its dead end and
those games can not be converted
Get ready 4a war!!
Don't forgot to press thanks
Bye!!
I would love to know how to open the rest of those files in there the ones that look like this: 0c23d38d2f2b445afa92ff0cf9388a76 there are usually dozens of them obviously on a PC but anyone know how to open them? this is the closest I found while searching and this thread is all I could find :?

[Guide] [Fix] Some Guides To Fix Apktool For Android

hello friends
I have seen too many users got problem using apktool for android.
I also got problem...
But i studied the problem n just tried to fix it & guess what..??
My thinking fixed that problem
Now i want to help you all
You want to download apktool & its data files ( dont ask me for that )
Also you need a rooted phone to use rootex & apktool)
Guide 1
Now the steps:-
follow carefully......
1) Download apktool & data files ( i have the apktool 4.1 armel version dont know it will work for another version
2) Extract it to Sdcard/*Here*
3) Go to sdcard/Apktool & install apktool4.1.apk
4) Open it Give root access..
5) Now in aptool go to Sdcard/Apktool & select any file( tap&hold for 2 seconds) & there will be a option of "Set as apktool data folder"
6) now use rootex or similar file manager & go to system/framework/ &copy framework_res.apk to ur sdcard
7) Tap on framework_res.apk scroll down & select "IMPORT AS FRAMEWORK"
8) Now copy framework-res.apk to your sdcard (via rootex) tap on framework_res.apk & select 1st option decompile all ( If you get any error in decompiling then follow next step)
9) Open rootex go to data/data/per.pqy.apktool/ now delete mydata file
10) Now open rootex & go to sdcard/apktool/ & use multi select option n select all files & folders & only unselect "apktool4.1.apk" now copy all that files to "mydata" folder (make new folder anywhere in sdcard )
11) After completing step 10 then copy/move "mydata" folder to data/data/per.pqy.apktool/*Here* via rootex...
12) you have completed all steps now no more steps just open apktool n modify your Device system files or any apk/jar
*+*+REMEMBER+*+*
This Errors was Fixed by me no one helped me to fix this problem or i not copyed someons idea (its my fixing style)
So give all credits to me....,,,,
Guide 2
This guide is only if you have this errors
Screenshot
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
1)Install apktool following guide1 (only 7 steps)
2)Then download this https://www.dropbox.com/s/p88gb8ze62peomp/Apktool Error Fix.zip
3)Now flash that zip via cwm recovery
4)Now this error is fixed
Now enjoy apktool
happy moding
Again this errors was Fixed by me
Credits:
Only Me
Note
The guide is for Galaxy pocket & Similar device
Try on yours & give feedback
Sent from my GT-S5300 using Tapatalk 2

[THEME][TWRP] Change TWRP Splash Screen

Weak Intro :
Well, I find few people who're curious to change their TWRP splash screen and even the themes. Don't know how to do this weird stuff? You're at the right place! . I know few of them might be bored with staring at the same splash screen for a long time. How about trying something crazy? :silly:.
Prerequisites:
1. Knowledge of how to repack/unpack img. If you don't know how to do this, Just follow this thread by @osm0sis: https://forum.xda-developers.com/showthread.php?t=2073775
2. A TWRP recovery image for our device which can be found here: https://eu.dl.twrp.me/x3/
3. A splash screen image(format in PNG) of your choice.
4. Notepad++ for XML editing. You can get it from here: https://notepad-plus-plus.org/download/v7.5.2.html
5. PATIENCE! :silly:
Procedure:
Ok now that you're happy with the prerequisites, Let's start being crazy!
I assume that you know how to use the Android Image Kitchen by @osm0sis and thereby I'll proceed without any AIK instructions.
Let's start!
1. Extract the TWRP image you wish using the AIK. To do this, Just drag the TWRP image file onto unpackimg.bat file
2. Now you'll find 2 folders.
-> ramdisk
-> spllit_img
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
3. Leave the "split_img" folder aside.(We don't need anything to do with it) and open the "ramdisk" folder.
4. Open the "twres" folder and then right-click on the "splash.xml" file. Then choose Edit with Notepadd++ in the context menu.
5. Scroll down till you find the page XML tag.
6. Now, delete the lines as shown below.
7. Add this line shown below
8. All done! Now you need to get your PNG image of resolution 1920 x 1080(height x width) of your choice.
9. Go to this directory: ramdisk/twres/images. You'll find a file "splashlogo.png". Just Overwrite it with your PNG image and you're done!
10. Finally, you need to pack the modified stuff to make TWRP image. To do this, head onto the AIK folder and then click repackimg.bat. You'll find a a new file in the same folder called "image-new.img". This file is your modified TWRP img. Just flash it and you're good to go.
Credits
1. @osm0sis, for his awesome Android Image Kitchen
2. TWRP, for their trending recovery!

Categories

Resources