[SCRIPT][windows][Noob Friendly] Decompile Ramdisk on windows - Android Software/Hacking General [Developers Only]

Hey Guys this First script ive ever wrote!
With this simple tool you can Decompile your kernel into the Ramdisk and the other stuff that makes a kernel this will then allow you to make changes to the ramdisk easily, swap ramdisks and stuff to create repacks to allow OC kernels for different android versions and edit bootclasspaths for porting sense ROMs and stuff..
For a quick tutorial you can simply do this:
- Drag and drop your boot.img onto the decompilekernel.bat and it should split into two parts, the ramdisk, and other stuff (not important really)
- After you've made your edits and stuff, double click the recompilekernel.bat and this will make your boot.img and name it new kernel (cant remember) and the edited ramdisk.
- Once you've done what you wish to do with, double click the makeclean.bat and then everything will be cleaned except the two kernels!
Download here
http://d-h.st/Q7W
Will upload with screenshots and stuff when this gets a tad more popular.. If not i see no reason to continue the updates Sorry

Reserved for screenies and tuts

Changelog
Code:
[B]11.09.2013[/B]
-More GUI
-Cleaned Code
-updated exe
[B]08.09.2013[/B]
-Cleaned up code
-Added more friendly GUI
-Removed exe's
-Fixed Win8 Freeze bug
[B]01.09.2013[/B]
-Added Cleanup
-Neatened Coding
-Added compression type
[B]12.08.2013[/B]
-Initial Write up

The idea is good, but in my opinion there is a downside: it's becoming pretty easy to change important stuff...
So please think before you change something. If you're not 100% sure what you are doing, better don't do it.
But otherwise, nice work

You can use Dsxida's Kitchen >>Go to Old Stuffs>Porting and You can decomiple Ramdiosk and kernel there
But still hanks for your handwork

Aman_Arora said:
You can use Dsxida's Kitchen >>Go to Old Stuffs>Porting and You can decomiple Ramdiosk and kernel there
But still hanks for your handwork
Click to expand...
Click to collapse
Ofcourse there are gonna be other ways and tools, but isnt this just the easiest? you have 1folder and 3bat's. Drag and drop to decompile and then double click to recompile, no need for Java paths or anything, straight to the point, small file, all in one directory and is fast, no need to learn how to use Dsxida's Kitchen or muck about with other files.
No BullS**t just straight tools.

penguin449 said:
Ofcourse there are gonna be other ways and tools, but isnt this just the easiest? you have 1folder and 3bat's. Drag and drop to decompile and then double click to recompile, no need for Java paths or anything, straight to the point, small file, all in one directory and is fast, no need to learn how to use Dsxida's Kitchen or muck about with other files.
No BullS**t just straight tools.
Click to expand...
Click to collapse
There is no tut.So i cant judge
{
"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"
}

penguin449 said:
Ofcourse there are gonna be other ways and tools, but isnt this just the easiest? you have 1folder and 3bat's. Drag and drop to decompile and then double click to recompile, no need for Java paths or anything, straight to the point, small file, all in one directory and is fast, no need to learn how to use Dsxida's Kitchen or muck about with other files.
No BullS**t just straight tools.
Click to expand...
Click to collapse
calm down :3 ....

Quick Tutorial up, just making the screenshots and stuff now

Thanks for this.
Can I use to this to change ramdisk from sense to aosp/cm based kernel?

harishl20 said:
Thanks for this.
Can I use to this to change ramdisk from sense to aosp/cm based kernel?
Click to expand...
Click to collapse
You most certainly can, although full functionality varies between devices!
New version updated! ​

I'm slightly confused. Why do we need another tool that does this. Kudos on your first script, and it can be a great learning opportunity, but I fail to see the merit in another tool to do the same exact thing as a kitchen.

does not work for me.

Related

i00 Kitchen 23/05/2011 - 0.0.1.34925

{
"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"
}
This is the start of my kitchen ...
Not much to it atm ... and I know this isn't really a kitchen atm... but it will be
At this stage it is basically just an editor for the updater-script with highlighting, some validation (can double click on errors to jump to the lines that they occur on), intellisense, and insight (as pictured).
Loads and saves from script files or directly into Android update zip's
Download it and let me know what you think...
The reason I started on the updater-script part is because it will be phasing this for use in other bits in my kitchen.
Run "i00Kitchen.exe" to fire up the kitchen (Android in a frying pan)
Download
http://i00productions.org/downloade...46975706C6F61642E636F6D2F48514733504E4A33374B -
Downloads
Let me know if there are any issues with script validation etc... and feel free to post your comments
Also atm you need to hit the build button in the toolbar to validate the script
Kris
i00 said:
This is the start of my kitchen ...
Not much to it atm ... and I know this isn't really a kitchen atm... but it will be
At this stage it is basically just an editor for the updater-script with highlighting, some validation, intellisense, and insight (as pictured).
Download it and let me know what you think...
The reason I started on the updater-script part is because it will be phasing this for use in other bits in my kitchen.
Run "i00Kitchen.exe" to fire up the kitchen (Android in a frying pan)
Download
http://i00productions.org/downloade...46975706C6F61642E636F6D2F48514733504E4A33374B -
Downloads
Kris
Click to expand...
Click to collapse
Im sure that u are tired of all these here and u choose another way...Many users are next to u and i hope to make the greatest kitchen...
Cheers mate,i ll try your work...
Edit: now some people are happy?maybe...
Sent from my Desire HD using XDA Premium App
I am not a developer so I dont know what to do with this. I will wait for your ROMs they are more of my interest
anyways great effort..
Good to see DHD kitchen here!
Sent from my Desire HD using XDA App
dannych said:
Good to see DHD kitchen here!
Sent from my Desire HD using XDA App
Click to expand...
Click to collapse
Yea ... well isn't atm...
Will prob have alot of built in modules for the DHD in the future tho ... when it gets to that stage.. but ppl will be able to write their own as-well for their phone
Also plan to release some future versions of my ROM in this kitchen ... so that ppl can see how to use it and choose what components to cook into it
..that is prob a while off tho
Kris
Thanks for your work..
As far as I understand, this is just the kitchen for DHD. It does not have the ingredients for cooking (System, Driver, Kernel, apk.....) and the authors recommend it only as a first step
Thread close to avoid possible confusion.
@OP...please PM me when kitchen is complete so I can re-open thread. Keep up the good work tough
Nice to see new developers creating development while developing developments
Cheers,
M_T_M
Your "I make riddles for fun" Mod
Thread is still open
BTW: Nice work, OP!

[ROM PART][DEV] Extended Power Menu

This is designed to be for ROM devs, not for regular users. if you don't understand how to use these, don't use them! and always have a backup handy.
{
"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 added Extended Power Menu in, but the way that it works requires a modification of some system files that only make sense to add into new roms.
android.policy.jar and framework.jar can just be placed in /system/framework/ and they should work just fine.
The part that needs to be edited is your framework-res.apk. I have attached a modified framework-res.apk that works, which is a modified version of Ayo's themed gingerclone framework. it's easiest for those who are just starting to build a rom to just theme from this framework instead of modifying it.
For those who want this and are already on a rom and don't want to change, you can push the 3 files to /system/framework/ and reboot, and it should work just fine, however it will have the gingerclone icons/theme.
For those who want to edit their own framework-res.apk so they don't have to retheme it (not recommended), follow the instructions here:
http://forum.xda-developers.com/showthread.php?t=811532
it's probably easier to pull the changed images from your framework and push them into this framework, rather than trying to add the changes into your framework.
Credit to untermensch for the guide I followed, and credit to dr. honk, as I used his bionix frost theme as a model for the changes.
it will take a bit to boot after you push the files, as it has to rebuild the dalvik cache, so just wait for it, and adb logcat to see if it has problems.
Download: DOWNLOAD
Work's great bro , Good job .
sduvick said:
This is designed to be for ROM devs, not for regular users. if you don't understand how to use these, don't use them! and always have a backup handy.
I have added Extended Power Menu in, but the way that it works requires a modification of some system files that only make sense to add into new roms.
android.policy.jar and framework.jar can just be placed in /system/framework/ and they should work just fine.
The part that needs to be edited is your framework-res.apk. I have attached a modified framework-res.apk that works, which is a modified version of Ayo's themed gingerclone framework. it's easiest for those who are just starting to build a rom to just theme from this framework instead of modifying it.
For those who want this and are already on a rom and don't want to change, you can push the 3 files to /system/framework/ and reboot, and it should work just fine, however it will have the gingerclone icons/theme.
For those who want to edit their own framework-res.apk so they don't have to retheme it (not recommended), follow the instructions here:
http://forum.xda-developers.com/showthread.php?t=811532
it's probably easier to pull the changed images from your framework and push them into this framework, rather than trying to add the changes into your framework.
Credit to untermensch for the guide I followed, and credit to dr. honk, as I used his bionix frost theme as a model for the changes.
it will take a bit to boot after you push the files, as it has to rebuild the dalvik cache, so just wait for it, and adb logcat to see if it has problems.
Download: DOWNLOAD
Click to expand...
Click to collapse
Well done sduvick
Sent from my SGH-T839 using XDA App
Message me when you're back on Gtalk tomorrow ayo, I want to work on AOSP Lockscreen but don't know where to look.
do i flash this through cwm
For the love of God please read the OP. This is meant to be integrated into ROMs, not flashed.
sduvick said:
For the love of God please read the OP. This is meant to be integrated into ROMs, not flashed.
Click to expand...
Click to collapse
sorry i was just confused my bad!
Just saying, it's the first line, and it's in red. if you want this, I have it in a flashable theme in the themes and apps section.
sduvick said:
Just saying, it's the first line, and it's in red. if you want this, I have it in a flashable theme in the themes and apps section.
Click to expand...
Click to collapse
i gonna flash that theme later thanks
i really want to do this, but obviously multiupload is down. could someone possibly attach the files and email or text them to me? just pm for my gmail addy or number.
Curious about adding in an option to take a screen shot from that menu? Same as in the cyanogenmod series. Thanks for releasing this bad boy though

Padfone 2 All-in-one script

This script got featured on XDA-Developer Tv!
This is currently in an early beta stage, more functions will be added in the future
Busybox is needed for version 0.3 and later!
You can get Busybox Here
I made an "All-in-one script" for the Padfone 2 which can do the following things for you
Go to the Padfone 2 Index page on XDA
Go to the Padfone club forum
Flash custom battery icons without you having to boot in to recovery and typing a bunch of commands yourself
Install a custom recovery
Apply root
Backup the framework-res.apk so you can restore it if you are not satisfied with the battery mod you installed
Link to my pre-rooted, deodexed, zipaligned and partially debloated ROM
Link to Animation Framework MOD by eng-stk
To start the script double click the "All-in-one-script"
Feel free to suggest features you would like to see added in the future, and ofcourse if you have any questions feel free to ask them!
Version 0.3: http://www.4shared.com/zip/iJOtVJKh/V03_padfone2_all-in-one_script.html
Version 0.2: http://www.4shared.com/zip/vDYucW4m/V02_padfone2_all-in-one_script.html
Version 0.1: http://www.4shared.com/zip/cG1JX0Sy/v01_padfone2_all-in-one_script.html
Thank you to eraste for making this guide: http://forum.xda-developers.com/showthread.php?t=2173483 without it I would not have been able to make this
Changelog
HTML:
2013-04-08 0.3 Changed the way framework-res.apk is pushed, no longer boots into recovery to push it
2013-03-30 0.2 Added automatic root
2013-03-30 0.1 Original version
Lidenburg you are crack XD
I test now
Thanks for your great work
Regards
I'm not sure if being crack is good or not but thanks I guess? Haha
Lidenburg said:
I'm not sure if being crack is good or not but thanks I guess? Haha
Click to expand...
Click to collapse
Just try MOD Animation Framework v5.1 and it works
a question? Battery Mod is only yours or have you got more?
PD: In my country Crack = Outstanding
You can take any battery mod and it will work, just download the framework-res.apk they provided and put it in the framework folder
Lidenburg said:
You can take any battery mod and it will work, just download the framework-res.apk they provided and put it in the framework folder
Click to expand...
Click to collapse
Framework Mod:
{
"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"
}
Download framwrok mod
1. Put framewrok mod it in the framework folder!
2. Open All-in-one script, choose 6. Backup framework original!
3. Choose step 3.
Greatings
Not sure what went wrong?
Thanks for the hard work and great tool. Not sure what is wrong with what I did, might need some help here the screenshot is the attachment
P.S. No donation or buy me a beer? c'mon .. you deserve it more than any other dev
droidace said:
Thanks for the hard work and great tool. Not sure what is wrong with what I did, might need some help here the screenshot is the attachment
P.S. No donation or buy me a beer? c'mon .. you deserve it more than any other dev
Click to expand...
Click to collapse
Try the new updated version (0.3), hopefully it will solve your problem
Just make sure you have Busybox installed first, if not you can go ahead and install it from this app: https://play.google.com/store/apps/...t=W251bGwsMSwxLDEsInN0ZXJpY3Nvbi5idXN5Ym94Il0.
Lidenburg said:
Thank you to eraste for making this guide: http://forum.xda-developers.com/showthread.php?t=2173483 without it I would not have been able to make this
Click to expand...
Click to collapse
Above is why we do the things we do! Your Welcome, OP thanked. Glad I could help teach and bring this awesome tool to you guys!

[PLUGIN][GEANY] Edify Syntax Highlighter

Hi,
Yesterday, an article featured the XDA Portal, talking about a new "code editor" for the Edify language. I wasn't much interested in it, because:
1. Windows, duh!
2. Porting ROMs (which I seldom do, though), or editing updater script, I use Linux.
3. Why a new editor, when language support can be added easily to *most* of the editors? This limits user functionality, the way user had been interacting with software, and would be missing out high on features
So, I decided to add edify syntax highlighting support to the popular text editor, Geany (yes, I don't use Gedit, and hate it. Period.).
Here's how you'd go about doing this one
All changes are perfectly revertible, so, you won't have to risk reinstalling Geany :fingers-crossed:
First, copy your filetype_extensions.conf to your home folder using the following command:
Code:
cp /usr/share/geany/filetype_extensions.conf ~/.config/geany/
Open it up, and add the following line, (below "Docbook=*.docbook;" preferably, to maintain alphabetical order):
Code:
Edify=*updater-script*;
Download the following file: https://raw.github.com/thewisenerd/edify_geany/master/filedefs/filetypes.Edify.conf
And place it within your ~/.config/geany/filedefs/ folder.
Hopefully, those are all the changes that need to be done
Close Geany, and open up any updater-script file, and hopefully, you should have syntax highlighting :laugh:
XDA:DevDB Information
[PLUGIN][GEANY] Edify Syntax Highlighter, a Tool/Utility for the Android General
Contributors
thewisenerd
Version Information
Status: Testing
Created 2014-01-12
Last Updated 2014-05-01
Reserved
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"
}
Reserved
Credits:
Referenced changes from: http://go-lang.cat-v.org/text-editors/geany/
Got edify keywords from: http://forum.xda-developers.com/wiki/Edify_script_language
P.S. This can be used with windows too. Voila! the power of Geany (and its open souce)
Works Great! Thanks!
Nice Work Sir!... :good:
Appreciate the hard work!
Thanks guys!
This made my day :')
any chance of a notepad++ plugin? would be sweet!
good job! and @henrylife use this for your syntax errors!
ricky310711 said:
any chance of a notepad++ plugin? would be sweet!
good job! and @henrylife use this for your syntax errors!
Click to expand...
Click to collapse
I don't really know. I'd have to get Windows installed first, then, get to research on Notepad++
thewisenerd said:
I don't really know. I'd have to get Windows installed first, then, get to research on Notepad++
Click to expand...
Click to collapse
virtual box
Bro .. you can also use Notepad ++ on windows to handle such scripts ...
Hi,
I just wanted to let you know the link for the Edify.config:
https://raw.github.com/vineethraj49/...pes.Edify.conf
seems to be dead. If you use:
https://github.com/v-superuser/edify_geany
and download as a .zip. Unzip and open the "edify_geany-master" folder.
Copy the "filetype_extensions.conf" and replace the file with the same name in the ".config/geany/" .
Next go back into the "edify_geany-master" folder and go into the "filedefs". Copy the "filetypes.Edify.conf" and pate it into ".config/geany/filedefs".
Open up Geany and go to "Tools". Hit the "Reload Configuration"
Now you are ready to go.
Freewaymad said:
Hi,
I just wanted to let you know the link for the Edify.config:
https://raw.github.com/vineethraj49/...pes.Edify.conf
seems to be dead. If you use:
https://github.com/v-superuser/edify_geany
and download as a .zip. Unzip and open the "edify_geany-master" folder.
Copy the "filetype_extensions.conf" and replace the file with the same name in the ".config/geany/" .
Next go back into the "edify_geany-master" folder and go into the "filedefs". Copy the "filetypes.Edify.conf" and pate it into ".config/geany/filedefs".
Open up Geany and go to "Tools". Hit the "Reload Configuration"
Now you are ready to go.
Click to expand...
Click to collapse
fixed that :cyclops:
thewisenerd said:
fixed that :cyclops:
Click to expand...
Click to collapse
Cool...now you have two links; yours and the one I provided. Your setup works and my variant. Nice tutorial.

Create CUSTOM Rom for Beginners.. Easiest Method(No programming needed)

Are you trying to create you own custom ROM?? Well today i will share with you,the easiest way to create your own Custom Rom
Requirements
[*]ROM for your device provided by your manufacturer. You can download it from their website.
[*]Notepad ++
[*]7zip
Lets get started ..
First of all download and extract the ROM files.
{
"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"
}
Next, go to system>app. There you can add or remove the apk files you want. Do not delete apk required for the working of your system.
After doing that go to system>build.prop. Then edit it with Notepad++.
Then search for "ro.modversion=" and type the name for your rom and save the file. See image for details.
Next go to meteinf/com/google/android/updater-script,Only if you want to add your logo ie) in the form of keyboard symbols.Edit it with Notepad++
Then starting from the first line type ui_print(" "); ,and inside the " " symbol type the keyboard symbol that you want.
Now add this folder to zip ie) compress the files using 7zip.
Now if you want to change the default wallpaper with your wallpaper
Double click the zip file you created (Do not Extract)
Go to system >framework>framework-res.apk>res>drawable-nodpi>default_wallpaper.jpg (this will be the current wallpaer)
Rename your wallpaer to "default_wallpaper" and then drag it into the zip and replace it with the default one.
Then click back icon untill a message is displayed for confirming the change you made ,and click yes.:good:
Now the final step
Put this zip file in your device and flash your device with CWM or TWPR.:good::good::good:
You are all done..:good::good:
If this helped you,please like my post and do donate:good:
Post created by
thanks for the info
lonely_driver said:
thanks for the info
Click to expand...
Click to collapse
You are always welcome :good:
Solid thanks
kash55 said:
:good:
Click to expand...
Click to collapse
Very noob friendly. I like it.
nashj1975 said:
Very noob friendly. I like it.
Click to expand...
Click to collapse
Tanks..
What about Samsung ROMs? I think the procedure is a bit different with those tar.md5 firmwares. Can I simply repack the ROM as tar.md5 and flash it? Or is there something else?
Sent from my SM-G920F
is there a video tutorial of this??
Thanks a bunch, very nice tutorial indeed. A bit basic which is wonderful for those who just entered the scripting world in android.
True
Thanks for the information.
I will try this guide out
tra_dax
Is that really so easy ????
I mean, the developers (for example cyanogenmod) needs "a lot of time" to bring out a stable Version
Thanks ?
Thanks a lot, again thank you very much
thanks man, i'm trying now
Inviato dal mio SM-G900F utilizzando Tapatalk
puzzle29 said:
Is that really so easy ????
I mean, the developers (for example cyanogenmod) needs "a lot of time" to bring out a stable Version
Thanks
Click to expand...
Click to collapse
Actually we are only adding new apps and our emblem in the rar file.. we are not making any changes in the codes as they are stock rom... if you want to make changes to the code you must have a deep knowledge about the programming
adithyan25 said:
Actually we are only adding new apps and our emblem in the rar file.. we are not making any changes in the codes as they are stock rom... if you want to make changes to the code you must have a deep knowledge about the programming
Click to expand...
Click to collapse
How is the best way to learn programming to get this knowledge ?
First of all..you must understand how the codes work..then you have to run the same to male sire that tje chances of errors are less... And them compile it...
puzzle29 said:
How is the best way to learn programming to get this knowledge ?
Click to expand...
Click to collapse
There are many tutorials available in youtube...first you must learn basics from the videos and then try to understand the coding
All the best
Bookmarked this. I will try it for sure. Thank you very much for the very simple and friendly guide.

Categories

Resources