Hi MIUIers
This was a request for Port Team development. Like me many people have or had a Win Duos device GT-i8552 (delos3geour) and keep using the stock Jelly Bean Android or change this recent device for other.
It's a Quad-core armv7 snapdragon 200 with potential to use most recent API.s I made some customs ROMs based in Stock with AOSP features and lasted used Baidu OS with my own themes to bcloud theme chooser like the DWUI V6 dark and light all inspired on MIUI 6 to keep alive , but we could be MIUI running .
Owners please vote in Pool below to indicate me your interesting
With help and incentive by MIUI Team developers, i decided look at this opportunity to give MIUI for all owners and transform new MIUIers have fun !!
After did many Custosm ROMs, ports and others things for I8552 i decided to make a Full BUILD ROM for delos3geour using a MIUI 7 source from Nexus5.
Update Thread Project (MIUI 7 Patchrom - 7.05.14)
{
"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"
}
Requirements:
Ubuntu 14.04 or newest 16.04 64-bit. installed or virtualized
Base ROM for your device.
It's better to use a pure AOSP built for your device as base ROM rather than CyanogenMod, this avoid more rejections while patching a MIUI source.
Apktool
Decompile knowledge
Patient
Brain
Carefull
Linux commands
Status: 18.05.2017
Rejections Fixes Step: services.jar.out
Repository - Done
SDK config - Done
JKD config - Done
Libs config - Done
PATCHROM - Done
Worskpace - Done
FirStpatch - Done
delos3geour Patchrom by MJ Rosa
Rejections List 1 level 2 level 3 level 4 level 5 level 6 level 7 level 8 level status Fix date
Folder android.policy.jar.out
Subfolder smali
Subfolder com
Subfolder android
Subfolder internal
Subfolder policy
Subfolder impl
File PhoneWindowManager.smali ok 08/05/17
Folder framework.jar.out
Subfolder smali
Subfolder android
Subfolder accounts
File ChooseTypeAndAccountActivity.smali ok 08/05/17
Subfolder app
File ApplicationPackageManager.smali ok 08/05/17
File ContextImpl.smali ok 09/05/17
File DialogFragment.smali ok 09/05/17
File ResourcesManager.smali ok 10/05/17
Subfolder Backup
File BackupAgent.smali ok 10/05/17
Subfolder content
Subfolder pm
File PackageParser.smali ok 10/05/17
Subfolder res
File Configuration.smali ok 10/05/17
Subfolder database
Subfolder sqlite
Subfolder no fixes
Subfolder graphics
Subfolder drawable
Subfolder no fixes
Subfolder media
File AudioService.smali ok 12/05/17
File MediaFile.smali ok 12/05/17
File MiniThumbFile.smali ok 12/05/17
Subfolder net
Subfolder wifi
File SupplicantStateTracker.smali ok 14/05/17
File WifiConfigStore.smali ok 14/05/17
File WifiStateMachine.smali ok 14/05/17
os
File Build$VERSION.smali ok 17/05/17
File RecoverySystem.smali ok 17/05/17
Subfolder preference
Subfolder no fixes
Subfolder provider
File CallLog$Calls.smali ok 17/05/17
Subfolder telephony
Subfolder no fixes
Subfolder util
Subfolder no fixes
Subfolder view
File ViewConfiguration.smali ok 17/05/17
File Window.smali ok 17/05/17
Subfolder webkit
Subfolder no fixes
Subfolder widget
File TextView.smali ok 17/05/17
Folder framework2.jar.out
Subfolder smali
Subfolder com
Subfolder android
Subfolder internal
Subfolder app
File IAppOpsService$Stub.smali ok 17/05/17
Subfolder os
File ZygoteInit.smali ok 17/05/17
Subfolder statusbar
Subfolder no fixes
Subfolder telephony
Subfolder no fixes
Subfolder widget
File ILockSettings$Stub.smali ok 17/05/17
Folder services.jar.out
Subfolder smali
Subfolder com
Subfolder android
Subfolder server
Subfolder accounts
Subfolder no fixes
Subfolder am
Subfolder no fixes
Subfolder connectivity
Subfolder no fixes
Subfolder content
Subfolder no fixes
Subfolder display
File WifiDisplayController.smali ok 17/05/17
Subfolder input
Subfolder no fixes
Subfolder location
Subfolder no fixes
Subfolder net
Subfolder no fixes
Subfolder pm
File PackageManagerService.smali ok 18/05/17
Subfolder power
File PowerManagerService.smali ok 18/05/17
Subfolder usb
Subfolder no fixes
Subfolder vm
File AlarmManagerService.smali ok 18/05/17
File AlarmManagerService$Alarm.smali ok 18/05/17
File BackupManagerService.smali ok 18/05/17
File BackupManagerService$PerformFullBackupTask.smali ok 18/05/17
File ConnectivityService.smali ok 18/05/17
File ConnectivityService$CheckMp.smali ok 18/05/17
File ConnectivityService$FeatureUser.smali ok 18/05/17
File LightsService$Light.smali ok 18/05/17
File LocationManagerService.smali ok 18/05/17
File MasterClearReceiver.smali ok 18/05/17
File MasterClearReceiver$1.smali
File NotificationManagerService.smali
File NotificationManagerService$6.smali
File ServerThread.smali
File ServerThread$2.smali
Folder telephony-common.jar.out
Subfolder smali
Subfolder android
Subfolder telephony
Subfolder no fixes
Subfolder com
Subfolder android
Subfolder internal
Subfolder telephony
Subfolder cdma
File CDMAPhone.smali
Subfolder gsm
File GSMPhone.smali
File GsmServiceStateTracker.smali
Subfolder uicc
File RuimRecords.smali
File SIMRecords.smali
File UiccCard.smali
File IccProvider.smali
File PhoneBase.smali
================================================================================================================
Port MIUI v5 from K-touch U86
Morning Bro's @gody420, @manojkumar8552
Im open this dev with the objective port MIUI v6 from K-Touch - U86
Im using the Droidwin v3 like base and processing port by kitchen
Step 1
First decompile recovery.img and boot.img to create file with mount points of U86 link post and save with the device name that w find on build.prop
Open Kitchen and put the droidwin ROM (Base zip) and MIUI k-touch.zip ROM (Port zip) on original_update folder
On kitchen menu set Legacy option and type 28 to choose port ROM functions
Step 2
Set base zip like obtain a rom that is currently meant for your device
Wait extract base kernel and extract zip to my_device_working folder created
Step 3
Set Port zip like obtain a rom that iyou want to port from another device
Wait creation of working_folder and extract ROM from Port zip . Rename folder to identify project
On sequency action to this step i selected option 1 - Convert it to update-script ( Amend format) cause this is default option "y"
The option 2 means Do nothing , keep updater-script (Edify format)
Step 4
Now the working_folder ported is craeted and the kitchen merge folders and files of both zip folders ( porting ROM)
In the and appear on NOTE: This device (msm8625) requires an updater-scripit so im stopped process and restart repeating again the steps 2 and 3 just this time selecting on action the option 2
Now this process occurs fine just on NOTE kitchen returns that dont be able to maka dedodex and others stuffs but is ok in moment cause isn't my objective
Follow kitchen steps the Porting ROM is done.....
Returns
setting ro.product.device=delous3geur
setting ro.product.board=MSM8225
setting ro.product.plataform=msm7627a
Step 5
using the notepad++ Open the working Ported folder system/build.prop ported and change the devices name, brand manufactory for I8552 base build.prop especfs
Code:
ro.product.model=GT-I8552
ro product.brand=samsung
[COLOR="Blue"]ro.product.device=delos3geur (keep this created by kitchen)[/COLOR]
ro.product.name=delos3gub [COLOR="blue"]or xx depends of base name[/COLOR]
ro product.manufacturer=samsung
ro.product.product=delos3geur
ro.build.description=[COLOR="Red"]samsung/delos3geub-[/COLOR]:...........keep rest
ro.build.fingerprint=[COLOR="red"]samsung/delos3geub/delos3geur[/COLOR]...........keep rest
On finish im saved file
This time i dont changed the additional properties like ringtones
Step 6
Go back on kitchen menu and select 99 to build new ported ROM zip
===
Well this steps on flash something is diferent and this case im need u help and stopped on bootanimantion
Soon i1ll post attachs by this build.prop and the update-script
MJ
mjraogr said:
Morning Bro's @gody420, @manojkumar8552
Im open this dev with the objective port MIUI v6 from K-Touch - U86
Im using the Droidwin v3 like base and processing port by kitchen
Step 1
First decompile recovery.img and boot.img to create file with mount points of U86 link post and save with the device name that w find on build.prop
Open Kitchen and put the droidwin ROM (Base zip) and MIUI k-touch.zip ROM (Port zip) on original_update folder
On kitchen menu set Legacy option and type 28 to choose port ROM functions
Step 2
Set base zip like obtain a rom that is currently meant for your device
Wait extract base kernel and extract zip to my_device_working folder created
Step 3
Set Port zip like obtain a rom that iyou want to port from another device
Wait creation of working_folder and extract ROM from Port zip . Rename folder to identify project
On sequency action to this step i selected option 1 - Convert it to update-script ( Amend format) cause this is default option "y"
The option 2 means Do nothing , keep updater-script (Edify format)
Step 4
Now the working_folder ported is craeted and the kitchen merge folders and files of both zip folders ( porting ROM)
In the and appear on NOTE: This device (msm8625) requires an updater-scripit so im stopped process and restart repeating again the steps 2 and 3 just this time selecting on action the option 2
Now this process occurs fine just on NOTE kitchen returns that dont be able to maka dedodex and others stuffs but is ok in moment cause isn't my objective
Follow kitchen steps the Porting ROM is done.....
Returns
setting ro.product.device=delous3geur
setting ro.product.board=MSM8225
setting ro.product.plataform=msm7627a
Step 5
using the notepad++ Open the working Ported folder system/build.prop ported and change the devices name, brand manufactory for I8552 base build.prop especfs
Code:
ro.product.model=GT-I8552
ro product.brand=samsung
[COLOR="Blue"]ro.product.device=delos3geur (keep this created by kitchen)[/COLOR]
ro.product.name=delos3gub [COLOR="blue"]or xx depends of base name[/COLOR]
ro product.manufacturer=samsung
ro.product.product=delos3geur
ro.build.description=[COLOR="Red"]samsung/delos3geub-[/COLOR]:...........keep rest
ro.build.fingerprint=[COLOR="red"]samsung/delos3geub/delos3geur[/COLOR]...........keep rest
On finish im saved file
This time i dont changed the additional properties like ringtones
Step 6
Go back on kitchen menu and select 99 to build new ported ROM zip
===
Well this steps on flash something is diferent and this case im need u help and stopped on bootanimantion
Soon i1ll post attachs by this build.prop and the update-script
MJ
Click to expand...
Click to collapse
@GlauberMSP
Look that...
https://github.com/miui-v6/compare?files=1
I searched and found one tool for translate apks but just supports MIUI V5
Its jbart for MIUI roms
Sent from my GT-I8552B using XDA Free mobile app
hi
I downloaded the miui v5 for I8552 but the wifi isn't working, back touch either and some bugs like (not recongnize sim cards and memory card)
And help pls ???
Doom2015 said:
I downloaded the miui v5 for I8552 but the wifi isn't working, back touch either and some bugs like (not recongnize sim cards and memory card)
And help pls ???
Click to expand...
Click to collapse
Hello bro
Unrapply no exists MIUI for I8552 yet. This DEV opened for this and i'm studying way trying port v4 or v5 by other device armv7 and factory
I think this rom that u saying its the transwin ROM was modified by some one with the MIUI express apk. Check this on about settings
Can u confirm? If I m could wrong, please indicate font by us
Tks
Sent from my GT-I8552B using XDA Free mobile app
hi
I sent you a private msg
Link
Here is the download link - http://www.techdroider.com/2015/03/miui-5-for-samsung-galaxy-grand-quattro.html
hi
I was right talking about miui v5 for galaxy i8552 look this site (www.techdroider.com)
Doom2015 said:
I was right talking about miui v5 for galaxy i8552 look this site (www.techdroider.com)
Click to expand...
Click to collapse
Yes bro
I downloaded and tested ,
Really V5 ported but dont works:
wi fi, sdcard instable loosing any times,
Dont recognize the sim 1 just sim 2 on my device. Cant be found Camera and dont have support by languages only CN and US
mjraogr said:
Yes bro
I downloaded and tested ,
Really V5 ported but dont works:
wi fi, sdcard instable loosing any times,
Dont recognize the sim 1 just sim 2 on my device. Cant be found Camera and dont have support by languages only CN and US
Click to expand...
Click to collapse
@robertcarvalho20
Can u please test rom and reports bugs to us. Maybe we can be merge others sammy Jb ported . Im downloaded the git hub portuguese language support for translate with jbart manager apks and Im studying I9300 tree cause its stable.
harsinghal said:
Here is the download link - http://www.techdroider.com/2015/03/miui-5-for-samsung-galaxy-grand-quattro.html
Click to expand...
Click to collapse
Thanks for indicate, Is it your works? can be fix the reports?
Interesting
I think i'll give it a shot
Zhekamas said:
I think i'll give it a shot
Click to expand...
Click to collapse
Cant possible cause the shots didnt save when i tested, but this MIUI its flashable.
Im working now on Baidu 67, cleaning, change stock Baidu recovery and any system apps for pure Google pre-root and performance modules, deodexing, zipalign and translate.
This transformation means to be most closed for global users
MJ
Is audio working???
gody420 said:
Is audio working???
Click to expand...
Click to collapse
Yes, on 67 works everything
lasted night i done many parts of mod and stabilizing the google frame fixes,
The great effort must be work on translation cause didnt find a correct tool for baidu just for MIUI v5 Jbart tools but didnt effect on Baidu apks, so i ll to do decompile and set global language manually
MJ
yes!mjraogr
mjraogr said:
@robertcarvalho20
Can u please test rom and reports bugs to us. Maybe we can be merge others sammy Jb ported . Im downloaded the git hub portuguese language support for translate with jbart manager apks and Im studying I9300 tree cause its stable.
Click to expand...
Click to collapse
Good evening, I 'm rather bro work so stop back and install the rom!
robertcarvalho20 said:
Good evening, I 'm rather bro work so stop back and install the rom!
Click to expand...
Click to collapse
Tks,
Im working on Baidu 67 ,
Everything work just the no have FM Radio application and i trying port the samsung stock cause testing the spirit FM returns didnt find FM chip compatible
Working on mod
Bro's
The results have been very good!!
New face look
New system apps
Google edition inserted with frames apps and stuff... run ok
Now translating application for run test
Important Issues tested:
The Baidu can t be decompile on apktool multi tools so i used the MIUI Jbart Tools for this
No radio FM stook Baidu
The xposed Installer dont works on Baidu cause dont update and fix framework
mjraogr said:
Bro's
The results have been very good!!
New face look
New system apps
Google edition inserted with frames apps and stuff... run ok
Now translating application for run test
View attachment 3199289
Important Issues tested:
The Baidu can t be decompile on apktool multi tools so i used the MIUI Jbart Tools for this
No radio FM stook Baidu
The xposed Installer dont works on Baidu cause dont update and fix framework
Click to expand...
Click to collapse
The new face
Sent from my GT-I8552 using XDA Free mobile app
Log by Apktool
I decompiled Baidu apks with Jbart tools but dont recompile again
Trying with apktoll, or mult tools or apktools advance the error by log is same below
Log For : BaiduInput.apk
Log Type : Decompiling
Log Recorded At : 08 2015-03- 1:43:30,56
Log Recorded By : Advanced ApkTool v4.1.0 By BDFreak
------------------------------------------------------
Exception in thread "main" java.lang.ClassCastException: brut.androlib.res.data.value.ResFileValue cannot be cast to brut.androlib.res.data.value.ResScalarValue
at brut.androlib.res.decoder.ARSCDecoder.readComplexEntry(ARSCDecoder.java:199)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:169)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:157)
at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:125)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:100)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:78)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:47)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:606)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:75)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:67)
at brut.androlib.Androlib.getResTable(Androlib.java:61)
at brut.androlib.ApkDecoder.setTargetSdkVersion(ApkDecoder.java:206)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:92)
at brut.apktool.Main.cmdDecode(Main.java:165)
at brut.apktool.Main.main(Main.java:81)
------------------------------------------------------
Anyone knows what must be done, or I'm loosing to configure?
MJ
mjraogr said:
I decompiled Baidu apks with Jbart tools but dont recompile again
Trying with apktoll, or mult tools or apktools advance the error by log is same below
Log For : BaiduInput.apk
Log Type : Decompiling
Log Recorded At : 08 2015-03- 1:43:30,56
Log Recorded By : Advanced ApkTool v4.1.0 By BDFreak
------------------------------------------------------
Exception in thread "main" java.lang.ClassCastException: brut.androlib.res.data.value.ResFileValue cannot be cast to brut.androlib.res.data.value.ResScalarValue
at brut.androlib.res.decoder.ARSCDecoder.readComplexEntry(ARSCDecoder.java:199)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:169)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:157)
at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:125)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:100)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:78)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:47)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:606)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:75)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:67)
at brut.androlib.Androlib.getResTable(Androlib.java:61)
at brut.androlib.ApkDecoder.setTargetSdkVersion(ApkDecoder.java:206)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:92)
at brut.apktool.Main.cmdDecode(Main.java:165)
at brut.apktool.Main.main(Main.java:81)
------------------------------------------------------
Anyone knows what must be done, or I'm loosing to configure?
MJ
Click to expand...
Click to collapse
Deodex the rom first then decompile apk
Related
Hello tattoo users (especially donut users),
Few members have shown interest in using black power control widget that i have modified.
WHAT YOU NEED TO GET THESE WORK
A rooted phone with
Metamorph (for metamorph theme)
or Ninjamorph
Busybox
Green circle battery metamorph
Follow more info at the following links for how to use metamorph
http://forum.xda-developers.com/showthread.php?t=591329
http://code.google.com/p/android-metamorph/wiki/MetaMorph
Attachment is Andriod_black_circle.zip
Attached one one works on Android 1.6 stock ROMs
For other ROMs
Change following folder name after extracting the theme using metamorph
AndroidThemes\Andriod_black_circle\framework-res\res\drawable-120dpi to another name as per guidelines below
On Andriod AOSP change drawable-120dpi to drawable
On SPQRom 0.6 - CM6 (FroYo 2.2.1) drawable-120dpi to drawable-mdpi
On HTC TatFroyoSense v0.2 (WWE edition) drawable-120dpi to drawable-ldpi-v4
Black power widget (semi-transparent background) and Battery circle for ninjamorph
Version1 no black but semi-transparent backgound as in version2 - image only for icon view
{
"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"
}
Version2 semi-transparent backgound
On MondoROM v0.1
Version2_small no black but semi-transparent backgound as in version2 - image only for icon view
I dont have time to make a metamorph of these mods (should be easy for some one already doing such things)
Instead i thought i could post these and users can implement through ninjamorph (from author of Metamorph and available through market)
Ninjamorph lets you mod apks on the phone.
Before you attempt these mods please make a nandriod backup
And ninjamorph stores the unmodified apk file in Backup folder under AndriodThemes folder in sdcard.
So if something goes wrong reboot to recovery and replace modified file with original one.
I would recommend just to get familiarize, open an apk don't change anything and finish project and see how it goes.
HOW to instructions:
Start Ninjamorph
Accept start checks
Click New Project
Select apk to mod
For power control use /system/app/settings.apk
For battery circle use /system/framework/framework-res.apk
Extracted apk is in workspace folder in AndriodThemes folder
Once extracted, using another file explorer do as follows for respective apk
you could also use your computer to copy files by mounting in to your sd card.
Folder structure in attached zip file is similar to the extracted apk folder structure.
So make sure to check you are copying to the right folder.
As some times images your want to replace could be in drawable or drawable-ldpi or drawable-120dpi folder
For power control widget:
Replace the image files from respective folder in the attached Settings zip to the respective folder in extracted settings apk.
Before copying just check that same name image files are present in the folder
(some times they could be in drawable or drawable-ldpi or drawable-120)
and also copy the xml file to the respective folder (this defines the size and shape of widget).
For green circle battery icons(very simple):
Replace the image files from respective folder in the attached framework-res zip to the respective folder in extracted framework-res.apk.
Before copying just check that same name image files are present in the folder (some times they could be in drawable or drawable-ldpi or drawable-120)
once images are copied go back to ninjamorph and then click finish project
Then it will ask you to pick folder in workspace -> select the apk folder you have modified and it will repack the apk
Click OK to rewrite apk and
click OK to zipalign
click OK to restart (if asked)
click OK to delete finished project
Delete projects and if required restart to get a new look for selected items
Hope that information is helpful.
Thanks to
Stephen Stericson for Ninjamorph
massi959 for Version2 widget icons thread
Reserved for future use
Man ,, that's Neat i will do an nandroid backup n try that ,,, i will let u know bout the results ...
keep the good work man !
For green circle battery icons(very simple):
•Replace the image files from respective folder in the attached framework-res zip to the respective folder in extracted framework-res.apk.
•Before copying just check that same name image files are present in the folder (some times they could be in drawable or drawable-ldpi or drawable-120)
cud u plz make this a bit more clear?
banawy said:
cud u plz make this a bit more clear?
Click to expand...
Click to collapse
I guess you already extracted framework-res.apk from your /system/framework/ folder using ninjamorph
Now extract the attaced framework-res.apk.zip file from this thread.
Copy the image files from the attached zip file (you have folder structure - extractedapk/res/drawable-120dpi) to the extracted apk in andriod Themes folder
Extracted apk (your phone apk) should have similar folder structure (/res/drawable).
Now check if images (example: stat_sys_battery_0.png) is in which folder --Some times they could be in drawable or drawable-ldpi or drawable-120dpi.
And replace them
Finish the project in Ninjamorph and restart
Hope that helps
thx for the Fast reply ,,,
i have downloaded the zip file attatch ,, extracted it .. ----> framework-res.apk\res\drawable-120dpi on my Computer hard drive !
then i have started a new project System\app\framework-res.apk ...
i opened the the folder that's been created on the SD card ...
i copied the files which were framework-res.apk\res\drawable-120dpi in it ,,,
in a folder named /sdcard/Amdriodtheme/workplace/framework-resapk/drawable
then i have no idea wat to do !
banawy said:
thx for the Fast reply ,,,
i have downloaded the zip file attatch ,, extracted it .. ----> framework-res.apk\res\drawable-120dpi on my Computer hard drive !
then i have started a new project System\app\framework-res.apk ...
i opened the the folder that's been created on the SD card ...
i copied the files which were framework-res.apk\res\drawable-120dpi in it ,,,
in a folder named /sdcard/Amdriodtheme/workplace/framework-resapk/drawable
then i have no idea wat to do !
Click to expand...
Click to collapse
you meant you copied images to /sdcard/Andriodtheme/workplace/framework-resapk/res/drawable
so did you check that similar image names are present in this drawable folder
once images are copied go back to ninjamorph and then click finish project
Then it will ask you to pick folder in workspace -> select the framework-resapk and it will repack the apk
Click OK to rewrite apk and
click OK to zipalign
click OK to restart
click OK to delete finished project
rallapag said:
you meant you copied images to /sdcard/Andriodtheme/workplace/framework-resapk/res/drawable
so did you check that similar image names are present in this drawable folder
once images are copied go back to ninjamorph and then click finish project
Then it will ask you to pick folder in workspace -> select the framework-resapk and it will repack the apk
Click OK to rewrite apk and
click OK to zipalign
click OK to restart
click OK to delete finished project
Click to expand...
Click to collapse
u need to know one thing !
after startin the new project and goin into the folder that's been created
it was empty !!! not a single image even
i cudnt find any thing that i can replace the other battery icons with !
so i had pasted the images in an empty folder
i have tried two folders actually ,,
/sdcard/Andriodtheme/workplace/framework-resapk/res/drawable
and
sdcard/androitheme/workplace/framework-resapl/res
another thing
when u decide to finish the project
it asks u to pick files to be copied to the project
so i have to open the SD folder n pick the Framework-res.apk and replace it with the one in
system/ folder
i have done that after copyin the images to the empty folder
but nothing
i reboot
and nothing
,,
one other thing
Zipalign step i Click no
coz it says if u click okay u wud be able to modify some system ,,,,, and it's not safe
i feel my self stupid in that simple procedure !
it wud be great if u were online or somethin and we can do that step by step so that u wud be aware of the procedure and figure the problem
rallapag said:
Copy the image files from the attached zip file (you have folder structure - extractedapk/res/drawable-120dpi) to the extracted apk in andriod Themes folder
Extracted apk (your phone apk) should have similar folder structure (/res/drawable).
Now check if images (example: stat_sys_battery_0.png) is in which folder --Some times they could be in drawable or drawable-ldpi or drawable-120dpi.
And replace them
Click to expand...
Click to collapse
rallapag said:
you meant you copied images to /sdcard/Andriodtheme/workplace/framework-resapk/res/drawable
so did you check that similar image names are present in this drawable folder
Click to expand...
Click to collapse
please follow my points, (check same images file names present in which folder)
As you haven't found similar image name files in that folder,
you wont see any thing changed and you might screw the apk.
I found that battery status in vantom rom are in framework-resapk\res\drawable-120dpi
banawy said:
u need to know one thing !
after startin the new project and goin into the folder that's been created
it was empty !!! not a single image even
i cudnt find any thing that i can replace the other battery icons with !
so i had pasted the images in an empty folder
i have tried two folders actually ,,
/sdcard/Andriodtheme/workplace/framework-resapk/res/drawable
and
sdcard/androitheme/workplace/framework-resapl/res
another thing
Click to expand...
Click to collapse
No images found, means that your apk extraction is not working
as you should find some png images in drawable and drawable-120dpi folder and few in other drawable folders
It could be a problem with ninjamorph or root.
I think it's best for you to use modded framework made for your rom by some one.
I am sorrry i dont have that much time to modify it for you.
banawy said:
it wud be great if u were online or somethin and we can do that step by step so that u wud be aware of the procedure and figure the problem
Click to expand...
Click to collapse
Update first post with metamorph to work on Andriod 1.6 stock ROMs
use attachment Andriod_black_circle.zip
i will try it once again ,,, i hope it works !
i will let u knowww
rallapag said:
Update first post with metamorph to work on Andriod 1.6 stock ROMs
use attachment Andriod_black_circle.zip
Click to expand...
Click to collapse
i have downloaded the zip file :s wat shall i do now
banawy said:
i have downloaded the zip file :s wat shall i do now
Click to expand...
Click to collapse
check out how to use metamorph in the following post
http://forum.xda-developers.com/showthread.php?t=591329
You need metamorph and busybox installed to get this work
[Advice/Reference/Guide] The Definitive APK Modding & Theming Thread... [12/08/13]
{
"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"
}
XperienceD said:
This is why I love Virtuous Ten, as you can install multiple resources.
Click to expand...
Click to collapse
jacknb1ack said:
wow, i didnt know there is tools like that
Click to expand...
Click to collapse
After reading jacknb1ack's comment I felt compelled to re-write this whole thread to accommodate for the various PC Programs that you use to do all of your apk modding which can and do make things a hell of a lot quicker. I've wrote this as something I would have liked to have come across when I first joined because I know there is a lot to take in, and hearing you need to decompile, edit this or that xml, recompile, sign etc etc etc can be off putting for some especially if you struggle to get a program or apktool setup to begin with.
Knowing how to use command prompts will be beneficial in the long run so I've wrote a detailed guide below which covers it from start to finish along with how to Sign and Zipalign your apks, pulling them from the computer and so on. I've also covered some Theming basics with links to everything you're ever going to need, which will be extra handy if you're just getting started.
Minimum Requirements:
A Rooted Phone.
Java SE Runtime Environment
Java SE Development Kit
Any of the apk modifying methods below.
7-Zip or WinRar
Theming Requirements:
Notepad++
Photoshop, GIMP or any other image editing software.
Patience. :silly:
To avoid any java not found issues you need to set up the PATH for it in Environment Variables, you can find a short Guide on how to HERE. This is how mine looks...
Code:
[B]C:\Program Files (x86)\Java\jre6\bin;[/B]
I would advise that you also install the Android SDK but if you don't want to you can download this APK_Mod.zip that you can extract to a folder and place it anywhere you want on your Computer (I recommend C:\APK_Mod) and run any adb, apktool, zipalign or signing command prompts from it. You can find a more detailed guide for this method below.
But first off all here are some of the most common Programs that you can use to modify and theme your apks, and I'll start with one of the best...
Virtuous Ten Studio (VTS)
Virtuous Ten Studio (VTS) is the ultimate solution for the modification of android applications.
This program allows you to manage entire Android projects within an easy to use and familiar environment.
The intended group of users covers anyone from a themer over ROM devs up to the smali gods known for their awesome mods of existing apks.
The modifcation of smali code is one of the biggest features in VTS. You can easily decompile, edit and recompile any apk or jar file.
However, the application is not limited to smali files. You can edit almost any file found inside an apk or jar.
Virtuous Ten Studio is also the official successor to the highly important M10Tools released last year by the Virtuous Team.
You can easily edit any m10 file from Sense apps in order to resize or change them.
Additionally VTS brings support for un- and repacking of boot images (boot.img), a job that previously required a cygwin installation with the dsixda kitchen.
Since VTS' own implementation is a native windows solution, which means you don't need dsixda or cygwin anymore.
VTS has been designed to run on Windows, has been in development for nearly two years and has gone through many stages of testing.
Today VTS is a highly respected full blown Android IDE (Integrated Develoment Environment) suited for all your reverse engineering tasks.
Click to expand...
Click to collapse
- www.virtuous-ten-studio.com
AndroidSuite 2013
AndroidSuite 2013 what it does
Decodes and encodes Dex files
Decodes and encodes APK files (Previously bugged in APKManager)
Gives a console output
Flash boot.img (fastboot)
Flash update.zip (fastboot)
reboot/reboot fastboot mode
Sign unsigned apks
Click to expand...
Click to collapse
- (App) Androidsuite 2013 v117 (01/04/2013) Jelly Bean Support!
Tickle My Android 5.4
Tickle My Android, or TMA for short, is a command line tool for Windows that uses apktool to help you pull and decompile files from your Android phone or tablet.
But it can also:
change the battery icon,
change the WiFi icon,
change the signal icon,
change the emoticons,
change the notification toggles,
change the transparency of the statusbar (if the rom allows it),
add Ice-Cream Sandwich-style transitions
zipalign apk files,
sign new apk files,
sign recompiled apk files in the same way as the original,
deodex apk and jar files,
backup personal data and transfer to a brand new device,
resize and change boot animations,
change fonts,
add sounds from other devices,
create backup-generating flashable zip files
..and now comes in Portuguese and French!!
Click to expand...
Click to collapse
- [TOOL]Tickle My Android 5.4 - DE/RECOMPILE APPS, CHANGE ICONS...AND MORE!!!!
ApkManager V6.1
1. Based on ApkManager 4.9 by Daneshm90 (Big thanks to him)
2. Updated Apktool V1.5.2 by iBotPeaches & Brut.Alll
3. Updated Aapt v0.2
4. Default compression level set to “0?
5. 512Mo as default allowed heap size
6. 3 ready for use fake frameworks : “other\wanam1.apk”… (for Lidroid framework editing)
7. Add a “Decompile all files” feature (option 25)
Click to expand...
Click to collapse
- wanamlite.com
Command Prompt Editing
Basically this is just manually doing what all of the programs above need to do in order to decompile, recompile, sign and zipalign apks so it's worth knowing how to modify apks this way for occasions when the above programs for whatever reason gives you issues.
Use Linux or a Mac?
See the following threads for more information on using apktool on other Operating Systems...
APK Manager for Mac OS X
[Linux][UTILITY][TOOL] APK Multi-Tool
[tutorial] decompiling,recompiling and signing in linux (27-01-2013)
How to install and use Apktool with Ubuntu
Getting APKs To Your PC
You have two options here...
1. Use a file manager on your Phone to copy and paste files to your SD, then connect to your PC and use Windows Explorer to copy and paste to your desired location.
2. ADB. Open a command prompt window in the ADB folder (see below) and type/copy the following command...
Code:
adb pull /system/app/ Original_apps
...which will pull the whole app folder to your computer and create a new folder called Original_apps, which you can then simply copy apps to the main folder ready to be modified (keep the Original_apps folder as a backup). Then do the same for your framework folder...
Code:
adb pull /system/framework/ Original_framework
...want to pull your Phones whole system...
Code:
adb pull /system/ Xperia_Z_System
...you can rename "Xperia_Z_System" to whatever you want.
Further Information: [WINDOWS][TUT]ADB tutorial, setting up ADB, usefull commands, collecting debug info.
This is a zip of the apktool folder I currently use - APK_Mod.zip - which as said above also contains the ADB files needed to pull and push apps from your Phone, or you can check out the following links...
[Tool] ADB Fileexplorer
[TOOL][WINDOWS] Android Apktool
Installing Resources
For apktool to work you need to install the resources needed by your apks for de and recompiling, and those resources are other apks, the first apk regardless of your Phones manufacturer is going to be your framework-res.apk. The second apk you need is dependent on the manufacturer so you need to check your framework folder for another apk such as twframework.apk or SemcGenericUXpres.apk, in some cases it might even be the SystemUI.apk but you would need to check if you have issues with the other two. Put those two apks in the APK_Mod folder to begin with then open a command prompt window. The easiest way for me is holding the shift key then right clicking the mouse and selecting Open command window here, but if you're not able to do that then click your Start button and search for Command Prompt, then open it. You then need to point it to the relevant folder, so type cd then copy and paste the location of the folder (cd C:\APK_Mod) and hit enter.
The install commands are...
Code:
[B]apktool if[/B] framework-res.apk
...and for the second...
Code:
[B]apktool if[/B] SemcGenericUXpres.apk
Decompiling
The command for decompiling is...
Code:
[B]apktool d[/B] framework-res.apk
...and so on for each individual apk you want to modify. A new folder will be created that is named after the apk you are modding, then you can edit xmls, smali files and .9png images. You'll notice that there are a lot more folders when you decompile an apk, that's normal as those folders are from the resources.arsc and where you'll find the xml files you may need to edit to make the changes you want.
Recompiling
When you've done editing it's time to recompile, using the command...
Code:
[B]apktool b[/B] -insert folder name-
...and if you've edited your files correctly then it should compile with no errors and create a folder named dist in the decompiled folder along with a new apk.
Signing
Before using the new apk you will need to sign it, to do this you need to extract (open the apk and simply drag and drop them to the dist folder) from the original apk the resources.arsc (only if you haven't changed anything in the values folder, the AndroidManifest.xml and META-INF folder (if it exists), then copy them into the new apk. In WinRar it will give you the option to choose the compression method, and it's vital that you choose Store as the compression method because if you don't then you WILL BOOT LOOP after restarting your Phone!
NOTE: If you have edited anything in the values folder then extract the resources.arsc from the new apk and copy (drag and drop) it back in the same manner described above.
Alternatively you can use the following command...
Code:
[B]java -jar signapk.jar testkey.x509.pem testkey.pk8[/B] framework-res.apk.apk framework-resS.apk
...notice the extra "S", the output name has to differ from the input name otherwise it will give an error, if done right it will create a new apk called framework-resS.apk, just remember to rename it back to the original before using it on your Phone.
Signing For The Play Store
If you plan on Publishing a Theme or any other app/apk to the Play Store then using the above method to sign your apks just wont work because you need to give it an individual signature that is unique to you, thankfully @AndroidGraphix has written a great guide that will show you how, it's a bit more fidgety than the above method but simple enough to follow...
AndroidGraphix said:
Click to expand...
Click to collapse
- Noobs guide to signing an APK with a Private Key
Zipaligning
DISADVANTAGES OF UNALIGNED APKs
Quite understandably, situation would be reserved for unaligned application packages. Resource reading would be slow and memory usage would be on the higher end of the spectrum. It would also depend on how many unaligned applications are present. For example, if less number of applications with an unaligned home application, you’d see slower application launch times. This is the best case scenario. For a worst case scenario, having a number of unaligned applications will result in the system repeatedly starting and killing processes, struggling with lags and huge battery drain.
Click to expand...
Click to collapse
- SOURCE
The command for zipaligning is...
Code:
[B]zipalign -v 4[/B] framework-res.apk ZAframework-res.apk
...notice the "ZA", again that can be anything you want so long as it differs from the original name, I use ZA for an obvious reason, and again don't forget to rename it before using on your Phone.
Getting apks back to your Phone
It's just a reversal of how you got them off your Phone to begin with, use a file explorer and put your apk on your SD Card, then move it to the Phones System folder and change it's permissions to rw-rw-r, then move and replace it with the original. Most apps should continue to work but if you change your framework-res or SystemUI you will most likely need to reboot. Or you can use adb to push and install them. Check the previous link for the commands.
If all the above has worked correctly you should now have your modified apk installed with the changes you've made displayed on your Phone.
Theming & Modifying
This is where the fun begins, once you've got setup to decompile your apks then obviously you're going to want to mod them, so here's a few pointers to clear up what seems like a daunting process to new comers...
To start with you'll probably just want to start with replacing images, so if that's all you want to do for now then here's a quick tip, you DON'T need to decompile or sign your apks!, simply edit and rename your replacment images on you computer, preferably using the same or similar dimensions then drag and drop them back into the right folders in the apk, always using Store as the compression method, but PLEASE NOTE; .9 pngs can be replaced in the same way, but if you want to edit them in Photoshop for example then you need DO need to decompile them.
A few things to note...
Smali code is real Developer territory, it's Matrix code to me , thankfully there's usually a guide to follow so you can simply copy and paste code without having to fully understand how it works, so don't fret about this.
.9pngs are simply png images with a 1 pixel border. You can edit anything within that border but anything on or over will give errors when building. Unless you're creating an image from scratch then you can leave the border as it is, it's that simple! Sure there's a bit more to .9png editing but you can find a few links below that go into more detail about .9s and how they work.
xmls are relatively simple and edited with Notepad++, much simpler to understand than smali and again, there's usually a guide to be found for most mods you may want to make yourself, but if you're feeling brave you can experiment with it when you have a basic understanding of how it works.
Restoring modified files if you mess up is easier and quicker with a CWM.zip, especially if you're modifying any framework apks! Just because an apk might build with no errors doesn't mean it won't give you any when installed to the Phone.
.9png Editing
I hope after reading this explanation you're left wondering what all the fuss is about, as it really is quite simple. I'll use the following two images, btn_default_pressed_holo.9 & status_bar_close_off.9 to illustrate the basic point of the borders...
Decompiled .9pngs:
Recompiled .9pngs:
Those borders control which part of the image is stretched, and we'll use Draw 9-patch which is for editing the borders of decompiled .9pngs and lets you see how the image, when stretched, will be displayed on the Phone. Notice that the borders are different sizes, well that's because I only want/need a certain part of the image to stretch to get the desired look on the Phone.
...in the image below the left side shows the stretched image and desired effect should look on the Phone and the right side shows how it would look if I had edited the borders incorrectly or used none at all...
You can get away by not using a border but you would need to edit your image to specific dimensions to accommodate for the stretching, for example it might look fine for a simple OK button but it might not look right if you used the same .9png for a screen press which stretches the whole length of the screen, so you're better off just using them to begin with, plus you'll more than likely get errors down the line while decompiling or recompiling your apk.
The use of the border is made even more clear when you add text to an image. For my status_bar_close_off.9 I've filled all four sides of the image (except for an empty pixel in all four corners as that is the max amount of border you can use) as I need it to stretch the image just how I've edited it...
...but if I used the same sized left side border as the btn_default_pressed_holo.9 then this is how it would look on the Phone...
...which is obviously not the look I'm trying to achieve, as the left side border is causing the image to stretch incorrectly.
So that's basically it, depending on the image you're editing you can usually leave the borders alone but if you create one from scratch then you might need to play about with them if your images doesn't look quite right when used on the Phone. Here's a few links that will assist you further, especially the batch editing...
How to edit .9.pngs
[TUTO] Create your 9.png !
[UTILITY][TOOL] 9patchPngSuite [Windows&Linux]
How to draw NinePatch images with Photoshop - .9.PNG
[TOOL][Multi-Platform][.9.png][ALL DPIs] Android Resizer Tool
[Tutorial][Commentary] How To Batch Edit .9PNG/PNG Images
Xposed Framework
rovo89 said:
In this thread, I'm presenting a framework which gives you the possibility to modify your ROM - without modifying any APK (developers) or flashing (users)!
...
Advantages:
No need to modify any APKs. This means:
No need to decompile, change things in smali, compile, sign, ...
It will work for odexed and deodexed ROMs.
Your mod is not bound to a specific version of the ROM. Unless there is a major change in the methods called for a certain functionality, your mod will continue to work even when you upgrade your ROM. Hell, it will probably even work with different ROMs.
Multiple mods can be installed at the same time, even if they change the same package. So you can use these battery icons and those quick toggles. Even hooking the same method twice is possible. Of course, this only works properly if the mods are not trying to do incompatible things.
It does its magic at runtime. That means you can implement options to let the user decide if they prefer the bikeshed to be painted in red or blue. Or you can have some extra logic for certain ROMs without building different mod versions.
It can be disabled easily without having to reflash.
It's open source.
Click to expand...
Click to collapse
- [FRAMEWORK ONLY!] Xposed - ROM modding without modifying APKs
[Guide] Porting XTheme themes
[Guide] Xposed Framework/TabletUI (Noob-Friendly)
[INDEX][WiP] List of APPs & MODs that use XPOSED Module
[MOD][XPOSED][4.0+] XThemeEngine beta5 - Theme engine for any rooted phone
CyanogenMod Theme Chooser
Annex1 said:
CM10.1-THEME_BOOK
Theme book was created by Annex and Ebs512. I've been asked alot of questions from how to get started? what do I need to get started? to What Graphics program do I use? etc. We made a real simple theme guide to help get you started. This is in Layman Terms.. Nothing fancy.
ONLY THING FANCY IS MY FLASH BOOK
YOU MUST HAVE A FLASH PLAYER INSTALLED TO VIEW THIS!!!
Click to expand...
Click to collapse
- [GUIDE] HOW TO THEME CM10.1 - Animated Book
[Tool] [Theme Creator] [CM/Avatar] Theme creator tool
[Tool] nhnt11's XML Generator Revived V2+Extended UPDATED!
[DEV/GUIDE]Creating APKs for use with TMobile Theme engine
[GUIDE] T-mobile theme engine for the faint at heart (non-linux users)
[1/30/2013] Mega 4.2.1 BlackBean Theme Template [XXHDPI/XHDPI/HDPI/TVDPI]
-·=»‡«=·-[JB][CM10] Theme Engine Template Updated To V4 [8-7-12][XHDPI/HDPI]-·=»‡«=·-
See a few post below for more...
thnaks
thank you so much
very hepful guide
looking for dis
Thank you so much,
This should be sticky!
Make a noob, into a senior user.
Sent from my Anzu using xda premium
Flashable Clockwork Mod (CWM) zip
ClockworkMod Recovery zips are used for flashing individual files to whole ROMS and can be a life saver if you push a badly edited apk to your Phone that results in a bootloop. There's also a few programs that can assist you with that too, but if all you're doing is replacing a few files all you really need is a template, then it's just a matter of creating the Phones folder setup in the zip which is simply creating folders: system\app - system\media\audio etc then dragging and dropping your files into it. A basic understanding of the updater script is essential, a ROM.zip will more than likely wipe your Phone whereas a Theme.zip may just replace files but it might delete some also.
See below for a CWM.zip Template but first some helpful links...
ERRORS encountered in CWM Recovery
[Tool]easy flasher v4 (ur own update.zip)
[TUT] [for NOOB] editing updater-script for noobs!
[TUTORIAL] Making Flashable ZIPs, EDIFY Script, ZIP Signing & Key Creation
[Utility-Tool][DEVandThemers]CWMflashpack.zipCreatorV1{TheCollective}w/EdifyScripting
This is my Theme_CMW_Template.zip which is set up so you can add your own files to the framework and apps folders in the main system location, but you can easily add other folders to it if you want to add things like fonts, tones or anything else, just remember to add folders within folders if that's where the files you want to include are such as tones, media\audio\alarms for example.
If you navigate to META-INF\com\google\android you will find the updater-script which controls how the zip works and the text you see when you run it in CWM. As this zip is just for basically over writing files you don't need to edit anything except for a few lines...
...this is how I've edited it for my Ice Green ResMods theme...
...so just edit it using Notepad++ to your liking.
When adding files to your zip add them using Normal as the Compression Method...
...and that's pretty much it. Remember to remove the text files I've added otherwise they will be flashed to your folders too.
Deodexing
The first thing I do when installing the latest firmware is Deodex it, mainly because having a deodexed ROM is easier to modify and you'll find a lot of the modifications that are are in the Themes And Apps sections require you to have a deodexed ROM. I use the dsixda's Android Kitchen to deodex and @pankaj88 has written a great guide here - [GUIDE] How to DEODEX stock ODEXED ROM using dsixda's kitchen - so you can do it yourself, or you can give the following tools a try.
philos64 said:
The differences between Odex and Deodex Files...
In Android file system, applications come in packages with the extension .apk. These application packages, or APKs contain certain .odex files whose supposed function is to save space The odexed file structure works well as an optimization tool. Since these .odex files contain preliminary load information about each system app, the OS knows what to expect when it’s booting up, and consequently, loads all these apps faster.
On the other hand, it also makes hacking those applications difficult because a part of the coding has already been extracted to another location before execution.
For instance, on a non-rooted device you’ll find
system/app/Phone.apk ===> as well as ===> system/app/Phone.odex
Click to expand...
Click to collapse
- [GUIDE] - The differences between Odex and Deodex Files
[TOOL][WINDOWS]Universal Deodexer[ALL DEVICES!!]
abcdjdj said:
Hi everyone,
Alokbina and I have created a tool which allows users to very easily deodex apks from a rom. This tool is very useful for Rom developers too. For now only windows is supported but we will try our best to make the same tool for linux too and make the tool as user friendly as possible. And, please don't forget to thank alokbina too.
NOW EVEN ON XDA PORTAL - http://www.xda-developers.com/android/deodex-all-the-things-with-universal-deodexer/
Requirements:-
--->Java installed on your PC
--->system/framework folder from your rom
--->apks from that SAME ROM with the respective .odex file
--->Patience and a calm head (common sense included)
You can watch this video for setting up and using the tool -
Click to expand...
Click to collapse
[FIXED][UPDATE - V3][TOOL][WINDOWS]Universal Deodexer[ALL DEVICES!!]
adityaf said:
CARBONITE TOOL
Features
1)Deodex your stock ROM (android 2.x 3.x 4.x)
2)This tool automatically pull your apps from phone to PC
3)One click deodexer,
4)Just click Deodexer_from_phone
5)All apps and framework will be deodexed.
6)Automatically makes .zip file flash from CWM.
BUGS
Sometimes it does not deodex androidpolicy.jar just run script once again!
Click to expand...
Click to collapse
- [TOOL]CARBONITE TOOL [Dedeoxder tool][All devices]
And that's pretty much it, the only way you're really going to learn is by reading then putting into practice what you've read and picking stuff up along the way, fortunately this far into the history of Android there are numerous guides for numerous mods and tools to help with a variety of tasks and the following links are going to be a big help...
U.I Modding
Tutorial :- Changing App Icons
[TUTORIAL]How to Theme Your MMS
[How-to] Edit the "About Phone" display
How To Colorize Lock Screen Clock in Jellybean
[TUTORIAL] How to add various framework/Settings mods
[TUTORIAL] Where to find the colors for making a theme
[TUT][JB] HOW TO THEME SystemUI.apk for TOTALLY newbie!
[TUTORIAL][ICS][GB][JB]How to change Android's black background
Text...
Text Color Guide
[GUIDE][REF]Changing System Text Settings
Statusbar...
[MOD][TUT] Merge The WiFi And Signal Icons
[GUIDE][MOD][SYSTEMUI] How to add 0.0K/s meter on statusbar ICS/JB
[TUT] How To Center The Clock On The Statusbar..And Move Other Icons As Well!
[How-To]Removing Battery Percentage, Adding Toggles,Battery Circles to Statusbar
Misc...
Some Extra Theming and Moving the Power Widget Down
[HOWTO] Integrating/Adding applications to the settings menu
[GUIDE] How to get Transparent App Drawer [Launcher2.apk or Trebuchet.apk]
[GUIDE][Mods][All Devices]How to add/ Change Clocks to Analog/ Digital with Seconds
Various Tools...
[TOOL][BETA]Miui Theme Converter/Convert apk Themes!!!
[TOOL][JAVA]"The Rom Fumbler" aka "The Battery Icon Creator"[V29.0]
[TOOL]Boot Animation Factory-Create,Preview and Manage Boot Animations
Useful Links
findicons.com
colorschemer.com
[GUIDE] Tips for themers
Ultimate Online Theme Kitchen
[GUIDE] Want to learn how to theme?
[GUIDE] Smali coding guide for beginners
General Questions about Themes GO HERE!!!!!
[Guide] How to port themes to T-Mobile Theme Chooser
[Collection] ICON SETS | Over *750* different Icon Packs
[TOOL] Remote Theme Injector - theme your favorite paid apk
[TEMPLATE] Icon Packs/Themes for Apex, Nova, Holo, ADW, and more!!
[INFO] Custom framework-res.apk resources.arsc using vendor overlays
If you feel something more should be added to this thread please feel free to suggest it.
Credits & Thanks:
@_calum_
@Diamondback
@ebs512
@Rizal Lovins
@Ticklefish
@wanam
@rovo89
@Annex1
@ebs12
And not forgetting @iBotPeaches and @Brut.all for making it possible with - [UTIL][Feb 02 2013] Apktool v1.5.2 - a tool for reverse engineering apk files
one query
after i decompile the apk,i edit the my xmls in project folder....then what to do next?
EDIT:- I figured it out
abhisheak.bansal said:
one query
after i decompile the apk,i edit the my xmls in project folder....then what to do next?
Click to expand...
Click to collapse
Continue editing or recompile and test your changes.
Wow!! It should be sticky. Really usefull guide, it explain so much things... thanks again
Useful Guide, Thanks
soooo happy u came out with this
will u add how to make it a theme that someone else can flash?
keep up the good work
zainthesnipe said:
soooo happy u came out with this
will u add how to make it a theme that someone else can flash?
keep up the good work
Click to expand...
Click to collapse
Thanks, glad to see it's helping some People, and I will add that yes.
zainthesnipe said:
will u add how to make it a theme that someone else can flash?
Click to expand...
Click to collapse
Done.
Could you make a short guide to show
how to zipalign using dsixda's Android Kitchen
When I select zipalign all...
It says no working folder found...
what does it mean...?
Kajendran said:
When I select zipalign all...
It says no working folder found...
what does it mean...?
Click to expand...
Click to collapse
You haven't set up the folder. http://forum.xda-developers.com/showpost.php?p=5626300&postcount=3
Updated.
Thx For Guide:laugh:
when i try to install the resources i get this error:
Code:
'java' is not recognized as an internal or external command,
operable program or batch file.
i have java installed, what am i doing wrong?
Setup the path for it. See an "adb for noobs" guide for setting the path up.
Sent from my CM9'd Arc
XperienceD said:
Setup the path for it. See an "adb for noobs" guide for setting the path up.
Sent from my CM9'd Arc
Click to expand...
Click to collapse
i already did that, maybe i did it wrong, ill check again.
---------- Post added at 09:55 AM ---------- Previous post was at 09:51 AM ----------
ok i did it wrong, now i fixed it and it still doesn't work
any ideas?
i just need to sign a zip
OverLo4d said:
any ideas?
i just need to sign a zip
Click to expand...
Click to collapse
I'd remove Java then reinstall it, add your path then try again.
Welcome to a whole new guide on Android Development
-SArnab©®
{
"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 will cover up all small n big details that one can need to step his/her foot on the road to android development.
What are you gonna find in this Guide/Tutorial :
Basic knowledge of Android Development.
Tutorials to set up a full working environment or Your Workspace.
Knowledge about tools used/needed in Development.
Easy tutorial for cooking one's own custom rom.
What are you not gonna get :
Spoon fed help to do even a simple work.
Pre modded Apps or Roms.
A pre built option to carry on a project.
TUTORIAL CONTENT:
#1 GENERAL INTRODUCTION & REQUISITES[REQUIRED TOOLS] OF ANDROID DEVELOPMENT;
#2 OS WISE WORK ENVIRONMENT SETUP GUIDE;
#3 GUIDE TO MODIFY APPS PART-1.
#4 GUIDE TO MODIFY APPS PART-2.
#5 GUIDE TO COOK CUSTOM ROM PART-1.
#6
#7
#8
#9
#10
#11
#12
#13
THINGS YOU NEED TO START YOUR JOURNEY
PER-REQUISITES:
COMPUTER/LAPTOP TO WORK ON
A WELL KNOWN OPERATING SYSTEM THAT YOU ARE USED TO:
WINDOWS OS : VISTA OR 7 PREFERRED.
LINUX DISTRO : UBUNTU 12.10 64 BIT PREFERRED. DOWNLOAD LINK
MAC OS-X : THIS GUIDE DOES NOT SUPPORT MAC OS-X. SORRY MAC USERS.
JAVA DEVELOPMENT KIT[JDK] : V6 N V7 BOTH FOR BETTER RESULTS. [USE V6 IF YOU DON'T HAVE A HUGE CAPACITY DATA PLAN. IT'S THE PREFERRED ONE.] DOWNLOAD LINK
DOWNLOAD THIS ANDROID SDK ADT BUNDLE TO MAKE YOUR OWN APPS.[RECOMMENDED]DOWNLOAD LINK.
TOOLS/SOFTWARES REQUIRED AS PER YOUR NEED:
TOOLS REQUIRED BY WINDOWS USERS ONLY:
NOTEPAD++ FOR EDITING : .xml & .smali FILES OF APPS, build.prop TO ADD TWEAKS & Updater-scripts FOR YOUR ROM & UPDATE PACKAGES.[DO NOT USE WINDOWS NATIVE NOTEPAD/WORDPAD. THEY WILL DAMAGE THE FILES.] DOWNLOAD.
Click to expand...
Click to collapse
7zip ARCHIVE MANAGER : USED TO MAKE UPDATE PACKAGES, SIGN APPS, & OTHER ARCHIVE RELATED JOBS.
Click to expand...
Click to collapse
PAINT.NET : IT IS USED FOR MAKING .PNG FILES FOR UI. YOU CAN ALSO EDIT THEM. DOWNLOAD LINK.
[YOU MAY EVEN USE GIMP IMAGE MANIPULATION PROGRAM OR ADOBE PHOTOSHOP.]
Click to expand...
Click to collapse
TOOLS REQUIRED BY LINUX USERS ONLY:
p7zip ARCHIVE MANAGER : USED TO MAKE UPDATE PACKAGES, SIGN APPS, & OTHER ARCHIVE RELATED JOBS.
Click to expand...
Click to collapse
GIMP IMAGE MANIPULATION PROGRAM : IT IS USED FOR MAKING .PNG FILES FOR UI. YOU CAN ALSO EDIT THEM. ITS ALREADY INCLUDED IN UBUNTU.
Click to expand...
Click to collapse
TOOLS REQUIRED TO COOK YOUR OWN ROM: TOOLS REQUIRED FOR COOKING ROM THROUGH METHOD NUMBER 1:
FOR WINDOWS USERS
CYGWIN : ITS A UNIX LIKE TERMINAL APP FOR WINDOWS USERS. YOU NEED TO INSTALL THIS TO RUN ANDROID KITCHEN.
DOWNLOAD LINK
ALSO DOWNLOAAD N EXTRACT THIS PACKAGE : DOWNLOAD LINK
Click to expand...
Click to collapse
dsixda's Android Kitchen: USED FOR COOKING A CUSTOM ROM.
DOWNLOAD THE LATEST ONE.ORIGINAL THREAD
Click to expand...
Click to collapse
FOR LINUX/UBUNTU USERS
dsixda's Android Kitchen: USED FOR COOKING A CUSTOM ROM.
DOWNLOAD THE LATEST ONE.ORIGINAL THREAD
Click to expand...
Click to collapse
TOOLS REQUIRED FOR COOKING ROM THROUGH METHOD NUMBER 2
FOR SAMSUNG DEVICES:
ODINATRIX: IT IS REQUIRED TO GET SYSTEM.img FROM SAMSUNG FIRMWARES COOKING CUSTOM ROM FROM KITCHEN. DOWNLOAD
ORIGINAL THREAD
Click to expand...
Click to collapse
FOR XPERIA DEVICES:
FLASH TOOLS FOR XPERIA DEVICES : DOWNLOAD
UNYAFFS TOOLS : DOWNLOAD
Click to expand...
Click to collapse
ORIGINAL THREAD
Click to expand...
Click to collapse
TOOLS REQUIRED TO MOD/EDIT AN APK : USE ANY ONE OF APKTOOL/APK BOX/APK MULTI TOOL & BAKSMALI MANAGER IS NECESSARY TO DOWNLOAD FOR ADVANCE MODDING.
APKTOOL : THIS TOOL HELPS YOU TO DECOMPILE N RECOMPILE APK: ITS THE BEST FOR NEW COMERS DOWNLOAD LINK
INSTALLATION PROCEDURE
Windows:
Download apktool-install-windows-* file
Download apktool-* file
Unpack both to your Windows directory
Linux:
Download apktool-install-linux-* file
Download apktool-* file
Unpack both to /usr/local/bin directory (you must have root permissions)
ORIGINAL THREAD
Click to expand...
Click to collapse
APK BOX
DOWNLOAD :
Windows batch version: https://www.dropbox.com/s/xrzids3oyc...ApkBox_1.0.zip
Linux shell version: https://www.dropbox.com/s/y7fks74mvi...pkBox2_1.0.zip
Install
- Download the .zip file
- Extract the .zip file in your working folder[or anywhere in your computer/laptop as u like]
- Open ApkBox folder n double click apk.bat to run it.
ORIGINAL THREAD
Click to expand...
Click to collapse
APK MULTI TOOL: DOWNLOAD LINK
AVAILABLE ONLY FOR WINDOWS OS.
Installing APK Multi-Tool Itself
Run the installer and make sure it is pointed to the root of hard drive
Example
C:\APKMultiTools\
ORIGINAL THREAD
Click to expand...
Click to collapse
BAKSMALI MANAGER: IT IS USE TO BAKSMALI N SMALI .JAR FILES.
DOWNLOAD LINK.
INSTALLATION : EXTRACT THE DOWNLOADED ZIP FILE WHERE EVER U WANT.
Click to expand...
Click to collapse
==========================================================================================
CREDITS :
TO YOUR PARENTS OR GUARDIANS FOR THE PC OR LAPTOP U R USIN.:angel:
TO DEVELOPERS OF VARIOUS OPERATING SYSTEMS.
TO:
iBotPeaches FOR APKTOOL.
iptux FOR APK BOX.
raziel23x FOR APK MULTI TOOL.
TO: UNKNOWN FOR BAKSMALI TOOL.
TO DSIXDA FOR HIS AWESOME KITCHEN.
TO THE TEAM BEHIND CYGWIN, NOTEPAD++, PAINT.NET.
TO GOOGLE FOR ANDROID & ANDROID SDK
TO noobzFTW FOR THE GREAT ODINATRIX TOOL.
LAST BUT NOT THE LEAST TO ME FOR THE GUIDE ITSELF.
==========================================================================================
PLEASE PRESS THE THANXXX BUTTON IF THIS POST/THREAD HELPED YOU EVEN A BIT. BE GENEROUS N DONATE TO HELP ME N TO PRAISE MY HARD WORK.
GUYS I WILL UPDATE THE GUIDE SLOWLY SO THAT I DON'T MISS ANY NECESSARY INFO.
Setting up a perfect user friendly build environment
WORK ENVIRONMENT SETUP GUIDE
WINDOWS OS
1ST OF ALL MAKE SURE TO HAVE A LOT OF FREE SPACE IN LOCAL DISK C. [REASON : ALL YOUR TOOLS ARE GONNA STAY THERE FOR THE DEVELOPMENT PROCEDURE.]
SETUP 1: COMPLETE SETUP
DOWNLOAD & INSTALL JAVA DEVELOPMENT KIT [JDK].
Click to expand...
Click to collapse
DOWNLOAD N EXTRACT ANDROID SDK ADT BUNDLE IN THE ROOT OF C DRIVE [My Computer/Local Disk C/here].
Click to expand...
Click to collapse
DOWNLOAD N INSTALL CYGWIN IN THE ROOT OF C DRIVE [My Computer/Local Disk C/here].
Q.]HOW TO INSTALL CYGWIN?
ANS.] DOWNLOAD setup.exe
DOUBLE CLICK ON THE DOWNLOADED FILE.
PRESS YES IF ASKED.
PRESS NEXT.
SELECT THE 3RD OPTION [INSTALL FROM LOCAL DIRECTLY].
PRESS NEXT.
IF DESTINATION DRIVE IS SET TO "c/cygwin" PRESS NEXT ELSE 1ST SET DESTINATION DRIVE TO "c/cygwin".
SELECT WHERE YOU WANT TO DOWNLOAD THE FILES.
THEN WHEN IT SHOWS ALL THE PACKAGE NAMES, GO TO THE TOP & CLICK ON THE ARROW NEAR "all default" UNTIL IT CHANGES TO "all install" N PRESS NEXT.
WAIT FOR THE INSTALLATION TO FINISH.
THEN TICK BOTH THE OPTIONS FOR ICON PLACEMENT n PRESS FINISH/NEXT.
OPEN THE CYGWIN FOLDER.[My Computer/Local Disk C/cygwin/home/make a new folder here].
RENAME THE NEW FOLDER AS YOUR USER NAME. [My Computer/Local Disk C/cygwin/home/xxx12 or xxx.12].
NOTE: YOUR USERNAME IN WINDOWS SHOULD NOT HAVE SPACE IN BETWEEN. [EXAMPLE: "xxx 12" is not recommended. "xxx12" or xxx.12" ARE THE BEST FORMAT OF USERNAME.] [REASON : IN SIMPLE WORDS CYGWIN WILL NOT UNDERSTAND THE SPACE]
Click to expand...
Click to collapse
DOWNLOAD N EXTRACT dsixda's ANDROID KITCHEN IN CYGWIN FOLDER. [My Computer/Local Disk C/cygwin/home/xxx12 or xxx.12/kitchen].
Click to expand...
Click to collapse
DOWNLOAD AND EXTRACT APKTOOL/APK MULTI TOOL/APK BOX IN LOCAL DISK C. [ANY ONE OF THEM YOU LIKE.][RECOMMENDED: APKTOOL][My Computer/Local Disk C/apktool/apk multi tool/apk box].
Click to expand...
Click to collapse
FOR APKTOOL YOU NEED TO DOWNLOAD N EXTRACT TWO PACKAGES IN SAME FOLDER.[My Computer/Local Disk C/apktool/].
Download apktool-install-windows-* file
Download apktool-* file
Click to expand...
Click to collapse
DOWNLOAD N EXTRACT BAKSMALI MANGER IN LOCAL DISK C.[My Computer/Local Disk C/baksmali].
Click to expand...
Click to collapse
IF YOU HAVE FOLLOWED ALL THESE STEPS CORRECTLY THEN U SHOULD HAVE SET UP A PERFECT COMPLETE WORKING ENVIRONMENT FOR YOURSELF. IF NOT THAN FOLLOW THE STEPS AGAIN IN THEIR ORDER. IF STILL U GOT STUCK SOMEWHERE FELL FREE TO POST ABOUT WHERE U GOT STUCK OR WAT U R NOT ABLE TO UNDERSTAND. JUST NOT POST CANT DO OR ITS TO HARD OR ANYTHING LIKE THAT.
SETUP 2: ROM COOKING SETUP
DOWNLOAD & INSTALL JAVA DEVELOPMENT KIT [JDK].
Click to expand...
Click to collapse
DOWNLOAD N INSTALL CYGWIN IN THE ROOT OF C DRIVE [My Computer/Local Disk C/here].
Q.]HOW TO INSTALL CYGWIN?
ANS.] DOWNLOAD setup.exe
DOUBLE CLICK ON THE DOWNLOADED FILE.
PRESS YES IF ASKED.
PRESS NEXT.
SELECT THE 3RD OPTION [INSTALL FROM LOCAL DIRECTLY].
PRESS NEXT.
IF DESTINATION DRIVE IS SET TO "c/cygwin" PRESS NEXT ELSE 1ST SET DESTINATION DRIVE TO "c/cygwin".
SELECT WHERE YOU WANT TO DOWNLOAD THE FILES.
THEN WHEN IT SHOWS ALL THE PACKAGE NAMES, GO TO THE TOP & CLICK ON THE ARROW NEAR "all default" UNTIL IT CHANGES TO "all install" N PRESS NEXT.
WAIT FOR THE INSTALLATION TO FINISH.
THEN TICK BOTH THE OPTIONS FOR ICON PLACEMENT n PRESS FINISH/NEXT.
OPEN THE CYGWIN FOLDER.[My Computer/Local Disk C/cygwin/home/make a new folder here].
RENAME THE NEW FOLDER AS YOUR USER NAME. [My Computer/Local Disk C/cygwin/home/xxx12 or xxx.12].
NOTE: YOUR USERNAME IN WINDOWS SHOULD NOT HAVE SPACE IN BETWEEN. [EXAMPLE: "xxx 12" is not recommended. "xxx12" or xxx.12" ARE THE BEST FORMAT OF USERNAME.] [REASON : IN SIMPLE WORDS CYGWIN WILL NOT UNDERSTAND THE SPACE]
Click to expand...
Click to collapse
DOWNLOAD N EXTRACT dsixda's ANDROID KITCHEN IN CYGWIN FOLDER. [My Computer/Local Disk C/cygwin/home/xxx12 or xxx.12/kitchen].
Click to expand...
Click to collapse
SETUP 3: APP MAKING SETUP
DOWNLOAD & INSTALL JAVA DEVELOPMENT KIT [JDK].
Click to expand...
Click to collapse
DOWNLOAD N EXTRACT ANDROID SDK ADT BUNDLE IN THE ROOT OF C DRIVE [My Computer/Local Disk C/here].
Click to expand...
Click to collapse
SETUP 4: APP MODDING/EDITING SETUP
DOWNLOAD & INSTALL JAVA DEVELOPMENT KIT [JDK].
Click to expand...
Click to collapse
DOWNLOAD AND EXTRACT APKTOOL/APK MULTI TOOL/APK BOX IN LOCAL DISK C. [ANY ONE OF THEM YOU LIKE.][My Computer/Local Disk C/apktool/apk multi tool/apk box].[apktool/apk multi tool/apk box means EITHER apktool or apk multi tool or apk box.][RECOMMENDED: APKTOOL]
FOR APKTOOL YOU NEED TO DOWNLOAD N EXTRACT TWO PACKAGES IN SAME FOLDER.[My Computer/Local Disk C/apktool/].
Download apktool-install-windows-* file
Download apktool-* file
Click to expand...
Click to collapse
DOWNLOAD N EXTRACT BAKSMALI MANGER IN LOCAL DISK C.[My Computer/Local Disk C/baksmali].
Click to expand...
Click to collapse
==========================================================================================================================
LINUX DISTRO : UBUNTU
GUYS PLZ FOLLOW THESE STEPS TO SUCCESSFULLY ROOT YOUR UBUNTU:
To get started, press Ctrl – Alt – T on your keyboard to open the terminal. When it opens, run the commands below to create a root password.
sudo passwd root
Click to expand...
Click to collapse
Next, run the commands below to enable root login in Ubuntu 12.10:
sudo sh -c 'echo "greeter-show-manual-login=true" >> /etc/lightdm/lightdm.conf'
Click to expand...
Click to collapse
THEN TYPE:
$ sudo -i
Click to expand...
Click to collapse
THEN FOLLOW THE ONSCREEN INSTRUTION.
NOW THE LOGIN PART.
TO SUCCESSFULLY BOOT INTO ROOT USER ACCOUNT RESTART YOUR PC/LAPTOP AND WAIT FOR THE PC TO SLEEP. NOW REACTIVATE IT. WHEN ASKED FOR PASSWORD SELECT DIFFERENT USER ACCOUNT N PUT root AS USERNAME n UR ROOT PASSWORD N LOGIN.
SEE ATTACHMENTS FOR PICS
HERE ARE THE VIDEO TUTORIALS TO SET UP WORKING ENVIRONMENT ON UBUNTU:
VIDEO-1 | VIDEO-2 | VIDEO-3
SETUP ANDROID SDK:
Download the SDK.
169.9 MB [http://developer.android.com/sdk/dow...x86-1.5_r3.zip]
Click to expand...
Click to collapse
Right-click and select Extract Here.
Move the contents of the android-sdk-linux_x86-1.5_r3 directory to your desired location.
Close directory window.
Using your favorite text editor, open the .mycshrc file in your home directory.
Add the following text to the end of the file:
set path=($path <android_sdk_dir>/tools)
set path=($path <android_sdk_dir>/platform-tools
Open up a terminal, navigate to your home directory and execute the following command:
source .mycshrc
INSTALL JAVA DEVELOPMENT KIT 6[JDK-6]
STEPS:
OPEN THE TERMINAL WINDOW
TYPE N HIT ENTER:
sudo apt-get purge openjdk*
Click to expand...
Click to collapse
NOW TYPE N PRESS ENTER:
sudo apt-get purge *jre*
Click to expand...
Click to collapse
OPEN UP YOUR SYNAPTIC PACKAGE MANAGER AND DO A SEARCH FOR JRE OR ANY JAVA RELATED PACKAGES N IF YOU FOUND ANY THEN UNINSTALL THEM.
ONCE YOU MAKE SURE THAT YOUR SYSTEM IS CLEANED OF ANY JAVA PACKAGE, DOWNLOAD THE SCRIPT FROM HERE : DOWNLOAD SCRIPT
ONCE YOU HAVE DOWNLOADED THE SCRIPT FROM THE ABOVE GIVEN LINK, YOU WILL NEED TO ENABLE THE EXECUTING PERMISSION BIT. SO CHANGE YOUR DIRECTORY TO WHEREVER YOU HAVE DOWNLOADED THE SCRIPT N THEN IN TERMINAL WINDOW TYPE THE CODE BELOW N HIT ENTER:
chmod +x ./whatever_the_script_is_named
Click to expand...
Click to collapse
NOTE: AFTER "./" YOU WILL HAVE TO WRITE THE NAME OF THE DOWNLOADED SCRIPT.
THEN IN THE TERMINAL WINDOW RUN THE SCRIPT WITH THE FOLLOWING CODE:
sudo ./whatever_the_script_is_named
Click to expand...
Click to collapse
NOTE: AFTER "./" YOU HAVE TO PUT THE NAME OF THE SCRIPT.
ABOUT ALL THESE STEPS: THESE STEPS HELP YOU BUILD PACKAGES FOR YOUR SYSTEM AND PLACE THEM IN LOCAL REPOSITORY FOR apt-get TO INSTALL THEM. THIS BYPASSES JAVA ANAL RETENTIVE LICENSING BULL SQUASH.
SO, NOW YOU NEED TO INSTALL IT WITH THE HELP OF FOLLOWING CODE:
sudo apt-get install sun-java6-jre
Click to expand...
Click to collapse
WAIT FOR IT TO FINISH INSTALLING.
TO ENSURE YOUR VERSION IS CORRECT RUN THIS CODE:
java -version
Click to expand...
Click to collapse
YOU SHOULD GET AN OUTPUT SIMILAR TO:
[email protected] ~ $ java -version
java version "1.6.0_32"
Java(TM) SE Runtime Environment (build 1.6.0_32-b05)
Java HotSpot(TM) 64-Bit Server VM (build 20.7-b02, mixed mode)
[email protected] ~ $
Click to expand...
Click to collapse
THIS GUIDE ON JAVA INSTALLATION WORKS ON: Precise/Mint-Maya/Ubuntu.
INSTALL JAVA ON 64BIT UBUNTU.[GUIDE BY THE AWESOME dsixda- THE CREATOR OF REVOLUTIONARY ANDROID KITCHEN.][EDITED BY ME FOR NEW COMERS]
STEPS:
OPEN TERMINAL WINDOW BY PRESSING : CTRL + ALT + T
TYPE THE FOLLOWING CODE TO INSTALL 32BIT libs SO THAT YOU CAN INSTALL JAVA IN 64BIT.
sudo apt-get install ia32-libs
Click to expand...
Click to collapse
OPEN UBUNTU SOFTWARE CENTER[UBUNTU MARKET].
CLICK ON THE SEARCH OPTION N SEARCH FOR JAVA
YOU WILL GET A HELL[SORRY IF U MIND THIS WORD] LOT OF SEARCH RESULTS.
IN THE LIST LOOK FOR "OpenJDK Java Runtime" N CLICK INSTALL.
AFTER THE INSTALLATION FINISHES, OPEN UP TERMINAL WINDOW AGAIN N RUN THE FOLLOWING CODE TO CONFIRM THAT JAVA HAS BEEN INSTALLED SUCCESSFULLY:
java -version
Click to expand...
Click to collapse
SETTING UP ANDROID KITCHEN
DOWNLOAD THE LATEST VERSION OF ANDROID KITCHEN;
EXTRACT THE FOLDER WHEREVER YOU LIKE;
NOTE: GUYS I WILL BE ASSUMING A NEUTRAL FOLDER FOR ALL ANDROID DEVELOPMENT. \home\username\android\kitchen; [PLZ NOTE: kitchen FOLDER NAME SHUD BE IN SMALL LETTERS]
THESE FILES & FOLDERS SHUD BE INSIDE THE kitchen FOLDER
Click to expand...
Click to collapse
CREDITS
the1dynasty FOR THE UBUNTU ENVIRONMENT SETUP VIDEOS.
wddglr FOR THE GUIDE TO SETUP SDK On linux.
who_ohw FOR THE GUIDE TO INSTALL JDK IN A LINUX DISTRO.
dsixda FOR HIS GUIDE TO INSTALL JAVA IN A SYSTEM RUNNING 64BIT UBUNTU
LAST BUT NOT THE LEAST TO ME FOR THE GUIDE ITSELF.
Please press the thanxxx button if this post/thread helped you even a bit. Be generous n donate to help me n to praise my hard work.
App modding & editing : Decompile, edit, recompile.
WELCOME TO APP MODIFICATION GUIDE POST-1.
FOR WINDOWS.
WHAT YOU WILL GET HERE :angel::
TUTORIAL TO EASILY DECOMPILE N RECOMPILE APPS.
A SIMPLE EXAMPLE MODIFICATION THROUGH DIFFERENT TOOLS.
LINKS TO VARIOUS GUIDES TO MOD DIFFERENT APPS.
WHAT YOU WONT GET HERE :
PRE MODDED APPS
SPOON FED GUIDE TO MOD EACH AND EVERY APP U LIKE.
TOOL NO. 1: APKTOOL
STEPS:
DOWNLOAD N EXTRACT THE REQUIRED FILES TO : "C/APKTOOL/HERE"
OPEN APKTOOL FOLDER IN LOCAL DISK C : "C/APKTOOL"
COPY PASTE YOUR "framework-res.apk" IN THIS FOLDER. [C/APKTOOL/HERE].
NOTE: SAMSUNG USERS YOU ALSO NEED TO COPY PASTE "twframework-res.apk" HERE.
HTC USERS YOU ALSO NEED TO COPY PASTE "com.htc.resources.apk" HERE.
OPEN CMD WINDOW : CLICK ON START/RUN N TYPE "cmd" WITHOUT QUOTES & PRESS ENTER
TYPE : cd C:\apktool N PRESS ENTER
U WILL SEE A NEW LINE STARTING WITH : "C:\APKTOOL>"
THEN TYPE "apktool if framework-res.apk" WITHOUT QUOTES N PRESS ENTER.
NOTE: SAMSUNG USERS YOU NEED TO DO AN EXTRA STEP. AFTER ABOVE STEP AGAIN TYPE : "apktool if twframework-res.apk" WITHOUT QUOTES N PRESS ENTER.
HTC USERS YOU NEED TO DO AN EXTRA STEP. AFTER ABOVE STEP AGAIN TYPE : "apktool if com.htc.resources.apk" WITHOUT QUOTES N PRESS ENTER.
ABOUT THIS STEP: THESE STEPS INSTALLS YOUR FRAMEWORK DEPENDENCIES SO THAT YOU CAN EASILY DECOMPILE AND RECOMPILE APPS.
MINIMIZE THE CMD WINDOW FOR NOW.
COPY PASTE ANY APP THAT YOU WANT TO EDIT TO THE APKTOOL FOLDER : [C/APKTOOL/YourChoice.apk].
MAXIMIZE THE CMD WINDOW N TYPE : "apktool d YourChoice.apk" WITHOUT QUOTES N PRESS ENTER.
ABOUT THIS STEP: THIS STEP DE-COMPILES YOUR APP FOR YOU TO EDIT IT.
MINIMIZE THE CMD WINDOW AGAIN FOR NOW.
AFTER DOING ALL YOUR MODIFICATIONS MAXIMIZE THE CMD WINDOW N TYPE : "apktool b YourChoice" WITHOUT QUOTES N PRESS ENTER.
NOTE: HERE IN THIS CODE "YourChoice" IS THE NAME OF THE APP THAT YOU DECOMPILED BUT WITHOUT THE EXTENSION ".apk", FOR EXAMPLE IF YOU DECOMPILE SystemUi.apk THEN YOU WILL WRITE : "apktool b SystemUI"
YOU WILL GET A "dist" NAMED FOLDER IN C/APKTOOL/YourChoice/here.
OPEN THAT FOLDER. THERE YOU WOULD FIND YOUR RECOMPILED APK.[C/APKTOOL/YourChoice/dist/YourChoice.apk].
NOW SIGN YOUR MODDED APK BY FOLLOWING THE GUIDE IN THE END OF THIS POST.
IF EVERY THING GOES WELL THEN YOUR APP WILL BE RECOMPILED WITHOUT ANY ERRORS.
IF NOT THEN ASK FOR HELP IN THE CONCERNED THREAD OF THE GUIDE THAT YOU USED FOR MODDING.
TOOL NO. 2: APK MULTI TOOL
STEPS:
DOWNLOAD N EXTRACT APK MULTI TOOL AT : "C/APKMULTITOOL/HERE"
YOU WILL GET THESE FILES AND/OR FOLDERS IN THE FOLDER AFTER EXTRACTING THE DOWNLOADED FILE:
docs
other
themer
.gitattributes
.gitignore
APK-Multi-Tool.log
CHANGELOG
README
Script.bat
Setup.bat
setuplog.log
RUN Setup.bat BY DOUBLE CLICKING ON IT.
TYPE 3 N PRESS ENTER.
ABOUT THIS STEP: THIS STEP SETUPS THE TOOL FOR USE. YOU NEED TO DO IT ONLY ONCE.
MINIMIZE THE WINDOW.
COPY PASTE YOUR "framework-res.apk" IN other FOLDER. [C/APKMULTITOOL/other/HERE].
NOTE: SAMSUNG USERS YOU ALSO NEED TO COPY PASTE "twframework-res.apk" HERE.
HTC USERS YOU ALSO NEED TO COPY PASTE "com.htc.resources.apk" HERE.
MAXIMIZE THE setup.bat WINDOW N TYPE 2 N PRESS ENTER
NOW TYPE THE DESIRED OPTION N PRESS ENTER
ABOUT THIS STEP: THIS STEP INSTALL THE FRAMEWORKS. YOU NEED TO DO IT ONLY ONCE.
YOU CAN NOW CLOSE THIS WINDOW.
YOU HAVE NOW SUCCESSFULLY SET UP WORK ENVIRONMENT FOR APK MODDING THROUGH APK MULTI TOOL.
COPY PASTE THE APP YOU WANT TO MOD TO THE FOLDER NAMED : "place-apk-here-for-modding" [C/APKMULTITOOL/place-apk-here-for-modding/YourChoice.apk]
RUN Script.bat BY DOUBLE CLICKING ON IT.
PRESS ENTER TO GET TO THE MENU.
TYPE 25 N PRESS ENTER.
A NEW MENU APPEARS.
TYPE THE DESIRED OPTION N PRESS ENTER.
ABOUT THIS STEP: THIS STEP LETS YOU CHOOSE THE APP YOU WANT TO EDIT.
TYPE 9 N PRESS ENTER TO DECOMPILE YOUR APK. [YOUR DECOMPILED APP WOULD IS AT "projects" FOLDER.[C/APKMULTITOOL/projects/YourChoice.apk]
MINIMIZE THE WINDOW FOR NOW. DO NOT CLOSE IT.
DO ALL THE MODS YOU LIKE TO N SAVE ALL THE FILES.
MAXIMIZE THE script.bat WINDOW N TYPE 12 N PRESS ENTER.
THEN WHEN ASKED TO SELECT THE WAY TO CREATE THE APK TYPE 2 N PRESS ENTER
NOTE: ALWAYS TYPE 12 TO RECOMPILE THE APK. DO NOT TYPE 11 EVEN IF ITS A SYSTEM APP. THAT MAY GIVE FORCE CLOSE. ONCE YOU ARE FLUENT WILL ALL THESE YOU CAN TRY THAT OPTION. BUT FOR NOW IGNORE IT.
ABOUT THIS STEP: THIS STEP RECOMPILES YOUR MODDED APK.
YOU WILL GET AN UNSIGNED APK IN "place-apk-here-for-modding" FOLDER NAMED "unsignedYourChoice.apk"
RENAME IT TO "YourChoice.apk" [YourChoice = THE ORIGINAL NAME OF THE APK, EXAMPLE SystemUI.apk]
NOW SIGN YOUR MODDED APK BY FOLLOWING THE GUIDE IN THE END OF THIS POST.
A SIMPLE GUIDE ON MODDING AN APP:
No Clock: THIS SMALL GUIDE WILL TEACH YOU TO REMOVE THE CLOCK FROM YOUR STATUS-BAR. ITS ONE OF THE SIMPLEST GUIDE IN THE FORUM.
Decompile systemui.apk with apktool or any other app u like.
Go to C\APKTOOL\SystemUI\res\layout\ and open status_bar.xml with notepad++
Search for this line and remove it:-
Code:
<com.android.systemui.statusbar.Clock android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textSize="16.0sp" android:gravity="center_vertical" android:id="@id/clock" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
Now compile back apk file, sign it and push back to system/app.
CONGRATULATIONS...!! YOU HAVE JUST SUCCESSFULLY MODDED YOUR FIRST APP. KEEP IT UP.:good:
IF YOU ARE NOT ABLE TO DO SUCH A SIMPLE MODDING... NOT TO WORRY.:angel: TRY N TRY TILL YOU SUCCEED. NO 1'S PERFECT.
FEEL FREE TO ASK IN THIS THREAD OR ELSE HERE.
SIGNING THE MODDED APP[ONE OF THE MOST IMPORTANT THING][SAME FOR EVERY OPERATING SYSTEM].
OPEN THE ORIGINAL APK THROUGH AN ARCHIVE MANAGER [WINDOWS USERS YOU USE 7zip FOR BEST RESULTS]
DO THE SAME WITH THE MODDED APP
NOTE: DO NOT EXTRACT THE APK. JUST OPEN THROUGH THE MANAGER.
NOW MULTI SELECT Meta-inf FOLDER & Android-manifest.xml IN THE ORIGINAL APK N DRAG N DROP TO THE MODDED APK.
CLOSE BOTH THE WINDOWS.
VIOLA... YOUR APP HAS BEEN SIGNED.
LINKS TO VARIOUS GUIDES AROUND XDA:
[GUIDE] [MODS] Collection of mods for all gingerbread[2.3] phones... GUIDE BY lokeshsaini94
[GUIDES COLLECT] Update 24/7/2012 GUIDE BY zcop
[SIMPLE GUIDE + LOCKRINGS] [ALL ANDROID ROMS] Change lockrings on any rom GUIDE BY daveyannihilation
[GUIDE] ICS Style 'Settings.apk' - Make it yourself !! !! GUIDE BY balamu96m
{UPDATE} (Guides)All Guides At one place By hpsgill {10:03:2013} GUIDE BY Hpsgill
CREDITS
TO THE CREATORS OF VARIOUS TOOLS.
TO Master&Slave™ FOR THE DEMO GUIDE MOD Nlokeshsaini94 for the guide itself.
TO lokeshsaini94 ONCE AGAIN FOR TEACHING ME HOW TO DECOMPILE/RECOMPILE APPS N ALSO HOW TO SIGN THEM BACK.
TO
lokeshsaini94
zcop
daveyannihilation
balamu96m
Hpsgill
FOR ALL THE GUIDES
LAST BUT NOT THE LEAST TO ME FOR THE WHOLE GUIDE.
Please press the thanxxx button if this post/thread helped you even a bit. Be generous n donate to help me n to praise my hard work. ALSO THANK ALL THE PERSONS WHOSE NAMES ARE THERE IN THE CREDITS. CUZ WITOUT THEM THIS GUIDE WOULD HAVE BEEN INCOMPLETE.
App modding & editing : Decompile, edit, recompile Cont...
welcome to app modification guide post-2.
For linux distro/ubuntu.
Cooking A Custom Rom Method 1.
Welcome To The Guide For Cooking Custom Roms Method-1.
THIS GUIDE WILL WORK FOR ANY ANDROID DEVICE, NO MATTER GINGERBREAD, ICS OR JELLY BEAN.
WHOM WILL THIS TUTORIAL HELP?
ABSOLUTE BEGINNERS;
PEOPLE WITH LITTLE OR NO DEVELOPING SKILLS;
PEOPLE WHO WANT TO COOK THEIR OWN ROM N WANT TO TRY FEW BASIC MODS;
THUS, THIS TUTORIAL IS FOR ANYONE & EVERYONE.
PLZ NOTE EACH ONE OF YOU READING THIS POST I ASSUME YOU HAVE ALREADY READ ALL THE PREVIOUS POSTS/GUIDES TO SETUP YOUR COMPUTER/LAPTOP N HAVE DONE SAME ALREADY N THAT YOU ARE NOW READY TO COOK YOUR ROM.
BASIC GO-THROUGH WITH THE TOOLS YOU WILL NEED.
WINDOWS USERS:
JAVA;
CYGWIN;
ANDROID KITCHEN;
NOTEPAD++;
PAINT.NET/GIMP IMAGE MANIPULATION PROGRAM/ADOBE PHOTOSHOP;
7-ZIP.
LINUX DISTRO/UBUNTU USERS:
JAVA;
ANDROID KITCHEN;
ANY TEXT EDITOR;
GIMP IMAGE MANIPULATION PROGRAM;
ANY ARCHIVE MANAGER[RECOMMENDED : p7zip]
THE ACTUAL GUIDE STARTS HERE.
WINDOWS USERS FOLLOW THESE STEPS:
STEP 1. START THE ANDROID KITCHEN
PLZ NOTE:
First our folder structure should look like this:
Code:
cygwin folder/home/your user name/kitchen
Inside the kitchen it should look like this:
OPEN THE CYGWIN TERMINAL FROM THE DESKTOP/START MENU SHORTCUT;
TYPE:
Code:
cd kitchen[PRESS ENTER]
./menu[PRESS ENTER]
TRICK-O-TREAT!!
PICTURE TUTORIAL:
LINUX / UBUNTU USERS FOLLOW THESE STEPS:
STEP 1. START THE ANDROID KITCHEN
PLZ NOTE:
First our folder structure should look like this:
Code:
\home\username\android\kitchen;
Inside the kitchen folder it should look like this:
OPEN TERMINAL PROGRAM;
NAVIGATE TO THE FOLDER WHERE YOU HAVE EXTRACTED THE KITCHEN by TYPING:
cd android
Click to expand...
Click to collapse
NOW TYPE THE FOLLOWING CODE TO GET INTO KITCHEN:
cd kitchen
Click to expand...
Click to collapse
NOW TYPE THE FOLLOWING CODE TO BOOT INTO KITCHEN:
./menu
Click to expand...
Click to collapse
NOTE: GUYS IF U GET ERROR LIKE PERMISSION DENIED THEN FIRST TYPE THE FOLLOWING CODE:
chmod +x menu
Click to expand...
Click to collapse
THEN AGAIN TYPE:
./menu
Click to expand...
Click to collapse
TRICK-O-TREAT!!
PICTURE TUTORIAL
PLZ NOTE FROM THIS POINT EVERY STEP IN THIS POST IS COMMON OR ALMOST SAME FOR BOTH WINDOWS & LINUX / UBUNTU USERS. IF YOU DO NOT UNDERSTAND ANY PART FELL FREE TO POST A COMMENT WITH YOUR PROBLEM. BUT BEFORE THAT DO TRY TO UNDERSTAND WHAT IS BENN ASKED TO DO.
STEP 2. Collecting Required Files And Folders :
Main Files/Folders Required :
META-INF
system
/app
/bin
/etc
/fonts
/framework
/lib
/media
/semc[ONLY FOR XPERIA USERS]
/usr
/xbin
build.prop
boot.img[ITS NOT NECESSARY]
HOW TO GET THESE FILES/FOLDERS?
ANSWER: GUYS YOU WILL NEED A FRESHLY FLASHED/FACTORY RESTED MOBILE PHONE TO GET BEST RESULTS.
A USED MOBILE WILL HAVE A LOT OF JUNK FILES WHICH WE DON'T NEED AT ALL.
NOW IF YOU HAVE ROOTED YOUR MOB THEN SKIP THIS STEP OR ELSE FOLLOW THIS TO ROOT YOUR MOBILE :
GUYS GO TO THIS POST BY ME TO ROOT YOUR SAMSUNG GINGERBREAD MOBILE : ROOTING GUIDE BY MEE =)
OTHER GB/ICS/JB USERS PLZ SEARCH XDA FOR ROOTING YOUR MOBILE PHONE.
NOW USERS YOU NEED CLOCKWORK MOD CUSTOM RECOVERY OF YOUR MOBILE. DOWNLOAD IT FROM XDA N MOVE TO THE ROOT OF UR SD CARD.
WHY DO I NEED THIS? ANSWER : IT WILL HELP YOU TO BACKUP UR CURRENT ROM & AS WELL AS GET THE SYSTEM FOLDER REQUIRED FOR COOKING YOUR CUSTOM ROM. =)
BOOT INTO STOCK RECOVERY WITH THE KEY COMBINATIONS OF YOU MOBILE N THEN SELECT INSTALL ZIP FROM SD CARD N SELECT CWM.ZIP[WATEVER THE NAME U HAVE] TO BOOT INTO CWM RECOVERY. CHOOSE THE OPTION TO BACKUP N RESTORE N DO A BACKUP OF YOUR CURRENT ROM.
CONNECT YOUR MOBILE TO PC WITH USB N COPY PASTE[DO NOT DO CUT PASTE] THE BACKUP FOLDER FROM YOUR MOBILE TO YOUR PC WHEREVER YOU LIKE. OPEN IT N EXTRACT THE SYSTEM.TAR/SYSTEM.ZIP ARCHIVE THERE ITSELF. THIS WILL GIVE YOU ALL THE FILE & FOLDERS THAT ARE REQUIRED TO COOK YOUR ROM.
NOW MINIMIZE THIS WINDOW N OPEN A NEW WINDOW.
THEN GOTO :
Code:
cygwin folder/home/your user name/kitchen
IF YOU USE WINDOWS; Or Else
Code:
\home\username\android\kitchen
IF YOU USE LINUX / UBUNTU.
MAKE A NEW FOLDER HERE AND NAME IT AS : "WORKING_YOURROMNAME"[PLZ NOTE,THE WORD "WORKING" SHUD BE ALL IN CAPITAL LETTERS.] [THIS IS CALLED YOUR WORKING FOLDER.]
MAKE A NEW FOLDER IN YOUR WORKING FOLDER & NAME IT "system"[PLZ NOTE, THE WORD "system" SHUD B ALL IN SMALL LETTERS.
NOW AGAIN MAXIMIZE THE WINDOWS WHERE YOU HAD EXTRACTED THE SYSTEM BACKUP IN PREVIOUS STEPS. OPEN THE EXTRACTED SYSTEM FOLDER & COPY PASTE THESE FILES & FOLDERS FROM THERE TO THE system FOLDER IN WORKING FOLDER:
/app
/bin
/etc
/fonts
/framework
/lib
/media
/semc[ONLY FOR XPERIA USERS]
/usr
/xbin
build.prop
IF YOU HAVE A boot.img OF YOUR MOBILE THEN COPY PASTE IT TO YOUR WORKING FOLDER.[WORKING_YOURROMNAME/boot.img]
STEP 3. COOKING YOUR ROM WITH FEW BASIC FEATURES :
START KITCHEN AS STATED BEFORE AS PER YOUR OPERATING SYSTEM N ENTER OPTION 8. THIS WILL SHOW WHAT FEATURES YOU HAVE IN YOUR ROM & WHAT YOU MAY ADD. IT WILL ALSO SHOW THE NAME OF YOUR ROM. THIS ALSO MAKES THE META-INF FOLDER APPEAR IN YOUR WORKING FOLDER.
THIS COMPLETES ALL YOUR REQUIREMENTS FOR COOKING THE ROM.
PRESS ENTER TO GO BACK TO KITCHEN MENU.
ENTER OPTION 0[ZERO]
ENTER DIFFERENT OPTIONS THERE TO ADD THOSE FEATURES IN YOUR ROM.
ENTER OPTION0[ZERO] AGAIN TO GO BACK TO THE STARTING SCREEN OF KITCHEN.
OPTION 2 & 3 ARE ALMOST COMPULSORY AS A CUSTOM ROM WITHOUT ROOT N BUSY-BOX IS NOT LIKELY TO BE LIKED BY USERS.
ONCE YOU FINISH ADDING FEATURES AGAIN PRESS 8 TO SEE THE STATS OF YOUR ROM. PRESS ENTER TO RETURN BACK N PRESS OPTION 99 TO COOK THE ROM.
HERE ENTER OPTION 1.
GO THROUGH THE ONSCREEN INSTRUCTION N THEN COLLECT YOUR ROM FROM:
Code:
C:\cygwin\home\YOUR USER NAME\kitchen\OUTPUT_ZIP
IF YOU ARE WINDOWS USER; Or Else,
Code:
\home\username\android\kitchen\OUTPUT_ZIP
IF YOU ARE LINUX / UBUNTU USER.
CONGRATS YOU HAVE SUCCESSFULLY COOKED YOUR CUSTOM ROM.=)
Cooking A Custom Rom Method 2.
Welcome To The Guide For Cooking Custom Roms Method-2.
Only For Windows Users.
SAMSUNG DEVICES EXPLAINED AS EASILY AS POSSIBLE.
THIS GUIDE WILL WORK FOR ANY ANDROID DEVICE, NO MATTER GINGERBREAD, ICS OR JELLY BEAN IF YOU HAVE ITS STOCK FIRMWARE.TAR FILE AND YOU KNOW TO EXTRACT THAT.
WHOM WILL THIS TUTORIAL HELP?
ABSOLUTE BEGINNERS;
PEOPLE WITH LITTLE OR NO DEVELOPING SKILLS;
PEOPLE WHO WANT TO COOK THEIR OWN ROM N WANT TO TRY FEW BASIC MODS;
THUS, THIS TUTORIAL IS FOR ANYONE & EVERYONE.
PLZ NOTE EACH ONE OF YOU READING THIS POST I ASSUME YOU HAVE ALREADY READ ALL THE PREVIOUS POSTS/GUIDES TO SETUP YOUR COMPUTER/LAPTOP N HAVE DONE SAME ALREADY N THAT YOU ARE NOW READY TO COOK YOUR ROM.
BASIC GO-THROUGH WITH THE TOOLS YOU WILL NEED.
JAVA;
CYGWIN;
ANDROID KITCHEN;
ODINATRIX;[Only For Samsung Devices]
FLASH TOOLS FOR XPERIA DEVICES;
UNYAFFS TOOLS;
Click to expand...
Click to collapse
SAMSUNG STOCK FIRMWARE.tar.md5 FILE;
Xperia ftf SYSTEM FILE;
NOTEPAD++;
PAINT.NET/GIMP IMAGE MANIPULATION PROGRAM/ADOBE PHOTOSHOP;
7-ZIP.
THE ACTUAL GUIDE STARTS HERE.
SAMSUNG USERS FOLLOW THESE STEPS:
DOWNLOAD ODINATRIX FROM THE FIRST POST;
EXTRACT IT ANYWHERE YOU LIKE[SAY c:/ODINATRIX];
DOWNLOAD THE LATEST STOCK FIRMWARE OF YOUR MOBILE FOR YOUR COUNTRY FROM XDA OR ANYWHERE IN THE INTERNET;
EXTRACT THE DOWNLOADED FILE, YOU WILL GET A SINGLE FILE NAMED XXXX_XXXXX_XXXX_HOME.tar.md5;
MOVE THE ABOVE FILE TO ROOT OF ODINATRIX FOLDER;
THUS THE ROOT OF ODINATRIX FOLDER SHOULD HAVE THESE FILES & FOLDERS:
DOUBLE CLICK ON runme TO OPEN ODINATRIX TOOL;
PRESS ENTER TO START THE SEARCH;
WHEN YOU SEE THAT YOUR FILE HAS BEEN FOUND AGAIN PRESS ENTER TO START THE EXTRACTION PROCESS;
WAIT FOR THE EXTRACTION PROCESS TO FINISH. IT MAY TAKE FEW MINUTES TO FINISH DEPENDING UPON YOUR COMPUTER'S SPEED.[MY LATEST HP LAPTOP TOOK NEAR BOT 10-11 MINUTES TO DO THE JOB.]
WHEN THE EXTRACTION IS FINISHED CLOSE THE CMD WINDOW N OPEN THE output FOLDER;
THERE YOU WILL GET 4-6[YOU MAY EVEN GET ONLY 3] .tar FILES ACCORDING TO YOUR MOBILE;
COPY THE ONE NAMED PDA_XXXX_XXXX_XXXX_HOME.tar & PASTE IT TO THE original_update FOLDER IN ANDROID KITCHEN FOLDER:
Code:
cygwin folder/home/your user name/kitchen/original_update
MINIMIZE THE EXPLORER WINDOW N RUN KITCHEN BY FOLLOWING THE STEPS BELOW.
OPEN THE CYGWIN TERMINAL FROM THE DESKTOP/START MENU SHORTCUT;
TYPE:
Code:
cd kitchen[PRESS ENTER] ./menu[PRESS ENTER]
TRICK-O-TREAT!!
PICTURE TUTORIAL:
AFTER THE KITCHEN STARTS PRESS THE OPTION 1;
NOW IGNORE EVERYTHING WRITTEN & SIMPLY PRESS ENTER;
WHEN YOU SEE YOUR PDA FILE SELECTED PRESS ENTER;
NO NEED TO CHANGE THE NAME OF YOUR WORKING FOLDER. JUST PRESS ENTER TO START THE EXTRACTION PROCESS;
NOW FOLLOW THE ONSCREEN GUIDE IN KITCHEN CAREFULLY TO GET SYSTEM FOLDER & ITS FILES.
AFTER DOING THE ABOVE STEP CORRECTLY YOU WILL AGAIN RETURN TO THE HOME OF KITCHEN IN CYGWIN, NOW ENTER OPTION 8;[THIS WILL SHOW WHAT FEATURES YOU HAVE IN YOUR ROM & WHAT YOU MAY ADD. IT WILL ALSO SHOW THE NAME OF YOUR ROM. THIS ALSO MAKES THE META-INF FOLDER APPEAR IN YOUR WORKING FOLDER]
THIS COMPLETES ALL YOUR REQUIREMENTS FOR COOKING THE ROM.
PRESS ENTER TO GO BACK TO KITCHEN MENU.
ENTER OPTION 0[ZERO]
ENTER DIFFERENT OPTIONS THERE TO ADD THOSE FEATURES IN YOUR ROM.
ENTER OPTION 0[ZERO] AGAIN TO GO BACK TO THE STARTING SCREEN OF KITCHEN.
OPTION 2 & 3 ARE ALMOST COMPULSORY AS A CUSTOM ROM WITHOUT ROOT N BUSY-BOX IS NOT LIKELY TO BE LIKED BY USERS.
ONCE YOU FINISH ADDING FEATURES AGAIN PRESS 8 TO SEE THE STATS OF YOUR ROM. PRESS ENTER TO RETURN BACK N PRESS OPTION 99 TO COOK THE ROM.
HERE ENTER OPTION 1.
GO THROUGH THE ONSCREEN INSTRUCTION N THEN COLLECT YOUR ROM FROM:
Code:
C:\cygwin\home\YOUR USER NAME\kitchen\OUTPUT_ZIP
ROM EDITING : Adding &/Or Removing Files As Per Your Liking
EDIT ROM AS YOU WANT IT - ADD OR REMOVE APPS, CHANGE DEFAULT LAUNCHER, CHANGE DEFAULT WEB BROWSER, CHANGE BOOT ANIMATION & SOUND, ETC[END OF THINKING CAPACITY :silly:].
GO TO /system/app to GET THESE APPS.
APPS THAT YOU CAN REMOVE WITHOUT DISTURBING THE SMOOTH FUNCTIONING OF YOUR ROM:
Calculator.apk
ChatON.apk[May Be Only Samsung Users Will have This app.]
DualClock.apk
Email.apk
EmailWidget.apk
FmRadio.apk
LiveWallpapersPickup.apk
Maps.apk
Memo.apk
PlusOne.apk
PolarisViewer.apk/QuickOffice app
Swype.apk
APPS THAT YOU CAN REPLACE WITH DIFFERENT APPS:
Calculator.apk with any other calculator app
MyFiles.apk/File manager app with any other app that has file manager facility
TouchWizxxLauncher.apk[Only For Samsung Users][Or Any Other launcher Application That Is Present in Your Rom] with custom Launchers.
Browser.apk
Gallery3D.apk/or any other gallery app present in your ROM
Camera.apk
Memo.apk
Mms.apk
Music.apk
FmRadio.apk
CUSTOM APPS THAT YOU CAN USE TO REPLACE STOCK APPS IN YOUR ROM:
For Web Browser: Opera Mini, Uc Browser, TT Browser, ETC.
Custom Launchers: Holo Launcher, Nova Launcher[ICS 4.0+ Mobiles], GO Launcher, ETC.
Sms Applications: Go Sms, Pansi Sms, ETC.
Music apps: Google Play Music, Winamp for Android, ETC.
APPS THAT YOU SHOULD REMOVE SO THAT THE SIZE OF THE ROM REDUCES & YET THE ROM FUNCTIONS PROPERLY:
I AM RECOMMENDING TO REMOVE THESE APPS CUZ USERS CAN EASILY DOWNLOAD THEM FROM GOOGLE PLAY AS PER THEIR NEED.
ChatON.apk
Email.apk
Maps.apk
PlusOne.apk
PolarisViewer.apk/QuickOffice app
Swype.apk
APPS THAT YOU SHOULD NOT DELETE EVEN THOUGH THEY ARE NOT OF MUCH IMPORTANCE:
Gmail.apk
Talk.apk
Phonesky.apk[Google Play App]
Calender.apk
CHANGING THE BOOT ANIMATION & SOUND OF YOUR ROM:
SEARCH AROUND XDA FOR BOOT ANIMATION FILES OF YOUR MOBILE'S SCREEN SIZE.
IT MUST BE NAMED bootanimation.zip, IF NOT THEN MANUALLY RENAME IT.
FOR BOOT SOUND TAKE ANY SMALL TUNE YOU LIKE & CONVERT IT TO .ogg FORMAT.
NOW RENAME YOUR TUNE.ogg TO poweron.ogg[PLZ NOTE YOU MAY NEED TO RENAME IT TO PowerOn.ogg, BUT FIRST TRY THE ALL SMALL LETTERS.]
NOW DOWNLOAD bin.zip FROM ATTACHMENT N EXTRACT IT ANYWHERE YOU LIKE.
NOW OPEN THE EXTRACTED FOLDERS N COPY THE TWO FILES IN IT N PASTE TO THE bin FOLDER IN YOUR ROM[/system/bin].
COPY PASTE YOUR CONVERTED N RENAMED poweron.ogg TO THE ETC FOLDER IN YOUR ROM[/system/etc].
COPY PASTE bootanimation.zip TO THE media FOLDER IN YOUR ROM[/system/media].
NOW FLASH YOUR ROM WITH NEW BOOT ANIMATION & SOUND
Rom editing- ui + features
ROM EDITING- UI + FEATURES
THIS POST WON'T TEACH YOU MUCH BUT WILL LINK YOU TO DIFFERENT GUIDES ACROSS XDA SO THAT U CAN MODIFY UR ROM AS PER YOUR LINKING.
GIVING YOUR ROM A NEW NAME : FOLLOW THIS GUIDE TO ADD EXTRA FIELDS IN SETTINGS MENU TO GIVE YOUR ROM A NEW NAME.
BUILD.PROP TWEAKS TO ENHANCE PERFORMANCE : VISIT THESE : 1 || 2 || 3
MOD THE UI OF YOUR ROM : VISIT THESE : ICS STYLE SETTINGS FOR GB ROM || STATUS BAR MODDING GUIDE FOR DUAL SIM MOBILES || STATUS BAR MODDING GUIDE FOR ALL MOBILES
EDITING BUILD.PROP FOR MINOR CHANGES IN ROM INFO :
EDIT THESE IN RED IN COLOR AS PER YOUR ROM :
Code:
ro.build.id=[COLOR=Red]ICICLE AGE[/COLOR]
ro.build.display.id=[COLOR=Red]LUNUX OS™_GT-S5302[/COLOR]
ro.build.version.release=[COLOR=Red]2.3.7[PRE ICS][/COLOR]
THE SECOND LINE WILL CHANGE THE NAME OF YOUR ROM TO WHATEVER YOU RIGHT THERE.
THE THIRD ONE CHANGES THE ANDROID VERSION YOU HAVE IN YOUR ROM.
CREDITS : TO EVERYONE WHOSE GUIDES HAVE BEEN LINKED THERE.
R8
R8
R9
R9
R10
R11
R12
so many reserved posts
can't wait for the full guide
Re: [WIP][TUTORIAL][GUIDE] A COMPLETE ANDROID DEVELOPMENT GUIDE FOR NEWBIES BY SArnab
CrayzyBoy said:
so many reserved posts
can't wait for the full guide
Click to expand...
Click to collapse
All are not gonna be used now.
Kept for future updates...
**************************
SAMSUNG GALAXY GT-S5302 GENERAL DISCUSSION THREAD.
**************************
Visit the Official Lunux Os Website.
Click here
**************************
tutorial/guide updated.
10-03-2013.
Re: [GUIDE][WIN/LINUX] A COMPLETE ANDROID DEVELOPMENT GUIDE FOR NEWBIES-SArnab©®[UPDA
If any one want any specific guide to come up here in tis to b great tuturial then feel free to post here with your request.
Note: Post here. Do not PM me...
Anyone want his/her guide up here then thats all welcomed.
Sent from my GT-S5302 using Tapatalk 2
DO NOT FORGET TO PRESS THANXXX IF MY POST HELPED YOU.
Greta Stuff!
this is brilliant and has helped me alot i am almost ready to release my rom WOOP WOOP!
Thanks (an yes i clicked the thnx button lol):cyclops:
Re: [GUIDE][WIN/LINUX] A COMPLETE ANDROID DEVELOPMENT GUIDE FOR NEWBIES-SArnab©®[UPDA
Inside 4ndroid said:
this is brilliant and has helped me alot i am almost ready to release my rom WOOP WOOP!
Thanks (an yes i clicked the thnx button lol):cyclops:
Click to expand...
Click to collapse
Am happy that my tutorial helped u.
Will update it sooon...
Jus to infrm u ur thanxxx dsnt shows up...
Hope u thank me again.
Don't be lazy.
Lift your hand n press the Thanxxx Button.=)
Guys updated the build environment setup post #2...
How to install java in linux added.
Don't forget to press thanxxx. =)=)
NOTE: For this guide you need Base Rom and Port Rom must be same version. You should port roms from Samsung Galaxy S i9000. Some roms gives error (unfortunately... phone has stopped) it stems from kernel. if you have this error you should try different kernels.
Requirements
* Notepad++
* 7zip
Let's start porting!
*Every changes Base to Port...
- Create two folders named Base and Port . Base rom for our wave rom. Port rom for Galaxy S rom. Extract roms these folders.
- In port rom delete Meta-inf folder and copy paste Meta-inf from base rom.
- Now open system folders for both roms. From base rom copy replace addon.d files to port rom.
- In base rom bin/adb, app-process, atrace, dalvikvm, mediaserver, rild, sensorservice, setmodel.sh, vold, wpa_cli, wpa_suplicant ; copy replace these files to port rom bin folder.
- In base rom etc folder copy replace all folders and files (without>> dhcpcd, permissions, ppp, security) to port rom etc folder.
- In base rom etc/permissions copy replace all files (without>> latform.xml, handheld_core_hardware.xml) to port rom etc/permissions
- In base rom lib folder copy-merge-replace (drm, egl, hw, soundfx, ssl) to port lib. and again from base in lib copy replace (libaudioeffect_jni, libaudioflinger, libaudioutils, libmocha_ril.so, libreference-ril.so, libril.so, libril-client.so, librilutils.so, libsensorservice, libsrs-client.so) to port rom lib
- In base rom framework/framework.res.apk/res/xml-eri.xml and storage.list.xml copy replace to port rom framework/framework.res.apk/res/xml
- Delete in port rom "usr and vendor" folders and from base rom copy paste "usr and vendor" folders.
- From base rom in xbin copy replace (su) to port rom in xbin
- open build.prop files in port and base rom
edit base rom's build.prop... copy replace these lines from port rom build.prop (ro.build.id= - ro.build.tags= ro.cm.version= ve ro.mod.version= / ro.config.ringtone=, ro.config.notification=, ro.config.alarm=) to base rom's build.prop and save-exit..
- Delete build.prop in port rom and paste build.prop from base rom
- It's finished now open 7z and compress Port rom folder (Meta-inf and system)
Done! You can enjoy your own Port Rom
And porting can begin
Thanks for this guide
+ for guide
Can i port any CM7 rom (kernel 2.3.62)?
ghoslslender124 said:
+ for guide
Can i port any CM7 rom (kernel 2.3.62)?
Click to expand...
Click to collapse
Yeah, if you find/compile a corresponding kernel.
Sadly there is no "functionning" GB kernel for wave. (One exist but nothing work on it)
an idea
since wave doesnt have brightness control ambient sensor we dont have automatic brigtness but some apps let you adjest brightness using camera
so we can use automatic brightness using our front or back camera of phone
here is one application i have tested and work good or somebody here give better than that
https://play.google.com/store/apps/details?id=com.vito.lux&hl=en
black0000 said:
an idea
since wave doesnt have brightness control ambient sensor we dont have automatic brigtness but some apps let you adjest brightness using camera
so we can use automatic brightness using our front or back camera of phone
here is one application i have tested and work good or somebody here give better than that
https://play.google.com/store/apps/details?id=com.vito.lux&hl=en
Click to expand...
Click to collapse
Maybe it could be a "battery drain" solution... I suppose...
Hi Blue59 I appreciate what you mention in this post and I find very interesting.
Is a problem that commented on the following link and I asked in several forums but no one helps me.
http://forum.xda-developers.com/samsung-tizen/general/help-to-developers-t2820149
I have install Master ICS ROM Docs and am happy with this rom and do not want to use another rom.
But the camera works at 50%, If can take pictures, but you can not record videos.
I want to do port the camera folders and options from another ROM where if can record videos and add them to the ICS ROM Docs Master
Can I change folders Docs Master ICS ROM that have to do with the camera ........and replace them with another ROM where I SI works for video recording as well get to record videos too with ICS ROM Master Docs ?
I mean doing what you said in initiation post
Thanks for this guide
Blue59 said:
NOTE: For this guide you need Base Rom and Port Rom must be same version. You should port roms from Samsung Galaxy S i9000. Some roms gives error (unfortunately... phone has stopped) it stems from kernel. if you have this error you should try different kernels.
Requirements
* Notepad++
* 7zip
Let's start porting!
*Every changes Base to Port...
- Create two folders named Base and Port . Base rom for our wave rom. Port rom for Galaxy S rom. Extract roms these folders.
- In port rom delete Meta-inf folder and copy paste Meta-inf from base rom.
- Now open system folders for both roms. From base rom copy replace addon.d files to port rom.
- In base rom bin/adb, app-process, atrace, dalvikvm, mediaserver, rild, sensorservice, setmodel.sh, vold, wpa_cli, wpa_suplicant ; copy replace these files to port rom bin folder.
- In base rom etc folder copy replace all folders and files (without>> dhcpcd, permissions, ppp, security) to port rom etc folder.
- In base rom etc/permissions copy replace all files (without>> latform.xml, handheld_core_hardware.xml) to port rom etc/permissions
- In base rom lib folder copy-merge-replace (drm, egl, hw, soundfx, ssl) to port lib. and again from base in lib copy replace (libaudioeffect_jni, libaudioflinger, libaudioutils, libmocha_ril.so, libreference-ril.so, libril.so, libril-client.so, librilutils.so, libsensorservice, libsrs-client.so) to port rom lib
- In base rom framework/framework.res.apk/res/xml-eri.xml and storage.list.xml copy replace to port rom framework/framework.res.apk/res/xml
- Delete in port rom "usr and vendor" folders and from base rom copy paste "usr and vendor" folders.
- From base rom in xbin copy replace (su) to port rom in xbin
- open build.prop files in port and base rom
edit base rom's build.prop... copy replace these lines from port rom build.prop (ro.build.id= - ro.build.tags= ro.cm.version= ve ro.mod.version= / ro.config.ringtone=, ro.config.notification=, ro.config.alarm=) to base rom's build.prop and save-exit..
- Delete build.prop in port rom and paste build.prop from base rom
- It's finished now open 7z and compress Port rom folder (Meta-inf and system)
Done! You can enjoy your own Port Rom
Click to expand...
Click to collapse
what is the base rom l need to use
and can l use this guide to port cm 14??????????(from s1)
no you can't use cm14 because we don't have N rom
Blue59 said:
no you can't use cm14 because we don't have N rom
Click to expand...
Click to collapse
Only need update kernel and build kernel
thinhx2 said:
Only need update kernel and build kernel
Click to expand...
Click to collapse
Yes it will Come for Wave
Disclaimer: I am not responsible for anything bad that may occur from the use of this kitchen, but I will take all the credit you can give me if it works for you
{
"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"
}
Please read the usage instructions in post #3 and the troubleshooting in post #4 below before asking for help. Thanks
Free Changelog
Download/Install
Donate version for Windows/Mac/Linux/WSL:
Dedicated thread found here
Free Kitchen (Linux terminal):
**NOTE: The free kitchen will not work in WSL**
Download the kitchen.zip from here. Extract to a new directory.
Enter the following commands one by one pressing ENTER after each line where "/location/of/kitchen" is the directory where the kitchen lives:
Code:
cd /location/of/kitchen
./superr
Dependencies:
Java 8 or higher (8 is recommended)
Python (to run the launcher (could be bypassed by running tools/source/superr in the terminal from the main kitchen directory))
Video tutorials by @chevycam94
Credits:
@osm0sis - For Busybox Installer and Android Image Kitchen
@Chainfire - For SuperSU
@JesusFreke - For [Bak]smali
@nkk71 - For creating the TWRP minzip patch
@Captain_Throwback - For providing a pre-compiled update-binary with the minzip patch and squashing bugs
@_riddle - For oat2dex
@iBotPeaches - For Apktool
@AOSP - For zipalign, adb, aapt, img2simg, simg2img, make_ext4fs
@xpirt - for img2sdat
@bcrichster - For extensive testing
XDA:DevDB Information
SuperR's Kitchen, Tool/Utility for the XDA Community Apps
Contributors
SuperR.
Version Information
Status: Stable
Created 2017-04-27
Last Updated 2020-07-24
Usage:
Run "superr" from it's location in terminal
Create new project using the menu
Copy ROM zip into the superr_NAME directory of this tool (NAME = the name of your new project).
OR
Copy system.ext4.tar and boot.img into the superr_NAME directory of this tool.
OR
Copy system.ext4.win and boot.emmc.win into the superr_NAME directory of this tool.
OR
Copy system.img and boot.img into the superr_NAME directory of this tool.
OR
Copy official Nexus tgz into the superr_NAME directory of this tool.
OR
Copy Samsung firmware zip into the superr_NAME directory of this tool.
OR
Copy Moto firmware zip into the superr_NAME directory of this tool.
OR
Leave superr_NAME directory empty to extract from rooted device or custom recovery
Extract for new ROM from the Main menu.
Enjoy!
Example:
In your terminal, type the following where "/home/user/kitchen/" is the directory where the kitchen lives:
Code:
cd /home/user/kitchen/
./superr
NOTE: the above code is 2 separate commands and requires ENTER to be pressed after each command
OR
Double-click the superr file and choose "Run in Terminal" if your OS supports it.
Add your own device support:
Create a new project in the kitchen.
Add your files to the project directory (system.img/boot.img, system.ext4.tar, win, zip, etc.)
Extract for new rom from the menu
When asked how to get your partitions, choose detect by-name from boot.img. If it gives you an error, put a recovery.img in your project directory and choose detect mmc from recovery.img.
Enjoy
Features:
*Extract and create ROM from:
Rooted Device
Custom Recovery
Existing ROM zip
system.img/boot.img (and cache.img on Samsung devices)
system.ext4.tar/boot.img
system.ext4.win/boot.emmc.win (including multi-file *.win000, *.win001, etc)
Moto and other factory firmware zips containing sparsechunk files
cm12 + roms with sparse dat files
Zips that contain system.img and boot.img
Samsung firmware zips that contain tar.md5 file
Official Pixel/Nexus firmware tgz
Official Pixel/Nexus preview tgz
SpreadTrum firmware that includes a pac file
system directory that contains symlinks and boot.img
*Create flashable zips of many varieties including:
Full ROM
Switch between set_perm, set_metadata (KitKat+), raw_img, and sparse_dat (Lollipop+)
Kernel
Recovery
Media
app, priv-app, and framework
*Deodex the following:
Pie ROMs
Oreo ROMs
Nougat ROMs
Marshmallow ROMs
Lollipop ROMs
KitKat and earlier ROMs
*Root features:
Root/unroot
Choose SuperSU or Magisk zip (add other versions to /tools/root/root_zips directory)
Choose system OR systemless root for M+ and Samsung 5.1.1 roms (SuperSU only)
*Boot features:
Unpack/repack boot/recovery img (Big Thanks to @osm0sis for mkbootimg source!!!)
Add/remove su.d support
Add/remove insecure boot
Remove dm-verity
Remove forceencrypt
*By-name auto-detection from:
Device
Existing ROM
boot.img
kernel.elf
**OR**...manually enter it
*mmcblk auto-detection from:
recovery.img
*Kitchen updater:
View the last 3 changelogs when an update is available.
Incremental update for updating the most recent previous version
Option to check for updates when the kitchen starts
*Create system.img
*Device database for mmcblk devices (currently very small, but will grow over time)
*Add devices to the assert
*Add custom asserts
*Zipalign apks
*Debloat ROM
*Custom Debloat list support
*Remove Knox
*Add/remove busybox (Big thanks to @osm0sis for his Busybox Installer)
*Add/remove user app support (/data/app)
*Sign zips
*Translatable with language files
*Donate version additional features:
Cross-platform - Windows, WSL, Macos, Linux
tarfs - Get original permissions, contexts, and capabilities from tar/win backups.
Create system.img with identical permissions, contexts, and capabilities as the original system.img or tar/win backup.
Plugins - Probably the best part! Currently over 20 extra features and growing
Root - Use a custom root zip (not the included Magisk or SuperSU)
Custom directory - can be included in your ROM and flashed to a specified partition
Custom Signature - No Built with SuperR's Kitchen, anywhere, plus add your own
Custom Build Display in About Phone, or leave it as default
AutoROM - Automation for ROM creatiion using a congig file (there's a plugin for that)
Convert updater-script to an update-binary script
No mounting img files. One less thing requiring your password and interrupting extraction.
Upload support.zips and device.zip directly from the kitchen for review
Download language files directly from the kitchen
Restore original boot.img after modifying and repacking
Remove asserts from the updater-script
Configurable compression level for packing zips
Remove all placeholder tags (#ASSERT, #SYM, #PERM, etc.) before packing the ROM
Create ext4 img file from any partition you include in your ROM.
zipalign without building ROM
Fix ext4.img files automatically if block count is higher than actual blocks
Troubleshooting/FAQ:
When asking for help, please provide as much of the following info as possible so I can help as easily as possible. I am a busy person and would prefer not to ask all of these questions every time someone has a problem. Thank you for understanding.
What Kitchen version?
What environment are you running the kitchen in (OS, 32/64-bit, cygwin, Bash on Windows, etc.)?
What device are you working on (make/model)?
What was the source you started from (system.img, system.ext4.tar, rom.zip, etc.)
What Android version?
What perm method (set_perm, set_metadata, sparse_dat, raw_img)?
What did you do after extracting and before building?
Were there errors on the screen if you scroll up in the terminal?
Send a recovery.log after flashing if you have problems flashing the ROM.
Send a link that does not require registration to the files you started with (nandroid, system.img, boot.img, etc)
Use the support option in the Misc Tools menu and attach the support.zip to your post.
Ubuntu4Kitchen
An Ubuntu 16.04 distro with all the things you need to get the kitchen working easily.
Visit the dedicated thread here
Language Files (translations)
English - Default/Included in the kitchen
Download additional language files here
Once the language zip has been downloaded, extract to /kitchen/tools/language and restart the kitchen.
Does this kitchen support Windows CYGWIN?
CYGWIN is not supported and will not work. Try the donate kitchen for Windows, Linux, and Mac.
WSL (Bash on Ubuntu on Windows)
WSL is not supported in the free kitchen and will not work. Try the donate kitchen for Windows, Linux, and Mac.
Which perm type should I choose?
Here is a very brief summary of set_perm, set_metadata, sparse_dat, and raw_img.
set_perm : The oldest of the 4. Sets file/directory permissions when flashing a rom. Not recommended for KitKat and above.
set_metadata: Also sets file/directory permissions when flashing a rom, but also adds file contexts. It was introduced with selinux in KitKat. Recommended for KitKat and above.
sparse_dat: The newest of the 4, and only works on Lollipop +. The permissions, symlinks, and file contexts are all added inside a sparse image. A sparse image is an image with a more efficient space usage. Only for Lollipop and above. The free kitchen uses AOSP permissions/capabilities when building system.img. If your device requires different permissions, this method will not work for you in the free kitchen.
raw_img: This is literally raw images that are flashed to your device. The permissions, symlinks, and file contexts are all added inside the raw image. Works for all Android versions. The free kitchen uses AOSP permissions/capabilities when building system.img. If your device requires different permissions, this method will not work for you in the free kitchen.
Flashing error:
This package is for "xxxxx" devices; this is a "yyyyy"
The problem is the asserts and it is easy to fix. In the kitchen menu, go to ROM Tools > Asserts > Add/Remove device asserts. At the bottom it will say "xxxxx". Edit the line to say "xxxxx,yyyyy" and press enter. Build your rom again and flash.
Why is my ROM zip so small?
blkdiscard failed: Invalid argument
These are generally due to the partition size detection method. You need the correct partition size for ALL partitions you are creating sparse dat and raw_img images for. The kitchen will ask for each one that is included in your rom when you choose to build the full rom zip. If none of the provided auto-detect methods work, you will need to find the partition size on your own and enter it manually in the kitchen.
Root problems?
You can replace the SuperSU.zip and Magisk.zip in the kitchen with any flashable SuperSU/Magisk version you want. It is located in kitchen/tools/root/root_zips. Delete the one that is there (if it exists) and add yours. Then, unroot, re-root and your replacement will be used.
Auto check for updates when kitchen starts
To enable the auto update check, go to "Check for updates" in the main menu. After it checks, you will be asked if you want to enable it.
I added root and busybox but there is no su or busybox in my project. Why?
The kitchen does not add Busybox or SuperSU/Magisk files to the project. Instead it adds flashable zips inside the rom.zip. There are many variables to deal with (Android version, device architecture, manufacturer, system/systemless, etc.). Flashing the zips with the rom accounts for all of these variables and there is no reason to re-invent the wheel.
Debloat and custom debloat
There are 2 options in the debloat menu (besides knox which is self explanatory):
1) Debloat ROM
This option removes all files included in the kitchens standard bloat list file - /kitchen/tools/root/bloat
2) Custom Debloat
This option removes all files included in the bloat_custom file - /kitchen/tools/root/bloat_custom OR kitchen/superr_project/00_project_files/bloat_custom
This file is empty by default and is there for you to add whatever you want to remove. You can either add everything you want to remove and use only option 2, or you can add new files here and use option 1 and 2.
I suggest you take a look at /kitchen/tools/root/bloat to see the format of the listed bloat files. Use the same format for the bloat_custom file.
When you use either option, the files are not deleted. Instead they are moved to the 00_project_files directory in case you want to restore them later.
Deodexing
Deodexing Samsung roms may or may not work. If your rom does not boot after deodexing, try it without. If it works and you must deodex your rom, try a different tool. I hear svadev deodex tool works well for Samsung roms.
boot.img errors
If the kitchen gives you errors about unpacking boot.img, there is a good chance I will not be able to help. I suggest you figure out how to unpack it using Linux commands/binaries and let me know how you did it. You may also find a tutorial about how to unpack your boot.img. If so, please send a link. It does not help me to know another tool works. I need the commands/binaries used in order to update the kitchen.
Feel free to upload your boot.img AND the build.prop from the same rom so I can check to see if I can fix it. I will ignore you if you don't upload both mentioned files
I do not answer support questions through PM. There are no exceptions. Post in the thread if you want help so others can give suggestions and learn from your solution
I will not answer questions if it is clear that you have not read the OP, the info posts after the OP, and searched the thread for answers. I do not have time to answer the same questions over and over. Many questions are already answered in this thread and if you want help, I expect you to try and solve it on your own before posting. If your question has not been answered in the thread, I am happy to assist in any way possible.
If I ask you to upload files, they need to be uploaded on a server that does not require registration for full speed downloads, or registration for downloads at all. Drive, Dropbox, AFH, and Mega are examples of acceptable servers. There are many other good ones, but I hope you get the point.
Thanks for understanding
reserved
Looks promissing, gonna try it asap :good:
I suppose it to work for many devices but are there any already tested for?
Looks great mate. Can't wait to give it a go
Its been an honor, testing this out! This deserves to be stickied!!
Sent from my N9510 using Tapatalk
---------- Post added at 04:51 AM ---------- Previous post was at 04:48 AM ----------
Androidwizzard said:
Looks promissing, gonna try it asap :good:
I suppose it to work for many devices but are there any already tested for?
Click to expand...
Click to collapse
Zte Concord 2
Zte Warp4G
Moto E 2015
LG Exceed 2
LG Realm
Still waiting on results from:
MediaTEK VKworld (VS6050S)
SuperR. said:
Disclaimer: I am not responsible for anything bad that may occur from the use of this tool, but I will take all the credit you can give me if it works for you
Sent from my N9510 using Tapatalk
Click to expand...
Click to collapse
Nice and finally something for Linux. To bad I'm out of town can't wait to test this...
Nice work
Sent from my SM-G928T using Tapatalk
bcrichster said:
Its been an honor, testing this out! This deserves to be stickied!!
Sent from my N9510 using Tapatalk
---------- Post added at 04:51 AM ---------- Previous post was at 04:48 AM ----------
Zte Concord 2
Zte Warp4G
Moto E 2015
LG Exceed 2
LG Realm
Still waiting on results from:
MediaTEK VKworld (VS6050S)
SuperR. said:
Disclaimer: I am not responsible for anything bad that may occur from the use of this tool, but I will take all the credit you can give me if it works for you
Sent from my N9510 using Tapatalk
Click to expand...
Click to collapse
Think it needs to be in xda portal as well
Sent from my SM-N920C using Tapatalk
Click to expand...
Click to collapse
I'll give it a shot on Samsung Galaxy Note 5 - if there aren't any objections against @SuperR.
Is portal different than Chef Central?
Sent from my N9510 using Tapatalk
bcrichster said:
Is portal different than Chef Central?
Sent from my N9510 using Tapatalk
Click to expand...
Click to collapse
Xda portal is video review and goes on xda Facebook as well
Sent from my SM-N920C using Tapatalk
Androidwizzard said:
I'll give it a shot on Samsung Galaxy Note 5 - if there aren't any objections against @SuperR.
Click to expand...
Click to collapse
Right on, should have Knox removal as well. By all means, plz report back
Sent from my N9510 using Tapatalk
Good! I can test with a mtk6582 device with lollipop stock rom... sounds great!! SUPPORT!
Regarding MTK devices, I have never owned one so I am totally unfamiliar with special requirements they may need. I will add support for everything I can as issues come up
SuperR. said:
Regarding MTK devices, I have never owned one so I am totally unfamiliar with special requirements they may need. I will add support for everything I can as issues come up
Click to expand...
Click to collapse
I think you need to add mkbootimg ( https://github.com/osm0sis/mkbootimg ) for work with mtk based boot.img and maybe edit the img extraction of stock imgs.... I dont't now bro, you're the chef hahaha
Regards and support
duniel said:
I think you need to add mkbootimg ( https://github.com/osm0sis/mkbootimg ) for work with mtk based boot.img and maybe edit the img extraction of stock imgs.... I dont't now bro, you're the chef hahaha
Regards and support
Click to expand...
Click to collapse
This kitchen already uses Android Image Kitchen by osm0sis, which includes his mkbootimg. Maybe it will already work for MTK. Let me know if you encounter problems.
SuperR. said:
This kitchen already uses Android Image Kitchen by osm0sis, which includes his mkbootimg. Maybe it will already work for MTK. Let me know if you encounter problems.
Click to expand...
Click to collapse
Yes, It should work.
When I try with my device I'll tell you the results
Regards