[Q] Flashable zip and AOSP - Android Q&A, Help & Troubleshooting

Hi mates
i would like to know if are there a way to make flashable zip automatically under aosp, after making a device tree for s2vep and compiled by fixing errors too, is generated file like system.img, recovery etc..whic command or apps to use to making flashbale one
thanks for any helps

You need a META-INF Folder with an updater-script and update-binary file
Sent from my C5302 using XDA Free mobile app

Tech N You said:
You need a META-INF Folder with an updater-script and update-binary file
Sent from my C5302 using XDA Free mobile app
Click to expand...
Click to collapse
Should be edited or just use cm11 one?

haky 86 said:
Should be edited or just use cm11 one?
Click to expand...
Click to collapse
Update-binary use it of cm11 and updater-script will differ according to app or folder what you are flashing for. Updater-script needs to be altered as per convenience

Tech N You said:
Update-binary use it of cm11 and updater-script will differ according to app or folder what you are flashing for. Updater-script needs to be altered as per convenience
Click to expand...
Click to collapse
Well i port ubuntu touch based on aosp phablet-4.4.2 after fix and remove a lot of errors, so i read that generating flashable zip is not supported under aosp source and also my s2 plus doesnt support fastboot to flash, i try to follow this sti https://wiki.ubuntu.com/Touch/Porting#Building_the_image but i dont understand it at 100%.

Related

[DEV HELP] help for build ics

I asked for help to build a rom ics on our xt615
I present the trick:
we recover a leak motorola ics for our phone (. sbf)
we extracted the boot.img system.img recovery. etc. .....
we have for the moment a Chinese cwm recovery but works in English or a problem with the nandroid
the problem is that when trying to build the rom for our phone and flash that we have a "status 0"
then here we ask a person who could help us build a rom ics
thank you
links:
extracted from sbf
https://docs.google.com/file/d/0B2k1N5APM4JQLWZ3ajVETG54UTQ/edit
testing the construction of the ROM
https://docs.google.com/file/d/0B2k1N5APM4JQaWF0N0Q0TV9pWTA/edit
and the subject of motoluxe xt615 not play pass all first pages on pages 65 to
http://forum.xda-developers.com/showthread.php?t=1660377&page=77
Up please
Thank
Sent from my XT615 using xda app-developers app
I don't know anything about your phone, but your zip file is incorrect.
You want to put all the files except META_INF into a folder called system. Look in META_INF/com/google/android/updater-script and you will see this is what the recovery is expecting.
Also, add a boot.img since it will try to flash that as well.
This is what the root directory of the zip file should look like:
Code:
[email protected]:/android/work/moto/zipper# ls
boot.img META-INF system
[email protected]:/android/work/moto/zipper# ls system/
app bin build_proj etc framework media usr
arcsoft build_id build.prop fonts lib tts xbin
gee one said:
I don't know anything about your phone, but your zip file is incorrect.
You want to put all the files except META_INF into a folder called system. Look in META_INF/com/google/android/updater-script and you will see this is what the recovery is expecting.
Also, add a boot.img since it will try to flash that as well.
Click to expand...
Click to collapse
Yes but try various solution and i have always error status 0
If you look the topic we have try
Page n° 70\80
Thank
Sent from my XT615 using xda app-developers app
gee one said:
This is what the root directory of the zip file should look like:
Code:
[email protected]:/android/work/moto/zipper# ls
boot.img META-INF system
[email protected]:/android/work/moto/zipper# ls system/
app bin build_proj etc framework media usr
arcsoft build_id build.prop fonts lib tts xbin
Click to expand...
Click to collapse
I don't understand
I took example on several
can you help me to do this update
A big thank
Sent from my XT615 using xda app-developers app
I read that thread a little- it looks like a lot of people trying different things. Also, use post numbers because it's page 17 on my computer
So, where did the updater-binary and script come from? The script has to match the rom, but I think the binary is a lot more forgiving. I think a binary from another ics or gb rom should work. Your phone uses yaffs, so maybe an older binary? I thought a lot of the ics devices were moving to ext3/4?
I think the stock recovery won't work. Usually, they will only accept zips that are signed by the manufacturer.
sent while running with scissors
gee one said:
I read that thread a little- it looks like a lot of people trying different things. Also, use post numbers because it's page 17 on my computer
So, where did the updater-binary and script come from? The script has to match the rom, but I think the binary is a lot more forgiving. I think a binary from another ics or gb rom should work. Your phone uses yaffs, so maybe an older binary? I thought a lot of the ics devices were moving to ext3/4?
I think the stock recovery won't work. Usually, they will only accept zips that are signed by the manufacturer.
sent while running with scissors
Click to expand...
Click to collapse
we have a custom recovery rom just leaked motorola
I built the rom update with kitchen
I get a flash of themes yet but they put me in error
and I saw no or that I can just
I can not make a updater-script
can you tell me the way to follow
Thank
Sent from my XT615 using xda app-developers app
dams161 said:
we have a custom recovery rom just leaked motorola
I built the rom update with kitchen
I get a flash of themes yet but they put me in error
and I saw no or that I can just
I can not make a updater-script
can you tell me the way to follow
Thank
Sent from my XT615 using xda app-developers app
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?p=31086093
Sent from my XT615 using xda app-developers app
Flash at your own risk- I didn't read the thread and I wouldn't know you device from an iphone.
https://rapidshare.com/files/2281343112/xt615ics1.2_mod1.zip
I cleaned up the system and added the boot.img. if you can get the /etc/recovery.fstab from your recovery, it might help since the partitions might have different names.
sent while running with scissors
gee one said:
Flash at your own risk- I didn't read the thread and I wouldn't know you device from an iphone.
https://rapidshare.com/files/2281343112/xt615ics1.2_mod1.zip
I cleaned up the system and added the boot.img. if you can get the /etc/recovery.fstab from your recovery, it might help since the partitions might have different names.
sent while running with scissors
Click to expand...
Click to collapse
thank you
i try and i say if work
does not work I toujour error status 0
I think that is an error with the update binary. Maybe you can get one from a similar phone? It should be pretty generic, as long as it uses a similar file system/android version. So try to find a binary from an ics device that uses yaffs/MTD.
sent while running with scissors
i try and i say if work
yes works but the boot.img is bad thank you
I thought this was the stock firmware? Could you just put in a similar ics kernel and see if that works? A kernel from an ics moto phone might work, but you'll have to change the ramdisk.
sent while running with scissors
gee one said:
I thought this was the stock firmware? Could you just put in a similar ics kernel and see if that works? A kernel from an ics moto phone might work, but you'll have to change the ramdisk.
sent while running with scissors
Click to expand...
Click to collapse
the concern is that the bootloader is locked
and I think he does not want ics files
you have ideas on how to bypass the UNLOCK or
thank you again
Do you have a copy of a working boot.img or kernel? Even a dump from a running phone would work.
sent while running with scissors
gee one said:
Do you have a copy of a working boot.img or kernel? Even a dump from a running phone would work.
sent while running with scissors
Click to expand...
Click to collapse
my boot.img
So the zip that I uploaded flashes, but it doesn't boot?
I think your working boot image is GB or Froyo and the new one is ICS. So maybe if I take the kernel from the ICS boot.img and add the ramdisk from your working one, then maybe it might work.
Maybe...
This is the new kernel with the old ramdisk. Again, flash at your own risk.
https://rapidshare.com/files/908298923/xt615ics1.2_mod3.zip

[SCRIPT] Odex any ROM

First, thanks to tommytomatoe for creating the awesome dexo script! I have only automated the process. For more info on the dexo script check TT's thread here.
Also, thanks to volk9029 for all the ROM testing, he tested a majority of the ROMs.
In theory, this script will re-odex any completely deodexed ROM, BUT it depends on the modifications the dev has done to their ROM. ie..if framework.jar is missing "preloaded-classes", the script will abort. preloaded-classes is needed for odex ROMs to boot.
Each of the ROMs listed below as "incompatible" have "preloaded-classes" missing from /system/framework/framework.jar. Each of these ROMs would be compatible if framework.jar is modded correctly. For more info see post # 8
Requirements:
-You need to have the HTC usb drivers installed. If you have HTC Sync installed, you're good to go.
-You need to have usb debugging enabled on your phone. Settings, Dev options, usb debugging.
-I recommend doing a backup before running this script (just in case)
Install:
-Extract zip to pc
-Phone must be booted
-connect phone to pc
-run "Odex my ROM.bat"
The script only takes a few minutes, your phone will appear frozen during the process. When the script is done, your phone will reboot.
DOWNLOAD
Compatible ROMs:
-OMJ's
-Superjelly
-meanbean 3.01
-Viper's ROM 3.10
-Hatka LTE ROM
-Digital Bath ROM
-Micromax A75
-Red Line ROM by billbowers
Incompatible ROMs:
-Flex's Stock w/ Goodies
-Tranquility ROM
-Timberwolf671 ROM
These are the only ROMs tested, if you use this script on another ROM, please post your results & I'll update the list.
reserved
Thanks for sharing man!!!!!
Sent from my EVO using xda premium
Awesome job. Thank you.
Sent from my lair.
Thanks so much for this. I just odexed the new HatkaLTE ROM and it's running great! I had read TT's thread but was a little intimidated by it. Great job automating this!
This works perfect! Thanks
This its awesome. Great idea. I knew tommy had made the script, and now you have automated it. Nice work from both of you. Thanks. Any reversal method being designed yet? I suppose do a nandroid before using the script would be best.
Sent from my EVO using xda app-developers app
some good info from TT about the preloaded-classes issue...
tommytomatoe said:
Good stuff To bring a little more clarification as to why those rams are in the incompatible list.
"Preloaded-classes gets accidentally compiled into classes.dex by sloppy devs
Framework.jar should only be modified using baksmali and smali, never apktool or any other tool.
The bad framework.jar, its classes.dex contains the code and instructions for preloaded-classes already. So when you odex, framework.odex contains preloaded-classes and classes.dex codes - which causes the system not to boot. Odex files should only contain classes.dex code.
How to resolve? Take a fresh framework.jar and baksmali it. Edit it. Then smali. This will ensure preloaded-classes were untouched, as baksmali is smart enough to leave it alone.
Another alternative is to pull classes.dex from fresh framework.jar and baksmali it. Smali when finished and insert back into jar file.
Then, when you odex, framework.jar will contain only preloaded-classes and framework.odex is the optimized classes.dex. "
Of course, autogeeks suggestion works but that is not ideal for the obvious reasons. Mods done to framework.jar would no longer be available, all dependencies on those mods would of course be broken.
...then again, I haven't touched android in a long long time. What do I know
Click to expand...
Click to collapse
Thanks bro.
TT is the man too.
Just executed this script. Flawless. Thank you
Sent from my EVO using xda app-developers app
Thanks for this Script i made my ROM Odexed but few of my app are not working properly may be the problem of the app as there are only few apps like Root Browser opening but not working properly giving forceclose after few clicks when i try to open system it just doesnt open and when i close the app and again try to open system it opens and when i click on app it gives forceclose, Zeam Launcher not showing dock but other then this all are working fine so thanks for the script will try to change the apps which are not working and then check if i still get the problem i think i wont and now i think that i can release my first custom ROM as i was waiting for this Odex script so that i can release the first ROM of mine in Odex version although its a ROM from another developer but i moded it and made compatible with my device thats MICROMAX A75 so will test it fully and once confirmed everything working perfectly then will release it so just wanted to know if i can release the ROM with Odexed version made by your script i will add proper credits in the credit section if you permit me to go ahead. will be waiting for your permission. Once again thanks for your script yaar its just awesome.
shahabazas said:
Thanks for this Script i made my ROM Odexed but few of my app are not working properly may be the problem of the app as there are only few apps like Root Browser opening but not working properly giving forceclose after few clicks when i try to open system it just doesnt open and when i close the app and again try to open system it opens and when i click on app it gives forceclose, Zeam Launcher not showing dock but other then this all are working fine so thanks for the script will try to change the apps which are not working and then check if i still get the problem i think i wont and now i think that i can release my first custom ROM as i was waiting for this Odex script so that i can release the first ROM of mine in Odex version although its a ROM from another developer but i moded it and made compatible with my device thats MICROMAX A75 so will test it fully and once confirmed everything working perfectly then will release it so just wanted to know if i can release the ROM with Odexed version made by your script i will add proper credits in the credit section if you permit me to go ahead. will be waiting for your permission. Once again thanks for your script yaar its just awesome.
Click to expand...
Click to collapse
no permission needed, anyone is free is use this script for whatever.....
"Odex any ROM"
"List of incompatible ROMs:"
Lol ^ made me laugh
Hey u can add Micromax A75 in the compatible list as i have tried this script on it and its working totally fine no problem at all.
Thanks for this amazing script yaar i was looking for it since past 6months.
shahabazas said:
Hey u can add Micromax A75 in the compatible list as i have tried this script on it and its working totally fine no problem at all.
Thanks for this amazing script yaar i was looking for it since past 6months.
Click to expand...
Click to collapse
Whats wrong with using titanium backup to odex?
youdug said:
Whats wrong with using titanium backup to odex?
Click to expand...
Click to collapse
As titanium backup doesnt odex the framework folder it only odex the apps folder.
shahabazas said:
As titanium backup doesnt odex the framework folder it only odex the apps folder.
Click to expand...
Click to collapse
Did not know that. Never checked. +1 to you sir.
Does this work on aosp rom? I see the list of compatible and incompatible ROMs. Just didn't see if it says sense only. Thanks
I would actually assume not. But i had to ask to see if ianyone has tried
Sent from my Nexus 7 using xda app-developers app
treIII said:
Does this work on aosp rom? I see the list of compatible and incompatible ROMs. Just didn't see if it says sense only. Thanks
I would actually assume not. But i had to ask to see if ianyone has tried
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
I'm not sure.....all the script does is odex all the deodexed apks in /system/app & /system/framework, and this script is not specific to HTC....you could be the guinea pig
do a full backup & give it a try! worst case u restore your backup
O.M.J said:
I'm not sure.....all the script does is odex all the deodexed apks in /system/app & /system/framework, and this script is not specific to HTC....you could be the guinea pig
do a full backup & give it a try! worst case u restore your backup
Click to expand...
Click to collapse
Right now. Report back in a few
Sent from my Nexus 7 using xda app-developers app
---------- Post added at 10:08 AM ---------- Previous post was at 09:49 AM ----------
treIII said:
Right now. Report back in a few
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
I tried. USB debugging enabled. Computer noticed phone immediately and HTC sync popped up so that didnt seem to be the problem. When i tried the odex my rom bat script and it says press any key to continue nothing happened other than the cursor in the command prompt dropping down a line.
Sent from my Nexus 7 using xda app-developers app
---------- Post added at 10:13 AM ---------- Previous post was at 10:08 AM ----------
I just used titanium backup to odex system apps. It had no problem doing that. I know that doesn't involve framework though. If you have any suggestions on anything i might try to get the script to work let me know
Sent from my Nexus 7 using xda app-developers app

[KITCHEN] Lopicl's Linux Kernel Kitchen v0.002

Hi guys!
This is a Kernel Kitchen based on Dsixda's android kitchen. I only add functions to compress/decompress in lzma
FULLY TESTED AND WORKING!
Features:
Code:
- COMPATIBLE WITH LINUX AND CYGWIN
- Wiew boot.img details
- Compress/decompress in Gzip and [B]Lzma[/B]
- Make Nand Boot folder
- Change command line in boot.img
- Extract ramdisk from boot.img or recovery.img in any folder
- Restart kitchen for refresh options
Downloads:
https://github.com/Lopicl/linux_kernelkitchen/releases
Sources:
https://github.com/Lopicl/linux_kernelkitchen
How to use:
1. Download latest version
2. Extract zip where you want
3. On ubuntu should ask for run in terminal when you double click menu. If not, type on terminal: cd to kitchen directory and "./menu"
4. At first boot will be created WORKING_BOOTIMG directory, insert in it your boot.img and type "k" on the kitchen.
5. Now the kitchen is set up!
Thanks:
- BIG THANKS TO DSIXDA
- Me for adapting some scripts to use only kernel part and add lzma.
Lopicl.00 said:
Hi guys!
This is a Kernel Kitchen based on Dsixda's android kitchen. I only add functions to compress/decompress in lzma
FULLY TESTED AND WORKING!
Features:
Code:
- COMPATIBLE ONLY WITH LINUX (not tested with Cygwin yet)
- Wiew boot.img details
- Compress/decompress in Gzip and [B]Lzma[/B]
- Make Nand Boot folder
- Change command line in boot.img
- Extract ramdisk from boot.img or recovery.img in any folder
- Restart kitchen for refresh options
Downloads:
https://github.com/Lopicl/linux_kernelkitchen/releases
Sources:
https://github.com/Lopicl/linux_kernelkitchen
How to use:
1. Download latest version
2. Extract zip where you want
3. On ubuntu should ask for run in terminal when you double click menu. If not, type on terminal: cd to kitchen directory and "./menu"
4. At first boot will be created WORKING_BOOTIMG directory, insert in it your boot.img and type "k" on the kitchen.
5. Now your kitchen is set up!
Thanks:
- BIG THANKS TO DSIXDA
- Me for adapting some scripts to use only kernel part and add lzma.
Click to expand...
Click to collapse
Awesome man! thanks!
good work!
Working in Cygwin!
Click to expand...
Click to collapse
Victorxs said:
Awesome man! thanks!
good work!
Click to expand...
Click to collapse
Thanks for report!
But please hit thanks button.
Posted from my chocolate bar that also makes coffee using Tapatalk 4 integrated microchip... : P
Lopicl.00 said:
Thanks for report!
But please hit thanks button.
Posted from my chocolate bar that also makes coffee using Tapatalk 4 integrated microchip... : P
Click to expand...
Click to collapse
thanx man .. working great with gs3 mini.... i was wondering if u could help me with one thing..
i just want to add some govornors and schedulers to my stock boot.img
but after extracting all i got is zimage and ramdisk folder.... i have looked into ramdisk folder and have found nothing in where i can add govornors and schedulers... couldnt find a way to extract the zimage though..
can u please tell me how to add govornors and schedulers?? and in where i should start the editing???
or can i even add schedulers and govornors to a extracted boot.img???
pulak861 said:
thanx man .. working great with gs3 mini.... i was wondering if u could help me with one thing..
i just want to add some govornors and schedulers to my stock boot.img
but after extracting all i got is zimage and ramdisk folder.... i have looked into ramdisk folder and have found nothing in where i can add govornors and schedulers... couldnt find a way to extract the zimage though..
can u please tell me how to add govornors and schedulers?? and in where i should start the editing???
or can i even add schedulers and govornors to a extracted boot.img???
Click to expand...
Click to collapse
Hahaha, for do that you need the kernel source and compile a new zImage. You can download your phone source at opensource.samsung.com
Posted from my chocolate bar that also makes coffee using Tapatalk 4 integrated microchip... : P
No one is interested?
Sent from my chocolate bar that also makes coffee using Tapatalk 4 integrated microchip
Lopicl.00 said:
No one is interested?
Sent from my chocolate bar that also makes coffee using Tapatalk 4 integrated microchip
Click to expand...
Click to collapse
What benefits do you see using this,if you dont mind me asking.
Sent from my SCH-I545 using xda app-developers app
theboo7 said:
What benefits do you see using this,if you dont mind me asking.
Sent from my SCH-I545 using xda app-developers app
Click to expand...
Click to collapse
You can compress/decompress the ramdisk in lzma, it gives more speed and better compression ratio than gzip.
Also you have not to download all the dsixda kitchen for use it only for kernels. You just download this. Oh and this kitchen will be also updated if there is any bug or new functions requests, dsixda wont as he left android development...
Sent from my chocolate bar that also makes coffee using Tapatalk 4 integrated microchip
Lopicl.00 said:
You can compress/decompress the ramdisk in lzma, it gives more speed and better compression ratio than gzip.
Also you have not to download all the dsixda kitchen for use it only for kernels. You just download this. Oh and this kitchen will be also updated if there is any bug or new functions requests, dsixda wont as he left android development...
Sent from my chocolate bar that also makes coffee using Tapatalk 4 integrated microchip
Click to expand...
Click to collapse
Ah I see. Well thank you, I'll definently give this a try, I'll probably need to sort out problems because my device is jfltevzw and we have to loki
Edit
Hmm unless I don't Loki until after.
Still new at this. Lol
Sent from my SCH-I545 using xda app-developers app
Up. This kichen is useful, folks!
Sent from my chocolate bar that also makes coffee using Tapatalk 4 integrated microchip
Lopicl.00 said:
Up. This kichen is useful, folks!
Sent from my chocolate bar that also makes coffee using Tapatalk 4 integrated microchip
Click to expand...
Click to collapse
Does this program require Java? It gives me a error saying the program java is not found.If yes,JRE is enough or do I need JDK.
Thanks in advance.
-Anderson- said:
Does this program require Java? It gives me a error saying the program java is not found.If yes,JRE is enough or do I need JDK.
Thanks in advance.
Click to expand...
Click to collapse
Yeah, you need openjdk 6.
Inviato dal mio Nexus 7 utilizzando Tapatalk
Finally.
Found the answer at last! Searching really pays off
Thank you very much for this :good:
I was finally able to changed the cwm (5.0.2.6) built in on Hell's Fusion #50 Kernel to version 5.0.2.8, with the boot.img ACTUALLY working .
My first tries (without using kitchens, but manual typing of commands), ended up as non-working boot.img.

[INIT.D][SCRIPTS] My collection of init.d scripts

Hi all !
I'm going to share you some of my collection of init.d scripts. These mods can be combined together wiith others without breaking the other function.
It mostly works for L7 and L5, I use these script on my device everyday
1. Zipalign Script
Based on darky zipalign script. Thank him for his work. I just optimized it more and updated the zipalign binary from latest SDK.
Download : In attachment (zipalign.zip)
2. EXT4 File System Tweak
Disables journaling and optimizes I/O on EXT4 filesystem (/cache, /data, /system), Note : you need to format your filesystem to EXT4 for this mod to work.
Download : In attachment (ext4_tweak.zip)
3. System Read/Write at boot
Enable system to be read and write at boot, so you don't need to mount it manually
Download : In attachment (sysrw.zip)
4. System Read/Only at boot
Disable any read and write activity at boot for /system partition. Makes system safer at the cost of customizations
Download : In attachment (sysro.zip)
5. SQLite Vacuum & Reindex
Optimizes your .db files that located /data and /sdcard, this makes databases faster to read and faster to write.
Also, inside it contains an updated sqlite3 binary from latest Android SDK.
Download : In attachment (sqlite.zip)
More script are coming soon ! I'm discovering Android scripting more.
very nice,i going to test for sure.
Thanks ! Will add more
#F4UZAN
here is ram script combine for best muiltitask,game,free memory,.. May be some one like this .please delete .zip extention. just add and fix some value:victory:
Sir, seems like mind Blaster Tweaks.thank you so much
i really love you , sir !!!... thank you ! :good:
it's perfect for a stock rom with your own stock Kernel customised (with init.d support ) :victory:
we will don't reconize L7 Stock firmwares with all of these scripts + kernel ! it's fabulous ...
Add tweaks to kill_media_server and 92cleaner
I need to mount system before flashing???
How to make a script to rewrite some file in /system/usr/keylayout? (Lollipop 5.1.1, CM12.1)
wizzardsk said:
How to make a script to rewrite some file in /system/usr/keylayout? (Lollipop 5.1.1, CM12.1)
Click to expand...
Click to collapse
I can help, just say what you need.
Explain, and I will make u a script
Thanks
Sent from my LG-P705 using Tapatalk
Paget96 said:
I can help, just say what you need.
Explain, and I will make u a script
Click to expand...
Click to collapse
Well, let's say that I have some file on sd card (Generic.kl) and I want it to replace the file /system/usr/keylayout/Generic.kl after each cyanogenmod nightly update. I am not sure how to name the file in /system/etc/init.d and how to write it.
wizzardsk said:
Well, let's say that I have some file on sd card (Generic.kl) and I want it to replace the file /system/usr/keylayout/Generic.kl after each cyanogenmod nightly update. I am not sure how to name the file in /system/etc/init.d and how to write it.
Click to expand...
Click to collapse
Nightly for L5/L7 ?????[emoji15] [emoji15] [emoji15]
after update everything what is under /system will be removed including init.d
Read little on google about addon.d this will help you
Sent from my LG-P705 using Tapatalk
Paget96 said:
Nightly for L5/L7 ?????[emoji15] [emoji15] [emoji15]
after update everything what is under /system will be removed including init.d
Read little on google about addon.d this will help you
Sent from my LG-P705 using Tapatalk
Click to expand...
Click to collapse
No, nightly for L90. I had some version of gapps that had a file in init.d that stayed after each update and was used to remove cyanogenmod bloatware. Ok, i will google rather, thx
Sent from my LG-D410 using XDA Free mobile app
wizzardsk said:
No, nightly for L90. I had some version of gapps that had a file in init.d that stayed after each update and was used to remove cyanogenmod bloatware. Ok, i will google rather, thx
Sent from my LG-D410 using XDA Free mobile app
Click to expand...
Click to collapse
Search for addon.d on google
Sent from my LG-P705 using Tapatalk
Paget96 said:
Search for addon.d on google
Sent from my LG-P705 using Tapatalk
Click to expand...
Click to collapse
Ok, I was wrong, it was in addon.d, I found it. So I edited 50-cm.sh and it should be that.
edit: Well, it does not work. I added a line usr/keylayout/Generic.kl to the file and the file was not preserved after system update. What did I do wrong?

[MOVED] SuperR's Kitchen (See first post)

SuperR's Kitchen has moved to a dedicated subforum found at the link below.
SuperR Kitchen
forum.xda-developers.com
Regarding MTK devices, I have never owned one so I am totally unfamiliar with special requirements they may need. I will add support for everything I can as issues come up
SuperR. said:
If you want to build a flashable boot.img, you should build boot flashable. If you want to build a full rom, you should build a full rom. If you want to build a flashable zip with deodexed files you should choose build custom and choose the option you want.
Click to expand...
Click to collapse
I took the first option (build full rom zip) after deodexing.
Is it good enough or do I still need to select specific custom zip to build?
ferbulous said:
I took the first option (build full rom zip) after deodexing.
Is it good enough or do I still need to select specific custom zip to build?
Click to expand...
Click to collapse
It depends on what you want to end up with. If you only want the full rom zip then full rom is good. If you want more zips with different contents, make more
SuperR. said:
Sounds like your build.prop either reports the rom as less than Lollipop or the build.prop line is different than all others I have ever seen. Please post it so I can take a look.
Did you install the package I linked above?
Click to expand...
Click to collapse
Edit: The prop says it is 5.1.1
https://mega.nz/#!GURQQADK!ujhHvu1XJ7F9BNz8cgBSclKMGilcP6fYLetub82zLzU
nghia0423 said:
Edit: The prop says it is 5.1.1
https://mega.nz/#!GURQQADK!ujhHvu1XJ7F9BNz8cgBSclKMGilcP6fYLetub82zLzU
Click to expand...
Click to collapse
This is the line we are looking for:
ro.build.version.sdk=22
and it says it is Lollipop for sure. I am not sure why it is telling you that. Are you sure you are working on the correct project?
not-i said:
So with my Moto X files I have successfully unpacked, deodexed, done some minor mods and its repacked system_new.img and its the same size as original system/img so looks promising.
I'm guessing now I "created rom zip" and thats when system.new.dat is created?
Click to expand...
Click to collapse
How did you unpack the moto x system image with this kitchen?
I just tested the moto x vzw 5.1 system image with no luck.
Many moto firmwares use an encrypted sparse format (MOTO.W›.MOT_PIV256).
I am able to use imgextractor (windows) to dump the image and list of symlinks, as well as get image info, but I haven't found any linux utilities that can handle this format.
At one point I got to plug-in my device - so far, so clear, but what if I make a rom for a device I don't have
Androidwizzard said:
At one point I got to plug-in my device - so far, so clear, but what if I make a rom for a device I don't have
Click to expand...
Click to collapse
You only need to plug in your device if you are ripping the img's from it. Normally you can get the by-name info from a boot.img. If the device does not use by-name you will need to create an mmc file and still don't need to plug in the device.
fyi
nghia0423 said:
Well this program is made for linux
Click to expand...
Click to collapse
ok well then, for the record....
the program does not like functioning with a linux emulator
v0.9.0.2
Changes:
When entering Boot/Recovery Tools, recovery no longer takes precedence. You will be presented with a choice of which to work on if boot.img and recovery.img both exist in the project directory.
Looks very nice. I guess I'm going to have to dust off my Linux install and give it a go.
SuperR. said:
Are you on the newest kitchen? I ask because it now checks to make sure you have all the other dependencies met. If you are running the newest kitchen and you are on 32-bit Ubuntu, I have no idea what is going on. Are there any errors in the terminal if you scroll up after building the zip?
Click to expand...
Click to collapse
I changed to 64 bit ubuntu and I'm able to install lib32.
Now I can generate he zip file without any issues. Looks like I'm definitely ditching the 32bit system now.
Been considering that, myself. BUT.. I deodexed ur ROM with a 32 bit Linux Mint system.. 64 bit processor tho, you?
Sent from my N9510 using Tapatalk
SuperR. said:
Try it and let us know. If you have trouble, post links to all the img files so I can have a look.
Click to expand...
Click to collapse
I am trying to create a custom rom for “Huawei Mediapad T1 8.0”. I just need a flashable rom from the stock system.img and boot.img.
I am using “dell Inspiron 15r n5010” model computer with 4gb ram and 500 gb harddisk, dual booting windows 7 with linux mint rafaela.
Version of super kitchen is 0.9.0.4. version of android 4.3 (emui 1.6)
I extracted system, boot, recovery from device using the super kitchen by options 1 and 4.
After the extraction i checked out the options and at some point kitchen wanted me to choose from set_meta or set_perm, i chose set_meta but it said that my kernel doesnt support the set_meta type and chose set_perm by default.
Using the kitchen, I debloated the firmware.
Then built the fullrom zip.
I tried to flash using TWRP recovery, but it doesnot allow me and said , “This rom is for 'msm8610' devices, This is a 'mediapadt1'”. I thought to delete that line from updater script. But didnot delete because, that may need some changes in other files too.
I think that buildprop product name is differing from recovery product name.
I have attached files i was using,, I am new to linux and also android rom building..
Help me..
Update to latest version and try again..? I'm running same dualboot system you are (diff PC) He's made many changes since earlier this week to encompass more devices
Sent from my N9510 using Tapatalk
Huawei is little complicated to build roms, can you upload the firmware?
Gesendet von meinem D6503 mit Tapatalk
stamilselvan said:
I am trying to create a custom rom for “Huawei Mediapad T1 8.0”. I just need a flashable rom from the stock system.img and boot.img.
I am using “dell Inspiron 15r n5010” model computer with 4gb ram and 500 gb harddisk, dual booting windows 7 with linux mint rafaela.
Version of super kitchen is 0.9.0.4. version of android 4.3 (emui 1.6)
I extracted system, boot, recovery from device using the super kitchen by options 1 and 4.
After the extraction i checked out the options and at some point kitchen wanted me to choose from set_meta or set_perm, i chose set_meta but it said that my kernel doesnt support the set_meta type and chose set_perm by default.
Using the kitchen, I debloated the firmware.
Then built the fullrom zip.
I tried to flash using TWRP recovery, but it doesnot allow me and said , “This rom is for 'msm8610' devices, This is a 'mediapadt1'”. I thought to delete that line from updater script. But didnot delete because, that may need some changes in other files too.
I think that buildprop product name is differing from recovery product name.
I have attached files i was using,, I am new to linux and also android rom building..
Help me..
Click to expand...
Click to collapse
Take a look at this post
http://forum.xda-developers.com/showpost.php?p=63088636&postcount=234
I try build for s3 i9300 with system.img boot.img and zip file
always I have
executing updater binary in zip
any help please
Sent from my GT-I9300 using XDA Free mobile app
Parse dat is out of date, whats your recovery version?
Gesendet von meinem D6503 mit Tapatalk

Categories

Resources