[Q] Mixing ODEX and DEODEX - AT&T Samsung Galaxy S II Skyrocket SGH-I727

Hello,
I am using dsixda's kitchen to work on the newest AT&T 2.3.6 (UCLA3) and I am having issues deodexing the following files:
Code:
* ERROR: Aborting CallSetting.odex!
* ERROR: Aborting CSC.odex!
* ERROR: Aborting GoogleCalendarSyncAdapter.odex!
* ERROR: Aborting Maps.odex!
* ERROR: Aborting Phonesky.odex!
* ERROR: Aborting serviceModeApp.odex!
* ERROR: Aborting VoiceRecorder.odex!
* ERROR: Aborting VoiceSearch.odex!
I know there are solutions for some of these above, but my question is can a ROM have both odexed APKs and deodexed APKs (SYSTEM) working in harmony?
Thanks.

I just used the UOT Kitchen on my odexed 2.3.6 stock ROM. UOT Kitchen now supports odexed ROMs. I just uploaded my systemUI.apk, framework-res.apk, and twframework-res.apk with my kitchen mods and successfully cooked up my zip. Leave the matching. odex files in /system/app and system/framework folders and flash zip with CWM (you can also use Root Explorer to push modified apks to their respective folders... but you need to extract them from the zip and manually fix permissions before putting in folders.)
Sent from my SAMSUNG-SGH-I727 using XDA App

promiseofcake said:
Hello,
I am using dsixda's kitchen to work on the newest AT&T 2.3.6 (UCLA3) and I am having issues deodexing the following files:
Code:
* ERROR: Aborting CallSetting.odex!
* ERROR: Aborting CSC.odex!
* ERROR: Aborting GoogleCalendarSyncAdapter.odex!
* ERROR: Aborting Maps.odex!
* ERROR: Aborting Phonesky.odex!
* ERROR: Aborting serviceModeApp.odex!
* ERROR: Aborting VoiceRecorder.odex!
* ERROR: Aborting VoiceSearch.odex!
I know there are solutions for some of these above, but my question is can a ROM have both odexed APKs and deodexed APKs (SYSTEM) working in harmony?
Thanks.
Click to expand...
Click to collapse
its fine if you have some odex in your rom
DoctorQMM said:
I just used the UOT Kitchen on my odexed 2.3.6 stock ROM. UOT Kitchen now supports odexed ROMs. I just uploaded my systemUI.apk, framework-res.apk, and twframework-res.apk with my kitchen mods and successfully cooked up my zip. Leave the matching. odex files in /system/app and system/framework folders and flash zip with CWM (you can also use Root Explorer to push modified apks to their respective folders... but you need to extract them from the zip and manually fix permissions before putting in folders.)
Sent from my SAMSUNG-SGH-I727 using XDA App
Click to expand...
Click to collapse
the 2 kitchens arent even similar....one is for building roms, and one is for theming....

Pirateghost said:
its fine if you have some odex in your rom
the 2 kitchens arent even similar....one is for building roms, and one is for theming....
Click to expand...
Click to collapse
Thank you sir, that's just the info I needed.

Related

[TOOL][CWM-ROM]little Kitchen v0.0.2 - Testers needed

little Kitchen
DOS script to easy modify a ROM File (update.zip) with pre-configurated parameters
Compatibility List / BugTracker in second Post!!
Guide (included "readme.txt") in third post!!
Suggestions and feature requests are welcome!
The Script should work with every CWM-ROM File for every Phone!!
Functions:
Code:
* remove Files from ROM.zip
* add Files to ROM.zip
* add additional update.zip's to ROM.zip
To do:
Code:
[B]* testing[/B]
[B]* adding a LOG file for error analysis[/B]
[B]* spelling - HELP NEEDED[/B]
because I'm not a native english speaker I'm sure there are enough mistakes
[B]* readme file - HELP NEEDED[/B]
readme file is a little bit short ATM
[B]* cleaning up the Code[/B]
Changelog:
Code:
[B]* v0.0.2 - 15.12.2011[/B]
+ changed Version Number
[B]* vCM7_0.0.1 - 15.12.2011[/B]
+ first release
Credits:
Code:
* xda-forums (for Guides, Howtos, etc.)
* google for the things I didn't find here :D
and as always....
!!! USE AT OWN RISK !!!
>> DOWNLOAD LATEST <<
>> DOWNLOAD v0.0.2 <<
>> DOWNLOAD vCM7_0.0.1 <<
Compatibility List / BugTracker
Basicly the Script should work for every ROM on every Windows OS, the following entries are approved by Me and Users
OS:
Windows7 x64
(approved by OGrue)
ROMs:
Samsung Galaxy SII (GT-I9100):
CM7 (stable, nightly) (approved by OGrue)
Turkbey gt edition (testet by grgsiocl, thank you)
MIUI (1.12.16) (approved by OGrue)
readme.txt
Code:
===============================================================================
** QuickStart: **************************************************************
===============================================================================
* open "remove.example" and copy the files you want to remove to "remove.ini"
* copy ROM File to /rom/source
* copy flashable ZIP's to /rom/hacks ("gapps.zip for example")
* copy Files to /rom/addons ("system/app/music.apk" for example)
!! ATTENTION !! take care of Directory-Structure !! ATTENTION !!
* run main.cmd
* Script should finish without errors
* copy modified ROM from "rom/" to Phone and Flash it via CWM
===============================================================================
** Folder Structure: ********************************************************
===============================================================================
*/bin Holds the Files needed by the Script
/tmp Temporary Folder for Script
*/roms Folder with Source ROM, Addons and Hacks; modified ROM File
is also placed here
/source Folder for ROM Source (place CMxxx.zip / update.zip here)
/addons Folder for Files which should be added to the ROM ZIP
(files are added to the root of the ZIP, so in almost all
cases you'll nedd at least a "system" Folder)
/hacks Folder for Additional, flashable ZIP files
(for example you can add the flashable google
Apps ZIP in here)
u mean any rom for any phone or just for sgs2. i have a galaxy fascinate i500 i could test for
RTLflat said:
u mean any rom for any phone or just for sgs2. i have a galaxy fascinate i500 i could test for
Click to expand...
Click to collapse
Yes, should work with any CWM ROM for any Phone.
Would be great If you could Test it ;-)
Thanks and this is what i was looking at. I am fed up for removing the apps, whichever i dont want to use and add those apps which i want to use. Started testing but the screen stuck at adding ROM*****name.zip. Waiting to finish!
grgsiocl said:
Thanks and this is what i was looking at. I am fed up for removing the apps, whichever i dont want to use and add those apps which i want to use.
Click to expand...
Click to collapse
Hehe, that's the reason why I created it ;-)
grgsiocl said:
Started testing but the screen stuck at adding ROM*****name.zip. Waiting to finish!
Click to expand...
Click to collapse
Hmmm, shouldn't take too long if the ZIP isn't big.
If it remains stuck, pls add "ECHO ON" after line 163 in main.cmd, so you'll see exactly what the Script is doing.
Code:
cls
ECHO *******************************************************************************
ECHO * adding HACKS to ROM File
ECHO *******************************************************************************
ECHO ON
OGrue said:
Hehe, that's the reason why I created it ;-)
Hmmm, shouldn't take too long if the ZIP isn't big.
If it remains stuck, pls add "ECHO ON" after line 163 in main.cmd, so you'll see exactly what the Script is doing.
Code:
cls
ECHO *******************************************************************************
ECHO * adding HACKS to ROM File
ECHO *******************************************************************************
ECHO ON
Click to expand...
Click to collapse
Thanks my friend and it works. I added some and deleted some and then flashed. I works like a charm! Thanks once again!
grgsiocl said:
Thanks my friend and it works. I added some and deleted some and then flashed. I works like a charm! Thanks once again!
Click to expand...
Click to collapse
Good to know - pls - Post which ROM and which Phone, so I cann add to "testet - it works!" ;-)
ogrue said:
good to know - pls - post which rom and which phone, so i cann add to "testet - it works!" ;-)
Click to expand...
Click to collapse
phone: Samsung galaxy sii
rom: Turkbey gt edition
kernel : Phenomenal
version: Android 2.3.6
modem: Xxkp1

[HOWTO]How Create Custom ROM Based on Stock 2.3.6[UPDATED 06.03.2012]

Hello guys!
This is noobish tutorial "How Create Custom ROM Based on Stock 2.3.6"
To do create custom ROM you need only WinRar or other arhiver and Notepad++
Terms:
Zipalign - Optimizes the way an application is packaged. Running zipalign against your application enables Android to interact it more efficiently at run time and thus has the potential to make it and the overall system run faster(developer.android.com)
Deodex - Optimized Odex and Apk files for easy editing system files
Click to expand...
Click to collapse
1. You Need clear ROM
I recomend this clear ROM (Deodex, Zipalign, Delete Samsung Soft, Stock Theme) KPQ, KPU
2. Unpack ROM
Main folder is system.
- In system/app all system apps
- In system/framework interface and other system files (Framework-res.apk and twframework-res.apk - system interface)
- In system/ect gps.conf(GPS Servers)
- In system/ect/init.d all tweaks (no need to put everything tweaks from other ROM's)
- In system/media folder: bootanimation(sanim.zip), audio folder(all system audio)
- In system fonts all system fonts
- Build.prop file in /system/, main file, in build.prop ROM name and other tweaks and system lines
Click to expand...
Click to collapse
Updater-Script
META-INF folder:
This ROM installer script!
Open META-INF\com\google\android\updater-script file in Notepad
You need only ui_print("you text"); lines, other lines is system install.
Example:
Code:
ui_print("|------------------------------|");
ui_print("|-----Install YOU_ROM_NAME-----|");
ui_print("|---------Or other text---------|");
ui_print("|@#$%and other symbols+*=\|/^");
ui_print("|------------------------------|");
Click to expand...
Click to collapse
How add kernel install to ROM:
-boot.img(this is kernel) need to put in ROM folder, next to system, META-INF, and other folders
Code:
In Updater-script need add this lines:
#Delete cache
delete_recursive("/data/local");
delete_recursive("/data/dalvik-cache");
delete_recursive("/cache");
#End
#
#Extract kernel file and write
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"),
delete("/tmp/boot.img"));
#End
P.S "#" this is comments, no need this to updater-script
Click to expand...
Click to collapse
Delete apps:
Code:
[B]AccuWeatherDaemonService.apk[/B]
[B]AxT9IME.apk[/B] - Stock Samsung Keyboard
[B]BluetoothTest.apk[/B] - Bluetooth Service Testing
[B]ChocoEUKor.apk[/B] & [B]CoolEUKor.apk[/B]
[B]com.adobe.flashplayer.apk[/B] - FlashPlayer
[B]DrmUA.apk[/B] & [B]DrmProvider.apk[/B]
[B]Email.apk[/B] - no need for me, i use gmail
[B]FactoryTest.apk[/B] - Service Phone Testing
[B]FileManager.apk[/B] - Replace for other file manager
[B]LatinIME.apk[/B] - Gingerbread Keyboard
[B]launcher.apk[/B] - Gingerbread Laucher
[B]lcdtest.apk[/B] - Display Service Testing
[B]LiveWallpapers.apk[/B] - Stock Live Walpapers
[B]MagicSmokeWallpapers.apk[/B] - Stock Walpapers
[B]MobileTrackerEngineTwo.apk[/B] & [B]MobileTrackerUI.apk[/B]
[B]MtpApplication.apk[/B] - Kies
[B]NetworkLocation.apk[/B]
[B]oem_install_flash_player.apk[/B] - Flash
[B]PhoneSetupWizard.apk[/B] - SetupWizard in first boot(no need for me)
[B]Protips.apk[/B] - Android help widget
[B]SelfTestMode.apk[/B] & serviceModeApp.apk - Service testing
[B]SnsProvider.apk[/B] & SnsAccount.apk - Facebook account
[B]signin.apk[/B] - kies
[B]syncmlds.apk[/B] & [B]syncmldm.apk[/B]
[B]SoundPlayer.apk[/B] - This not music player! this rington player(no need for me)
[B]TwWallpaperChooser.apk[/B] - TouchWiz Live Wallpapers
[B]wssomacp.apk[/B] & [B]wipereceiver.apk[/B] & [B]wssyncmlnps.apk[/B]
[B]WlanTest.apk[/B] - Wi-Fi Service Testing
[B]VoiceDialer.apk[/B] - no need for me
[B]VisualizationWallpapers.apk[/B] - android stock wallpapers
Click to expand...
Click to collapse
ROM name:
Code:
ROM name in build.prop
ro.build.display.id=ROM-NAME
Click to expand...
Click to collapse
Links:
-build.prop tweaks! click
-ThunderBolt Tweaks
-KPU Example ROM
KPU Example ROM
Click to expand...
Click to collapse
How pack and unpack ROM:
Code:
[B]1. [/B]You need WinRar
[B]2. [/B]Extract ROM and edit
[B]3. [/B]Pack to zip
Click to expand...
Click to collapse
Sorry for my bad english
Amazing tutorial!!! Thanks!!
whats there in example rom xxkpu....
SUGGESTION....
add how to unpack and repack the rom to ur tutorial then its a complete tutorial....
crk1995 said:
add how to unpack and repack the rom to ur tutorial then its a complete tutorial....
Click to expand...
Click to collapse
Ok man, tomorrow, i need sleep
i understand..... in my country its 1:20am
Hey there, @Thefrankenstain , could you help me? I am trying to make some tests.
I have modified the updater-script of KPULite, editing first lines with the name of the rom and adding some lines at the end to introduce another kernel to the rom:
Code:
delete_recursive("/data/local");
delete_recursive("/data/dalvik-cache");
delete_recursive("/cache");
assert(package_extract_file("customize/vurrut/boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"),
delete("/tmp/boot.img"));
(is this an example of what I have to write or do I have to write exactly this?)
Then I added the normalboot.img of the kernel renamed to boot.img and deleting the stock one. I also have edited the build.prop with the other I uploaded the other day to kpu thread (with density corrected to 240) and I will start theming if it works. My question is...
The only thing I have to do is to zip it? Do I have to do anything more or just make a zip which contains META-INF, system, boot.img, etc...? Can I flash that zip in CWM?
Thank you!, great tutorial man!
luiseteyo said:
Hey there, @Thefrankenstain , could you help me? I am trying to make some tests.
I have modified the updater-script of KPULite, editing first lines with the name of the rom and adding some lines at the end to introduce another kernel to the rom:
Code:
[B]This add to updater-script before system unmounting.[/B]
delete_recursive("/data/local");
delete_recursive("/data/dalvik-cache");
delete_recursive("/cache");
assert(package_extract_file("customize/vurrut/boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"),
delete("/tmp/boot.img"));
(is this an example of what I have to write or do I have to write exactly this?)
Then I added the bootanimation.img of the kernel renamed to boot.img and deleting the stock one. I also have edited the build.prop with the other I uploaded the other day to kpu thread (with density corrected to 240) and I will start theming if it works. My question is...
The only thing I have to do is to zip it? Do I have to do anything more or just make a zip which contains META-INF, system, boot.img, etc...? Can I flash that zip in CWM?
Thank you!, great tutorial man!
Click to expand...
Click to collapse
For install kernel need add this:
Kernel to put in ROM folder, next to system, META-INF, and other folders
Code:
delete_recursive("/data/local");
delete_recursive("/data/dalvik-cache");
delete_recursive("/cache");
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"),
delete("/tmp/boot.img"));
You need pack to zip META-INF, System, boot.img and other folders.
Output zip need copy to sd card and flash in CWM
sorry for my bad english
TheFrankenstain said:
For install kernel need add this:
Kernel to put in ROM folder, next to system, META-INF, and other folders
Code:
delete_recursive("/data/local");
delete_recursive("/data/dalvik-cache");
delete_recursive("/cache");
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"),
delete("/tmp/boot.img"));
You need pack to zip META-INF, System, boot.img and other folders.
Output zip need copy to sd card and flash in CWM
sorry for my bad english
Click to expand...
Click to collapse
So that's it? I copy in the update-script exactly those lines, I change the original boot.img with the kernel normalboot.img (renamed to boot.img), I zip all that package and flash in CWM...ok?
luiseteyo said:
So that's it? I copy in the update-script exactly those lines, I change the original boot.img with the kernel bootanimation.img (renamed to boot.img), I zip all that package and flash in CWM...ok?
Click to expand...
Click to collapse
what is bootanimation.img ? you mean normalboot.img ?
Yes yes yes, what a fail. I was saying that, I edit right now. That would be the proceedure?
EDIT: I did what u said, I made a zip with everything and tried to flash in CWM. It said....
-- Installing: /sdcard/CustomKPU.zip
Finding update package...
Opening update package...
Installing update... (and inmediately...)
Installation aborted.
Why can be this happening?
luiseteyo said:
Yes yes yes, what a fail. I was saying that, I edit right now. That would be the proceedure?
EDIT: I did what u said, I made a zip with everything and tried to flash in CWM. It said....
-- Installing: /sdcard/CustomKPU.zip
Finding update package...
Opening update package...
Installing update... (and inmediately...)
Installation aborted.
Why can be this happening?
Click to expand...
Click to collapse
What error status ?
TheFrankenstain said:
What error status ?
Click to expand...
Click to collapse
Nothing... just that. could be boot.img? Try with stock one?
EDIT: With stock boot.img happens the same. No error status
luiseteyo said:
Nothing... just that. could be boot.img? Try with stock one?
Click to expand...
Click to collapse
I think in updater-script error. Send me updater-script
Here you are. Thank you very much
luiseteyo said:
Here you are. Thank you very much
Click to expand...
Click to collapse
In you script kernel install lines after unmount system. Need up kernel install lines on 5 lines
TheFrankenstain said:
In you script kernel install lines after unmount system. Need up kernel install lines on 5 lines
Click to expand...
Click to collapse
Not very sure.... Dont worry, i will try to fix... Myself thank you!!
Enviado desde mi GT-I9003 usando Tapatalk
TheFrankenstain said:
Hello guys!
This is noobish tutorial "How Create Custom ROM Based on Stock 2.3.6"
To do create custom ROM you need only WinRar or other arhiver and Notepad++
Terms:
Click to expand...
Click to collapse
Hi Frank
How to put the kernel??
Sent from my GT-I9003 using xda premium
loukalok said:
Hi Frank
How to put the kernel??
Sent from my GT-I9003 using xda premium
Click to expand...
Click to collapse
Read OP please
TheFrankenstain said:
Read OP please
Click to expand...
Click to collapse
Only put the boot img
Sent from my GT-I9003 using xda premium

[Tool]MIUI translateion's kitchen

Miui translation's kitchen is a new (in development) tool to automate many aspects of the translation of MIUI.
Feature:
- deodex original miui rom
- decode apk from list (Configurable from an external file) or single from terminal
- build apk from list (Configurable from an external file) or single from terminal
- add translation folder (Configurable from an external file)
- compare translation file (Configurable from an external file) [not completed now]
- sign apk and update.zip (not sure it works fine)
- fix build error (missing same packages, in development)
for now the kitchen is under development but usable for test.
source: github
for setup kitchen
Code:
. tools/kitchensetup
for prepare rom folder (extract zip and deodex the rom)
Code:
extract_deodex
for prepare rom folder (no odexed rom)
Code:
extract
for decode apk
Code:
decode
for check modified xml
Code:
test
for apply translate
Code:
translate
for fix xml files
Code:
fix
for rebuild apk
Code:
build
for sign apk and zip (it fix apk compression level for resources.arsc)
Code:
sign
this is the actualy completely function.
for now not all apk is successefull installed, I don't know what is the problem
If you have been helpful, buy me a beer
Sorry for bad eng
The tool is almost finished, the problem is that the apk (also unchanged) recompiled can not (even if signed) to be installed.
there are only a few exceptions like bugreport, FileManager and SoundRecorder
Can anyone help me? I tried apktool, 1.4.3 and 1.4.2
Thanks for your efforts, I will try to translate to french with it and report back the results

[Q] is there a limit to the boot.img size you create?

I am trying to create my own kernel with some new kernel modules. However, the kernel modules are rather large (10MB), pushing my boot.img to 18MB. When I try to install it, I get:
Code:
Flashing Kernel
assert failed: write_raw_image("/tmp/boot.img","/dev/block/mmcblk0p8")
E:Error in /sdcard/awmon/my_skyrocket2.zip
(Status 7)
Installation aborted.
However, if I don't add those modules then my kernel installs just fine.
The kernel partition is only 10MB in size.
I see... do you have any suggestions on how to package the modules with the kernel? is it possible to do this outside the boot.img but within the update ZIP with the help of updater-script ?
EDIT: yeah, it seems do-able. This kernel includes the modules outside of boot.img and has them installed via the updater-script
http://forum.xda-developers.com/showthread.php?t=1380682
(v0.1)

[GUIDE]extract kernel and change bootclasspath[noob friendly][video guide]

Kernel modification GUide​
Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
it is a guide for those who want to port roms from devices of another manufactures.....
they port whole rom but sometimes stuck at kernel modification path....
so now guys u dont have to worry becoz i made a guide easy to understand and
also made a video guide which is uploading at a moment
Click to expand...
Click to collapse
SO LEt get STARted​
Things required:-
kitchen files
cygwin
notepad++ (recommned)
a brain:good:
some time
Click to expand...
Click to collapse
Steps​
1. Set up cygwin and kitchen USe Nero young's guide -->>>Guide
2. u need to make 2 folders on ur desktop
(a)base kernel(YOur device kernel)-->> copy ur whole rom files(meta-inf,system,boot-.img) in that folder..
(b)port kernel (Kernel from other device)--->> boot.img of other device....
3.now open cygwin and type :- cd kitchen then ./menu
4. it will now open kitchen
5. now go to c:/cygwin/home/{USER NAME}/kitchen/original update/WORKING_XperiaNeroROM/ copy all things here from base kernel folder..
6. now open kitchen (REMEMBER NEVER CLOSE KITCHEN UNTILL WRITTEN HERE)
7. press 1 and it will set up current working folder press enter whole the way
8. now when your working folder is set up press 0 to go to advance options
9. press 20 to open kernel modification menu...
10. press 'w' it will extract ur kernel to c:/cygwin/home/{USER NAME}/kitchen/Boot-Extracted
11. now for extracting other device boot.img press 'a' on kitchen. it will ask u to place ur boot.img to c:/cygwin/home/{USER NAME}/kitchen/boot-img.xxxxx
12.now for changing bootclasspath.. open boot-img.xxx go to boot-img ramdisk and open init.rc with notepad++
13. copy the whole line 'export bootclasspath x/x/x/'
14. now go to boot-extracted folder find init.rc and replace the boot class path
15. save init.rc of boot-extracted
16. press 'b' on kitchen menu
17. close ur kitchen now
18. your new modified kernel will be in your working folder
​Video Guide
press thanks if i helped you​
Akshay Anand said:
Kernel modification GUide​
Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
​SO LEt get STARted​
Steps​
1. Set up cygwin and kitchen USe Nero young's guide -->>>Guide
2. u need to make 2 folders on ur desktop
(a)base kernel(YOur device kernel)-->> copy ur whole rom files(meta-inf,system,boot-.img) in that folder..
(b)port kernel (Kernel from other device)--->> boot.img of other device....
3.now open cygwin and type :- cd kitchen then ./menu
4. it will now open kitchen
5. now go to c:/cygwin/home/{USER NAME}/kitchen/original update/WORKING_XperiaNeroROM/ copy all things here from base kernel folder..
6. now open kitchen (REMEMBER NEVER CLOSE KITCHEN UNTILL WRITTEN HERE)
7. press 1 and it will set up current working folder press enter whole the way
8. now when your working folder is set up press 0 to go to advance options
9. press 20 to open kernel modification menu...
10. press 'w' it will extract ur kernel to c:/cygwin/home/{USER NAME}/kitchen/Boot-Extracted
11. now for extracting other device boot.img press 'a' on kitchen. it will ask u to place ur boot.img to c:/cygwin/home/{USER NAME}/kitchen/boot-img.xxxxx
12.now for changing bootclasspath.. open boot-img.xxx go to boot-img ramdisk and open init.rc with notepad++
13. copy the whole line 'export bootclasspath x/x/x/'
14. now go to boot-extracted folder find init.rc and replace the boot class path
15. save init.rc of boot-extracted
16. press 'b' on kitchen menu
17. close ur kitchen now
18. your new modified kernel will be in your working folder
​Video Guide
press thanks if i helped you​
Click to expand...
Click to collapse
I can't see export bootclasspath in init.rc
It is can't be replacable in 4.4.2? :|
FantasticalX said:
I can't see export bootclasspath in init.rc
It is can't be replacable in 4.4.2? :|
Click to expand...
Click to collapse
It's there dude. Just did it the other day.
Sent from my SPH-L710 using XDA Premium 4 mobile app
shakim24 said:
It's there dude. Just did it the other day.
Sent from my SPH-L710 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Got it
Hope it helped u
Sent from my WT19i using XDA Free mobile app
Akshay Anand said:
Hope it helped u
Sent from my WT19i using XDA Free mobile app
Click to expand...
Click to collapse
Yeah this thread helped out a lot. Is there a way to unpack the zImage
Sent from my SPH-L710 using XDA Premium 4 mobile app
@Akshay Anand i am trying your method on my mtk device...i successfully decompiled boot.img to boot-extracted folder
but while recompiling i get this error...
error: mkbootfs not successfully compiled
Does this actually mean kernel porting? Can I just port a kernel with tons of features to my device?Thanks man, just feeling curious~~
Thanks, that was helpful
thnkas
Thanks
Beautifully written guide. One of the best I have come across. I have pressed the button, but thanks still.
I ectract my boot.img and change bootclasspath well but when i use this boot.img for my port rom and it not booting. it bootloop in lg logo but when i used orginal boot.img it bootloop in bootanimation. what i should do now? Plz help
hi
i have no bootclasspath lines in my init.rc file. does this method refer to android <4.x only? i'm trying to port a 5.1 kernel
Please help me.. My system always delete any init.rc files created by kitchen.... 1st time I extract kernel in kitchen I saw the init.rc but emidiately I opened it with note pad++ I got a promt for my toolbar but didn't check... Now kitchen is unable to create init.rc files help on how to fix this
can't find ''export bootclasspath.....'' line in init.rc for samsung kernel ...!
pls i need help !!

Categories

Resources