Stock Rom -> Debloat -> Custom Rom - Android Q&A, Help & Troubleshooting

My intention is to unbloat a stock Rom (Sony Android 6 MM, unlocked bootloader)) and create a rooted custom Rom which I can flash in Recovery (Twrp/Cwm).
I already managed to extract the system.ext4 and debloat it to my needs. Now I need to put everything together and "just" create a flashable zip.
I have the following folders/files:
META-INF (unmodified, just an old copy from another guide)
System/app.../priv-app.../xbin
dualrecovery.zip
SuperSU.zip
I need some input what is the simplest way to copy & modify or create a working updater-script.

Someone help please!!!
Sent from my N9521 using Tapatalk

Related

[Q] Init.d

Where is the init.d folder under etc in our stock rom zip?? can anyone help me please.thanks in advance
Stock Roms zip are usually encrypted. You won't be able to extract any system files from it.
If you need it, your best bet is to extract it from a phone running it, or perhaps a backup made with custom recovery.
Tapatalk with RAZR HD

[Q] Replacing Kernel in Custom Rom zip

Hey everyone
I'd like to know what I need to do to replace a custom kernel that comes with a custom rom zip to a stock kernel?
Is it as simple as just replacing the boot.img file & /META-INF folder from a stock kernel zip with the boot.img file & /META-INF folder in the custom rom zip?
Reason why I want to do this, is to be able to flash a custom rom with a stock kernel through flashfire so I don't trip knox, since a custom kernel would trip knox.
At the moment I've got a custom rom with stock kernel on my phone with knox 0x0 but I'd like to try out some of the other great roms that are available and unfortunately they all come with custom kernels :/
I've been googling for the past hour but I'm only finding outdated information and I don't really want to rely on that lol.
Thanks in advance
no no..you only have to extract the Rom using winrar and copy the boot img over..now go to system /Lib/modules and delete the those files.. copy (if there any) the new in..and zip it again using winrar
BTW..you don't have Knox tripped..? if you are about to flash this with a custom recovery..you will trip Knox for sure
Alex-V said:
no no..you only have to extract the Rom using winrar and copy the boot img over..now go to system /Lib/modules and delete the those files.. copy (if there any) the new in..and zip it again using winrar
BTW..you don't have Knox tripped..? if you are about to flash this with a custom recovery..you will trip Knox for sure
Click to expand...
Click to collapse
Alright thanks for explaining! Ill be flashing with flashfire

[Q] Problem with using android kitchen. Help needed.

I had been trying to make a custom ROM or porting a ROM for Micromax Canvas A 96. It has only one custom ROM found in 'needrom' site. As the stock ROM is in a format suitable for SP Flashtool , I wanted to make a CWM flashable ROM in zip format, so that porting will be easier. For this purpose I need 'METAINF' Folder with updater script. So, after searching I came across a guide on 'Converting boot.img +system.img' to CWM flashable zip ROM. I followed it and used android kitchen and got a ROM in zip in the output folder which I re-named (during working on 'cygwin' window). Now I checked it by extracting with 'Express zip' windows software, and it says " The zip is corrupted or encrypted or empty or in an incompatible format'. Now, I do not know how to go about it. Please help me.

from Online Nandroid (CWM) to flash-able zip for Odin, need Meta-inf folder

After a failed online nandroid backup recovery I just shake my head.... not again. Don't want to flash stock rom, root, custom recovery flash path again!
So, I really like to create a flashable rom from my old backup. I just lack the meta-inf.
All these make flashable threads say get the meta-inf folder from any rom. I don't think that it is THAT easy.
(I tried a Meta-inf from a custom rom
http://forum.xda-developers.com/galaxy-s5/development/rom-noble-rom-t3403867/page19#post69117710
, but during zipping I get an error that it could not create something....)
Where can I get a working meta-inf file for Samsung S5 G901F, that I do not need to alter or just works?
Thanks you very much.

how do i restore boot.img?

I need to restore boot.img, does anybody have a guide? I used the new method to install trwp, xposed and supersu ahve modified boot.img and now i need to restore it.
extract the rom u r using right now, take the boot.img and place it to another folder

Categories

Resources