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

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

Related

[Dec 9] PSFAndroid [Hastarin r7.7]

Hi guys !
I present the continuation of the thread started by Darkstone.
http://forum.xda-developers.com/showthread.php?t=777120
Try to do compilations updated whenever time permits me.
After several tests on various android roms I concluded to leave it at your choice.
The steps necessary to adjust to your version of Android are:
- Download: http://www.multiupload.com/LTJVZKCOLG
- Extract in your Android folder
- Edit startup.txt. Line: set KERNEL XXXXXX -> set KERNEL zImage
- Run Android
- Open GScriptLite (The scripts in http://www.multiupload.com/4XZXFBMGSS)
- Choose the payload and Ps3 FW
- Enjoy
Update 28-Oct:
Update to latest commits from kakaroto git
http://github.com/kakaroto/PSFreedom/commit/a61ec1ebf08ccd826f7565ac2f34eb609028ad8f
Kernel updated to Hastarin 7.7
Download: http://www.multiupload.com/Z2NNU54JPF
Extract in your favorite Android Rom
I recommend this -> http://forum.xda-developers.com/showthread.php?t=735532 (Fast and stable)
Click to expand...
Click to collapse
Update 9-Dec:
Dan1j3l has released a new version for ps3 downgrade (jig mode)
View in post http://forum.xda-developers.com/showpost.php?p=9700033&postcount=515
I haven't tested yet because I haven't time, sorry.
Click to expand...
Click to collapse
----------------------------------------------------------------------------------------------------
Thanks to:
Kakaroto & Hermes for Psfreedom + Payload
Hastarin & Alephzain & Darkstone &Klutsh & Axionkt & other users of #psfreedom for support
InVisibleGoD & Corp1 for testing
Awesome news mangahoteles!
Are you using latest 4b payload?
Will test it right now...
Info Warning
Be sure that when your using different ROMS be sure to uninstall previous versions of Gscript -Lite then reinstall with apk included with rar then do a reboot before pl3 and Hv4 will show up in you gscript..
thank again - Mang
Thanks mangahoteles .
I'm downloading now.
anyone tested?
this psfreedom is with pl3 or Hv4? or both?
poczesaniec1 said:
anyone tested?
this psfreedom is with pl3 or Hv4? or both?
Click to expand...
Click to collapse
It have both!
Only tested with Hermes payload and it's working great.
wow...great news..both payload included.....
its like dream come true...
thanx mangahotels..hope you can continue wit this as long as u can...we will support you to the end...
keep up the great work!!!!
how have both, patch mode in open manager does not work?
where I can choose the payload?in gscript don't see the option
Excellent work mangahoteles!!!
Thanx mangahoteles!!!
Good job
Thanks for keeping the project updated
where I can choose the playload please help?
poczesaniec1 said:
where I can choose the playload please help?
Click to expand...
Click to collapse
Did you do what clayboy said?
clayboy said:
Be sure that when your using different ROMS be sure to uninstall previous versions of Gscript -Lite then reinstall with apk included with rar then do a reboot before pl3 and Hv4 will show up in you gscript..
thank again - Mang
Click to expand...
Click to collapse
I have old psjandroid,and new gscript put on directky to sd card,and if i have run first gscript without rebot,what I have do now?all from firs step?
ALL works, I have reinstaled GScript and without reboot all it's ok
thank's for all
hi mangahotels...
when u said any android...can u b specific which...
i used froyo sense by darkstone..latest one...will this works...tq
@ mangahoteles
Is there any way you can upload a full android rom with this built in like you did before?
@Biz there is already one this if to give you the option to load on other roms
clayboy said:
@Biz there is already one this if to give you the option to load on other roms
Click to expand...
Click to collapse
I just didn't want to add it to a rom I use all the time. I have a extra hd2 and was using that just for psfreedom. So do I need to set up a new android on that hd2 and then copy these folders over? I'm just a bit confused with that. Sorry.
Just did it and it seems to work the way I asked above. Hopefully I can figure out the difference between pl3 and hermes, cause I still don't know wtf they do. Idk what one I should activate with gscript?.
Thanks clayboy.
The_Biz said:
I just didn't want to add it to a rom I use all the time. I have a extra hd2 and was using that just for psfreedom. So do I need to set up a new android on that hd2 and then copy these folders over? I'm just a bit confused with that. Sorry.
Click to expand...
Click to collapse
I think Thats what this is meant for, you just extract these files to your main Android Build then you wont have to switch between 2 different builds.
Dont Quote me on this though.

[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

p760 to p769 porting

someone needs to make a guide because i can boot p760 roms but screen is reversed and with different kernel's i get instant reboot on lg logo.
thasilenthacker said:
someone needs to make a guide because i can boot p760 roms but screen is reversed and with different kernel's i get instant reboot on lg logo.
Click to expand...
Click to collapse
The easiest way is
1. Replace kernel with working P769 kernel.
2. Replace all propeitrary files with P769 version. (You can have these files list from CM)
3. Add some more libraries (I don't know which files. I got brightness config doesn't working problem but I cannot solve it.)
I think that's all. Then you can add some customize to the rom. I used to port MIUI to P769 and that is what I did. But you may have some problem with some hardware library which is not in propreitary files list. It's an trial and error process but you need to have P769 to test it.
@artit do you think you could list the exact files please?
I was trying to figure out how to get jellybean on p769 but I haven't figured it out lol. I tried building from aosp and got some error I couldn't figure out. I was trying to build aosp, and using Anton X sources.
Sent from my Nexus 4 using Tapatalk
thasilenthacker said:
@artit do you think you could list the exact files please?
Click to expand...
Click to collapse
You better use AntonX repo https://github.com/AntonX/android_vendor_lge_p769
Juanito216 said:
I was trying to figure out how to get jellybean on p769 but I haven't figured it out lol. I tried building from aosp and got some error I couldn't figure out. I was trying to build aosp, and using Anton X sources.
Sent from my Nexus 4 using Tapatalk
Click to expand...
Click to collapse
I also tried to build AOSP but cannot boot it up. We already have L9 device tree, it's easier to build CM, AOKP, PAC or AOSPA than AOSP.
artit said:
You better use AntonX repo https://github.com/AntonX/android_vendor_lge_p769
I also tried to build AOSP but cannot boot it up. We already have L9 device tree, it's easier to build CM, AOKP, PAC or AOSPA than AOSP.
Click to expand...
Click to collapse
I attempted before CM 11 sources came out. I haven't tried again since then. I might have another go but this time with CM 11. AOSP might be difficult but not impossible. Then again, I want my tweaks. At the same time though, it would be nice to have a clean, Nexus type of ROM, like a "Google Edition L9"
Sent from my LG-P769 using Tapatalk
ok im using propeitrary files this time im gonna test if it works
@artit by any chance if if's not any trouble for you, I was hoping I could ask how to create an Aroma version of a ROM installer. Any help is greatly appreciated, also thanks for MIUI
leolawliet said:
@artit by any chance if if's not any trouble for you, I was hoping I could ask how to create an Aroma version of a ROM installer. Any help is greatly appreciated, also thanks for MIUI
Click to expand...
Click to collapse
I also start using aroma by examine other dev works. These is what you have to do to use aroma installer.
1. Download it from http://forum.xda-developers.com/devdb/project/?id=330#downloads
2. Downloaded file is an example of aroma. Boot in to recovery and install it, you will see a lot of aroma features. You can create your own test file by copy some config from that file or maybe aroma file in my ROM.
3. Aroma script files are in /META-INF/com/google/android/
- aroma-config -> You use this config to create all dialog and pages in aroma
- updater-script -> Normal updater-script file. You can get aroma options and use it as conditional parameter
- update-binary -> this is aroma program
- update-binary-installer -> this is an original update-binary. If you want to use update-binary from CM or others rom please replace it with this file.
- aroma -> this folder contains resources. I use changelog.txt in this folder.
4. To add aroma to your rom
- In your rom, rename /META-INF/com/google/android/update-binary to update-binary-installer
- copy all aroma files to /META-INF/com/google/android/ (except update-binary-installer and updater-script)
- create you own aroma-config
- customize your updater-script to use options from aroma prop
5. If something go wrong while installing, aroma has an option to save install log to sdcard. You can review what is the problem in that log.
That's all. It's not hard to use aroma.
---------- Post added at 06:09 PM ---------- Previous post was at 06:00 PM ----------
Juanito216 said:
I attempted before CM 11 sources came out. I haven't tried again since then. I might have another go but this time with CM 11. AOSP might be difficult but not impossible. Then again, I want my tweaks. At the same time though, it would be nice to have a clean, Nexus type of ROM, like a "Google Edition L9"
Sent from my LG-P769 using Tapatalk
Click to expand...
Click to collapse
Nice try, I've tried to build AOSP 2 or more times but not success
I can build AOSP but it doesn't boot up. In logcat there're something wrong with display initialzation. I also try to use CM / AOKP build platform to build AOSP. But it has some libs conflict that I cannot solve.
i kept getting failed flashing zip, i was trying to port chameleon os for p760
keeps saying error in updater-binary
thasilenthacker said:
i kept getting failed flashing zip, i was trying to port chameleon os for p760
Click to expand...
Click to collapse
Some command in update-script is wrong or misplaced. It's hard to correct that. For me, I add some ui_print() to see what's the last step script run into and try to see what is the problem.
ok i found my problem at setting permissions
i used cm set_perm and still same thing its says " ste_perm: some changes failed
artit said:
I also start using aroma by examine other dev works. These is what you have to do to use aroma installer.
1. Download it from http://forum.xda-developers.com/devdb/project/?id=330#downloads
2. Downloaded file is an example of aroma. Boot in to recovery and install it, you will see a lot of aroma features. You can create your own test file by copy some config from that file or maybe aroma file in my ROM.
3. Aroma script files are in /META-INF/com/google/android/
- aroma-config -> You use this config to create all dialog and pages in aroma
- updater-script -> Normal updater-script file. You can get aroma options and use it as conditional parameter
- update-binary -> this is aroma program
- update-binary-installer -> this is an original update-binary. If you want to use update-binary from CM or others rom please replace it with this file.
- aroma -> this folder contains resources. I use changelog.txt in this folder.
4. To add aroma to your rom
- In your rom, rename /META-INF/com/google/android/update-binary to update-binary-installer
- copy all aroma files to /META-INF/com/google/android/ (except update-binary-installer and updater-script)
- create you own aroma-config
- customize your updater-script to use options from aroma prop
5. If something go wrong while installing, aroma has an option to save install log to sdcard. You can review what is the problem in that log.
That's all. It's not hard to use aroma.
---------- Post added at 06:09 PM ---------- Previous post was at 06:00 PM ----------
Nice try, I've tried to build AOSP 2 or more times but not success
I can build AOSP but it doesn't boot up. In logcat there're something wrong with display initialzation. I also try to use CM / AOKP build platform to build AOSP. But it has some libs conflict that I cannot solve.
Click to expand...
Click to collapse
Thanks, it's more simple than I thought it would be
Thank god I'm familiar with updater scripts
still cant get it to work. @artit you think you could modify this to run on our p769's?
http://forum.xda-developers.com/showthread.php?t=2508699
thasilenthacker said:
still cant get it to work. @artit you think you could modify this to run on our p769's?
http://forum.xda-developers.com/showthread.php?t=2508699
Click to expand...
Click to collapse
It's easier to port it to P768 because all I need to change is a firmware file. But for P769 you need to replace kernel so there maybe some incompatible issues. In AOSPA rom I also had problem when I replaced P760 kernel with P768 (from other rom). But when I build new P768 kernel for that rom it works.
I don't have P769 for testing so it's hard for me to port it to P769. Just wait for CM11 or maybe other ROM (AOKP/AOSPA). Most of its dev have paid a lot afford to new 4.4 version.
i am willing to be a tester if youd work on it, im online everyday
artit said:
The easiest way is
1. Replace kernel with working P769 kernel.
2. Replace all propeitrary files with P769 version. (You can have these files list from CM)
3. Add some more libraries (I don't know which files. I got brightness config doesn't working problem but I cannot solve it.)
I think that's all. Then you can add some customize to the rom. I used to port MIUI to P769 and that is what I did. But you may have some problem with some hardware library which is not in propreitary files list. It's an trial and error process but you need to have P769 to test it.
Click to expand...
Click to collapse
Has the brightness thing been solved yet? I am having this issue with a ROM that was "ported" but is incomplete because it completely lacks brightness control.

[Q] Flashable zip and AOSP

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%.

r4 - Custom ROM starter template - Honor 7 PLK-L01 B370

Let's get some custom ROM tweaking going on for our 7s!
As well as my own MoDaCo Custom ROM for the 5X, I've created a custom ROM starter template for anyone who wants to have a go. It's a bit different.
Basically, this ROM template will let you create your own custom ROM VERY easily. Easier than ever before. All you have to do is...
download my ROM template zip
make the changes to the system of your phone just as you'd like them for your custom ROM
run some commands on your device via ADB
add the resulting files to the template zip
That's it! No messaging around with install scripts, no rebuilding anything complex, just mod - and go!
Preparation
ONLY if you are completing the process for the first time, you need to set up a file on your microSD card - so launch and ADB shell and type the following commands...
Code:
touch /sdcard/exclude
echo app > /sdcard/exclude
echo priv-app >> /sdcard/exclude
echo delapp >> /sdcard/exclude
ROM build
Once you have your system up and running how you want it, and you're ready to distribute it (just the system and cust dirs mind, it won't pull the data dir, so your personal data is safe), reboot to recovery, launch an ADB shell and type the following commands:
Code:
mount /system
tar -X /sdcard/exclude -zcvpf /sdcard/system.therest.tar.gz /system/
tar -zcvpf /sdcard/system.apps.tar.gz /system/app /system/priv-app /system/delapp
mount /cust
tar -zcvpf /sdcard/cust.tar.gz /cust
You'll then end up with 3 new files on your SD card - system.apps.tar.gz (which is apps and priv-apps from system), system.therest.tar.gz (which, as the name suggests, is the rest of the system partition!) and cust.tar.gz with is the cust partition contents.
Update the template zip with these 3 files and that's it. It's ready to distribute for people to flash via TWRP! If you have updated the boot image, you'll need to replace that too, the easiest way is to do a TWRP backup then pull that file from the SD card and drop it into the template zip as boot.img. That's really it!
I hope this inspires a few people to start playing around with custom ROMs for the 57.. more cool things coming soon!
Oh and the all important template file...
DOWNLOAD - customromtemplate-7-plk01-b370-r4.zip [ROMRAID] MD5: c1ffe2bccd622a1a8a88f96be0a31f70
P
Changelog
r4:
Updated to B370
r3:
Updated to B330
r2:
Boot flash fix
r1:
Initial release
custom rom for the honor 7 coming soon you say?
music to my ears kind sir. anything is an improvement to emui
Good news!
paulobrien said:
Let's get some custom ROM tweaking going on for our 7s!
Ahead of my own MoDaCo Custom ROM for the 7, which is coming soon, I've created a custom ROM starter template for anyone who wants to have a go. It's a bit different.
Basically, this ROM template will let you create your own custom ROM VERY easily. Easier than ever before. All you have to do is...
download my ROM template zip
make the changes to the system of your phone just as you'd like them for your custom ROM
run some commands on your device via ADB
add the resulting files to the template zip
That's it! No messaging around with install scripts, no rebuilding anything complex, just mod - and go!
Click to expand...
Click to collapse
We tried to compile a tree from the files extracted from the device, and adding vendor blobs, but was not successful, if you have a tree by which we can get a working ROM, then can you please share it with us?
Thank you for the template though.
Great News!
We have been trying to compile the tree for so many weeks without reaching any positive results.
Thank you for your work and contribution. We will be tuned for your updates.
Note: It would be kind if you can share your feedback on this post -> http://forum.xda-developers.com/honor-7/development/tree-help-creating-honor-7-device-tree-t3310970
I haven't looked at the device tree yet, it's on my list of things to do!
I'm creating a stock-based ROM first then moving on to that.
P
paulobrien said:
I haven't looked at the device tree yet, it's on my list of things to do!
I'm creating a stock-based ROM first then moving on to that.
Click to expand...
Click to collapse
Thank you for your fast reply and contribution in all that. We will wait patiently for your updates.
I just want to say I love you
Template updated to r3 based on B330.
P
Thank you very much, Sir.
Long time no cooking. Maybe I give this a shot.
Hey,
I'm wondering if your method is applyable to other ROMs ?
Greetings from Germany
Is it possible to make such a template for B180 (LP)? I am fed up with MM but wish to have slightly modified stock LP rom.
morganmf said:
Is it possible to make such a template for B180 (LP)? I am fed up with MM but wish to have slightly modified stock LP rom.
Click to expand...
Click to collapse
Why would the dev create a pack like that based on an outdated software version? B330 runs as good as any previous builds. Here and there a tiny bug as every build has. No need for such nonsense as creating a B180 build now.
Sent from my PLK-L01 using XDA-Developers mobile app
t-ryder said:
Why would the dev create a pack like that based on an outdated software version? B330 runs as good as any previous builds. Here and there a tiny bug as every build has. No need for such nonsense as creating a B180 build now.
Sent from my PLK-L01 using XDA-Developers mobile app
Click to expand...
Click to collapse
With all the respect, it is not as much outdated as you say. B330 isn't as good as LP's B180. In manmy cases MM can be pain in the ass. It is not only my opinion. I understand you are happy with it but not everyone has to be you.
I had no problems with LP, neither do I have problems with MM. I don't get what all this is about... I call it nonsense.
Sent from my PLK-L01 using XDA-Developers mobile app
Our world seems to be big enough to give space for all kind of users!
Stay calm!
Why stay calm? I was just giving my point of view. If I consider it nonsense, I feel free to say so.
morganmf said:
Is it possible to make such a template for B180 (LP)? I am fed up with MM but wish to have slightly modified stock LP rom.
Click to expand...
Click to collapse
You can do it with the instructions in the first post.
P
Sent from my VIE-L09 using Tapatalk
No intention of being rude though, guys.
@paulobrien Do you plan to update MCR to B370 or are you too busy these days?

Categories

Resources