{
"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"
}
vlt96 said:
You shouldn't try it out when you have free time, it will give you free time
Click to expand...
Click to collapse
Features
FEATURES LISTImage
Install Image Tools: Install ImageMagick and/or PIL to use my Image Tools
Convert Image: Convert any image in given directory to given extension
Resize: Batch-resizes files found in given directory with given percent or given DPIs, or resizes an APK with given DPIs
Batch Theme: Applies a theme overlay (caclulated with luminosity values) to all images found in a given directory (e.g. THEME!)
Batch Rename: Batch renames all files found in a directory with a given pattern, and renames them to given out (for porting Themes)
CopyFrom: Copies images present in directory 1 FROM directory 2 (if present in dir 2) - for themers!
OptimizeImage: Optimizes Image, so that size will be smaller
Development
Prepare Building: Installs necessary build tools
Build from Source: Builds one from many sources and even choose a device (if available)
Add Governor: Add a governor to a kernel
Install Android SDK
Install Java JDK
APK
(De)Compile
Extract/Repackage APK
Sign APK with different keys
Zipalign APK
Install APK
Optimize Images INSIDE APK
Advanced
(Bak)Smali: Lets you edit the code inside classes.dex and compile back
ODEX: ODEX a ROM
DE-ODEX: DE-ODEX a ROM
Compile to an Exe: lets you compile Python scripts to an executable for your OS
Android
Configure ADB: Connect to devices over IP, enable/disable Network ADB on connected device
Logcat
Build.Prop: Pulls Build.prop from device and let you edit it
Backup / Restore: full backup of (all optional) apps, system apps, data, shared storage
ADB File Explorer
StudioAndroid options
Clean workspace and go back to before you used this tool the first time!
Debug: Includes printing the used commands before executing and testing the latest changes
Check the log in a scrollable window with selectable text
Report a bug: Opens a reply on this XDA thread with the content of your log in it
Changelog: See what's changed!
Update: Update StudioAndroid and choose between Stable en Nightly
Restart
About: shows information about the developer, contact info, profile image, twitter etc
Click to expand...
Click to collapse
SCALED PREVIEW: (Click to see full preview)
Click to expand...
Click to collapse
Instructions
Download the latest update OR one of the stable updates
Extract in your home directory
double-click StudioUnix
Click to expand...
Click to collapse
Preparation:
Download one of the stable updates
Extract in a path without spaces (e.g. NOT in "Documents and Settings")
Double-click StudioWindows.exe
Click to expand...
Click to collapse
OR
Download and run Python
Download and run PYGTK - 32-bits
Download the latest update OR one of the stable updates
Extract in a path without spaces (e.g. NOT in "Documents and Settings")
Right-click Studio.py > Open with > Python
Click to expand...
Click to collapse
Preparation:
install python2.7: 64-bit/32-bit x86-64/i386 / 32-bit i386/PPC
Install this (GTK+ and PyGTK)
Download THIS
Run StudioUnix
Click to expand...
Click to collapse
Click to expand...
Click to collapse
[Cross-Platform] StudioAndroid [GUI]
vlt96 said:
You shouldn't try it out when you have free time, it will give you free time
Click to expand...
Click to collapse
Translate?
LINUX
First navigate to StudioAndroid directory.
Then
xgettext -k_ -kN_ -o messages.pot Studio.py
msginit
Click to expand...
Click to collapse
A new file will be created (***.po)
Open that file with PoEdit and translate the right-column
When finished, save it and rename ***.po to Studio.po and put it in StudioAndroid/lang/yourlang_YOURLANG/LC_MESSAGES
afterwards, compile it:
msgfmt Studio.po -o yourlang_YOURLANG/LC_MESSAGES/Studio.mo
Click to expand...
Click to collapse
When I update it, merge the changes using:
xgettext -k_ -kN_ -o messages.pot Studio.py
msgmerge -U Studio.po messages.pot
Click to expand...
Click to collapse
and translate the new strings in PoEdit
The file I need is yourlang_YOURLANG/LC_MESSAGES/Studio.mo, but it's handy for you and me if you also include yourlang_YOURLANG/LC_MESSAGES/Studio.po
WINDOWS
Open lang/LanguageFiles/en_US.po in a text editor
msgid indicates the original string
msgstr indicates the string you need to translate.
So translate the msgstr strings.
Afterwards, send me en_US.po renamed to yourlanguage_YOURCOUNTRY.po
Thanks!
If you cant upload files anywhere, then past the content of SA.po in Pastebin and send me the link
THanks in advance
FULL CREDITS WILL BE GIVEN
Click to expand...
Click to collapse
Info
All info is now available at Github:
Git Source
Changelog
Bugs & Feature requests
BitLy Stats
Click to expand...
Click to collapse
Credits
Ablankzin : Contributor to StudioAndroid
Popdog123: He took the MAC side of the project
vlt96: Making a game to play while waiting
KeitlG: Compiled for windows!!!
KeitlG: Helped me testing the long-awaited ReCompile Fix!
Rookie407 : He compiled this tool for windows! AWESOME! You don't have to install Python and GTK anymore!!!
Lithid-CM : He was my messias on Python in general and GTK specific. Go and give him a "THANKS!"
KeitG: Gettext translation
WilliamCharles & Lycan: Windows testers - AWESOME, THANK THE GUYS!!
Click to expand...
Click to collapse
Hey, I looked through your post, but I don't see what this tool is supposed to do. could you maybe write a description in the op?
Sent from my SGH-I777 using Tapatalk
Waddle said:
Hey, I looked through your post, but I don't see what this tool is supposed to do. could you maybe write a description in the op?
Sent from my SGH-I777 using Tapatalk
Click to expand...
Click to collapse
Hmmn I'll make a screenshot
EDIT: OK NOW?
Greets!
Incoming:
Batch APK de- recompile
Change Animation speed
Text color
IMPORTANT: Porting APK MULTI-TOOL - Wich is for Windows only ATM.
I'll include it in my tool and ask the dev to pay $10 for it (joke ofcourse)
IMPORTANT: FINISHING the "build from source option
mDroidd said:
Incoming:
Batch APK de- recompile
Change Animation speed
Text color
IMPORTANT: Porting APK MULTI-TOOL - Wich is for Windows only ATM.
I'll include it in my tool and ask the dev to pay $10 for it (joke ofcourse)
IMPORTANT: FINISHING the "build from source option
Click to expand...
Click to collapse
So is this for windows or linux?
Sent From My Mecha
nativi said:
So is this for windows or linux?
Sent From My Mecha
Click to expand...
Click to collapse
This tool will stay for linux.
APK MULTI-TOOL is a great tool, but for windows only, so I am gonna port it
APK MUlti Tool:
888 Lines in ONLY the Start script.
But I AM porting it.
Updated this tool first, V1C2A
Changelog V1C2 & V1C1
#v1c1:
[^]Added copyright
[^]Updated Animation
[^]Added second section; looks better
[^]OOPS! I added CopieFrom under the option "c" wich is already changelog!
[^]Improved other than home directory - was not working
[^]ICS Blue characters <3
[^]Added BUILD FROM SOURCE option
[^]Custom animation speed
[>]To try if this works, please go into terminal and type:
cat --help
if it tells you the manual for "cat", then you are fine.
Option D from the main menu.
#v1c2:
[^] Added more comments
[^] Newer CM source - not MIK_OS but now stock CM, wich includes newest adfad
[^] Custom WaitTime
[^] New script version
[^] Fixed some bugs
Will it work on windows
Hey! will this app work on windows? How to batch resize using this? Can this handle transperency? And will it perfectly fit to MDPI from HDPI or it will have FC's???
bhaviksatra87 said:
Hey! will this app work on windows? How to batch resize using this? Can this handle transperency? And will it perfectly fit to MDPI from HDPI or it will have FC's???
Click to expand...
Click to collapse
fc has nothing to do with size, I think...
windows, not yet. How to resize: option resize and follow on screen notifications.can handle transparency.
But no windows yet
Greets!
Hey, I was just wondering what the build from source option does. (I'm not that amazing dev so this might help). Does it compile stuff Aosp, or cm7?
Sent from my GT-I9100 using Tapatalk
Waddle said:
Hey, I was just wondering what the build from source option does. (I'm not that amazing dev so this might help). Does it compile stuff Aosp, or cm7?
Sent from my GT-I9100 using Tapatalk
Click to expand...
Click to collapse
yep IT does! It can prepare your PC for building, and compile AOSP GB, ICS, oxygen, cm7, and maybe another one I forgot... Wasn't it clear? I'll as more screens
Greets!
mDroidd said:
yep IT does! It can prepare your PC for building, and compile AOSP GB, ICS, oxygen, cm7, and maybe another one I forgot... Wasn't it clear? I'll as more screens
Greets!
Click to expand...
Click to collapse
Seems cool. This will really help me out with starting an Aosp rom. Thanks
Sent from my GT-I9100 using Tapatalk
Waddle said:
Seems cool. This will really help me out with starting an Aosp rom. Thanks
Sent from my GT-I9100 using Tapatalk
Click to expand...
Click to collapse
You're welcome.happy users, that's what I am doing it for!
Today ,I made a big update, and added the option batch theme. Also made the tool git, installer file (much smaller and better), new directories support, code cleanup, and some fixes. And also, Apk multi tool is not more then a weak away from release.
Greets!
Thanks man,
This is a pretty amazing program. I looked at the script code and i am really suprised by how long it is. Nice job! As i type this, i am downloading the source code for gingerbread.
Waddle said:
Thanks man,
This is a pretty amazing program. I looked at the script code and i am really suprised by how long it is. Nice job! As i type this, i am downloading the source code for gingerbread.
Click to expand...
Click to collapse
Nice
If you want to, I can learn you how to code it. If you look at the code of the dsixda kitchen inside the scripts directory, copy that and put it in the main menu, it's as longas my script is now. That's what I wanted: ONE script
Greets!
How do I resize?
Is saying values:
I Have to put the directory?
Can you make a quickly tutorial for me? I just need to resize and then I will give credits to you also.
hyztname said:
How do I resize?
Is saying values:
I Have to put the directory?
Can you make a quickly tutorial for me? I just need to resize and then I will give credits to you also.
Click to expand...
Click to collapse
If I am right, it says
Usage: SrcDir ext DestDir perc
Source dir contains the images you want to resize
Extension should be png
DestDir is where the resized images will be put
Perc is the percentage, from HDPI to MDPI IS 66%
Hope I helped.
Greets!
mDroidd said:
If I am right, it says
Usage: SrcDir ext DestDir perc
Source dir contains the images you want to resize
Extension should be png
DestDir is where the resized images will be put
Perc is the percentage, from HDPI to MDPI IS 66%
Hope I helped.
Greets!
Click to expand...
Click to collapse
Yes it says, Usage: SrcDir ext DestDir perc
But you have to type on the Value thing I said before.
I typed:
Code:
~/src 9.png ~/src/new 36
36 is ldpi(is that right?)
And says this is not a command.
hyztname said:
Yes it says, Usage: SrcDir ext DestDir perc
But you have to type on the Value thing I said before.
I typed:
Code:
~/src 9.png ~/src/new 36
36 is ldpi(is that right?)
And says this is not a command.
Click to expand...
Click to collapse
Gimme the screen res of LDPI and Ill calculate. Never resize .9.png
Greets!
I'm not a fake.
I prefer people to reply to me and give feedback instead of thanking me!
But thanking me does show if you apreciate my works.
Related
{
"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"
}
Hey Guys,
I was asked if i could do a Tutorial how to port themes to HTC Legend. And here it is
Perform a Nandroid Backup first... as usual.
Be careful i am not responsible for any damage at your device.
Method 1 = not changing your system and will integrate it to running system (ADB Method)
Method 2 = new clear install of Rom required (Flashable ZIP)
At first you need a few things:
SDK from Android
Theme-Porter by Daneshm90 (Thanks for support! ) Make sure you are using the newest beta of the program
The Rom of files with the theme in it ( in our example Minimal Matte 1.5 !! NOT THE VERSION FOR LEGEND! from the Thread here at XDA Dev's)
The Rom you are using ( for example Cyanogenmod 6.1 (Thanks to ali Ba for his awesome work))
Update.zip Modifier/Creator
A USB cable
Time
Click to expand...
Click to collapse
Let's start.
METHOD 1:
STEP 1:
First you have to use the Theme-Porter so you unzip the folder to C:\Theme-Porter or something similar. In this folder there are two important folders called new and old. So you unzip your Roms and put all files in system/app/ from your current Rom in the folder Theme-Porter/new/app/ and all files from system/framework/ in Theme-Porter/new/framework/. Unpack also the themed Rom and replace files from system/framework/ and system/app/ to old/framework and old/app.
STEP 2:
Run script.bat in root folder of Theme-Porter (C:\Theme-Porter) and select the option you want.
In our case if we want to port Minimal Matte, choose Option 1 because we are porting a froyo rom to a froyo rom.
If you are porting a theme from a hdpi device ( for example Nexus One and Desire ) you have to toggle Hdpi to Mdpi with option 4 ( Legend devices. (has something to do with the resolution)).
If it's ready the files in the Theme-Porter/new folder are themed.
STEP 3:
Unzip the SDK to C:\SDK (make sure in the name of the SDK is no space in it. NOT like this C:\Android SDK ) .
Now Copy the files from Theme-Porter/new to C:\SDK\tools. Like this Theme-Porter/new/framework/framework-res.apk -> C:\SDK\tools\framework-res.apk.
Connect the HTC Legend to the Computer via USB. Go to Clockwork recovery mode via Rom Manager.
Click on restart in Recovery Mode in Rom Manager. Once rebooted go to partition menu and click on mount /system.
Turn now to your PC and follow the steps
STEP 4:
Now go to your comand line (Windows Vista and Windows 7 Start->Type "cmd").
Code:
cd C:\SDK\tools
(or wherever you have placed the SDK, remember NO spaces in folder name, and make backslash = \ and NOT / ). Back in the black window:
Code:
adb shell
exit
Make a folder in C:/framework , C:/app , C:/fonts and so on. Copy the new files in there. It pretends what you want to change.
Code:
adb push C:/framework /system/framework
adb push C:/app /system/app
adb push C:/fonts /system/fonts
Push all files to phone which were themed
If you are ready you can type :
Code:
adb reboot
exit
STEP 5:
The Phone will reboot and your system will be themed.
Click to expand...
Click to collapse
METHOD 2:
STEP 1:
It is easier to flash a zip file but sometimes they are not available. ( In our case I contacted shiftedx from Minimal Matte to give him my ported files...)
If you like to create a flashable/themed Rom, you have to download this tool and unpack it to C:\Update-Zip-Packager\ .
STEP 2:
After that copy the unzipped files from the Rom you want to use (Cyanogenmod 6.1 Stable for example) to folder C:\Update-Zip-Packager\placehere. (should look like this: C:\Update-Zip-Packager\placehere\META-INF ... )
STEP 3:
Then copy the files from C:\Theme-Porter\new to C:\Update-Zip-Packager\placehere\system\ . (btw files like fonts or something doesn't have to be ported so copy them from old to new folder.
STEP 4:
Now run script.bat in C:\Update-Zip-Packager\script.bat. select "make Update.zip" with option 2. Ready? Ok then drag update.zip to sdcard of your phone and apply it with rom manager.
Click to expand...
Click to collapse
Extras:
I prepared a Cyanogenmod 6.1 Stable Rom with Minimal Matte (included fonts...) and working wifi tether, replaced FileManager with Astro and replaced ADWlauncher with LauncherPro:
Here is the link if somebody wants to use it.
CM6.1 RC 1 with Minimal Matte (Outdated)
DOWNLOAD
The new Stable version of CM6.1 with Minimal Matte
DOWNLOAD
Minimal Matte LD pre release version for CM7 (any version) No wipe needed!
DOWNLOAD
Minimal Matte HD Thread
Note to Screenshots: Theme will not change widgets,Lockscreen, Launcher, Wallpaper. If you want the Lockscreen look at this beautiful Thread. It will change Statusbar, Notification windows, keyboard and fonts.
Works not so well with official Vodafone 2.2 version.
Click to expand...
Click to collapse
Great post, thanks for your efforts !
I'll give this a go when my Legend has its screen fixed and report back with questions or success
Eitherway, thank you!
By the way, this thread should be stickied!
Awesome.
Can't wait to get home and try to do some decent themes.
- - - - - - - - - - - - - - - - - - - - - - - -
Woooo
Anyone know any decent themes?
Hey parker, did you try it on the rooted 2.2 rom from vodafone?
Currently using: CyanogenMod 6.1.0 RC1
c_man said:
Great post, thanks for your efforts !
I'll give this a go when my Legend has its screen fixed and report back with questions or success
Eitherway, thank you!
By the way, this thread should be stickied!
Click to expand...
Click to collapse
All right! I have reorganized the text a bit so you can follow easily.
Westi01 said:
All right! I have reorganized the text a bit so you can follow easily.
Click to expand...
Click to collapse
Thank you.
Also thank you for this below, its ideal for most of us!
Westi01 said:
STEP 5:
I prepared a Cyanogenmod 6.1 RC1 Rom with Minimal Matte (included fonts...) and working wifi tether, replaced FileManager with Astro and replaced ADWlauncher with LauncherPro:
Here is the link if somebody wants to use it.
http://www.multiupload.com/UN01TMO9I1
FIXED.
Click to expand...
Click to collapse
I look forward to using it soon
hey, just been playing with it for the last hour or so, trying to make a transparent notification bar, it works well when it boots up phone and goes into keyguard mode but once its on the homescreen (and ShootMe isn't running!!) it looks dark and ****.
I had the same problems porting MIUI theme to Legend. Don't know how to fix it at the moment.
Sent from my Legend
tried porting the Elegant steel rom (http://forum.xda-developers.com/showthread.php?t=769376&highlight=elegant+steel) to the rooted froyo vodafone rom but it didnt work. =(
Uploaded with ImageShack.us
Would something like the transparent MIUI work?
http://forum.xda-developers.com/showthread.php?t=798661
BicolXpress said:
tried porting the Elegant steel rom (http://forum.xda-developers.com/showthread.php?t=769376&highlight=elegant+steel) to the rooted froyo vodafone rom but it didnt work. =(
Click to expand...
Click to collapse
Maybe because of the HDPI<-->MDPI
I couldn't even get it to port
Code:
framework-res
Downsizing drawable Images ...
The application has failed to start because its side-by-side configura
tion is incorrect. Please see the application event log or use the com
mand-line sxstrace.exe tool for more detail.
Downsizing drawable-en-mdpi Images ...
The application has failed to start because its side-by-side configura
tion is incorrect. Please see the application event log or use the com
mand-line sxstrace.exe tool for more detail.
Downsizing drawable-land-mdpi Images ...
The application has failed to start because its side-by-side configura
tion is incorrect. Please see the application event log or use the com
mand-line sxstrace.exe tool for more detail.
Downsizing drawable-mdpi Images ...
The application has failed to start because its side-by-side configura
tion is incorrect. Please see the application event log or use the com
mand-line sxstrace.exe tool for more detail.
parker09 said:
Maybe because of the HDPI<-->MDPI
I couldn't even get it to port
Code:
framework-res
Downsizing drawable Images ...
The application has failed to start because its side-by-side configura
tion is incorrect. Please see the application event log or use the com
mand-line sxstrace.exe tool for more detail.
Downsizing drawable-en-mdpi Images ...
The application has failed to start because its side-by-side configura
tion is incorrect. Please see the application event log or use the com
mand-line sxstrace.exe tool for more detail.
Downsizing drawable-land-mdpi Images ...
The application has failed to start because its side-by-side configura
tion is incorrect. Please see the application event log or use the com
mand-line sxstrace.exe tool for more detail.
Downsizing drawable-mdpi Images ...
The application has failed to start because its side-by-side configura
tion is incorrect. Please see the application event log or use the com
mand-line sxstrace.exe tool for more detail.
Click to expand...
Click to collapse
There are Issues with Sense and Themes that are made for example for Cyanogenmod. And try to redownload both Roms and try again it seem to be a wrong MD5Sum or something. The files seem to be corrupt. I have tried to Port the MIUI style but it doesn't work because they modified whole Apks and not only replacing PNGs like the Theme-Porter does.
Westi01 said:
There are Issues with Sense and Themes that are made for example for Cyanogenmod. And try to redownload both Roms and try again it seem to be a wrong MD5Sum or something. The files seem to be corrupt.
Click to expand...
Click to collapse
Oh I see.
Westi01 said:
I have tried to Port the MIUI style but it doesn't work because they modified whole Apks and not only replacing PNGs like the Theme-Porter does.
Click to expand...
Click to collapse
I tried the one I posted and for the lockscreen it worked perfectly but once the phone gets unlocked thats when the notification bar goes black (I think its from all the other images from the dropdown menu being on top of each other).
parker09 said:
Oh I see.
I tried the one I posted and for the lockscreen it worked perfectly but once the phone gets unlocked thats when the notification bar goes black (I think its from all the other images from the dropdown menu being on top of each other).
Click to expand...
Click to collapse
Ah ok. I tried to port the original Theme. Could be that your Link works better.
Maybe this helps someone?
[Application] Mac: Convert HDPI images to MDPI
Are these any good for you guys? I can't test right now, still without my Legend .
[Theme] CM v6.1.0-RC1 / Biffmod 2.1 / Nightly 250 (mdpi)
BlueDark [11/07/10]MDPI Full Roms Cyanogen 6.1RC1
Hey Westi01,
the picture with the surfer girl is pretty awesome. Could you please upload the picture as jpg?!
Westi01!
Is it possible to use your ported Minimal theme without flashing the whole ROM?
I would like to keep my system as it is if possible!
Thank you,
zappelfry said:
Hey Westi01,
the picture with the surfer girl is pretty awesome. Could you please upload the picture as jpg?!
Click to expand...
Click to collapse
It's a picture out of UltraLinx Gallery. It a very good Site by the way !
greenolive said:
Westi01!
Is it possible to use your ported Minimal theme without flashing the whole ROM?
I would like to keep my system as it is if possible!
Thank you,
Click to expand...
Click to collapse
Look at Method 1 for applying themes without Flashing. You have to use ADB.
Hi guys, today i am going to Show you How to Make a ROM, Starting from Base.. [Powered by Walkman Style]
Sorry For the Bad English, if i spell something wrong tell me!
This Tut shows how to make a fully Working ROM for Xperia MDPI devices, Any File Provided is suggested for xperia mdpi only! if you have another android device, you can look at this, but links Like META-INF/dev/ won't Work for all Android Devices!!
Index
1st Post .- Index / Downloads / Setting up the Things
2nd Post .- Making The ROM Prototype
3rd Post .- Final Modifications & True ROM
Click to expand...
Click to collapse
{
"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"
}
Tools Required:
- Notepad++ - MUST DOWNLOAD THIS! NORMAL NOTEPAD KILL THE FILES LIKE BUILD.PROP
- Java JDK - Required for Cygwin to Work
- Dsixda Android Kitchen Thread - Download Kitchen & Reffer to the FAQ
- Cygwin - its Like a Linux Emulator for Windows.
- META-INF & Dev folders - I am Giving Walkman Style v4 Folders, They are Fine for Locked/Unlocked & also all xperia.
- Android Terminal Emulator - You will need it for lots of things
Click to expand...
Click to collapse
Installing Java JDK & Cygwin to your PC
Now, Simply download Java JDK and execute the file, after that you can continue with the install of cygwin..
Now You can Choose Between following the Instructions above or watching the video on how to install cygwin
INSTRUCTIONS:
~ Download and extract Cygwin packages to a folder in Desktop
Now you should have a Cygwin Pakaces folder in Desktop if you did everything Okay.
~ Now Run the Cygwin Setup and Install Cygwin at C:/
The Cygwin setup will ask you to select were are the cygwin packages, search on desktop and choose the path to cygwin packages .
After installation progress it will show a Message that its similar to an error, ignore it
~ Now you will se a menu with Lots of Things (See video Min 1:51) Click in the arrows and change from Default to Install
If you did not understand please check the video at min 1:50, after that you have succefully installed cygwin
~ Now download the Kitchen from the XDA thread, Extract the folder from the zip and rename that Folder to Kitchen
Run Cygwin.exe and after you run it the script will create two folders at C:/Cygwin/home
Those Folders are *Your username* and inside you will find some files..
~ Remember you Renamed the Dsixda kitchen to "kitchen"? ok, now move it to C:/Cywgin/home/User/
So it will be like C:/Cygwin/home/User/kitchen .
~ Go to desktop and Run Cygwin - then you will see a CMD window, right? there, you must type the following things:
Code:
[COLOR="Orange"]cd kitchen (enter)
./menu (enter and wait)[/COLOR]
~ if you did everything right, then you should see this
Click to expand...
Click to collapse
Making the ROM
Now we will make the flashable zip (rom) , for this we must Have a System Folder / META-INF Folder / Dev Folder
~ Download the META-INF & Dev folders from the Tools section at First Post.
Extract the Folders from the zip and move both folders to desktop.
~ Creating a Working Folder : Go to C:/Cygwin/Home/User/Kitchen and Create a Folder Called "WORKING_ROM"
Move Dev & META-INF Folders to the WORKING_ROM Folder
Now we Must Get the System Folder..
~ Open Terminal Emulator & Type This:
Code:
su
tar -c system/* >> sdcard/system.tar
~ Connect your Phone via USB cable & get the System.tar File
~ Extract System.tar to System Folder and Place it in C:/Cygwin/home/user/kitchen/WOKRING_ROM
Congrats , Now you Have all necessary for the ROM to work.
Click to expand...
Click to collapse
Note: Before Extracting the System Folder, Flash Stock GB/ICS and modify as you wish.
Things you can do to modify the rom:
- Add Init.d Support (you can do it so easy with the kitchen)
- Add Busybox (you can do it from the app or with the kitchen)
- Add Scripts for Better Rendering
- Change ROM Font
- Change/Modify status bar
- Change/Modify Framework
- Add new themes
- Add Apps from Themes & Apps Section..
- Modify Build.prop
- Much more..
Time to Make the ROM Prototype
Now, You are supposed to have 3 Folders (System,META-INF,dev) in C:/Cygwin/home/user/kitchen/WORKING_ROM/
Now go to Desktop and execute Cygwin..
Type
Code:
[COLOR="Red"]cd kitchen
./menu[/COLOR]
Click to expand...
Click to collapse
and you will see the Menu of Dsixda Android Kitchen
Now Type 99 (Make a ROM from Working Folder) And you should see Something like This:
Now Type 2 and Sit Back, if you don't get any error it will take pretty much time (depends in your RAM, for me it takes like 10/15 Min.)
After that, Go to OUTPUT_ZIP Folder and take your rom.
~ Connect your device via USB Cable.
~ Rename the ZIP to your ROM Name (Ex: Walkman Style)
~ Move the ZIP to the Root of your sdcard
~ Start Recovery & Flash the ROM
Click to expand...
Click to collapse
Now you should see aroma, but all that has mi rom names, why? that's because you didn't modified The proper files.. See next post for that info..
Making the True ROM
I Imagine that now you might be using your new rom, if the ROM is working 100% fine, then, now lets go to the PC and edit what last..
~ Open Cygwin Directory
~ Go to Home
~ Enter to the User folder
~ Go to Kitchen
~ Go to WORKING_ROM
~ Open META-INF Folder
~ Go to META-INF/com/google/android and you should have this Files:
~ Now Open Aroma-Config with Notepad++ and edit as you want (WARNING , FOR NOOB USERS , ONLY EDIT ROM NAME, DATE, VERSION AND AUTHOR, DON'T TOUCH WHAT YOU DON'T KNOW)
~ Then open Aroma Folder There and Edit License.txt as you wish..
Click to expand...
Click to collapse
Now, You Have Your OWN META-INF & System Folder, But.. What happend to dev folder? Open it!
Dev Folder Editing
Dev folder contains files for locked/unlocked bootloader & also files for each device.. these files are used in the aroma, in the part you choose Bootloader status & Device.. we are going to edit the build.prop of each device :
~ Open Build.prop with Notepad.cc and do whatever you want:
What to do?
-Add Build.prop Tweaks
-Modify Rom Name
-Change Android Version (Fake)
-Etc..
Click to expand...
Click to collapse
Now you have edited everything.. lets make the rom!!
~ Open Cygwin
~ Type:
Code:
cd kitchen
./menu
~ *Optional* If your rom does not contain Init.d , Busybox , Etc.. Just add it with the kitchen, its not so difficult! use your brain
~ Now type 99 (Make a rom from working folder)
~ Now type 1 or 2 (i recommend 2, since zipalign make the ram usage reduce)
~ Now wait till the rom appear at C;/Cygwin/home/user/kitchen/output_zip like this:
So now, You are Done, Congrats, You have made your ROM!
Extra Links Related to This :
How to Port a ROM from MIUI/HDPI to MDPI - By Sandy7
How to Compile/Decompile .Apks - By Sandy7
How to Compile/Decompile .Apks - By Stanlin salu
List of Scripts - By Moonblade
Dsixda for the android kitchen
neroyoung for video,most ideas & cygwin
Click to expand...
Click to collapse
Bro, sorry to tell but this is repost from te misc section and the tutorial made by neroyoung :/
anerik said:
Bro, sorry to tell but this is repost from te misc section and the tutorial made by neroyoung :/
Click to expand...
Click to collapse
1- i take the video only from another post.. the rest is mine, also the screenshots are mine
2- there's no guide telling how to make a rom "working" for all xperia mdpi with Locked & Unlocked Bootloader.
3- What did i repost?
Nachospeicys said:
1- i take the video only from another post.. the rest is mine, also the screenshots are mine
2- there's no guide telling how to make a rom "working" for all xperia mdpi with Locked & Unlocked Bootloader.
3- What did i repost?
Click to expand...
Click to collapse
nono, i'm not saying you copied it, i'm saying you didn't realise, but this is kinda same that your guide and works on all devices, so it will work on all mdpi, and this is that too... so you could do a guide specially for mdpi, but not like those 2, it's just the same thing in a different section
anerik said:
nono, i'm not saying you copied it, i'm saying you didn't realise, but this is kinda same that your guide and works on all devices, so it will work on all mdpi, and this is that too... so you could do a guide specially for mdpi, but not like those 2, it's just the same thing in a different section
Click to expand...
Click to collapse
This tut is not similar to neuroyoung one.. and, maybe it looks similar to misc one bec i learned from there.. :silly:
Nachospeicys said:
This tut is not similar to neuroyoung one.. and, maybe it looks similar to misc one bec i learned from there.. :silly:
Click to expand...
Click to collapse
Bro, it's the same that the misc one, and the same that neroyoung videos, it's just made by you in another section. Leave this here, but add more stuff so it's not the same!
anerik said:
Bro, it's the same that the misc one, and the same that neroyoung videos, it's just made by you in another section. Leave this here, but add more stuff so it's not the same!
Click to expand...
Click to collapse
suppose you read neuroyoung/misc section thread using a xperia, what would happen?
bootloop
Awesome :laugh:
i will start a rom now :good:
Problem
hey man, could you help me with this problems?
1- i get system folder with terminal emulator fine. but it give me error when i zipalign with the kitchen (the .apks)
2- i have tried without zipalign and rom is not booting..
plz help me solve that and i will thanks this post
sh4kon said:
Awesome :laugh:
i will start a rom now :good:
Click to expand...
Click to collapse
Goodluck :highfive:
XperiaMiniProZ said:
hey man, could you help me with this problems?
1- i get system folder with terminal emulator fine. but it give me error when i zipalign with the kitchen (the .apks)
2- i have tried without zipalign and rom is not booting..
plz help me solve that and i will thanks this post
Click to expand...
Click to collapse
mm try removing the apk that's causing the problem, most probably its damaged..and if its a very important app, then replace it with one from another rom or stock rom..
the zipalign wont make your rom boot if it doesnt boot now, something is going wrong!
have you edited files with notepad++ ? if you edit them with normal notepad the file will die and the rom probs will bootloop.
Nachospeicys said:
suppose you read neuroyoung/misc section thread using a xperia, what would happen?
bootloop
Click to expand...
Click to collapse
Well i learned how to do roms like that. no bootloop, since it works any device bro. Just try and see for yourself first
anerik said:
Well i learned how to do roms like that. no bootloop, since it works any device bro. Just try and see for yourself first
Click to expand...
Click to collapse
Neroyoung tutorial made for universal, this tutorial made for noobs. You know the difference right?
So, lets leave the OP with his tutorial alone. If he think his tutorial better than real developer like neroyoung.
Sent from Hubble Telescope
Thanks for this tutorial
Michunio said:
Thanks for this tutorial
Click to expand...
Click to collapse
it worked right?
chepoz said:
Neroyoung tutorial made for universal, this tutorial made for noobs. You know the difference right?
So, lets leave the OP with his tutorial alone. If he think his tutorial better than real developer like neroyoung.
Sent from Hubble Telescope
Click to expand...
Click to collapse
what the hell are you saying?? i never said mi tut is better than neroyoung,, dont be that stupid to thnk that!!
i made this for noob. and for noob, it will work better like this.. of course if they dont own an xperia mdpi i will recommend neroyoung one.
Nachospeicys said:
what the hell are you saying?? i never said mi tut is better than neroyoung,, dont be that stupid to thnk that!!
i made this for noob. and for noob, it will work better like this.. of course if they dont own an xperia mdpi i will recommend neroyoung one.
Click to expand...
Click to collapse
N why you said if we follows neroyoung tutorial we will get bootloop? I used that 2 times without any bootloop. So, watch your words man!
Sent from Hubble Telescope
Nachospeicys said:
what the hell are you saying?? i never said mi tut is better than neroyoung,, dont be that stupid to thnk that!!
i made this for noob. and for noob, it will work better like this.. of course if they dont own an xperia mdpi i will recommend neroyoung one.
Click to expand...
Click to collapse
Whats up with this noob tutorial... Noob guide thing...
A guide is a guide...
Neroyoung guide can also help users...
both guides are no really different
----------------------------------------------------------------------------------------------------------
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
----------------------------------------------------------------------------------------------------------
PREFACE
Hello guys, first of all I want to say thanks to all the real developers (and not just rom-modder like me) that are here, helping us to get better performance and features everyday, so thanks to FXP, CosmicDan, DooMLorD, wedgess, smokerman, krisdee, Spizzy, Keiran, fareneith, Pizza_Dox, Bakisha, and many, many others.
This guide is intended for those who want to make some mods, for example touchpads fix to their rom, and it's not too hard to understand how to do it (we will just use an IDE to achieve that, so it'll be pretty simple).
Let's start!
Click to expand...
Click to collapse
----------------------------------------------------------------------------------------------------------
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
----------------------------------------------------------------------------------------------------------
DECOMPILING .APK AND .JAR FILES
without custom framework
Make sure you have installed NetFramework 4.5,
if not download it from here and then install ;
You can now install Virtuous Ten Studio (VTS):
download it from here and follow the passages to install it ;
Run VTS (you could easily find it under Start) ;
Now you can create a new Project:
simply click on File (on the left top) and select New Project ;
Projects can be of 4 kinds: apk, jar, m10 and boot.
Select apk if you want to edit an apk; select jar if you want to edit a jar ;
Compile the fields on the bottom (Solution and Project name) ;
Wait for VTS to create the folders...;
Now you can import the file you want to edit:
simply right-click on the project you have created (you can find it under Solution Explorer bar, on the left)
and select Import File, then find and select the file you want to edit ;
Here we go! VTS will now decompile our file, and when it finishes,
Solution Explorer bar will be updated to show you what your file contains (smali files and whatever) ;
Now you can make every modification you want to do;
When you have finished, you can recompile that file by right-clicking your project and selecting Build Project:
you can easily find your modded file, just click Binary (under Home tab on the top) and select your file project name;
Here we are! If you've got some questions, just ask here!
Click to expand...
Click to collapse
Click to expand...
Click to collapse
----------------------------------------------------------------------------------------------------------
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
----------------------------------------------------------------------------------------------------------
DECOMPILING .APK FILES
with custom framework
first of all, you must know what to do: just take a look at the guide above and follow the steps (from 1 to 7) ;
now you must take the custom resources needed from the apk you want to decompile to work (that resources file is another apk, generally located under /system/framework and its name contains always something like Res or Resources - for example SemcGenericUxpRes -) then place it wherever you want ;
once you've done that you can create your project (DON'T import now the app you want to modify, because you'll get errors related to missing resources) and set-up a custom framework: just right-click on your project and go under Properties ;
find External tools on the left and click on apktool: select Add single framework, import the custom-resources apk that you took from your rom ( see first step ) and set a Tag (the name you want to assign to that file) ;
now you must select that framework to be used instead of the default one: right-click on your project and go under properties; here you can find a selector called Framework tag: select the one you've just setted ;
that's it! Now you can import your custom-framework-based apk ( if you don't know how just take a look at the guide above - step 8 ) .
Click to expand...
Click to collapse
Click to expand...
Click to collapse
----------------------------------------------------------------------------------------------------------
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
----------------------------------------------------------------------------------------------------------
When i have the time, i really have to give this program a chance. Tnx for tutorial
Sent from my R800i using xda app-developers app
Good job, I've used vts.for awile now.its a great program.
Dark Lords Development Team
Needed to learn Apk Decompiling, now i can!,
simpler than apk tool..and easy to use in small changes..comes handy. nice post.
i have a problem with decompiling resource files can anyone help plz???
{
"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"
}
and this is my log
raminta said:
and this is my log
View attachment 2048601
Click to expand...
Click to collapse
It seems apktool is missing, maybe an incorrect installation? Have you tried reinstalling?
CriGiu said:
It seems apktool is missing, maybe an incorrect installation? Have you tried reinstalling?
Click to expand...
Click to collapse
Yes but nothing has changed
Sent from my R800i using xda premium
raminta said:
Yes but nothing has changed
Sent from my R800i using xda premium
Click to expand...
Click to collapse
try using an older version of VTS, but I can't promise anything
it's clearly related to missing binary, and that's strange. does this happen just with that specific apk, or with all of them?
And keep in mind that you're decompiling an apk with a custom framework, so before you can decompile it, you must add its resources by right-clicking on your project, selecting properties, going under External tools and clicking on Apktool, selecting Add single framework (here you must place your resources apk file: it's generally located under /system/framework folder of your rom - the rom from which you're taking the apk you're modifing - it's something having for name SonyResources or something like that).
Then you must set that framework to be used instead of the "stock" one by right-clicking on your project and going under properties; here you can find a selector called Framework tag: select the one you've just placed in.
CriGiu said:
try using an older version of VTS, but I can't promise anything
it's clearly related to missing binary, and that's strange. does this happen just with that specific apk, or with all of them?
And keep in mind that you're decompiling an apk with a custom framework, so before you can decompile it, you must add its resources by right-clicking on your project, selecting properties, going under External tools and clicking on Apktool, selecting Add single framework (here you must place your resources apk file: it's generally located under /system/framework folder of your rom - the rom from which you're taking the apk you're modifing - it's something having for name SonyResources or something like that).
Then you must set that framework to be used instead of the "stock" one by right-clicking on your project and going under properties; here you can find a selector called Framework tag: select the one you've just placed in.
Click to expand...
Click to collapse
Ok thanks for replying:thumbup:
Sent from my R800i using xda premium
This Tool has been replaced by - Junohttp://forum.xda-developers.com/showthread.php?p=45990300#post45990300
Please visit the new thread!
For older Thread click the button below.
{
"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"
}
Welcome To Sony System App Editor Ver.1.1Installation
Please follow the instructions carefully, cause this is very crucial to the programs working.
Step 1
Download the following resources :
Android SDK (drawPatch9)
Java SE Runtime Environment 7 (Java)
Step 2
Go to Advanced System Properties.
It should look like this:
Go to Environment Variables, then create a new System Variable, having name JAVA_HOME and value according to the path where you have installed the JRE(7).
It should look like this:
Now after creating the JAVA_HOME variable, search for Path system variable in the System Variables list. Now this is a bit tricky. Once found click on it and then on Edit. Now if your value is ending with ";" (without quotes) then just add the path to your JRE(7) bin folder. If the ";" is not present then just add it and follow the rest of instruction as given.
It should look like this:
Now just Save it. (Just keep on clicking OK it will be done automatically.)
Step 3
Download Ver.1.1.zip.
[*] Download
[*] Size: 17.85 MB (18714229 bytes)
Now Extract the zip where ever you want in your computer.
Step 4
Open the folder in which you have extracted the files and then the res directory in it.
Now make sure that the folder looks like this -
If you want you can add your modified resource files too.Note: If you are using any other ROM or PHONE of Sony (This program might be compatible with all types of Phones and Roms though!), then you should over-write the already present resource files in the res directory with your own ROM or PHONE resource files. (This is important!)
Now open the program by executing - Sony System App Editor.bat, like this -
Then type LOADRESOURCES, and let the program install the required resources. Once done add your APK file to this program's directory and get started, cause you are all done!
It should look like this:
How to use?
Step 1
Make sure you have the original version of the system apk. (This is important cause in other situations I cannot guarantee it's working as I haven't tested it. ) Copy it to the program's main directory.
Now open the Program by executing - Sony System App Editor.bat, and type only the name of the System app.
For eg.: If you want to edit UxpNxtLockScreen.apk, then copy it to the main directory, and then by executing the program type UxpNxtLockScreen. (Notice no .apk!)
Now press Enter and let the program handle the rest.
Still it should look like this:
Now check for any errors in the Apktool output screen, if none found you are good to go or else I don't know what to do?...p)
If everything went fine it should look like this -
Step 2
Edit your APK to your carnal needs! But still make sure everything you do is syntactically correct and there are no erroneous codes.
For editing APK's go to the working folder of the program, and look for the folder that is named after the file-name of your System Apk.
It should look like this:
Now open it and start editing.
Step 3
Now assuming you have finished editing the System app, execute the main program once again - Sony System App Editor.bat.
Type the APK's file-name (no exts.) which you where editing, and press enter.
It should look like this:
Make sure everything goes right and check for any errors in the APKTOOL output screen, cause program at the current stage will still produce a build even if there is any error with apktool! (Will be solved soon.)
Now assuming you have checked everything and nothing is wrong, then you are good to go! And still it should look like this -
Step 4
Assuming that everything has been fine till now, so then you can have your APK file in the build folder of the Program's main directory.
It should look like this:
Now copy it to a place where you can create a flash-able zip out of it! :laugh:
Note: If you want to start modification of the new apk file of the same name, first delete the folder in the working directory of the previous APK's file-name. (It's important.)
Condition of it's use
Please use this program at your own risk. It has only been tested to mod UxpNxtLockScreen.apk.
This program utilizes a technique that I learned while creating my first mods, and was not able to find a perfect tutorial.
The technique this program utilizes might not be applicable for all types of System Apps.
The program is just created by me today (23/9/13), so please bear with it's simple and non-wanting UI and features.
So start using it and start modding today! - Become a World-Class Developer! (.........:laugh:...............:laugh:........)
Download Ver.1.1Please wait till this program is completely face-lifted!Credits
Apktool developer for developing such a great tool.
Google for making such a wonderful OS!
Me for making it's modification so simple! (divinemamgai)
This Tool is gonna suffer from Face-Change! So please co-operate.
@divinemamgai
Awesome.
I just edited my lockscreen using this, removed the clock(as I requested in PM)
Thanks a lot.
heatseeker_x04 said:
@divinemamgai
Awesome.
I just edited my lockscreen using this, removed the clock(as I requested in PM)
Thanks a lot.
Click to expand...
Click to collapse
Hey dude use the latest version to be sure of not getting into any trouble! :laugh:
divinemamgai said:
Hey dude use the latest version to be sure of not getting into any trouble! :laugh:
Click to expand...
Click to collapse
sure, I will download it.
hey man i try use your tool this hopefully helping me,,, thanks so far so good as i use
Encang_Rojali said:
hey man i try use your tool this hopefully helping me,,, thanks so far so good as i use
Click to expand...
Click to collapse
Welcome but please try the new Tool! As it is the better than this one.
divinemamgai said:
Welcome but please try the new Tool! As it is the better than this one.
Click to expand...
Click to collapse
where is the NEW tool? cant u share ?
Encang_Rojali said:
where is the NEW tool? cant u share ?
Click to expand...
Click to collapse
Dude see the main post of this thread and you will get it, or just search for Juno! :laugh:
Can I use this in Fedora ?
Little Zed said:
Can I use this in Fedora ?
Click to expand...
Click to collapse
I guess but I'm not sure cause there maybe some functions used in this program which might not be available in Fedora. I have developed it in Windows, so I think you can try out and tell me what happens. But as far as I'm know it my not work.
divinemamgai said:
I guess but I'm not sure cause there maybe some functions used in this program which might not be available in Fedora. I have developed it in Windows, so I think you can try out and tell me what happens. But as far as I'm know it my not work.
Click to expand...
Click to collapse
So. You mean no linux support?
Sent from my ST25i using Tapatalk 2
Little Zed said:
So. You mean no linux support?
Sent from my ST25i using Tapatalk 2
Click to expand...
Click to collapse
Dude I don't have Linux system, so I can't test, all I'm asking you is to test it and tell me if it works or not?
divinemamgai said:
Dude I don't have Linux system, so I can't test, all I'm asking you is to test it and tell me if it works or not?
Click to expand...
Click to collapse
Will surely test with WINE software on linux.
Sent from my ST25i using Tapatalk 2
OK... Thanks bro...
Sent from my Xperia U using XDA Premium 4 mobile app
Little Zed said:
Will surely test with WINE software on linux.
Sent from my ST25i using Tapatalk 2
Click to expand...
Click to collapse
And he is not saying it metaphorically.... ...
divinemamgai said:
And he is not saying it metaphorically.... ...
Click to expand...
Click to collapse
Ok then ket's port this to linux.
Sent from my ST25i using Tapatalk 2
Little Zed said:
Ok then ket's port this to linux.
Sent from my ST25i using Tapatalk 2
Click to expand...
Click to collapse
Dude just so you know I was referring to the word WINE in your previous post. , and hey can you continue this discussion in the new thread please.
{
"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"
}
attached is recovery log sir
Er. Aditya said:
attached is recovery log sir
Click to expand...
Click to collapse
The error you see in recovery is one we have seen already and I don't know how to fix it or why it's broken. I think it has something to do with Windows though. It seems the config directory in the rom is not getting extracted to /tmp. When it tries to run /tmp/configure.sh it does not exist. Then it tries to get info from /tmp/config which is also not there because configure.sh was never run to create it. The problem is that the zips appear to be the same with the same contents, same updater-script contents, etc. If built on Windows it does not work. If built on Linux it works. I am not a Windows guy (for these and many other reasons lol) so I have no idea what the difference is. If you have any ideas please let me know. Has anyone built a working flashable zip on Windows using this kitchen?
SuperR. said:
sepolicy-inject is not available for windows currently. I should have removed the option for Windows, and will in the next update. Is this a feature that still needs to stick around? I am not sure if I can get it working in Windows due to the pre-compiled Linux libs in the source. I am also not sure if you can compile libsepol on Windows. If you can get this source compiled for Windows, I can add the feature
The error you see in recovery is one we have seen already and I don't know how to fix it or why it's broken. I think it has something to do with Windows though. It seems the config directory in the rom is not getting extracted to /tmp. When it tries to run /tmp/configure.sh it does not exist. Then it tries to get info from /tmp/config which is also not there because configure.sh was never run to create it. The problem is that the zips appear to be the same with the same contents, same updater-script contents, etc. If built on Windows it does not work. If built on Linux it works. I am not a Windows guy (for these and many other reasons lol) so I have no idea what the difference is. If you have any ideas please let me know. Has anyone built a working flashable zip on Windows using this kitchen?
Click to expand...
Click to collapse
U can surely remove that feature if u like hardly used ....
I am gonna make a rom on linux too and see if that flashes...u need anything to compare or check sir ?
I remember last time too i had issue for mounting when rom created on linux..let me try one now and report back
edit :\ @SuperR. dev check this screenshot
it shows mounting error still rom flashed and booted good
Er. Aditya said:
U can surely remove that feature if u like hardly used ....
I am gonna make a rom on linux too and see if that flashes...u need anything to compare or check sir ?
I remember last time too i had issue for mounting when rom created on linux..let me try one now and report back
edit :\ @SuperR. dev check this screenshot
it shows mounting error still rom flashed and booted good
Click to expand...
Click to collapse
It may have already been mounted so it gave an error. We can deal with that later since it flashed and booted. Now we need to find out what the difference is between the Linux created ROM and the Windows created ROM. Were they both created using the same kitchen version, same firmware, same procedure? The ONLY difference is Windows vs. Linux, right? If so, can you send the updater-script from both so I can compare?
Using Windows for building android is kinda looking like someone taking square wheels to a skatepark and expecting fluid motion.. [emoji23] [emoji23]
Sent from my N9515 using Tapatalk
bcrichster said:
Using Windows for building android is kinda looking like someone taking square wheels to a skatepark and expecting fluid motion.. [emoji23] [emoji23]
Sent from my N9515 using Tapatalk
Click to expand...
Click to collapse
These wheels are rolling faster each day. We will ride
SuperR. said:
These wheels are rolling faster each day. We will ride
Click to expand...
Click to collapse
Lmao. Right on! If anyone can get this right, it's You and these guys helping here @SuperR. [emoji41] Catching some air!
Sent from my N9515 using Tapatalk
SuperR. said:
It may have already been mounted so it gave an error. We can deal with that later since it flashed and booted. Now we need to find out what the difference is between the Linux created ROM and the Windows created ROM. Were they both created using the same kitchen version, same firmware, same procedure? The ONLY difference is Windows vs. Linux, right? If so, can you send the updater-script from both so I can compare?
Click to expand...
Click to collapse
yes both were created using latest kitchen 3.0.1.4 , same firmware and procedure
here are the scripts sir
SuperR. said:
v3.0.1.8
Changes:
Windows: Use 7-zip (included) to extract img files instead of Imgextractor.
Windows: Fixed missing symlinks in updater-script.
Windows: Fixed many file contexts not being set correctly.
Windows/Linux: Fixed system/SYSTEM on devices that use SYSTEM.
Linux: Do not create metadata lines for symlinks.
I think this will fix most of the flashing problems. Let me know how it goes
WINDOWS NOTE: It is important that the tools get updated. The updater should take care of it, but if you get errors that 7z is not found, go to Misc tools > Reset tools.
IMPORTANT: Start your rom fresh and extract from system.img again. Make sure you delete 00_project_files directory if you are reusing an existing project.
Click to expand...
Click to collapse
i still got the error 7 even i clean cloned kitchen sir
Er. Aditya said:
i still got the error 7 even i clean cloned kitchen sir
Click to expand...
Click to collapse
Can you send the updater-script and recovery.log?
There is still one problem I need to solve for sure... file capabilities in Windows. Currently there is a file with capabilities listed and it is checked when creating an updater-script in Windows. In the case of your ROM, it is not accurate. The only non-standard capability in your firmware is /system/bin/run-as which is correct in your updater-script. However, the rest should all be 0x0 and there are a few that are not. You could try changing them to 0x0 and zip the ROM back up.
It has also crossed my mind that there may be something strange about the zip itself in Windows. I am not sure of this at all but in my tests of kitchen v3.0.1.8 and your firmware, the updater-script comes out nearly identical in Linux and Windows with only the above mentioned capability differences. Maybe the compression level of the zip is too high or low? You could try manually zipping the ROM to find out if the zip process is causing an issue.
It seems that not a single working flashable zip has come out of this kitchen running Windows so far and I am running out of ideas about what is causing it
edit: Attached below is a modified updater-script for your firmware with the capabilities corrected
SuperR. said:
Can you send the updater-script and recovery.log?
There is still one problem I need to solve for sure... file capabilities in Windows. Currently there is a file with capabilities listed and it is checked when creating an updater-script in Windows. In the case of your ROM, it is not accurate. The only non-standard capability in your firmware is /system/bin/run-as which is correct in your updater-script. However, the rest should all be 0x0 and there are a few that are not. You could try changing them to 0x0 and zip the ROM back up.
It has also crossed my mind that there may be something strange about the zip itself in Windows. I am not sure of this at all but in my tests of kitchen v3.0.1.8 and your firmware, the updater-script comes out nearly identical in Linux and Windows with only the above mentioned capability differences. Maybe the compression level of the zip is too high or low? You could try manually zipping the ROM to find out if the zip process is causing an issue.
It seems that not a single working flashable zip has come out of this kitchen running Windows so far and I am running out of ideas about what is causing it
edit: Attached below is a modified updater-script for your firmware with the capabilities corrected
Click to expand...
Click to collapse
u have been a rock and we are so glad ur trying to get this to work sir i am attaching a working script and supeR script with recovery log
edit : the modified one again gave that error
OMJ said:
Fyi, I was able to build & successfully flash a rom via Windows kitchen on the latest update
Click to expand...
Click to collapse
Woo hoooo!!!! That is great news...but also confusing lol. Now we need to figure out why @Er. Aditya is getting this:
Code:
Checking config ...
minzip: Extracted 1 file(s)
about to run program [/tmp/configure.sh] with 1 args
run_program: execv failed: No such file or directory
OMJ said:
Fyi, I was able to build & successfully flash a rom via Windows kitchen on the latest update
Click to expand...
Click to collapse
samsung device ?
SuperR. said:
v3.0.1.9
Changes:
Windows: Fixed b key press not being recognized.
Added a Back option to the root method options.
Only allow key presses that correspond to menu options.
Fixed project name adding an extra superr_ when creating new project from the project selection menu.
Set permissions of configure.sh to 777 instead of /tmp to 755.
@Er. Aditya - This includes the change I sent you in the PM. No clue if it will work for you, but worth a try. No need to extract the system.img again if you extracted using v3.0.1.8. Just change perm types to something else and then back to set_metadata and it will update the updater-script for you.
Click to expand...
Click to collapse
sadly it still dint worked :'(
i clean cloned again so no old kitchen leftovers
SuperR. said:
Woo hoooo!!!! That is great news...but also confusing lol. Now we need to figure out why @Er. Aditya is getting this:
Code:
Checking config ...
minzip: Extracted 1 file(s)
about to run program [/tmp/configure.sh] with 1 args
run_program: execv failed: No such file or directory
Click to expand...
Click to collapse
another fyi---I was getting the same but I usually rip out the config folder & code from updater-script, no need for it on my ROMs
Er. Aditya said:
samsung device ?
Click to expand...
Click to collapse
HTC
Er. Aditya said:
sadly it still dint worked :'(
i clean cloned again so no old kitchen leftovers
Click to expand...
Click to collapse
Do ROMs flash properly when created in kitchen v2.x ? If so, I am clueless about what is going on. If not, I clearly need to change how we mount/format.
OMJ said:
another fyi---I was getting the same but I usually rip out the config folder & code from updater-script, no need for it on my ROMs
Click to expand...
Click to collapse
At least that narrows the issue down to configure.sh, unless you manually zip your ROMs. If so, then it still could be the zip process which is handled by the Python zip() module currently. I could switch this over to 7-zip in Windows if needed now that it is included anyway.
SuperR. said:
Do ROMs flash properly when created in kitchen v2.x ? If so, I am clueless about what is going on. If not, I clearly need to change how we mount/format.
At least that narrows the issue down to configure.sh, unless you manually zip your ROMs. If so, then it still could be the zip process which is handled by the Python zip() module currently.
Click to expand...
Click to collapse
i have been having issues since this config.sh has been introduced sir
Er. Aditya said:
i have been having issues since this config.sh has been introduced sir
Click to expand...
Click to collapse
That is actually good news believe it or not It means that probably the kitchen is now producing working roms in Windows...just not in your device lol. We can work on getting it working for your device too I will need to figure out if we can get configure.sh to run on your device. I will put together some small flashable zips for testing if you don't mind. They won't change anything, just print on the screen so we can see if it works.
SuperR. said:
That is actually good news believe it or not It means that probably the kitchen is now producing working roms in Windows...just not in your device lol. We can work on getting it working for your device too I will need to figure out if we can get configure.sh to run on your device. I will put together some small flashable zips for testing if you don't mind. They won't change anything, just print on the screen so we can see if it works.
Click to expand...
Click to collapse
[emoji23] [emoji23] Nice!! [emoji41] [emoji41]
Sent from my N9515 using Tapatalk
Er. Aditya said:
I am ready!
Click to expand...
Click to collapse
Here are 3 to try. I may come up with some others if they don't work. When you flash it, we want to see the by-name path on the screen and not get errors. Let me know how it goes