yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] iamsuperuser:
I know how to extract

I was talking about the FCs you fixed , you know , you edited alot of code in that maintool.bat and renamed it to Rickromkitchen.bat

I accidentally deleted that Rickromkitchen.bat and the whole kitchen thinking I had a backup

Just clarifying

I'll wait for the next release
[Android Software/Hacking General [Developers Only]] maskerwsk:
Cant you just restore it from recycle bin?
[Android Software/Hacking General [Developers Only]] mrbojangle69:
If he has used shift + del, forget it, everything has been erased completely. But maybe with aplications like Tune Up Utilities he could restore those files, obviously if he hasn't rewritten over the hard disk.
[Android Software/Hacking General [Developers Only]] DON AMIGO:
is there an update even it is minor one ? - please do it. i'm kinda delayed in making a rom.
[Android Software/Hacking General [Developers Only]] :
What issue you get?

[24th May i'm on vacation. so no work will be done] JAPAN HERE I COME :]
[Android Software/Hacking General [Developers Only]] DON AMIGO:
the only thing that i'm facing is i can't extract system.img with the one in the kitchen. i didn't face anything else coz of the first.
[Android Software/Hacking General [Developers Only]] Sk.D:
[MENTION=5105831]ricky310711[/MENTION]

I have put request for moto g (XT1033 dual sim) if possible please add it to this tool list soon. Eagerly waiting to try this tool. There wer too blocks one boot img and one logo bin so I have put both blocks path. See in feature request.

Thanks in advance :)
[Android Software/Hacking General [Developers Only]] civato:
I have the same problem, I fixed it for me by skipping the device checking as there it is where it goes wrong.

The META-INF folder needs to be set by you as it isn't generated correctly with this maintool.bat

Here is my maintool.bat , drop it in the tools/script folder.

I hope Ricky fixes this error in next release , the log shows a temp.text file syntacts error. in log
[Android Software/Hacking General [Developers Only]] DON AMIGO:
Q - will be there an update soon for the kitchen ?
[Android Software/Hacking General [Developers Only]] :
Post info and I'll add it :)

[24th May i'm on vacation. so no work will be done] JAPAN HERE I COME :]
[Android Software/Hacking General [Developers Only]] Sk.D:
manufracturer=motorola

ro.product.model=XT1033

kernelpath=boot.img", "/dev/block/mmcblk0p31");

("logo.bin", "/dev/block/mmcblk0p27");

There were two path so i wasnt getting it so i put both.

Hope this helps u bro :)
[Android Software/Hacking General [Developers Only]] :
It's the mmcblk0p31

[24th May i'm on vacation. so no work will be done] JAPAN HERE I COME :]
[Android Software/Hacking General [Developers Only]] Sk.D:
Hmm actually i tried this tool just now in moto g, and while extracting rom zip it closes and then .bat file doenst open. then i have to delete whole folder of ricky and extract the main kitchen zip again to make it work but again the same process.:(
[Android Software/Hacking General [Developers Only]] :
Add goto complete after device checked in checkdevice.bat ;)

[24th May i'm on vacation. so no work will be done] JAPAN HERE I COME :]
[Android Software/Hacking General [Developers Only]] taaeem:
I have a important question, cause I think I made a mistake with the Huawei Ascend P6 I really I found now in my recovery.log that the boot partition is at

/boot | /dev/block/mmcblk0p12

And in my first post here the kernel path was at a very different position and I wanted to ask if the path for my /boot is the same like the kernelblockpath and if so can the developer change it for my device?

Gesendet von meinem P6-U06
[Android Software/Hacking General [Developers Only]] noax20:
I can not use ext4_unpacker to extract the system.img file the application does not respond.

It is a galaxy s5 G900F 4.4.2 and windows 8.1

any help ???

Thank you.
[Android Software/Hacking General [Developers Only]] :
Do adb shell

Mount

Or view pit file where boot is ;)

[24th May i'm on vacation. so no work will be done] JAPAN HERE I COME :]
[Android Software/Hacking General [Developers Only]] mrbojangle69:
Ricky, is there any news about your kitchen? A brief report will be welcomed.
[Android Software/Hacking General [Developers Only]] eddhard:
Every other post on here is asking for news or an update. Give him a break.
[Android Software/Hacking General [Developers Only]] kermage:
..have him a KITKAT :good:
[Android Software/Hacking General [Developers Only]] mrbojangle69:
KitKat given.
[Android Software/Hacking General [Developers Only]] zygzoo:
can someone give me v2 pls.

I can't do nothing with v3.
[Android Software/Hacking General [Developers Only]] Naveed Abbas:
Here you go...:good:

Ricky310711RomKitchen-2.00.zip
[Android Software/Hacking General [Developers Only]] zygzoo:
:good: thank's man
[Android Software/Hacking General [Developers Only]] :
How funny that people can't read how to fix the issue with the temp fix :p

[24th May i'm on vacation. so no work will be done] JAPAN HERE I COME :]
[Android Software/Hacking General [Developers Only]] Gunthermic:
100% agree. He is doing this because he wants.. asking for update again and again does no good.. let him work on it and he will release when ready

Sent from my SM-N900V using Xparent BlueTapatalk 2
[Android Software/Hacking General [Developers Only]] mrbojangle69:
Definitively I won't ask anymore. If my questions are disturbing Ricky or someone else, I am sorry for that.

I wish Ricky to have luck with this project.
[Android Software/Hacking General [Developers Only]] kermage:
agree! :good:

No! questions are totally fine, never hesitate to ask, just try to avoid something about release and ETA :D

There are some other people out there who are willing to help. ;)
[Android Software/Hacking General [Developers Only]] civato:
For adding support for the Samsung Note 8.0 versions

Wifi Only : GT-N5110

if %device% == GT-N5110 (
set kernel=/dev/block/mmcblk0p5
goto complete
)

3G-Wifi: GT-N5100

if %device% == GT-N5100 (
set kernel=/dev/block/mmcblk0p5
goto complete
)

4G/LTE-Wifi: GT-N5120

if %device% == GT-N5120 (
set kernel=/dev/block/mmcblk0p9
goto complete
)
[Android Software/Hacking General [Developers Only]] Ricky Divjakovski:
Sorry guys, been abit busy on my end as some of you have seen on facebook, ill release an update ASAP with alot pf fixes!

logging is the main cause of some issues..
[Android Software/Hacking General [Developers Only]] mrbojangle69:
Sorry for the off topic, this is just for entertaining this thread.

https://www.youtube.com/watch?v=kIWZ6Kzwm7Y

Enjoy it as much as I do.
[Android Software/Hacking General [Developers Only]] rogersb11:
Can someone tell me how to get this to open? I'm running ububtu and i've used other kitchens but can't seem to open this. Thanks
[Android Software/Hacking General [Developers Only]] prdog1:
That is because it is a Windows compatible only program at this time. :cool:
[Android Software/Hacking General [Developers Only]] rogersb11:
Well that would make perfect sense then haha. Installed ubuntu just for better tools and seems newest tool is windows haha, oops. Thanks for the info
[Android Software/Hacking General [Developers Only]] prdog1:
ArchiKitchen runs good on Ubuntu. :cool:
[Android Software/Hacking General [Developers Only]] rogersb11:
I've got it and the original but keep getting no OS installed after successful build and flash
[Android Software/Hacking General [Developers Only]] prdog1:
Not sure why. Works fine for SCH-I535. Did you run a recovery logcat. May show successful flash but still throw something in log that it just skipped over. :cool:
[Android Software/Hacking General [Developers Only]] rogersb11:
Looking at it now actually. Thanks
[Android Software/Hacking General [Developers Only]] DON AMIGO:
idea - it might be stupid - but can the kitchen have an option to resize a rom from almost 2G to let say between 1.2 - 1.5 G.
[Android Software/Hacking General [Developers Only]] kermage:
:eek: that size...

i dont think there's any option to resize ROMs unless removing heavy apps or mods. :rolleyes:
[Android Software/Hacking General [Developers Only]] DON AMIGO:
it is just an idea my friend. if is possible hope it will be done if not no harm done. :D
[Android Software/Hacking General [Developers Only]] kermage:
HAHA! okay. :D
[Android Software/Hacking General [Developers Only]] Galaxy Latino:
Support for G Flex D950 & LG G2 D801

Hi ricky310711 can you add support for this 2 devices??? Thanks for your hard work!

LG G Flex D950 (Claro version)

manufracturer=LG

ro.product.model=LG-D950

boot | dev/block/mmcblk0p7

LG G2 D801 (Claro version)

manufracturer=LG

ro.product.model=LG-D801

boot | dev/block/mmcblk0p7

I use the partition table app i hope that is correct
[Android Software/Hacking General [Developers Only]] Ricky Divjakovski:
I graduate in less then a week so expect alot more effort towards this project! :D
[Android Software/Hacking General [Developers Only]] iamsuperuser:
Hate to bother you but were my recent PMs any help?
[Android Software/Hacking General [Developers Only]] Ricky Divjakovski:
i actually have alot so i havent been through them, ill go through them soon and submit the patches you wanted!
[Android Software/Hacking General [Developers Only]] rehanraza:
Ext4 unpacker hangs when unpacking galaxy S5 g900f image. Tried dsidxa kitchen and unpacking goes fine. Tried on windows 8.1 64bit and win 7 32 bit same problem. Can you please look into this?
[Android Software/Hacking General [Developers Only]] Ricky Divjakovski:
simg2img is the answer then use ext2read
[Android Software/Hacking General [Developers Only]] gierex:
GT-I8190N

Please add this

ro.product.model=GT-I8190N

ro.product.brand=samsung

package_extract_file("boot.img", "/dev/block/mmcblk0p20");
[Android Software/Hacking General [Developers Only]] tamingsarix:
Hii..windows batch suddenly close when i extract zip..when i open again it says ' not found' and close again..
[Android Software/Hacking General [Developers Only]] :
Kitchen stuck at extracting files.Tried copying files by myself,but still stuck after that i exited and it doesn`t even enter in kitchen(some kinda tmp.txt missing) now im stuck :D

Edit: used zip file option.
[Android Software/Hacking General [Developers Only]] kermage:
try redownloading the kitchen and cleaning up the working directory.
[Android Software/Hacking General [Developers Only]] :
i tryed the but nothing.:( any other suggestions?

Edit:So i recorded my screen with phone so finnaly could read text what it writes

And so on three times.(text)

When today i tried with diferent rom(lewa) it only showed this error

i tried to write exatcly as i recorded.
[Android Software/Hacking General [Developers Only]] iamsuperuser:
The first rom you tried did not have build.prop in the system folder.

Kitchen needs it to recognise the device

Ignore the below error

Could not find c:/users/Ginger~1/ROMKITCHEN/tmp.txt
[Android Software/Hacking General [Developers Only]] :
ok i will ignore that error,but why i can`t get into the kitchen?
[Android Software/Hacking General [Developers Only]] iamsuperuser:
Are you using fresh kitchen?

Did you apply that fix in tools/scripts/check device.bat ?

Fix:

open checkdevice.bat with notepad++

Type 'goto complete' at line 17

Save and exit.

Is the kitchen extracting zips fully?
[Android Software/Hacking General [Developers Only]] :
No.it isn`t,it just stucks at extracting files (usualy) i will try the fix

I`m using fresh kitchen

Edit:it looks like fix worked
[Android Software/Hacking General [Developers Only]] Kuoi:
remove apk's

Hello ,

I just want to remove some apk's from my LG G2 4.4.2 stock rom .

Can i do that with this tool , because I've tried to open the img file , but file is not supported.

I only managed to extract the rom zip file in working folder , but now i don't see an option to remove apk's.

I'm just starting to trie to make my own custom rom , but i guess it's not as easy as i did with my old phone (android 4.1) some years ago ;)

Thanks , Kuoi
[Android Software/Hacking General [Developers Only]] kermage:
There's no option for that, you should remove them manually.. ;)
[Android Software/Hacking General [Developers Only]] iamsuperuser:
There is no option to remove apks. You have to do that yourself manually.

Extracting imgs is a problem, but I think it will be fixed in the next release of kitchen.
[Android Software/Hacking General [Developers Only]] kuma82:
Hey Ricky Divjakovski I've noticed the information inside your checkdevice.bat for LG-P760 is incomplete

if %device% == LG-P760 (
set kernel=/dev/block/platform/omap/omap_hsmmc.1
goto complete
)

kernel is missing /by-name/boot

Here are the other LG L9 models

ro.product.manufacturer=LGE

ro.product.model=LG-P765

ro.product.model=LG-P768

ro.product.model=LG-P769

ro.product.model=LGMS769

kernelpath=/dev/block/mmcblk0p3

or

package_extract_file("boot.img", "/dev/block/platform/omap/omap_hsmmc.1/by-name/boot");

Thought I'll save you a little time

if %device% == LG-P760 (
set kernel=/dev/block/platform/omap/omap_hsmmc.1/by-name/boot
goto complete
)

if %device% == LG-P765 (
set kernel=/dev/block/platform/omap/omap_hsmmc.1/by-name/boot
goto complete
)

if %device% == LG-P768 (
set kernel=/dev/block/platform/omap/omap_hsmmc.1/by-name/boot
goto complete
)

if %device% == LG-P769 (
set kernel=/dev/block/platform/omap/omap_hsmmc.1/by-name/boot
goto complete
)

if %device% == LGMS769 (
set kernel=/dev/block/platform/omap/omap_hsmmc.1/by-name/boot
goto complete
)
[Android Software/Hacking General [Developers Only]] hecvalve:
XIAOMI Mi3w

Please add this

ro.product.model=cancro

ro.product.brand=xiaomi

/boot emmc /dev/block/platform/msm_sdcc.1/by-name/boot

/system ext4 /dev/block/platform/msm_sdcc.1/by-name/system

/data ext4 /dev/block/platform/msm_sdcc.1/by-name/userdata length=-16384

/cache ext4 /dev/block/platform/msm_sdcc.1/by-name/cache

Thanks
[Android Software/Hacking General [Developers Only]] robindebruin:
Hey what must i do if i get error 0 in cwm

Verstuurd vanaf mijn GT-I9300 met Tapatalk
[Android Software/Hacking General [Developers Only]] prdog1:
Bad update script. Need to run recovery log and see what is wrong with it. :cool:
[Android Software/Hacking General [Developers Only]] robindebruin:
i got this

show_progress(0.1, 0);

unmount("/system");

format("ext4", "EMMC", "/dev/block/mmcblk0p9", "0");

mount("ext4", "EMMC", "/dev/block/mmcblk0p9", "/system");

package_extract_dir("system", "/system");

set_perm_recursive(0, 0, 0755, 0644, "/system");

set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");

set_perm(0, 3003, 06755, "/system/bin/ip");

set_perm(0, 3003, 02750, "/system/bin/netcfg");

set_perm(0, 3004, 02755, "/system/bin/ping");

set_perm(0, 2000, 06750, "/system/bin/run-as");

set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");

set_perm(0, 0, 0755, "/system/etc/bluetooth");

set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");

set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");

set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pair_devlist.conf");

set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluez");

set_perm(0, 0, 0755, "/system/etc/bluez");

set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");

set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");

set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");

set_perm(0, 0, 0544, "/system/etc/install-recovery.sh");

set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");

set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor");

set_perm_recursive(0, 2000, 0755, 0755, "/system/vendor/bin");

set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/etc");

set_perm(0, 0, 0644, "/system/vendor/etc/gps.xml");

set_perm_recursive(0, 0, 0755, 0644, "/system/vendor/firmware");

set_perm(0, 2000, 0755, "/system/vendor/firmware");

set_perm(0, 2000, 0755, "/system/vendor/lib");

set_perm(0, 2000, 0755, "/system/vendor/lib/egl");

set_perm(0, 2000, 0755, "/system/vendor/lib/hw");

set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");

show_progress(0.1, 10);

show_progress(0.2, 0);

assert(package_extract_file("boot.img", "/tmp/boot.img"),

write_raw_image("/tmp/boot.img", "/dev/block/mmcblk0p5"),

delete("/tmp/boot.img"));

show_progress(0.2, 10);

unmount("/system");
[Android Software/Hacking General [Developers Only]] prdog1:
Is that the script or the recovery log. Log should show the error and what caused it. Flash again and right after it fails go to recovery log in recovery. Should put a log on sd card. Can Google "Clockwork Mod error 0" to find what the error means. It is bad script or binary. Log should tell you. At least it does in TWRP. Haven't used CWM in years. :cool:
[Android Software/Hacking General [Developers Only]] robindebruin:
ok now error

7

cant take log so here is picture of it
[Android Software/Hacking General [Developers Only]] prdog1:
Error 7 is an outdated binary I think. Philz recovery throws that on old binaries. Apparently it is bug in CWM also. :cool:

http://highonandroid.com/android-roms/how-to-fix-status-7-error-with-cwm-recovery-on-rooted-android/
[Android Software/Hacking General [Developers Only]] robindebruin:
will take a look at that thx verry straight

:)
[Android Software/Hacking General [Developers Only]] prdog1:
I use TWRP so never run across that problem. Link tells you what to do to fix it. :cool:
[Android Software/Hacking General [Developers Only]] iamsuperuser:
Try changing this

assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "/dev/block/mmcblk0p5"),
delete("/tmp/boot.img"));

To this

package_extract_file("boot.img", "/dev/block/mmcblk0p5");

OR

Try changing the update-binary from a zip that already works

AND

Where are all the symlinks ? ?
[Android Software/Hacking General [Developers Only]] prdog1:
HaHaa. I was wondering same thing about symlinks. :cool:
[Android Software/Hacking General [Developers Only]] badagila:
srill my debice didn't added
[Android Software/Hacking General [Developers Only]] Ricky Divjakovski:
update coming soon guys! gonna work my *** off tonight and may have a release tonight!

i have not forgot about this, this project is FAAAAAR from over! :)
[Android Software/Hacking General [Developers Only]] manan001:
can you create support for SM-G7102 galaxy grand2
[Android Software/Hacking General [Developers Only]] Ricky Divjakovski:
There are many reasons for error status 7! Pretty sure its incorrect syntax..
[Android Software/Hacking General [Developers Only]] prdog1:
Usually means incorrect assert check for device. Binary doesn't match updater script. Could be caused by wrong info in CheckDevice.bat ( ie:ro.product.model) for that device. Or is adding own scripts to rom after the fact. Syntax errors usually status 6 or actually say syntax. Also caused by outdated version of recovery. Since 4.3 the recoveries have been touchy due to SeLinux compatibility.. :cool:
[Android Software/Hacking General [Developers Only]] iamsuperuser:
According to the thumbnail,

format system

needs to be changed to

delete_recursive ("/system");
[Android Software/Hacking General [Developers Only]] Gold_Phenix:
Please add support xperia S Lt26i they have kernel in elf format.
[Android Software/Hacking General [Developers Only]] Ricky Divjakovski:
Could you tell me what was there previously?
[Android Software/Hacking General [Developers Only]] iamsuperuser:
format("ext4", "EMMC", "/dev/block/mmcblk0p9", "0");

So I guess it should be

delete_recursive("/storage/sdcard/emulated/0");

Wow! So many posts for one problem?
[Android Software/Hacking General [Developers Only]] Ricky Divjakovski:
You added that yourself? Remove the automount system line, if /system is mounted you cannot format it, thats why system is mounted and recursively deletes all file.. this avoids formatting the wrong format, wrong block etc!
[Android Software/Hacking General [Developers Only]] Ricky Divjakovski:
Nice! Ill be adding an assert to get the ro.product.model number in the next release.

also ill add the option to use old binary :cool:
[Android Software/Hacking General [Developers Only]] iamsuperuser:
Refer to THIS post and tell me how am I wrong.
[Android Software/Hacking General [Developers Only]] Ricky Divjakovski:
hmm, ill have to check it out soon on my device, im compiling on linux now(compiling aint quick with crap specs) but ill let you know!
[Android Software/Hacking General [Developers Only]] Ricky Divjakovski:
Next version is on the brink of release. After I finish compiling its test test test and ill go from there :)
[Android Software/Hacking General [Developers Only]] tattooedgod:
help

I have the Moto G XT1031 and all rom builds are unified for the most part. I was trying to modify a stock rom for XT1031 and after I chosse to work from zip it unzipped but then terminal disappears and can't get back till I delete the working folder content. Any help would be helpful never used this type of program only have built from source. I even added it to checkdevice.bat think I did it right.

P.S. Found FIX in thread a ways back now able to get back to kitchen. by adding goto complete on line 17 in the checkdevice.bat
[Android Software/Hacking General [Developers Only]] Ricky Divjakovski:
thats a bug, open checkdevice.bat and edit this line

if %device% == GT-I9505(

and put a space inbetween the GT-i9505 and the bracket, save and run, so it will look like this!

if %device% == GT-I9505 (

see what no sleep does guys? im gonna push this to GIT alot more now and in a few versions will have the link directly clone from git!
[Android Software/Hacking General [Developers Only]] Ricky Divjakovski:
GUYS!! V4.0.0 is up!

anyone wondering where the "degapps" and "deknox" and "CSC unpacker" modules are they are in the repo and you can install them yourself by downloading the latest module repo(DL is in the main thread) unzipping the files and installing the ones only you want by going to the modules menu and selecting the install module option!

Enjoy!
[Android Software/Hacking General [Developers Only]] iamsuperuser:
[MENTION=5105831]Ricky Divjakovski[/MENTION]

checkdevice.bat

lines 183, 188, 193
[Android Software/Hacking General [Developers Only]] zygzoo:
[MENTION=5105831]Ricky Divjakovski[/MENTION]

deodexing is not working on samsung note 2
[Android Software/Hacking General [Developers Only]] tattooedgod:
?

Does any one know how your suppose to pull from current state. Have never used a function like this.
[Android Software/Hacking General [Developers Only]] Ricky Divjakovski:
there something wrong with it? :o
[Android Software/Hacking General [Developers Only]] Ricky Divjakovski:
flash the .zip file provided, then after thatthere will be a rom.zip on your sdcard, place the zip file in the provided folder and watcbh the magic unfold! :)
[Android Software/Hacking General [Developers Only]] iamsuperuser:
Yes

In those lines you wrote it as 'echo set kernel' instead of 'set kernel'

If its not corrected the kernel block path is not updated in the updater script which happened with my phone SM-N900.
[Android Software/Hacking General [Developers Only]] Ricky Divjakovski:
ah! thanks for that! grr! sleepless nights :P ill push an update within the hour!
[Android Software/Hacking General [Developers Only]] Kuoi:
syntax setting

Trying the kitchen now, but doesn't work well;

When i try to change the desired syntax to permission to install aroma (aroma doesn't work with metadata) i change to set_perm/_recursive.

Done ...

Then it goes to settings again , and on line 1 : change default compression level it says current : perm

and current syntax stayed at metadata

Am i missing something or is this a bug ?

EDIT : Don't mind , i set it manually in "toolsettings.cfg" and it's working now
[Android Software/Hacking General [Developers Only]] tattooedgod:
I was trying aroma got same message what exactly did you change in toolsettings.cfg to get v it to work.
[Android Software/Hacking General [Developers Only]] Kuoi:
This is my setting :

compression:9

heapsize:512

rootmode:secure

syntax : perm (remove spaces) , it shows an emoticon on xda if i don't use spaces ;)

imageformat:ext4