Done build rom just 1 question - Galaxy Grand Prime Q&A, Help & Troubleshooting

Hey everyone
So
i done making my own stock based ROM
I have 1 question how the hell i make that META-INF Folder that contain update script so i make it flashable
Anyone know how
I tried Ricky's kitchen device not supported

I replied u on Telegram Super Group bro.

JamsheeeD said:
I replied u on Telegram Super Group bro.
Click to expand...
Click to collapse
But u told me not sure
i need sure answer

Me personally, in the past, I have found another custom ROM or recovery based flashable zip for the device and studied the folder structure and text files from META-INF, copied it all into my ROM, and then modified the scripts to fit my own purposes.
Cheers!!!

Related

[GUIDE] How to port ROMS

I know that there are actually LOTS of "How to port ROMS" in this forum now.. but I would like to share a certain source I found that is actually fool proof
Here it goes!
find a ROM that is designed for the same CPU type and the same phone manufacturer. Any stock Gingerbread, ICS, or CyanogenMod 7/9 ROM should work, but you’ll have to make sure your phone can handle the ROM – no ICS for an HTC Hero, for example. Also, your Port ROM's original Phone should have the same RESOLUTION with that of your phone's.
You will need:
**Notepad++
**a compression program (WinZip or 7zip and etc)
**the ROM you want to port to your phone (let’s call it the "Port ROM")
**a ROM designed for your phone (let’s call it"Base ROM")
Click to expand...
Click to collapse
This guide may mention some files or directories that aren’t present in your particular ROM; don’t worry, just carry on.
On your PC, extract the .ZIP files containing the two ROMs, and navigate to /system/app in your extracted Port ROM and copy stk.apk, vpnservices.apk, camera.apk, and bluetooth.apk into a temporary directory somewhere else on your PC.
Click to expand...
Click to collapse
Now, delete the following folders from your Port ROM and replace them with the ones from your Base ROM: /data, /system/app, /system/framework, /system/fonts and /system/media.
Click to expand...
Click to collapse
From your Base ROM, copy /system/lib/libandroid_runtime.so to the system/lib/ directory of your Port ROM, overwriting the file.
Click to expand...
Click to collapse
Next up, move the .APKs you copied earlier back into the /system/app directory of your Port ROM.
Click to expand...
Click to collapse
Open up /system/lib in your Port ROM and copy all the files and folders. Paste them into the Base’s /system/lib directory, replacing all. Then go back to the Port ROM and delete the /system/lib folder, and replace it with the /system/lib folder from the Base ROM.
Click to expand...
Click to collapse
Next, navigate to the /system/etc/init.d folder in the Port ROM and do the same copy-from-Port, paste-to-Base, delete-from-Port, copy-from-Base, paste-to-Port shuffle as before.
Click to expand...
Click to collapse
Navigate to /system/etc/permissions and do that same copy-paste dance one more time.
Click to expand...
Click to collapse
open system/build.prop from both the port and the base ROM in Notepad++. Update the Base build.prop to match the values for “ro.build.description=” and “ro.build.fingerprint=” from your Port. Now save the Base build.prop, exit Notepad++, and copy the Base build.prop into the Port ROM, overwriting the Port build.prop.
Click to expand...
Click to collapse
In Notepad++, open \META-INF\com\google\android\updater-script from both your base and port ROMs. Edit the Port’s script to be like the Base’s updater-script: specifically, change, edit, or add the sections for permissions, ui_prints, asserts, run_programs, and installing the kernel. Don’t change any of the symlinks. In the Port script, make sure that the ‘format’ values are appropriate for your device (compare them to the Base script).
Click to expand...
Click to collapse
Finally, make sure that your kernel is specifically for your device.
Click to expand...
Click to collapse
Now, if you desire, you can update any apps you require, or add any tools like BusyBox or SuperSU.
And that’s it! Your base ROM is now ready to be zipped and installed on your device via Clockwork Mod!
SOURCE: http://apcmag.com/port-roms-to-your-android-device.htm
ADDITIONAL INFORMATION:
CUSTOM ROM FOLDERS EXPLAINED
List of Resolution for Smartphones
How to change Kernel of ROM Before installation in its zip file.
[GUIDE][How to Make CWM Recovery Flashable Zip file without Computer]
copy - paste, easy made. nice guide, thanks
30adi said:
copy - paste, easy made. nice guide, thanks
Click to expand...
Click to collapse
Yes but i found the source highly confusing i just "cleaned it up"
Sent from my GT-I9300 using xda premium
Very good job, thank you.
ADDED:
[GUIDE][How to Make CWM Recovery Flashable Zip file without Computer]
I port a ROM but I am getting unknown baseband no imei please tell me how to fix
khan_frd2002 said:
I port a ROM but I am getting unknown baseband no imei please tell me how to fix
Click to expand...
Click to collapse
go to build.prop in /system and edit rild.libpath=
rild.libargs=
to match your device and that should fix it
your guide was just copied by a person from One V forums without giving proper credits.
see here: here
1ceb0x said:
your guide was just copied by a person from One V forums without giving proper credits.
see here: here
Click to expand...
Click to collapse
I see.. he should've given proper credits to the website
Sent from my GT-I9300 using xda premium
changing lib path in buildprob
not work
erm hello, can you put the other guides in your OP? some are in your other posts and it would not be easy for others to see..
nice guide and gonna try this when i got time
:good:
kemaro30 said:
erm hello, can you put the other guides in your OP? some are in your other posts and it would not be easy for others to see..
nice guide and gonna try this when i got time
:good:
Click to expand...
Click to collapse
What "other" guides do you mean?
Sent from my GT-I9300 using xda premium
Hello I Wanted to port Cm7 On a New cpu named as - MediaTek 6573 ! it is an armv6 one ... any suggestions from where to start ....etc ?
I will definitely give this a try.
Great guide. Subscribed!!
ChummyDays said:
Okay, question: what is the point of porting a ROM made for a device with the same CPU and same manufacturer?? there is VERY few phones that are made by the same company and the same cpu!
Click to expand...
Click to collapse
Well that is to ensure "safety" when porting a ROM.. the guide i posted was a beginner's guide on how to port.. as you can see, almost 80% of the procedure is just basically copy&paste..
however, if you have a good background now in codes and porting things, i believe you may not follow step-by-step the procedures i stated above.
Sent from my GT-I9300 using xda premium
mandeep1 said:
Hello I Wanted to port Cm7 On a New cpu named as - MediaTek 6573 ! it is an armv6 one ... any suggestions from where to start ....etc ?
Click to expand...
Click to collapse
Search for other phones with similar cpu
Sent from my GT-I9300 using xda premium
What about dual Sim ph?
Does anyone have any idea what would cause a "Modem Crashed Forced Upload Mode" on a port for SGS3?
I can't seem to pinpoint what causes that (I think it's a kernel panic but I could be wrong)
Looks like this would work on International Note 2 and Tmobile Note 2. They have the exact same hardware and everything. I was wondering about the last statement about kernel. Can't I just copy the boot.img from tmobile note 2 to international note 2 ? would that work ? I am not familiar with kernels and stuff. Need advice.
Thanks

[REQUEST] I9500 System/bin/ bootanimation stock file

The Short Version: please extract and upload your bootanimation file located on system/bin folder so i'll be able to recover my bootanimation (i didn't back up mine)
The Long Version:
Hello guys. I was testing some custom bootanimations on my 9500 but i kinda screwed up. I replaced my bootnimation file without making a previuos backup. It seems like the custom bootanimation is not working and now there none bootanimation working on my phone.. so i need the stock file..
If there is not too much trouble for anyone out there.. May you please use root explorer, copy and upload your bootanimation file located at system/bin and share the link to me please? i just don't want to flash the hole rom again because i've my phone very customized..
thanks in advance for whoever helps me here
regards. Leboreiro.
bump!
leboreiro said:
The Short Version: please extract and upload your bootanimation file located on system/bin folder so i'll be able to recover my bootanimation (i didn't back up mine)
Click to expand...
Click to collapse
Hi leboreiro
Dude, yes, you have a back up!!! :laugh:
It's inside your ROM zip file. Go there and extract it
But be careful, the bootanimation file you are demanding is the binary not the animation 'per se'.
The boot animations that actually are played can be located inside \system\media\
- bootsamsung.qmg
- bootsamsungloop.qmg
- shutdown.qmg
You already have all of them
Nice regards.
.
Kdio said:
Hi leboreiro
Dude, yes, you have a back up!!! :laugh:
It's inside your ROM zip file. Go there and extract it
But be careful, the bootanimation file you are demanding is the binary not the animation 'per se'.
The boot animations that actually are played can be located inside \system\media\
- bootsamsung.qmg
- bootsamsungloop.qmg
- shutdown.qmg
You already have all of them
Nice regards.
.
Click to expand...
Click to collapse
yes dude i know i need the binary one. i just replaced that bootanimation binary file with another one.. my rom its a official so its kinda hard to unpack a md5 file .. can you share to me your bootanimation binary file please?
leboreiro said:
yes dude i know i need the binary one. i just replaced that bootanimation binary file with another one.. my rom its a official so its kinda hard to unpack a md5 file .. can you share to me your bootanimation binary file please?
Click to expand...
Click to collapse
Mine ... wouldn't work. i9505.
Attached is one extracted from Omega v17. At your own risk.
Nice regards.
EDIT: Oww ... now I remember. The Venezuelan with Russian ROM that never answered if my theme worked on it ... did it ?
.
Kdio said:
Mine ... wouldn't work. i9505.
Attached is one extracted from Omega v17. At your own risk.
Nice regards.
.
Click to expand...
Click to collapse
thankyou so much dude . just replaced your bootanimation file and now my bootanimation logo (samsung) has been recognized again. can't beleave such a easy fix took like 3 days for someone to actually repply helping me. I very appretiate it god bless you.
Kdio said:
Mine ... wouldn't work. i9505.
Attached is one extracted from Omega v17. At your own risk.
Nice regards.
EDIT: Oww ... now I remember. The Venezuelan with Russian ROM that never answered if my theme worked on it ... did it ?
.
Click to expand...
Click to collapse
HI Mr.K...Just pass by accident and see your post in the past.
Now I remember you have many amazing tools introduced me and think that now you may help me one more time.
I think to look inside the bootanimation file in system/bin and edit it if i can. Your idea? Please tell me the tool and process or about the knowledge I must have.
Thank in advance though you can help or not my old friend.

Android L Flashable zip for Flo

Hey guys I recently found an android l Flashable zip for the Nexus 7 flo and I wanted to share it with you. You flash it just like any other rom but there are no gapps. This zip also works with multirom which you can find here
http://forum.xda-developers.com/showthread.php?t=2457063
Download: http://d-h.st/ZA8
In order to have root you have to flash this after you flash the Android L zip
http://download.chainfire.eu/451/SuperSU/
I did not make this all credits go to tassadar.
JazzieBoi said:
Hey guys I recently found an android l Flashable zip for the Nexus 7 flo and I wanted to share it with you. You flash it just like any other rom but there are no gapps. This zip also works with multirom which you can find here
http://forum.xda-developers.com/showthread.php?t=2457063
Download: http://d-h.st/ZA8
In order to have root you have to flash this after you flash the Android L zip
http://download.chainfire.eu/451/SuperSU/
I did not make this all credits go to tassadar.
Click to expand...
Click to collapse
Hey JazzieBoi. Would you mind sharing the original thread that you found the zip on? As much as I would love a zip ready version of L I also don't want to have to start scouring the internet looking for answers if something goes wrong. I would also like to thank the person who compiled the zip for all their hard work.
i will give a try
crookdbill said:
Hey JazzieBoi. Would you mind sharing the original thread that you found the zip on? As much as I would love a zip ready version of L I also don't want to have to start scouring the internet looking for answers if something goes wrong. I would also like to thank the person who compiled the zip for all their hard work.
Click to expand...
Click to collapse
I found the download link here http://forum.xda-developers.com/showthread.php?t=2457063 if you just backup using your recovery u will be fine
JazzieBoi said:
I found the download link here http://forum.xda-developers.com/showthread.php?t=2457063 if you just backup using your recovery u will be fine
Click to expand...
Click to collapse
Alright thanks. Whats funny is that I looked for the zip in that thread and couldn't find it so I appreciate the link. Thanks!

[Need] can anyone provide me deodexed ROM?

I need deodexed ROM for my RAZR M. I am building ROM. I will use it as main BONE ...... But I am having kinda problem with editing other custom ROMs (I would take permission if i completed the project).... Can anyone provide me?
Use this
We cannot teach people anything; we can only help them discover it within themselves.
dbreezy187 said:
Use this
We cannot teach people anything; we can only help them discover it within themselves.
Click to expand...
Click to collapse
Hmm, the thing is we don't have a flashable zip... For personal use a deodexer would be enough, but for mods and redistribution a flashable is needed. Would also like to see one because I really want to eliminate VZW bloats from my sights since the first boot.
Sent from Google Nexus 4 @ CM11
[WARNING: XDA Premium 4.0.13 lacks Signature function - do not update]
Maybe I grabbed the wrong one but the the one I used created a flashable zip for me... Minus minor issues that ATTACK helped me with it was pretty easy... I'll try and find the other I know ATTACK has them posted in the op of his android L theme thread
Edit... The one I linked is the one I used... It creates a recovery flashable zip to flash over what ever ROM you pulled it all from
We cannot teach people anything; we can only help them discover it within themselves.
dbreezy187 said:
Maybe I grabbed the wrong one but the the one I used created a flashable zip for me... Minus minor issues that ATTACK helped me with it was pretty easy... I'll try and find the other I know ATTACK has them posted in the op of his android L theme thread
Edit... The one I linked is the one I used... It creates a recovery flashable zip to flash over what ever ROM you pulled it all from
We cannot teach people anything; we can only help them discover it within themselves.
Click to expand...
Click to collapse
Actually I want ROM to modify it (change wallpapers etc) cab I do with it?
livecouk said:
Actually I want ROM to modify it (change wallpapers etc) cab I do with it?
Click to expand...
Click to collapse
What you can do is... Factory reset your phone, deodex it, modify it the way you want, and then pull the system.img, boot img and maybe NON-HLOS.bin and instruct users to flash via mfastboot or make a RSD flashable zip.
ATTACK said:
What you can do is... Factory reset your phone, deodex it, modify it the way you want, and then pull the system.img, boot img and maybe NON-HLOS.bin and instruct users to flash via mfastboot or make a RSD flashable zip.
Click to expand...
Click to collapse
Mean while their no any Avail ROM already done?... If not then I ll do the process

Url Removed

Url's removed
*note* This file is mainly here for rom developers looking to build a custom rom or extract files/patches to apply to other models. It can't be used to repair a bad update as patches will not apply twice.
nice, i hope someone can make it compatible with Y
and btw ... there are typos in your signature : 16 MB / 32 MB for your nexuses
keyra74 said:
nice, i hope someone can make it compatible with Y
and btw ... there are typos in your signature : 16 MB / 32 MB for your nexuses
Click to expand...
Click to collapse
The signature reflects the specific models I purchased and the amount of ram/rom they had. As such it appears accurate to me.
it's 16 GB and 32 GB, if it was MB you wouldn't even install anything
How do you install this?
Sweet! So just flash in recovery?
neilownz said:
How do you install this?
Click to expand...
Click to collapse
The short answer, and it's not intended to be ugly, is that if you have to ask it's not a file you should be installing.
It's easier to get it from the system updater....this is primarily intended for folks doing rom work or want to extract the patches to see what might be applied to the other models. It could be sideloaded via twrp for the specific firmware/model listed if they needed to for a particular reason.
famewolf said:
The short answer, and it's not intended to be ugly, is that if you have to ask it's not a file you should be installing.
It's easier to get it from the system updater....this is primarily intended for folks doing rom work or want to extract the patches to see what might be applied to the other models. It could be sideloaded via twrp for the specific firmware/model listed if they needed to for a particular reason.
Click to expand...
Click to collapse
It died on verifying system because I don't have that Google bloat installed. Oh well.
Quick question. I've flashed .bin files via odin, what do I do here?
It's simply a renamed zip. Change .bin to .zip and you can open it.
@purple.epod and others....I'm uploading an unrooted system image with boot (we need the kernel to match the system) to mega and will post the url when it completes tomorrow sometime. That file can be used to flash via twrp to the latest version and skip all the interim steps. Keep an eye out for it.
Sorry for so many questions -_- Lol. But flash this? Or the one you're talking about uploading?
capeorigins said:
Sorry for so many questions -_- Lol. But flash this? Or the one you're talking about uploading?
Click to expand...
Click to collapse
The average user should use the file being uploaded in the system image thread. This url was for folks doing work on rom's.
@purple.epod and others....I'm uploading an unrooted system image with boot (we need the kernel to match the system) to mega and will post the url when it completes tomorrow sometime. That file can be used to flash via twrp to the latest version and skip all the interim steps. Keep an eye out for it.
Click to expand...
Click to collapse
Okay, awesome, thank you!
how do i install this? TWRP or by the system update in storage?
EDIT: its giving me decryption error :/ i cant download it
Url/file removed and a request has been sent to the mod's to delete this thread.
Rom dev's if you need the latest update file to examine patches etc please contact me in PM.
Thread closed at user's request.

Categories

Resources