Related
Thanks to our Senior Moderator dsixda , his Android Kitchen now has support for our Leo Nand too.
You can modify any Rom:
_Shipped
_Custom
_Nandroid Backups
It is easy to use with some automated features as:
_Deodex
_Zipalign
_Add scripts
_Add App2sd
_extract Kernel and initrd
_etc
Code:
===================================================================
HTC Android Kitchen - by dsixda (xda-developers.com)
===================================================================
Main Menu
1. Set up working folder from ROM
2. Add root permissions
3. Add BusyBox
4. Disable boot screen sounds
5. Add wireless tethering
6. Zipalign all *.apk files to optimize RAM usage
7. Change wipe status of ROM
8. Change name of ROM
9. Check update-script for errors
10. Show working folder information
Advanced Options
11 - Deodex files in your ROM
12 - Add task killer tweak for speed (stock ROM only)
13 - Add /data/app functionality
14 - Add Nano text editor + sysro/sysrw
15 - Add Bash (command shell)
16 - Add Apps2SD
17 - Add /etc/init.d scripts support (busybox run-parts)
18 - Add custom boot animation functionality
19 - Porting tools (experimental)
20 - Unpack or re-pack a boot image
21 - Unpack data.img
22 - Sign APK file(s)
23 - Convert update-script or updater-script
24 - Run plugin scripts
99. Build ROM from working folder
00. About/Update kitchen
0. Exit
dsixda said:
How do I import a ROM into the kitchen to use as my base?
From a shipped ROM:
First, find the shipped ROM for your device, usually from htc.com or from searching xda-developers (check the Wiki or sticky posts under your device's sub-forum).
This link may help: Various devices
Please don't ask me for links, as I don't know everything or own all devices. ;-)
The shipped ROM can be found in three different formats. Identify the type you have downloaded:
If the shipped ROM is in a .ZIP format, then simply copy it to the kitchen's original_update folder.
OR if the shipped ROM consists of system.img and boot.img files, then copy those two files to the kitchen's original_update folder.
OR if the shipped ROM is in an .EXE format, then do the following:
In Windows, run the shipped ROM's .EXE file till it gets to the first dialog. Stop there but don't close the window yet.
Go to Start->Run and type: %TEMP%
When the folder opens, search for Rom.zip (use the "magnifying glass" Search button)
Copy Rom.zip to your kitchen's original_update folder
OR from a cooked/custom ROM:
Copy the update.zip (or equivalent ZIP file) to your kitchen's original_update folder
OR from a Nandroid backup (under /sdcard/nandroid) [NOT RECOMMENDED FOR NON-STOCK ROM BACKUPS]:
Copy the system.img and boot.img files from the backup folder to your kitchen's original_update folder
NOTE: The Nandroid-backup method of ROM customization is not the best method, because the kitchen may not account for various advanced options that were added outside of this kitchen (these options are in the update-script file which was in the original ROM but is not in the backup. The kitchen needs to re-create this file and 'guess' those options). However, it will support Nandroid backups that already have basic features like root, busybox and /data/app functionality.
Click to expand...
Click to collapse
Go to dsixda thread and grab your Kitchen now and have some fun with it!
KITCHEN THREAD
If you like it don't forget to hit thanks to dsixda and consider to him a donation for his work.
How to use HD2
Make Tut 4 HD2 plz....
oh em gee!
for those asking for a tutorial,
http://forum.xda-developers.com/showthread.php?t=633246
if you visit the kitchen's thread you will find much more information and step-by-step guide for all operating systems.
thanks
In the thread of dsixda everything are available step-by-step.
I can confirm that it is working and tested from the begin of implementation of this Nand support.
I used it for HD2, sometime work, sometime not work
Whenever I cook using this Awesome kitchen I successful have a zip file. When I try to flash it It gives me an error (Status 6) and I do not know what to do to resolve this issue.
Raptordin said:
Whenever I cook using this Awesome kitchen I successful have a zip file. When I try to flash it It gives me an error (Status 6) and I do not know what to do to resolve this issue.
Click to expand...
Click to collapse
Nice to know that an arabian is cooking
Waiting your builds because i'm sure you will be incorporating arabic roms and full arabic support by default!
This error sound of something wrong in updater-script, in this kitchen you must:
1. convert updater-script to update-script for working on it
2. convert it back to updater-script before make the zip process.
Anyway fore me it worked at 1st shot and this is what i made and in Dsixda thread there is a good tutorial and a video that explain all.
Raptordin said:
Whenever I cook using this Awesome kitchen I successful have a zip file. When I try to flash it It gives me an error (Status 6) and I do not know what to do to resolve this issue.
Click to expand...
Click to collapse
Life Engineer said:
Nice to know that an arabian is cooking
Waiting your builds because i'm sure you will be incorporating arabic roms and full arabic support by default!
Click to expand...
Click to collapse
I am still a noob when it comes to Android but will do my best, Used to be very good with WinMob bt still starting here, will try my best though.
af974 said:
This error sound of something wrong in updater-script, in this kitchen you must:
1. convert updater-script to update-script for working on it
2. convert it back to updater-script before make the zip process.
Anyway fore me it worked at 1st shot and this is what i made and in Dsixda thread there is a good tutorial and a video that explain all.
Click to expand...
Click to collapse
Thanks for your reply, I did convert it back and forth though but still same error. The tutorials are very nice and I did follow them to the letter. Will try again today after I get back home from work and will try to get another base to start from.
Np raptordin,
if you wanna say to me what build you are trying to mod and what mod you want to do, i can give it a go and see if i get the same error.
af974 said:
Np raptordin,
if you wanna say to me what build you are trying to mod and what mod you want to do, i can give it a go and see if i get the same error.
Click to expand...
Click to collapse
Will test again in an hour or so when I get home and report back. Thanks for your interest.
Just a reminder -- if you have a boot.img in your ROM's working folder, and it didn't get converted to "boot" folder after building the ROM, then you have to do the conversion manually.
1) Select option 20 - "Unpack or re-pack a boot.img"
2) Select option c - "Convert boot.img into NAND boot folder"
Then you can build.
If you are using a custom HD2 ROM then this step is probably not necessary, as the kitchen will aready have created the boot folder and removed the boot.img. To make sure, just open the .ZIP file that was created by the kitchen after building.
Thanks for info Dsixda,
I'm facing a couple of problems with the Kitchen, here they are:
1. In the Kitchen Rom info app2sd are not installed but it still in init.d
2. if i add /data/app (option 13) market apps installation end with an error.
Code:
Working folder information
Android OS version : 2.3.3
Device : bravo
ROM Name : GRI40
Rooted (unsecured boot.img) : YES
Rooted (Superuser.apk + su) : YES
BusyBox installed : YES
BusyBox run-parts support : YES
Apps2SD enabled : NO
/data/app enabled : NO
Custom boot animation allowed : NO
Nano text editor installed : YES
Bash shell support : YES
/system/framework is deodexed : YES
/system/app is deodexed : YES
radio.img found : NO
ROM will wipe all data : NO
I'm using this rom as base http://forum.xda-developers.com/showthread.php?t=933951
af974 said:
Thanks for info Dsixda,
I'm facing a couple of problems with the Kitchen, here they are:
1. In the Kitchen Rom info app2sd are not installed but it still in init.d
Click to expand...
Click to collapse
So you don't have an "a2sd" file under /system/bin or /system/xbin or anywhere else? What options did you select for apps2sd (e.g. runparts?).
2. if i add /data/app (option 13) market apps installation end with an error.
Click to expand...
Click to collapse
You need to be specific.. what is the error? And when you say 'installation' do you mean while the kitchen is adding the data/app folder, or while the ROM is booting?
Nope, there is nothing in there but there is the script in init.d " 10app2sd", though i'm speaking of original update.zip.
dsixda said:
So you don't have an "a2sd" file under /system/bin or /system/xbin or anywhere else? What options did you select for apps2sd (e.g. runparts?).
Click to expand...
Click to collapse
After the boot, i go to market and download an app but it cant be installed.
You need to be specific.. what is the error? And when you say 'installation' do you mean while the kitchen is adding the data/app folder, or while the ROM is booting?
Click to expand...
Click to collapse
Whoot! time to get my chef on!
Thanks you for this great tool
af974 said:
Nope, there is nothing in there but there is the script in init.d " 10app2sd", though i'm speaking of original update.zip.
Click to expand...
Click to collapse
Is it really apps2sd (apps to ext3) or is it just that hack that is used to move all apps to the fat32 partition of the SD card (the option that is in Settings of Cyanogen ROMs)? Can you paste the contents of that file here please (in
Code:
tags)
[QUOTE]
After the boot, i go to market and download an app but it cant be installed.[/QUOTE]
I don't know anything about that, probably your device's or ROM's issue because it works elsewhere. When the kitchen adds /data/app to the working folder it only sets the permissions for that folder when flashing.
What you will need:
Basic tools
- Notepad++
- ZIP manager tool like 7zip
Advanced tools
- Cygwin
- smali (assembler/disassembler)
- APKTool/APK Multi-tool
Lets Begin:
Download a ROM (we use CM in this guide) of your choice (don’t forget to get the permissions for it modding from the developer) and extract it. When you extract it, you will see at least two folders and one file
Folders
- system
- META-INF
Files
- boot.img [this is not present in defy/defy+ ROMs so don't worry about it ]
NOTE THAT I AM ONLY GIVING DETAILS ABOUT THOSE FOLDER WHICH YOU CAN REMOVE/EDIT
THE \system\bootmenu\2nd-boot\ FOLDER
In this folder you'll find the kernel [zImage] file of the ROM here you can change it with the one you compiled or by others.
The Tts folder
The ‘TTS folder’ is all about Text-To-Speech. It contains all the files needed by the Android system to get Text-To-Speech working. If you are removing the TTS feature from your ROM, make sure you remove this entire folder and the TTS related apps from the ‘system folder’, as this will save a lot of space.
The WiFi and Usr folders
The WiFi folder contains the drivers required by the WiFi module to function. So i strongly recommend NOT to touch this folder. If you delete any file from this folder, you will mess up the WiFi functionality.
The usr folder contains some miscellaneous but very important stuff. It may contain anything and everything needed by the Android operating system. For instance, this folder contains all the key-mapping. If such files are messed with, your device will be non-functional although it will boot.
The Build.prop
The build.prop file is pretty self-explanatory. Here, you can change the most basic things, like the android version that setting shows. Wondered how people are making 2.3.4 look like 4.0.3 in settings? Its build.prop. Also,you can change what ‘About phone’ shows here.
Other things,you can change things like,how long your wifi scans,how much battery your phone saves while in sleep, Dalvik VM heapsize and default ringtones. If you are wondering what # stands for, it signifies that, the particular line is commented out, and the system does not read it. You can use it add comments to the build.prop. This helps others understand, what is the function of a particular tweak.
A guide for some basic build.prop tweaks can be found here.
Please be aware that, these build.prop modifications are not universal. So, you will have to experiment with the tweaks and their values.
The META-INF folder
This folder contains instructions for the Android Recovery about how to work with the files present in the zip. This folder contains many folders, but the only one we need to edit is the update-script file.
Making Flashable ZIP
In order to create a flashable zip, first zip the ‘system, META-INF’ folder and the ‘boot.img’. Let’s name this zip as ‘update.zip’. Next we need to sign the zip. Get a signer here. Put your update zip in the same folder as the signer. Then run the ‘signer.bat’ file. This will sign your zip file. After the signing process is complete, you can change the name of the zip to your liking.
confused
hi,,,i'm new here,,,,
after reading ur post, actually i can't do this,,,
and i installed miui v5 rom and always find crashing about "android process stopped."
and i can't edit the rom or make update of it because of no jnderstanding it, but i like miui so far.
so, can u give me the link of miui v5 rom that not crash, in order to me just to instal it without editting.
thx so much.
gwesal said:
hi,,,i'm new here,,,,
after reading ur post, actually i can't do this,,,
and i installed miui v5 rom and always find crashing about "android process stopped."
and i can't edit the rom or make update of it because of no jnderstanding it, but i like miui so far.
so, can u give me the link of miui v5 rom that not crash, in order to me just to instal it without editting.
thx so much.
Click to expand...
Click to collapse
Checkout my miui thread I have already posted the original link there
D5+/cm11/1.2GHz.
Sent from Tapatalk app
coolshahabaz said:
Checkout my miui thread I have already posted the original link there
D5+/cm11/1.2GHz.
Sent from Tapatalk app
Click to expand...
Click to collapse
which one???
is it the official rom from miui site or edited rom you created??
actually its take too long doenloading from official site. but rom i doawnloaded is always crashing android.process.stopped.
gwesal said:
which one???
is it the official rom from miui site or edited rom you created??
actually its take too long doenloading from official site. but rom i doawnloaded is always crashing android.process.stopped.
Click to expand...
Click to collapse
The one I edited had that prob of crashing, n the one on official site is about 240mb ty its taking time
D5+/cm11/1.2GHz.
Sent from Tapatalk app
Hi all.
before anything :
- this tool is for especialy for dualbooters because i havent tested in 1rst rom. but updater-script manage kernel flashed. prepare odin in case of bad flash, you're advised.
- always make nandroid before use and flash with my tool.
I saw that ppl have many trouble to install 4.4.2 kitkat roms on their device.
it seems that we have manu such "error status 7" , and these were about setting persmissions during flash.
so i decide to make an aroma to avoid this error.
if you flash an original 4.4.2 Kitkat rom and have the error, no need to flash another compatible recovery kernel to re-try, just use my aroma flasher with the steps i descride below. In the aroma advanced MENU, you will choose set_perm commands compatible flash instead of set_metadata commands persmission to see if flask process will work in fine
Sure, at end of process, a kernel will be flashed, dorimanx branch 8 i have put in pach you went to donwload, or another you have put instead like i describe in extra step 6 below too.
so, AROMA structure details is like this :
pach/AROMA
---------backupEFS <------- useful script, no need to touch.
---------KERNEL <------- place here your boot.img file. (original rom or other)
---------maliv2
-------------system/lib/egl/ <-------- maliv2 .so libs contents, no need to touch.
pach/data/app <--------- you can put som apks here, moved from /system/app/ (i often move in latinIME.apk from /system/app/ and then i free 40Mo on /system/ partition, its good for GAPPS)
pach/META-INF/....../ <--------- no need to touch.
the available download pach i use for some months now , is here :
UniversalAROMAinstallerFOR-4.4.2-ROMs-DefinitivePach.rar - 8.53 MB
how to use it
1 - download any kitkat 4.4.2 ROM your want to install I9100.
2 - try it normaly, and see if you have error on flash.
3 - when you got it, on PC, make a safe copy ot it somewhere, and open it with WINRAR. Then delete META-INF and other boot.img file. just let system folder in ZIP.
4 - uncompree my AROMA somewhere.
5 - drag and drop the 3 "bolded" folders (in aroma structured details) in ZIP rom you still have opened.
extra step 6 : in AROMA/KERNEL/ folder, you will find dorimanx branch 8 version (new @StanTRC recovery inside) i have put. You can replace it with any boot.img you want , even those from original rom zip you have safely somewhere on your PC. just extract boot.img from it and replace with in you new aroma installer rom zip you went to manage in steps 3, 4 and 5 .
aroma choice you will have :
"Compatibility of your Recovery Kernel",
"Your Kernel is compatible for set_metadata commands"
"Your Kernel ONLY understand set_perm commands"
"choose your based KK similar rom",
"AOSB BEANSTALK C-ROM EHNDROIX"
"CARBON"
"CM11 JELLYBAM"
"SABER PAC"
"PA"
"Resurrection Remix"
"SLIM SPIRIT"
"NEATROM AICP"
"SOKP"
"Backup EFS",
"Backup your EFS folder before flash"
"Skip"
"Kernel to flash at end of process",
"DorimanX 8 and MaliV2"<---------- option that serve to flash MALIV2 for dorimanX branch 8 users, dualbooters.
"any other kernel"
EXTRA TOOL : .db qulite bases "wiper" , it delete some .db files in some /data/data/com.android........../databases/ folders, usefull when we flash from <> based 4.4.2 roms, CM11 , RR , PAC , SLIM, PA....sometimes worked fines for me.
"Delete some SQlite .db files in ROM",
"YES ","Delete some SQlite .db from you installed rom to avoid com.android.phone FC or other FCs"
"NO thanks we can FLASH the ROM"
again, this is just for test and fun , dualbooters will like more that "normal" users. no risk to flash kernel in 2nd rom, but remember need maliv2 during AROMA....and i always afraid someone that try my work on 1rst rom will brick its device.....so i advertise everyone that before upload my "daily" works, i'm not always flashing them on my 1rst rom.
thanks.
How to use the pach
Hope image tuto are good readable .
1 - open ROM.zip with winrar
2 - delete some folders in ROM.zip
3,4 - what to copy from my pach to the ROM.zip
5 - explain about structure and tweak .
no image 6 - just flash new ROM.zip with my aroma.
thanks.
Ultimate Aroma Addons for KitKat 4.4.2 and JB 4.1.2 DualBoot Roms.
extracted Aroma Managment
Code:
"ROM TYPE",
"which type of rom do you use",
"JB 4.1.2
"KK ROM 4.4.2"
Code:
"4.1.2 rom runing",
"its on Normal install
"its on DualBoot install
Code:
"4.4.2 Options",
"apply or remove APKs",
"Addons apks
"Remove them
Code:
"Addons APKS",
"tick to add",
"Google Camera with Sphere"
"Google Keyboard"
"TW Launcher from PhenomRom TW Accuweather"
"S4 settings for KitKat
"S4 TW Launcher BY ANMOL7IFY need 25Mo on system
"Htc BlinkFeed v11 need 31Mo on system
"Htc BlinkFeed v11 on data partition
"Themes in data (2 cobalts themes added)
Code:
"Remove some added apks",
"tick to remove",
"Remove Google Keyboard
"Remove TW Launcher stuffs
"Remove S4 settings
"Remove S4 TW Launcher BY ANMOL7IFY
"Htc BlinkFeed v11 from all partitions
"remove Themes from data
Code:
"Google Play Sore 4.6.17",
"Install it or Not",
"Inverted Multi DPI Play Store
"Multi DPI Play Store
"Skip to Google Play Services 4.3.23
Code:
"Google Play Services 4.3.23",
"Install it or Not",
"Install it
"Skip
The Ultimate tool is here :
I9100Utimate-Aroma-AddonsFor-4.4.2or4.1.2ROMs-TouchWiz-GgSphere-GgKB-Themes-GgPLAY-GgServices.zip - 168.22 MB
thanks.
Troubadour666 said:
maybe another tool soon
Click to expand...
Click to collapse
hi
working perfectly, tested with crdroid built7
Flash session added in post 3
@nik60 , yes i think is good too
Troubadour666 said:
@nik60 , yes i think is good too
Click to expand...
Click to collapse
hi,
maybe you can added in aroma "pa micro gapps" that work in any rom
so people flash rom and gapps in one time
nik60 said:
hi,
maybe you can added in aroma "pa micro gapps" that work in any rom
so people flash rom and gapps in one time
Click to expand...
Click to collapse
i have made one pach with onle play store and google services , with others goodies, but i can re-script it with gapps. give me a way to follow what you think ppl need the most .
i mean this one, but i'm on some research about better way to use it, tomorrow i will post good version.
I9100-Aroma-addonsFor-KitKat-4.4.2-ROMS.zip - 180.81 MB
this one is that one i use in video review, you see i NEVER have trouble with space /system/ partition because initial ZIP ROM is modify with some apk in /data/app/ during flash, so i can add more goodies in /system/app/ using this aroma with play store, google sphere and touchwizz i use....see tuto how to move apks from /system/app/ to data/app/ before flash the rom and then gain space on /system/ to flash more files without disturbing /data/app/ we never want to full wipe to.
AND REMEBER external .sh script dont work well with dorimanx new recovery, i mean move choice in aroma so its better to have space in system before use and not use these options during aroma (i mean options to gain space)
thanks.
Troubadour666 said:
i have made one pach with onle play store and google services , with others goodies, but i can re-script it with gapps. give me a way to follow what you think ppl need the most .
i mean this one, but i'm on some research about better way to use it, tomorrow i will post good version.
I9100-Aroma-addonsFor-KitKat-4.4.2-ROMS.zip - 180.81 MB
this one is that one i use in video review, you see i NEVER have trouble with space /system/ partition because initial ZIP ROM is modify with some apk in /data/app/ during flash, so i can add more goodies in /system/app/ using this aroma with play store, google sphere and touchwizz i use....see tuto how to move apks from /system/app/ to data/app/ before flash the rom and then gain space on /system/ to flash more files without disturbing /data/app/ we never want to full wipe to.
AND REMEBER external .sh script dont work well with dorimanx new recovery, i mean move choice in aroma so its better to have space in system before use and not use these options during aroma (i mean options to gain space)
thanks.
Click to expand...
Click to collapse
hi,
i tink there is't problem with micro gapps and free space in system
i have crdroid , 461mb/495mb in system--crdroid is 208mb and was bigger rom (ONLY sokp is 228,but need your gapps)
is possible delete Google home in micro gapps for example(12mb)-any rom have launcher
Amazing.
Keep up the good work my friend.
Vivek_Neel said:
Amazing.
Keep up the good work my friend.
Click to expand...
Click to collapse
i think so too
Hi Troubadour666,
it is weekend and I'm testing on again.
Have just your "Ultimate Aroma Addons for KitKat 4.4.2 and JB 4.1.2 DualBoot Roms" installed and it works just fine.
"S4 settings for KitKat
"S4 TW Launcher BY ANMOL7IFY need 25Mo on system
Can you tell me what is the difference between TW ANMOL7IFY and TW PhenomRom ??
Am still looking for transparent accuweather ??
Regards Klaus
Hey Guyz This is SüRÂJ Bisht (bEaSt)
As you all know Last Time I have Give U Recovery...
And Promised that will launch the new rom soon..
Now..
Await is over introducing new stock Deodexed ROM ...
For our Karbonn A12*
Download link
Deodex_Rom By SuRAJ.zip : https://docs.google.com/uc?id=0BxQZF8lqd-BHSHF4ZjJIY1JJazQ&export=download
Sorry guys for the problem in the rom but dnt worry here's a bug fix for rom
Link for fix : http://www.4shared.com/rar/6qJ3dzCace/Bug_fix_of_Stock_Deodexed_By_S.html
Download both the files n extract them after extracting there will be three files meta-inf folder system folder n a file name as del-odex.sh jst select all three n compress them as a zip... Dnt select rar or 7z only use .zip format for proper flashable zip
N follow installation steps given below
All new about ROM
1.Totally Deodexed
2.Super SmootH
3. Performance increased
4. Disabled Signature Check
And Many More...
Steps To Flash
1.Put the zip into root of sdcard
2.Reboot to Philz Recovery
3.Now Install zip from sdcard
4.Select the Deodexed Rom and wait until to finish...
5.Now reboot wait for successfull boot up
6.Done...
Ps: You should flash deodexed stock rom on stock rom n its not a backup so when u got bootloop or brick at that time this wont work for u to unbrick ur device....
Now the development has been started And will introduced Moded Status Bars soon....?
Till that stay connected on my fb group for latest update n mods
Grp link: https://m.facebook.com/groups/718681911514380?refid=18&__tn__=C<br />
Main credits goes to me
ThankZ To My Frnd Ngpmnk for his support ..?
Enjoy the deodexed rom guys
Hit thanks if u Appreciate my work guys
Nice it is working
Finally.....u did that...
Great Job....
Thank you
Awesome Bro...(Y)
Hello to all XDA members
My question is that is there any guide to port kk rom to my jb device as there is no kk update available for my device. My device is gfive g10 fashion mt6582 running on jb 4.2.2 and i want to update it to 4.4.2. Thank you.
ezistrom said:
Hello to all XDA members
My question is that is there any guide to port kk rom to my jb device as there is no kk update available for my device. My device is gfive g10 fashion mt6582 running on jb 4.2.2 and i want to update it to 4.4.2. Thank you.
Click to expand...
Click to collapse
{Tutorial} How to port Kitkat Roms.{4.4.2-4.4......}
Kitkat OS are slightly different as compared to Jellybean OS,system files like modules are not present in kitkat as in jellybean.This guide features roms with same chipseteg mtk6582 to mk6582.
STEPS:
1.
a) Open STOCK and PORT ROMs in separate windows
b) Copy boot.img from STOCK
d) Paste boot.img in PORT
2.
a) Open folder system/bin in STOCK and copy files pq and vold (use ctrl key to select multiple files)
b) Open folder system/bin in PORT and paste pq and vold (Select Copy and Replace for both files)
3.
a) open folder system/etc in PORT and delete folders bluetooth, firmware and wifi
b) open folder system/etc in STOCK and copy folders bluetooth, firmware and wifi
c) open folder system/etc in PORT and paste folders bluetooth, firmware and wifi
4.
a) open folder system/lib in PORT and delete folder egl and hw
b) open folder system/lib in STOCK and copy folder egl and hw
c) open folder system/lib in PORT and paste folder egl and hw
5.
a) open folder system/lib in STOCK and copy all files which starts with libaudio
b) open folder system/lib in PORT and paste all libaudio files
6.
a) open folder system/lib in STOCK and copy following files:
libcamalgo.so
libcamdrv.so
libcameracustom.so
libdpframework.so
libsensorservice.so
libsync.so
libvcodecdrv.so
b) open folder system/lib in PORT and paste all files
7.
a) open folder system/usr/keylayout in STOCK and copy file Generic.kl
b) open folder system/usr/keylayout in PORT and paste file Generic.kl
8.
a) open folder system in PORT and delete folder vendor
b) open folder system in STOCK and copy folder vendor
c) open folder system in PORT and paste folder vendor
9.
Open build.prop in PORT and search line or add ro.sf.lcd_density= eg 160 depends n your phone density
In build.prop search lines
ro.product.locale.language=
ro.product.locale.region=
For English change it to
ro.product.locale.language=en
ro.product.locale.region=US
10.
a) edit META-INF Folder,check for updater script and edit your mounts points correctly.
Eg. format("ext4", "EMMC", "/dev/block/mmcblk0p4", "0");
mount("ext4", "EMMC", "/dev/block/mmcblk0p4", "/system");
11.
Compress/zip META-INF, system folder and boot.img using 7-Zip or any other compressing software .
Thats now your ported kitkat rom in a zip form.
KILL THE BUGS.......!!!!!!
Showing black screen after logo?
Replace following file from STOCK to PORT
system/lib/libMali.so
Stuck at logo/Bootloop?
Replace following files from STOCK to PORT
system/lib/libandroid_runtime.so
system/lib/libandroid_servers.so
system/lib/libmedia_jni.so
Camera focus not working?
Replace following file from STOCK to PORT
system/lib/libfeatureio.so
Camera showing wrong model in pic property?
Change model in build.prop
Still not working? Replace following file from STOCK to PORT
system/lib/libexif.so
Camera not working/force close?
Replace following files from STOCK to PORT
all files from system/lib folder which starts with libcam
Resolution problem?
open build.prop and add following line
ro.sf.lcd_density=
Pixalation in video?
Replace following file from STOCK to PORT
system/lib/libvcodecdrv.so
Flipped touch screen?
Replace following files from STOCK to PORT
system/lib/libinput.so
Storage not mounting?
Decompile framework-res.apk using apktool or apk multitool and replace following file from STOCK framework-res.apk to PORT framework-res.apk
/res/xml/storage_list.xml
LED OR flashlight not working?
Replace following files from STOCK to PORT
system/lib/libfeatureio.so
princevirus said:
{Tutorial} How to port Kitkat Roms.{4.4.2-4.4......}
Kitkat OS are slightly different as compared to Jellybean OS,system files like modules are not present in kitkat as in jellybean.This guide features roms with same chipseteg mtk6582 to mk6582.
STEPS:
1.
a) Open STOCK and PORT ROMs in separate windows
b) Copy boot.img from STOCK
d) Paste boot.img in PORT
2.
a) Open folder system/bin in STOCK and copy files pq and vold (use ctrl key to select multiple files)
b) Open folder system/bin in PORT and paste pq and vold (Select Copy and Replace for both files)
3.
a) open folder system/etc in PORT and delete folders bluetooth, firmware and wifi
b) open folder system/etc in STOCK and copy folders bluetooth, firmware and wifi
c) open folder system/etc in PORT and paste folders bluetooth, firmware and wifi
4.
a) open folder system/lib in PORT and delete folder egl and hw
b) open folder system/lib in STOCK and copy folder egl and hw
c) open folder system/lib in PORT and paste folder egl and hw
5.
a) open folder system/lib in STOCK and copy all files which starts with libaudio
b) open folder system/lib in PORT and paste all libaudio files
6.
a) open folder system/lib in STOCK and copy following files:
libcamalgo.so
libcamdrv.so
libcameracustom.so
libdpframework.so
libsensorservice.so
libsync.so
libvcodecdrv.so
b) open folder system/lib in PORT and paste all files
7.
a) open folder system/usr/keylayout in STOCK and copy file Generic.kl
b) open folder system/usr/keylayout in PORT and paste file Generic.kl
8.
a) open folder system in PORT and delete folder vendor
b) open folder system in STOCK and copy folder vendor
c) open folder system in PORT and paste folder vendor
9.
Open build.prop in PORT and search line or add ro.sf.lcd_density= eg 160 depends n your phone density
In build.prop search lines
ro.product.locale.language=
ro.product.locale.region=
For English change it to
ro.product.locale.language=en
ro.product.locale.region=US
10.
a) edit META-INF Folder,check for updater script and edit your mounts points correctly.
Eg. format("ext4", "EMMC", "/dev/block/mmcblk0p4", "0");
mount("ext4", "EMMC", "/dev/block/mmcblk0p4", "/system");
11.
Compress/zip META-INF, system folder and boot.img using 7-Zip or any other compressing software .
Thats now your ported kitkat rom in a zip form.
KILL THE BUGS.......!!!!!!
Showing black screen after logo?
Replace following file from STOCK to PORT
system/lib/libMali.so
Stuck at logo/Bootloop?
Replace following files from STOCK to PORT
system/lib/libandroid_runtime.so
system/lib/libandroid_servers.so
system/lib/libmedia_jni.so
Camera focus not working?
Replace following file from STOCK to PORT
system/lib/libfeatureio.so
Camera showing wrong model in pic property?
Change model in build.prop
Still not working? Replace following file from STOCK to PORT
system/lib/libexif.so
Camera not working/force close?
Replace following files from STOCK to PORT
all files from system/lib folder which starts with libcam
Resolution problem?
open build.prop and add following line
ro.sf.lcd_density=
Pixalation in video?
Replace following file from STOCK to PORT
system/lib/libvcodecdrv.so
Flipped touch screen?
Replace following files from STOCK to PORT
system/lib/libinput.so
Storage not mounting?
Decompile framework-res.apk using apktool or apk multitool and replace following file from STOCK framework-res.apk to PORT framework-res.apk
/res/xml/storage_list.xml
LED OR flashlight not working?
Replace following files from STOCK to PORT
system/lib/libfeatureio.so
Click to expand...
Click to collapse
can i port rom using this method jb to kk?
jrmillan23 said:
can i port rom using this method jb to kk?
Click to expand...
Click to collapse
No I dont think , but you can ask other members :good:
princevirus said:
No I dont think , but you can ask other members :good:
Click to expand...
Click to collapse
ok thank you m8 :good:
Ok so for your kind information you are right but this method will not work for jellybean as kit Kat has an ART compiler(libart.so) along with dalvik(libdvm.so) and some permissions(/etc/permissions) attached to (/system/framework). So you will have to rip off every line to find dependencies. If copy paste was simple so I've updated from Jellybean to Android N ..... and what about the android API framework. And also on their website it is said that things Changed since lollipop.. now in jb and kk we need to give all permission to app and if we don't agree so app doesn't installs.... but in lollipop app installs without any permission and ask during app run to grant individual permission so you can customize what individual apps can use...... but the METHOD YOU SUGGESTED IF YOU PORT MARSHMALLOW FROM LOLLIPOP OR ANDROID N TO MARSHMALLOW...... also get updates because with each android there is something new.... so if you copy the jar framework which is the spine of android .....what is the meaning of it if you not had appropriate permissions.xml which tells a system that " hey there I've got something for this app to be functional" actually permissions are telling apps which uses it the location where it is located and how an app can use it......open with any root explorer you see the basic like bluetooth.xml has a snippet telling framework location"/system/framework/bluetooth.jar"...... sort of thing......so you need to check every dependencies.......
PS note : it will be like you build a supercomputer,sell it to IBM or Microsoft and realised you forgot to connect all wires in system!!!!
So please check what you are doing.... I'm just suggesting you some more information where you are going wrong...
Example:::: my /etc/permission has a permission name CP_COMMON.xml which has this snippet... it is directing my system apps and 3rd party apps where it is located (only the app which uses it).
It adds security so that any of my app cannot modify or corrupt it... it directs one way read only traffic. (############ this cp common is present for Panasonic and cool pad phone only.... so each device has its specific framework and permission....i cannot just copy the Touchwizui.jar and believe that after reboot a fairy will come and change my ui like Samsung s6.....)
::This is the snippet::
<?xml version="1.0" encoding="utf-8"?>
<permissions>
<library name="common"
file="/system/framework/CP_CommonDex.jar"/>
<library name="netFramework"
file="/system/framework/CP_NetFrameworksDex.jar"/>
<library name="netusermgr"
file="/system/framework/CP_NetUserMgrDex.jar"/>
<library name="systeminterface"
file="/system/framework/CP_SystemInterface.jar"/>
</permissions>
Well good luck porting and it will be good to keep this thing in mind next time you port...keep updates what google latest beta has "new" at developers.android.com
Cheers for your work.
Sent from my Panasonic P81 using XDA Labs
princevirus said:
{Tutorial} How to port Kitkat Roms.{4.4.2-4.4......}
Kitkat OS are slightly different as compared to Jellybean OS,system files like modules are not present in kitkat as in jellybean.This guide features roms with same chipseteg mtk6582 to mk6582.
STEPS:
1.
a) Open STOCK and PORT ROMs in separate windows
b) Copy boot.img from STOCK
d) Paste boot.img in PORT
2.
a) Open folder system/bin in STOCK and copy files pq and vold (use ctrl key to select multiple files)
b) Open folder system/bin in PORT and paste pq and vold (Select Copy and Replace for both files)
3.
a) open folder system/etc in PORT and delete folders bluetooth, firmware and wifi
b) open folder system/etc in STOCK and copy folders bluetooth, firmware and wifi
c) open folder system/etc in PORT and paste folders bluetooth, firmware and wifi
4.
a) open folder system/lib in PORT and delete folder egl and hw
b) open folder system/lib in STOCK and copy folder egl and hw
c) open folder system/lib in PORT and paste folder egl and hw
5.
a) open folder system/lib in STOCK and copy all files which starts with libaudio
b) open folder system/lib in PORT and paste all libaudio files
6.
a) open folder system/lib in STOCK and copy following files:
libcamalgo.so
libcamdrv.so
libcameracustom.so
libdpframework.so
libsensorservice.so
libsync.so
libvcodecdrv.so
b) open folder system/lib in PORT and paste all files
7.
a) open folder system/usr/keylayout in STOCK and copy file Generic.kl
b) open folder system/usr/keylayout in PORT and paste file Generic.kl
8.
a) open folder system in PORT and delete folder vendor
b) open folder system in STOCK and copy folder vendor
c) open folder system in PORT and paste folder vendor
9.
Open build.prop in PORT and search line or add ro.sf.lcd_density= eg 160 depends n your phone density
In build.prop search lines
ro.product.locale.language=
ro.product.locale.region=
For English change it to
ro.product.locale.language=en
ro.product.locale.region=US
10.
a) edit META-INF Folder,check for updater script and edit your mounts points correctly.
Eg. format("ext4", "EMMC", "/dev/block/mmcblk0p4", "0");
mount("ext4", "EMMC", "/dev/block/mmcblk0p4", "/system");
11.
Compress/zip META-INF, system folder and boot.img using 7-Zip or any other compressing software .
Thats now your ported kitkat rom in a zip form.
KILL THE BUGS.......!!!!!!
Showing black screen after logo?
Replace following file from STOCK to PORT
system/lib/libMali.so
Stuck at logo/Bootloop?
Replace following files from STOCK to PORT
system/lib/libandroid_runtime.so
system/lib/libandroid_servers.so
system/lib/libmedia_jni.so
Camera focus not working?
Replace following file from STOCK to PORT
system/lib/libfeatureio.so
Camera showing wrong model in pic property?
Change model in build.prop
Still not working? Replace following file from STOCK to PORT
system/lib/libexif.so
Camera not working/force close?
Replace following files from STOCK to PORT
all files from system/lib folder which starts with libcam
Resolution problem?
open build.prop and add following line
ro.sf.lcd_density=
Pixalation in video?
Replace following file from STOCK to PORT
system/lib/libvcodecdrv.so
Flipped touch screen?
Replace following files from STOCK to PORT
system/lib/libinput.so
Storage not mounting?
Decompile framework-res.apk using apktool or apk multitool and replace following file from STOCK framework-res.apk to PORT framework-res.apk
/res/xml/storage_list.xml
LED OR flashlight not working?
Replace following files from STOCK to PORT
system/lib/libfeatureio.so
Click to expand...
Click to collapse
Sir, is it possible to port cm13 to mt6582 (jelly bean 4.2.2)?
I ported many times with different methods, but it did not boot always.
I really want cyanogenmod for mt6582 (jelly bean 4.3.3)
Thanks
Can you plz tell me how to port system apps of any samsung Droid
Can i port marshmellow rom using thia mwthod for my lollypop based device?
The rom i am trying to port is from a same model eevice qith the only difference being the display type. My device is fhd. The rom i am trying ti port ia built for the same model device wth hd display.
Jb to kk
princevirus said:
No I dont think , but you can ask other members :good:
Click to expand...
Click to collapse
Though you said it, but what conversions are neccessary to change the same files to kitkat. ?
---------- Post added at 09:55 PM ---------- Previous post was at 09:45 PM ----------
Tanmoy Mitra said:
Ok so for your kind information you are right but this method will not work for jellybean as kit Kat has an ART compiler(libart.so) along with dalvik(libdvm.so) and some permissions(/etc/permissions) attached to (/system/framework). So you will have to rip off every line to find dependencies. If copy paste was simple so I've updated from Jellybean to Android N
Sent from my Panasonic P81 using XDA Labs
Click to expand...
Click to collapse
A good explanation about many such hurdles. But technically is it possible to make changes to the original rom files.
Yogesh1969 said:
Though you said it, but what conversions are neccessary to change the same files to kitkat. ?
---------- Post added at 09:55 PM ---------- Previous post was at 09:45 PM ----------
A good explanation about many such hurdles. But technically is it possible to make changes to the original rom files.
Click to expand...
Click to collapse
Ok Yes it is possible but finding each and every component will be tricky and make underpants wet......Well I tried it myself out of curiosity and found it bricked again.....Lol From my Dad's Lenovo K4 note....marshmallow....Thank god I know how to reflash its firmware.........Instead I optimized it and trying to mod its framework.jar and SystemUI.apk for MM or Nougat like feel. But the trickiest part is change it's Api.....which is NEXT TO IMPOSSIBLE by simple copy paste....
Three things you can do
1.) Buy Google pixel or any android phone(Which you will
not)
2.) Use Ubuntu to rebuild or modify unpack repack and
port your Rom.....Might be less hard for an amateur.
3.) Use any CyanogenMod, Blisspop, Aokp,Aosp or any
rom of device unofficially ported or have same spects
Like ram , no of processor core, (camera doesnt
matter) Internal memory etc and DPI or Screen Size.
YOU ARE LEFT WITH 3 CHOICES...Choose wisely live well.
---------- Post added at 05:25 PM ---------- Previous post was at 05:24 PM ----------
Ok by the way I'm 11standard student from India.....Running a cool mobile with no company support.....Just my trial brick error method to optimize it.....
from mediatek to qualcomm it is possible??
Sent from my S50D using Tapatalk