[Q] How to make custom ROMs? - GT540 Optimus General

I want to know how to develop my own ROM for LG Optimus.

custom roms are available so why not instead of coding do it based of another one like i did

ok, and how can I make my rom based on onther custom rom?
I tryed to unpack system.img with unyaffs, and pack it again with mkfs but my phone stuck in boot loop, or superuser doesn't work...
can somebody please write shor tutorial how to develop roms...

dont repack
instead apply in a zip in recovery

pashinator said:
custom roms are available so why not instead of coding do it based of another one like i did
Click to expand...
Click to collapse
So, that's what I'm asking: how to make a custom ROM based on another one?

pashinator said:
dont repack
instead apply in a zip in recovery
Click to expand...
Click to collapse
what tool I should use? I tried htc kitchen from xda (it should work on gt540), but I can not even boot my phone...

reflash my rom for example then adb pull whatever you want to edit
then put in zip with an update script and apply in recovery
then create a backup in recovery and that system img and boot img is what you can upload for other people to install
dont give the data img because its personal

pashinator said:
reflash my rom for example then adb pull whatever you want to edit
then put in zip with an update script and apply in recovery
then create a backup in recovery and that system img and boot img is what you can upload for other people to install
dont give the data img because its personal
Click to expand...
Click to collapse
Thanks for the tip!

pashinator said:
reflash my rom for example then adb pull whatever you want to edit
then put in zip with an update script and apply in recovery
then create a backup in recovery and that system img and boot img is what you can upload for other people to install
dont give the data img because its personal
Click to expand...
Click to collapse
tnx. I'm from Croatia, so sry because of my bad eng.
I knew most of this things, but I don't know how to make update script.
I updated kitchen and try another rom and it seems to work now...

Related

[Q] Flashable ROM.zip

Can someone please give a guideline or link for making a flashable zip pack of a whole rom, i mean is there any way to make a rom in flashable zip formate, so we dont need odin and we can flash rom without laptop, i.e. via cwm. Thanks for your help.
Mohanshbhr said:
Can someone please give a guideline or link for making a flashable zip pack of a whole rom, i mean is there any way to make a rom in flashable zip formate, so we dont need odin and we can flash rom without laptop, i.e. via cwm. Thanks for your help.
Click to expand...
Click to collapse
Please someone help, i really need it.
unfortunately no one is going to help even if they know, just have a look at such similar posts in the forum all they were closed without any answer....
Mohanshbhr said:
Can someone please give a guideline or link for making a flashable zip pack of a whole rom, i mean is there any way to make a rom in flashable zip formate, so we dont need odin and we can flash rom without laptop, i.e. via cwm. Thanks for your help.
Click to expand...
Click to collapse
I am trying same thing. It will take just 1-2 days to figure it out. I will tell u as soon as possible.
i5 Rom
arunmcops said:
I am trying same thing. It will take just 1-2 days to figure it out. I will tell u as soon as possible.
i5 Rom
Click to expand...
Click to collapse
I have tried it once and it worked
here is what i did:
1: flash the ROM
2: Use qtadb to copy /system folder
3: make update .zip
arunmcops said:
I am trying same thing. It will take just 1-2 days to figure it out. I will tell u as soon as possible.
i5 Rom
Click to expand...
Click to collapse
Thanks i will wait.
RafayelG said:
I have tried it once and it worked
here is what i did:
1: flash the ROM
2: Use qtadb to copy /system folder
3: make update .zip
Click to expand...
Click to collapse
it will sure work, but i m searching some different, like kernel flashing via cwm.
Mohanshbhr said:
it will sure work, but i m searching some different, like kernel flashing via cwm.
Click to expand...
Click to collapse
that alreasy exists
RafayelG said:
that alreasy exists
Click to expand...
Click to collapse
i mean that like kernel flashing via cwm (in zImage formate not extracted files of zImage),
i want to flash rom in system.img or system.rfs (not extracted form of system.rfs)
Mohanshbhr said:
i mean that like kernel flashing via cwm (in zImage formate not extracted files of zImage),
i want to flash rom in system.img or system.rfs (not extracted form of system.rfs)
Click to expand...
Click to collapse
idk backup using cwm recovery then flash?
Well there is a way to flash zImage as it is from cwm - search in development forum - marcellusbe posted about it
But no way exists to flash rfs files from cwm

[RELEASE] Multi Recovery Flasher

im just letting the S3 users know that i have now got an s3 and will begin developing for s3 now!
starting with my first creation for the s3, i have made a flashable .zip file that flashes the selected recovery, so no need for re-downloading and re-flashing, simply flash the .zip, then aroma will open asking whitch recovery to flash then it will flash then reboot into the new recovery!
coming soon!
ricky310711 said:
im just letting the S3 users know that i have now got an s3 and will begin developing for s3 now!
starting with my first creation for the s3, i have made a flashable .zip file that flashes the selected recovery, so no need for re-downloading and re-flashing, simply flash the .zip, then aroma will open asking whitch recovery to flash then it will flash then reboot into the new recovery!
coming soon!
Click to expand...
Click to collapse
Looking forward, it will be useful, any information about the development state?
mirroalex said:
Looking forward will be useful, any information about the development state?
Click to expand...
Click to collapse
i actually just amde the packages and tested each of them, all ive gotta do is configure aroma and we will be up and running by tommorow arvo!
will it automatically download the newest version of the selected recovery?
chrismast said:
will it automatically download the newest version of the selected recovery?
Click to expand...
Click to collapse
Its a flashable .zip package, I will just gather the latest recoveries and update every month
ricky310711 said:
Its a flashable .zip package, I will just gather the latest recoveries and update every month
Click to expand...
Click to collapse
ok, good luck with it!
personally I do not see the point yet as I just can download the single recovery (there is anyway not that much choice) and flash it but I am sure there are users that will appreciate an Aroma installer.
chrismast said:
ok, good luck with it!
personally I do not see the point yet as I just can download the single recovery (there is anyway not that much choice) and flash it but I am sure there are users that will appreciate an Aroma installer.
Click to expand...
Click to collapse
The point of this being that some recoveries cant flash certain .zip files... eg twrp 2.5.0.0 cannot flash .zip files with aroma, this is also a pachage to help developers!
ricky310711 said:
The point of this being that some recoveries cant flash certain .zip files... eg twrp 2.5.0.0 cannot flash .zip files with aroma, this is also a pachage to help developers!
Click to expand...
Click to collapse
ah ok, didn't know that, anyway as I said for certain people surly helpful! Good luck!
An app that could connect to a central repository and download the latest versions would be great. Then using the same method stweaks by siyah uses to "hijack" recovery or temp boot would make more sense to me.
That way you open app, choose recovery to boot and flash your zips. Then boot back to android...
Rather than boot recovery, flash zip,,choose recovery, flash zip...
Or just use philz recovery and be able to flash all zips anyway
Sent from my GT-I9300 using Tapatalk 2
rootSU said:
An app that could connect to a central repository and download the latest versions would be great. Then using the same method stweaks by siyah uses to "hijack" recovery or temp boot would make more sense to me.
That way you open app, choose recovery to boot and flash your zips. Then boot back to android...
Rather than boot recovery, flash zip,,choose recovery, flash zip...
Or just use philz recovery and be able to flash all zips anyway
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
Seems legit, although I do not have time to make a . Apk of it..
Also keep in mibd what if you didnt have data connection, or yet couldnt even boot...

[Q] How do I flash a kernel (.img)?

I really tried do find a way to do this but I can't.
I have Carbon Rom 4.4.2 for p705 but I have a p700 and as Carbon's doesn't have OC they recommended to flash Cr3pt's kernel but the only I could find was a boot.img. In flashify it says that boot partition can't be found..
So can anyone send me or teach me how to flash a .img file or get me a easier to flash kernel if that's possible thanks...
You can't flash it like you usually do. Boot.img are a CWM backup so you need to go to backup/restore and choose advanced restore and the navigate to the boot.img and start the restore process
Hope that helps and make sure it's a file matching your device and your current rom.
SuperSkill said:
You can't flash it like you usually do. Boot.img are a CWM backup so you need to go to backup/restore and choose advanced restore and the navigate to the boot.img and start the restore process
Hope that helps and make sure it's a file matching your device and your current rom.
Click to expand...
Click to collapse
Thank you, very much I'll try that now
tab0rda said:
Thank you, very much I'll try that now
Click to expand...
Click to collapse
One more thing, you can also use the file to overwrite the one in the rom zip file using 7zip or winrar
SuperSkill said:
One more thing, you can also use the file to overwrite the one in the rom zip file using 7zip or winrar
Click to expand...
Click to collapse
And I can flash the ROM without losing my data and settings?
tab0rda said:
And I can flash the ROM without losing my data and settings?
Click to expand...
Click to collapse
No and yes, I'd you flash the rom first you'll be fine. The rom zip contains boot.img so if you first restore the boot.img it will be overwritten if you flash the rom second. Therfore you should replace the boot.img in the rom zip.
How it helps and clarify the situation

Error Device, pls help!

After Root and Install TWRP, when I want to wipe the data accidentally I also delete the system, and when I want to reboot the device there is a notification "NO os installed! are you sure wish to reboot?"
What should I do? sorry I'm still new to this.:crying:
thank you in advance
I think you need to flash system.img back
I don't think I seen anyone upload system.img for this phone here
watatara.102 said:
I think you need to flash system.img back
I don't think I seen anyone upload system.img for this phone here
Click to expand...
Click to collapse
yeah i think no. Is there any other way ?
Arown orton said:
yeah i think no. Is there any other way ?
Click to expand...
Click to collapse
You have twrp. Flash any available custom rom or modify the Updater script in stock rom and flash it via twrp.
Go to this thread for instructions regarding editing the updater script.
https://forum.xda-developers.com/max-pro-m2/how-to/unroot-relock-bootloader-max-pro-m2-t3885870
After flashing the stock rom flash the decrypt zip too.

Stock rom v10.0.16.0.PDHMIXM?

Hi!
Can anyone please upload stock rom v10.0.16.0.PDHMIXM or at least the stock boot image?
Thanks!
Tal
talla1 said:
Hi!
Can anyone please upload stock rom v10.0.16.0.PDHMIXM or at least the stock boot image?
Thanks!
Tal
Click to expand...
Click to collapse
I always look here
https://mirom.ezbox.idv.tw/en/phone/tissot/
http://bigota.d.miui.com/V10.0.16.0...0.PDHMIXM_20191206.0000.00_9.0_494f11505e.tgz
Dior DNA said:
I always look here
https://mirom.ezbox.idv.tw/en/phone/tissot/
Click to expand...
Click to collapse
Thanks!
Well, it might be a very noob question, but I'm stuck:
1. I download the zip but I can't install it from TWRP. I get an error without any details. How is this supposed to be used??
2. I'd like only to reflash my boot partition to the stock (completely uninstall magisk). I was under the impression that when I'll flash the rom, I'll be able to choose which partitions to flash. But I guess it doesn't work like that..
Is it possible to get boot.img from that rom? Or I need specifically boot.img for that version? And if so, where can I find it??
Thanks!
Tal
talla1 said:
Thanks!
Well, it might be a very noob question, but I'm stuck:
1. I download the zip but I can't install it from TWRP. I get an error without any details. How is this supposed to be used??
2. I'd like only to reflash my boot partition to the stock (completely uninstall magisk). I was under the impression that when I'll flash the rom, I'll be able to choose which partitions to flash. But I guess it doesn't work like that..
Is it possible to get boot.img from that rom? Or I need specifically boot.img for that version? And if so, where can I find it??
Thanks!
Tal
Click to expand...
Click to collapse
FYI, official link cannot be directly flash through TWRP (You must extract yourself)
here's the full extracted from official link:
https://drive.google.com/open?id=19055UswKDLeZvbgL7hl22pmQ72uy9s7j
Follow telegram for new extracted ROM
https://t.me/notify4twrprom

Categories

Resources