Not my responsibility if you soft brick your phone.
What you need:
1.Kitchen by Dsixda http://forum.xda-developers.com/showthread.php?t=633246
2./system directory of your custom/stock rom.
3.Root access on phone
Root browser https://play.google.com/store/apps/...xLDEsImNvbS5qcnVtbXkucm9vdC5icm93c2VyZnJlZSJd
Root explorer https://play.google.com/store/apps/details?id=com.speedsoftware.rootexplorer&feature=search_result
5.Common sense and half an hour (MOST IMPORTANT)
Instructions:
(I presume that you have already installed Cygwin.)
GETTING SYSTEM FILES
1.Install your preferable Root file browser in your phone.
2.Open and look down for system folder in it.
3.Copy the whole folder on your sd card
OR
1.Open your favourite custom rom and copy the system files in there.I personally used creeds v2.5
(Use this method if you want to test it or you are a lazy kid like me!)
SETTING UP ROM
1.Open Cygwin and type "cd kitchen" and press enter
2.Type "./menu" in it. You will see a menu after that.
3.Go to Cygwin>>home>>user>>kitchen>>original_update
4.Make a folder there named as "WORKING_XXXXX" and put the /system files you obtained in it.
5.Go back to Cygwin and press 1.
6.Press enter once again and select the name of your working folder by pressing the number against it.
7.After this it will ask for naming another folder.Do as you want.
8.Now you have a working folder which is going to become your future rom. Select any options from the menu which you would like to have in your rom.(I have not tested all of them so there is a chance that some of them wont work).
BUILDING THE ROM
1.Press 99 to build the working folder.
2.Go for the interactive mode so press 1.
3.Zipalign them by pressing y. A wall of text would come but dont worry
4.Add updater-script. Again a hell lot of text
5.Press y again
6.Sign your rom by pressing y
7.Change the name of your rom by pressing y
8.Press Enter to finish!
9.Go to OUTPUT_ZIP and open the your rom and go in META-INF fodler.Over here you need to put the updater scripts which you want for your rom. I have tested the scripts from Creeds v2.5 and it installs perfectly. (This is not a necessary step because you can also install your rom with the original META-INF script.)
10.Copy the rom to your sdcard
11.Boot in cwm and wipedata+cache and then install your rom.(Have a backup in hand)
12.It should install perfectly cuz it booted properly in my 9/10 tests.
If you want to customise your rom then look below. It should be done before the building the rom.
UNDER CONSTRUCTION
MORE TO COME: TWEAKS,ICONS,ICS SETTINGS,USEFUL APPS and many other customizations.
Nice tutorial,
Just a question
I think we don't need computer to build rom as i can observe fromyour tut, right?
Chairmansaab said:
Nice tutorial,
Just a question
I think we don't need computer to build rom as i can observe fromyour tut, right?
Click to expand...
Click to collapse
Where will you install Cygwin then?? xD
Sent from my GT-S5360 using XDA
Related
Been using Franco's Rom and Kernel and it's been great. However, I like to update to his v.14 kernel. I did the format
1. Wipe
2. Partition, etc...
3. Load v5 Rom
4. Restart
My problem is right here, the warning is to delete the tweaks file and the script file (which I don't have one) in File Manager. I use the OI manager that comes with v5 Rom but it just wont' delete, and I don't want to load the new kernel because of all the warnings, please help :-(...
calculus1918 said:
Been using Franco's Rom and Kernel and it's been great. However, I like to update to his v.14 kernel. I did the format
1. Wipe
2. Partition, etc...
3. Load v5 Rom
4. Restart
My problem is right here, the warning is to delete the tweaks file and the script file (which I don't have one) in File Manager. I use the OI manager that comes with v5 Rom but it just wont' delete, and I don't want to load the new kernel because of all the warnings, please help :-(...
Click to expand...
Click to collapse
it wont delete cause of permissions. I use root explorer for this kind of work. In this particular case i had deleted the nececary scrips from the flash zip and i flashed afterwards. (i had a clean install)
I am trying the clean install as well, can you give the instructions or point me to somewhere where I can read more about this, thanks for your time and effort.
Do I just delete it in the Devoid.Franco v5 zip before flashing and then restart the process (the only file that I can find is tweaks.sh)
Sorry, found the init.d file as well. Would I delete those files in the zip, rezip and then start the process over?
you just delete them from the zip and you flash it as usuall. just dont forget to disable verification check on your recovery or else it will give you error
Sorry, just a newb when it comes to this.
I couldn't delete the two files from the devoid.franco.v5.zip file so I did the following:
1. Extract the zip file
2. Deleted the two files
3. Rezipped the files into a new devoid.franco.v5.zip
4. Load the zip into the micro sd card after all the wipe and partition
5. Disabled Signature check
6. Tried the flash and it said it can't open the zip because it's bad :-(...
This can't be that hard when all the other kernels was easy to install...
calculus1918 said:
Sorry, just a newb when it comes to this.
I couldn't delete the two files from the devoid.franco.v5.zip file so I did the following:
1. Extract the zip file
2. Deleted the two files
3. Rezipped the files into a new devoid.franco.v5.zip
4. Load the zip into the micro sd card after all the wipe and partition
5. Disabled Signature check
6. Tried the flash and it said it can't open the zip because it's bad :-(...
This can't be that hard when all the other kernels was easy to install...
Click to expand...
Click to collapse
Extracting a zip and re-zipping it DOESN'T work. You are not supposed to unzip the file. Just flash the rom, delete the offending files using root explorer, and then flash the kernel.
Sent from my LG Optimus One P500 using XDA App
You should't extract the file and rezip it. It corrupts it when it comes to flashing. I personally browse the zip file with winrar and simple delete the files i need. I also add files to zip this way like apks, ringtones etc
Trying winrar and it seems to work, gone to see if I can finish the entire process. Thanks so much for your time again. In the future, can I send the apps that I want directly into this zip? I can to sue something zipsigner before to get calendar, etc... Thanks again!!!
An alternative way for a clean install:
1: wipe everything
2: flash devoid.franco.v5
3: reboot (to check if everything is ok)
4: reboot into recovery
5: mount /system partition under 'mounts and storage' (clockworkmod)
6: from pc type (with phone still in recovery): 'adb shell'
7: in adb shell, type: 'rm /system/etc/tweaks.sh'
8: in adb shell, type: 'rm /system/etc/init.d/00script'
9: flash franco.kernel.v14
10: reboot
I Hope it helps,
Bye
You're welcome m8.
And yes you can have the apps you want inside the rom this way very easilly. just put them in app folder. I did this with some removed apps like browser and calendar and also removed zeam launcher and used adw launcher (personal taste) I even tried that with frameworks (aka themes) and it worked great
Thanks so much to both of your posts, it's working. One last questions, thought setcpu was already implemented in this kernel, but I don't see it anywhere? Again, thanks again for everyone's time and effort, learned so much today (wife is mad though because we need to do house work, lol, lol, better get going)... She said, "who formats their phone 5 times in 1 month, lol, lol"
setcpu is NOT included, you have to install it.
See first post in franco.kernel thread for the link.
Eh! eh! you are not in Europe, I guess if you have to help your wife NOW!!!
Barcelona-ManchesterUTD right NOW...
oh yes the wifes. my gf gets fustrated like "wtf are roms and kernels?? its just a phone!!! you call people and they call you back" rofl
One last note on setcpu. When i was using last version (2.13), every time i rebooted my phone the settings where gone and had to set them again. I switched to v2.1 and it worked like a charm. Have no idea if that is general issue or only me had it. Just thought i should tell you
Done via editing the zip with rar and all worked smoothly.
Thx all
/W
HERE IS A GUIDE FOR YOU ALL YOU CAN CREATE YOUR OWN ROM BY THIS METHOD.I AM NOT RESPONSIBLE FOR BRICKED DEVICES.
Click to expand...
Click to collapse
Requirement to make a custom rom
*JAVA JDK installed on your SYSTEM
*WIN XP/ 7/8/8.1.
*package given in download section
Who is this kitchen for ?
Those who are brand new to
creating custom ROMs and
want an easy place to start
learning
Those who just want to modify
shipped ROMs or someone
else's custom ROMs to their
liking
Those who are confused by all
those scripts and complex
commands required for
building and extracting
This is NOT a tool to
automatically turn you into a
full-fledged ROM developer.
ROM development normally
involves work from the ground
up and involves time , research
and patience .
Click to expand...
Click to collapse
PRESS THANKS IF YOU LIKE MY WORK..
Kitchen setup
setting up dsixda kitchen
1.download all the three link and unzip kitchen.rar and cywin package.
2.open cywin_package then open folder now, you can see 3 icons, a read-
me,a setup, and a folder. Choose
the setup. Here you will choose
install from local directory. Next,
navigate to the the folder of
extraction of cygwin and choose
the folder cygwin_packages inside
the cygwin extraction folder. Wait
for some time. Then, you will come
across a list of file. Click the 2-
circle-arrows,untill, it displays
“install”
after the procedure is complete,
run the batch file cygwin.bat . Now, minimise
it and copy kitchen folder,
keep it in some location where you have installed your cygwin package open home/ajay-pc(in my case this is administrator name of my pc)kitchen
now, open the batch file window
and type
cd c:\kitchen
wait for some time and then when
the location the changed, type
./menu
Click to expand...
Click to collapse
press thanks if you like my work
GUIDE
now minimize the batch file and extract official rom there you will find system.img then extract it using magic iso or flash
the official stock rom using odin the take a nandroid backup u will get system.rfs.tar in your sd card extract it using magic iso then make a folder in called rom and open it. again create a folder called system and copy all data from system.rfs.tar which u have extracted(do drag and dropping).
Now copy meta-inf of any stock rom and copy and kernel to rom folder.
Now you will get two folder and one file in your rom folder zip the folder content and copy the file where you have installed cygwin/home/ajay/kitchen/original update folder.
now open command shell which you have minimized 1st create working folder then add root permission,deodex your rom.
and at last press 99 to build your rom..
note-if it ask you to change updater script to update script change it but dont forget to change it back to updater script.now you will get your rom in output folder copy it to your sd card flash it if error occur unzip the zip file and delete meta-inf and boot.img and again copy meta-inf of any rom and kernel to it and zip it..again flash the rom..
PRESS THANKS IF YOU LIKE MY WORK
DOWNLOADS
Downloads
Link for cygwin click here :good:link for kitchen click here :good:link for magic iso click here :good:
Link for official firmware click here :good:
PRESS THANKS IF YOU LIKE MY WORK
CREDIT
DSIXDA for Android Kitchen
Samsung for this awesome device
ME for this Guide
[FONT="]4 - Way Reboot Menu for Nabi2 KK 4.4 ( De-Odexed )[/FONT][FONT="]Well it's that time again after getting a needed update for our tablets. This is the extended Reboot Menu only and not a "Power Menu". I do not recommend flashing to Custom Roms as the ROMs may contain special permissions/policies ( if added ) that the Rom Developer may have implemented or even may be require so the Custom Rom may run or function properly. None are known [/FONT][FONT="]for the Nabi2 ATM so I guess we are safe LOL. [/FONT] Unlike the previous version that went through the Power Button menu, this one has a dedicated Reboot Button eliminating the extra
"Power Off "at the bottom of the Reboot Menu going through the Power Button menu.
[FONT="]The Extended Reboot Menu Includes:[/FONT]
[FONT="]REBOOT[/FONT]
[FONT="]( Normal Complete Reboot after Shutdown )[/FONT]
[FONT="][FONT="]SOFT RE[/FONT]BOOT[/FONT]
[FONT="]( Quick Reboot for restarting the Android Shell only, No Shutdown )[/FONT]
[FONT="]BOOTLOADER[/FONT]
[FONT="]([FONT="] Bootloader [/FONT]Mode / Fastboot Mo[FONT="]de [/FONT])[/FONT]
Working after it's plugged in to Computer via USB Cord ( see post#2 for Youtube link )
[FONT="]RECOVERY[/FONT]
[FONT="]( Restarts[FONT="] t[/FONT]ablet [FONT="]strai[FONT="]gh[FONT="]t to[/FONT][/FONT][/FONT] Recove[FONT="]r[/FONT]y after Shutdown )[/FONT]
=========================================================================================================
=========================================
=========================================================
[FONT="]===================================================================[/FONT]
[FONT="]DISCLAIMER:[/FONT]
===================================================================
===============================================
=========================================
[FONT="]By YOU, the USER, flashing this file or manually pasting to modify your Android System, YOU understand and know what YOU are [/FONT]
[FONT="]doing. I nor [/FONT][FONT="]anyone will be held liable nor responsible for YOUR doing if your phone bricks. As always, as is suggested by many and [/FONT]
[FONT="]myself, please make [/FONT][FONT="]sure you perform a complete[/FONT]
[FONT="]NANDROID BACKUP[/FONT]
[FONT="]before flashing and/or modifying your OS or the mentioned stock .jar file. I also suggest YOU keep a separate copy of the stock .jar file [/FONT]
[FONT="]handy, [/FONT][FONT="]like in your External SDcard, if the phone decides not to boot up. Knowing this, YOU assume all responsibility for what happens [/FONT]
[FONT="]as YOU, the USER, know and comprehend what YOU are doing and understand the consequences or severity of damages that can be [/FONT]
[FONT="]brought to your [/FONT][FONT="]device by flashing or modifying your OS incorrectly. [/FONT]
[FONT="]YOU[/FONT][FONT="] Have Been Warned !![/FONT]
=========================================================================================================
[FONT="]What's Needed / Recommended:[/FONT]
[FONT="]Rooted Device [/FONT][FONT="]( to extract the needed files Manually for backup )[/FONT]
[FONT="]Custom Recovery ( TWRP for Flashing the ZIP and/or using the File Manager or a Custom Aroma File Manager)[/FONT]
[FONT="]If you can do it via ADB Commands then all power to you.....[/FONT]
[FONT="]I provided [/FONT][FONT="]BOTH[/FONT][FONT="] , the stock NABI2 [/FONT][FONT="]( Stock NABI2 KK jar )[/FONT][FONT="] and modded NABI2 .jar [/FONT][FONT="]( android.policy.jar )[/FONT][FONT="] files and [/FONT]
[FONT="]will make a flashable zip [/FONT][FONT="]( coming soon )[/FONT][FONT="] below[/FONT]
[FONT="]What To Do:[/FONT]
[FONT="]You have two choices on installing the .jar file. You can either Flash the ZIP in TWRP ( which at the moment is not available ) or manually copy & paste or push the .jar file to system/framework/. If you decide to do this manually, you will then need to set the file permissions to the modified android.policy.jar file to 0644. Before manually pasting the file in the framework folder, you can rename the stock android.policy.jar file with " .bak " ( ex. android.policy.jar.bak ) at the end so you don't have to delete it from the framework folder if you so choose. Now using TWRP you can either use the built in File Manager and set permissions via the terminal with chmod commands or Install/Flash the Aroma File Manager in recovery to use like a simple File manager where you can hold down on the file to get a popup window to copy/paste or set permissions manually.[/FONT]
======================================================================================
[FONT="]Words of caution.....[/FONT]
[FONT="]if you attempt to do this manually and are still actively booted in your Android OS while modifying or deleting the .jar file, there is the highest probability that your tablet will immediately reboot and you will not be able to boot up the OS again and remain stuck on the Nabi boot screen as the android.policy.jar is no longer visible to your OS. This is why you need to do this before booting up like in recovery.[/FONT]
======================================================================================
[FONT="]Thanks and credits go out to :[/FONT][FONT="]@[/FONT]tdunham
[FONT="]@[/FONT]CNexus
[FONT="]@kahvitahra[/FONT]
[FONT="]for the knowledge gained over the years and information gathered on the How-Too's and the files needed for this MOD. If I missed someone please PM me or let me know.....[/FONT]
[FONT="]Enjoy! [/FONT]
Change Log
Android Policy v1:1. Unlike last from JB, this KK Reboot Menu has it's own button instead of going through the Power Button.
2. Problem with Bootloader Button not working, not going into Bootloader.Android Policy v2 ( 02/28/15 ): 1. Reboot Menu has it's own button instead of going through the Power Button as before.
2. Soft Reboot ( Quick Reboot ) using smali command of "setprop stl.restart zygote" instead of "pkill -term -f system_server" for those
that do not want to or honestly need to install BusyBox to simlink pkill if not already done so. Change will not affect anything.
3. Some more smali edits to try and get Bootloader button working. Forum member n3wt discovered when attempting to go into Bootloader mode,
after reboot and staying stuck at the nabi boot logo screen, plugging in the USB cord while USB connected to computer would then switch the
Nabi to Fastboot Mode. --- link to youtube video bellow.
http://youtu.be/Qo9ShihfCqY
Any problems ...... let me know.
.
Thanks. I get error flashing zip from TWRP. I copied the jar to /system/framework and set perms to 644 but I don't see the new options even after reboot. Also the attachment says v1. Where is v2?
If you are saying its not available from the power button how do you get to the menu?
lev777 said:
Thanks. I get error flashing zip from TWRP. I copied the jar to /system/framework and set perms to 644 but I don't see the new options even after reboot. Also the attachment says v1. Where is v2?
If you are saying its not available from the power button how do you get to the menu?
Click to expand...
Click to collapse
Sorry for not responding right away, notification was not set. The zip is not a flashable. I never got around to making one. Better one knows where it's going and one backs up their original before attempting.
You get the reboot option when pressing on "Reboot". Normally, the Nabi2 stock jar does not come with a reboot option which is what I added.
I would like to deodex the Codex system. How Can I do that? 232 Stock-based update. I have the Sony Xperia z2.
This is a very compressed and short guide, but hopefully it'll help you to start (it assumes you already have your phone rooted and have recovery installed) :
1ST OF ALL : MAKE NANDROID BACKUP.
you'll need to have JAVA installed on your machine, download and install that.
- on your device, enable "usb debugging" from developer options
- connect your device to PC, click "allow" on device for usb debugging
- have adb.exe on your pc, navigate to that folder and press shift+right click in empty space in the folder, choose "open command window here"
- in the cmd window that shows up type these commands in order :
adb pull /system/app system/app/
adb pull /system/priv-app system/priv-app/
adb pull /system/framework system/framework/
adb pull /system/vendor/app system/vendor/app
adb pull /system/build.prop system/build.prop
this will get you a folder next to your adb.exe file called "system" with all the files inside
- open system/vendor/app folder and copy "ims" and "chrome customizations" to system/app folder
- open system/framework/ folder and copy "SemcGenericUxpRes" to system/app folder
download deodex tool from here : http://forum.xda-developers.com/galaxy-s5/general/tool-deodex-tool-android-l-t2972025 (if you're not sure if your system is 32 or 64, get the 32 version)
- extract SVADeodexerForArtx32.zip to your c:/ drive
- open SVADeodexerForArt.exe and browse to where your "system" folder is (same folder as adb.exe)
- check app/framework/priv-app in the program options
- click deodex
- once done, create a flashable zip file from the resulting folders (remember to move files from "app" folder back to "framework" and "vendor" folder in the same order, or you'll get FCs)
- have SuperSU and flashable NUT recovery too on sdcard
- flash deodexed zip, then flash SuperSU and NUT recovery files again
- clear cache/dalvik, reboot
This is a rough guide, basically how I do it. if you need further help, post here and I'll try to respond or someone else will help/correct me if I made a mistake.
thanks
i deodexd with SVADeodexerForArtx64.exe
after that
how to create flashble zip
and which folders will i zip?
pls tellme bro
see attached file for creating flashable zip.
you need to copy the deodexed version from the SVADeodexerForArtx64 folder (you'll find app, framework, priv-app folder there) just open the zip with winrar, drag and drop folder, do a replace (don't change any settings).
Remember to move the "SemcGenericUxpRes", "ims" and "chrome customizations" to their respective folders (framework and vendor/app) to avoid FCs
Once you do that, your deodex file is ready to flash, then after that reflash SuperSU and NUTs recovery.
thanks
thanks bro.:laugh::laugh::laugh::laugh::laugh::laugh::laugh:
it is working bro
thanks thanks
and small Dought can i use this empty zip file for future versions like android 6.0
and how to conform my lolipop5.1.1 is deodexed
One question :what does it mean nut recovery???is clockworkmod recovery right?
rameshkotibani said:
thanks bro.:laugh::laugh::laugh::laugh::laugh::laugh::laugh:
it is working bro
thanks thanks
and small Dought can i use this empty zip file for future versions like android 6.0
and how to conform my lolipop5.1.1 is deodexed
Click to expand...
Click to collapse
I'm not sure if this zip will work for Android 6.0 since it's not available to test atm. Let's wait until it's out and see then
To confirm your rom is deodexed, use a file explorer with root acces (es explorer) and navigate to /system/, then do a search for "odex" and you should not find any files.
Cris95 said:
One question :what does it mean nut recovery???is clockworkmod recovery right?
Click to expand...
Click to collapse
NUTs dual recovery is what is used on locked bootloader Z2 phones, it has both CWM and TWRP for you to choose from, just google "NUTs dual recovery Z2" or search the forums here for more details.
thank bro......
ticktock666 said:
see attached file for creating flashable zip.
you need to copy the deodexed version from the SVADeodexerForArtx64 folder (you'll find app, framework, priv-app folder there) just open the zip with winrar, drag and drop folder, do a replace (don't change any settings).
Remember to move the "SemcGenericUxpRes", "ims" and "chrome customizations" to their respective folders (framework and vendor/app) to avoid FCs
Once you do that, your deodex file is ready to flash, then after that reflash SuperSU and NUTs recovery.
Click to expand...
Click to collapse
i did all you said, but after flashing the deodex.zip with the deodexed apk´s inside i get bootloop.
Tried everything but no chance. Always bootloop - damn
Here is a lil tutorial for the easy way to theme your CWM or TWRP recovery backround and buttons etc.
-----
Whats needed:
PC (i have done it on Windows 8.1+10)
Android Kernel Kitchen or similar tool
7zip,Winrar etc
Photoshop,Gimp or Paint.net
-----
Whats known:
Not much,the only is that u never ever change
the name and file end from the images.
-----
1. First extract the recovery.img from your zip and place it were u want or in the folder from your Kerneltool.
2. Unpack it by drag and drop on the unpack option and wait till its done,now press enter.
3. Now go to ramdisk folder and open res folder and then images.
4. Make your changes and go away here.
5. Now press repack image and youre done so far.
The new recovery file is called image-new,just rename it to recovery put it in your zip and flash,enjoy!!!!!
--SIGNATURE--