Related
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
hello guys, I forgot to backup my original vold.fstab in system/etc
now, my phone (samsung Galaxy Y) can't read any Sd cards.
will reviving/replacing it with the original "vold.fstab" fix this issue?
if that will... can you please help me/give me a copy of the original samsung galaxy Y GT-S5360 vold.fstab found on system/etc ??
eliepalima said:
hello guys, I forgot to backup my original vold.fstab in system/etc
now, my phone (samsung Galaxy Y) can't read any Sd cards.
will reviving/replacing it with the original "vold.fstab" fix this issue?
if that will... can you please help me/give me a copy of the original samsung galaxy Y GT-S5360 vold.fstab found on system/etc ??
Click to expand...
Click to collapse
havent backed up sorry cant do anything....now go to stock rom via odin to recover from this problem...
Couldn't attach through xda app so I upped it at zippyshare:
http://www63.zippyshare.com/v/71286251/file.html
Taken from my XXLH2.
Sent from my Quad-core 1.5GHz 512MB RAM GT-S5360 using xda premium
hariskoirala said:
havent backed up sorry cant do anything....now go to stock rom via odin to recover from this problem...
Click to expand...
Click to collapse
Well done, what a completely useless post that isn't helping anyone.
anybony knows how to extract image files from bootsamsung.qmg?
i don't know why would you want to decompress something with a closed-source alogrithm,
but if you want to have bootanimations for stock roms, i have just the thing,
see this link http://forum.xda-developers.com/showthread.php?t=1576084
i don't know but there is somewhere in xda tutorial to make qmq bootanimation
Reynaldi said:
i don't know but there is somewhere in xda tutorial to make qmq bootanimation
Click to expand...
Click to collapse
That's here I think.
Is this compatible?
leaderbuilder said:
That's here I think.
Click to expand...
Click to collapse
Is this compatible for galaxy y it is in
Samsung Galaxy S Advance I9070 > Galaxy S Advance I9070 General > (Shutdown Animation) QMG file creation.
Will this work for galaxy y?
If it uses Samsung's .qmg file type it should work. Make a nandroid and try.
Sent from my SPH-D710 using Tapatalk 2
ryanfebriyadi said:
anybony knows how to extract image files from bootsamsung.qmg?
Click to expand...
Click to collapse
You can't extract .qmg files.
because it contains these formats below:
.jpg/.png/.gif
(will work if you use 2.1% of your brain)
Just a bootanimation ported from @BroBot175 MetroUI to our Tab !
How to install ?
1) Download attachment below and unpack somewhere in sdcard or internal storage.
2) Open Root Explorer or a similar app
3) Go to system/media and rename bootsamsung.qmg and bootsamsungloop.qmg by adding "bak" at the end
3) Copy the extracted 2 files into System/media
4) Set permission to rw-r-r
5) Reboot and enjoy !
Credits:
@BroBot175
hi
More boot animation wallpAPer pls.
JuanBerting said:
More boot animation wallpAPer pls.
Click to expand...
Click to collapse
Ok, just suggest !
Sent from my AmatROM powered GT-P5210
Nice, Can you make the stock HTC Bootanimation to work with our Tab ?
Can someone provide samsungani and bootanimation from system/bin of 8.0 please I was moding it to enable boot animation but I lost boot animationth now I dont have backup
Sent from my SM-T311 using Tapatalk
Nice
Thanks !
:good:
an0n11m3 said:
Nice, Can you make the stock HTC Bootanimation to work with our Tab ?
Click to expand...
Click to collapse
Give me the bootanimation.zip then I will convert it for you
Sent from my GT-P5210 powered by AmatROM HD
grewal09 said:
Can someone provide samsungani and bootanimation from system/bin of 8.0 please I was moding it to enable boot animation but I lost boot animationth now I dont have backup
Sent from my SM-T311 using Tapatalk
Click to expand...
Click to collapse
I don't have this device so I can't help you, sorry.
I have the P5210 model of Tab 3.
Sent from my GT-P5210 powered by AmatROM HD
HO TO CREATE GALAXY TAB BOOT SCREEN (.qmg)
Nonta72 said:
Just a bootanimation ported from @BroBot175 MetroUI to our Tab !
How to install ?
1) Download attachment below and unpack somewhere in sdcard or internal storage.
2) Open Root Explorer or a similar app
3) Go to system/media and rename bootsamsung.qmg and bootsamsungloop.qmg by adding "bak" at the end
3) Copy the extracted 2 files into System/media
4) Set permission to rw-r-r
5) Reboot and enjoy !
Credits:
@BroBot175
Click to expand...
Click to collapse
HI SIR...how can i create my own loading and shutdown screen display? please give me a link for tutorial...
Eltotsira said:
HI SIR...how can i create my own loading and shutdown screen display? please give me a link for tutorial...
Click to expand...
Click to collapse
Here is it !
Just click here :good:
Sent from my GT-P5210 powered by AmatROM HD
Thank you, very Nice.
Can i take any custom Samsung Bootanimation, or does it have to be a special for the galaxy tab 3 10.1?
Awesome thanks
Nonta72 said:
Ok, just suggest !
Sent from my AmatROM powered GT-P5210
Click to expand...
Click to collapse
If i may make a suggestion: this here seems to be nice http://forum.xda-developers.com/showthread.php?t=1606681http:// even its a little bit old.
Thanks and Regards
Danny
Blutgraetsche said:
If i may make a suggestion: this here seems to be nice http://forum.xda-developers.com/showthread.php?t=1606681http:// even its a little bit old.
Thanks and Regards
Danny
Click to expand...
Click to collapse
For your 1st Question,
You can convert any ZIP bootanimation !
All you need is to resize the Pictures inside bootanimation.zip
You need to resize them one by one.
The resolution of the Tab is 1280x800
So you must reduce sizes like 480x800, 560x940, 1080x1920 and so on.
About your second question,
What do you mean with this link ?
Note: This MetroUI bootanimation is in .qmg while bootanimation on the link (you posted) are in ZIP format.
Sent from my GT-P5210 powered by AmatROM HD
Nonta72 said:
For your 1st Question,
You can convert any ZIP bootanimation !
All you need is to resize the Pictures inside bootanimation.zip
You need to resize them one by one.
The resolution of the Tab is 1280x800
So you must reduce sizes like 480x800, 560x940, 1080x1920 and so on.
About your second question,
What do you mean with this link ?
Note: This MetroUI bootanimation is in .qmg while bootanimation on the link (you posted) are in ZIP format.
Sent from my GT-P5210 powered by AmatROM HD
Click to expand...
Click to collapse
Hello Nonta72,
thank you for your Answer..
But if i convert it, its still a bootanimation.zip File, no File for my GalaxyTab 3.10.1
This is what i not understand. (Sorry im quite a beginner in this bootanimation stuff)
And with the Link i´ve posted, itwas a suggestion who would be a pretty bootanimation for the Galaxy Tab 3.
Thanks and Regards
Danny
(btw: im a big fan of your AmatROM, its far the best ROM for this Tablet)
Blutgraetsche said:
Hello Nonta72,
thank you for your Answer..
But if i convert it, its still a bootanimation.zip File, no File for my GalaxyTab 3.10.1
This is what i not understand. (Sorry im quite a beginner in this bootanimation stuff)
And with the Link i´ve posted, itwas a suggestion who would be a pretty bootanimation for the Galaxy Tab 3.
Thanks and Regards
Danny
(btw: im a big fan of your AmatROM, its far the best ROM for this Tablet)
Click to expand...
Click to collapse
Hey,
I make a Tutorial how to convert ZIP to QMG and I sent you the link recently.
Here's it (click on me)
There you can easily convert bootanimation.zip to bootsamsung.qmg
However, if you feel too LAZY :silly: to do all the stuff or you found the process too long or you didn't understand something, then kindly give me the bootamination.zip of your choice and I will convert it for you
(btw: im a big fan of your AmatROM, its far the best ROM for this Tablet)
Click to expand...
Click to collapse
If so you can support it by inserting the banner in your signature (look at mine). I have NO paypal and I don't claim for thanks but I would really love it if you use a Banner of the ROM.
Sent from my GT-P5210 powered by AmatROM HD
Nonta72 said:
Hey,
I make a Tutorial how to convert ZIP to QMG and I sent you the link recently.
Here's it (click on me)
There you can easily convert bootanimation.zip to bootsamsung.qmg
However, if you feel too LAZY :silly: to do all the stuff or you found the process too long or you didn't understand something, then kindly give me the bootamination.zip of your choice and I will convert it for you
If so you can support it by inserting the banner in your signature (look at mine). I have NO paypal and I don't claim for thanks but I would really love it if you use a Banner of the ROM.
Sent from my GT-P5210 powered by AmatROM HD
Click to expand...
Click to collapse
I have seen your tutorial, but to be honest, i do not understand a few things, i will try, and if it don't work I will gladly come back to the offer you made
Thank you
Regards
Danny
Blutgraetsche said:
I have seen your tutorial, but to be honest, i do not understand a few things, i will try, and if it don't work I will gladly come back to the offer you made
Thank you
Regards
Danny
Click to expand...
Click to collapse
Ok I am waiting for you.
And thanks for the BANNER using :good:
Sent from my GT-P5210 powered by AmatROM HD
Nonta72 said:
Ok I am waiting for you.
And thanks for the BANNER using :good:
Sent from my GT-P5210 powered by AmatROM HD
Click to expand...
Click to collapse
No Problem, this ROM is worth every support!
Sadly it haven't work to create a Bootanimation.
I wanted to create from this site, http://forum.xda-developers.com/showthread.php?t=2387756http:// the "Android 4.3 Boot Animation 1080p" Bootanimation...
Is this Link okay, or should i send you the file?
Thanks in advance and Regards
Danny
Blutgraetsche said:
No Problem, this ROM is worth every support!
Sadly it haven't work to create a Bootanimation.
I wanted to create from this site, http://forum.xda-developers.com/showthread.php?t=2387756http:// the "Android 4.3 Boot Animation 1080p" Bootanimation...
Is this Link okay, or should i send you the file?
Thanks in advance and Regards
Danny
Click to expand...
Click to collapse
Hey I cannot find the specific bootanimation
So if you have it, you cant attach it as attachment in your reply or can upload it somewhere and give me the link to it or give me the direct download link !
Sent from my GT-P5210 powered by AmatROM HD
Hi Guys,
I have been looking into porting of Galaxy S5 toolbox for Note 3.
I have decompiled all the S5 files (SecSettings, Framework-res, SystemUI) and found that it is possible to port it to Note 3 (I might be wrong);
But I don't have fluent knowledge of .smali files, Somehow I manage to understand something by converting .smali files into .java..
So can some dev help me, so that we can work together for porting toolbox to Stock firmware of Note 3.
Thanks.
amk19 said:
Hi Guys,
I have been looking into porting of Galaxy S5 toolbox for Note 3.
I have decompiled all the S5 files (SecSettings, Framework-res, SystemUI) and found that it is possible to port it to Note 3 (I might be wrong);
But I don't have fluent knowledge of .smali files, Somehow I manage to understand something by converting .smali files into .java..
So can some dev help me, so that we can work together for porting toolbox to Stock firmware of Note 3.
Thanks.
Click to expand...
Click to collapse
Tollbox
need android.policy.jar framework2.jar service.jar edit
qwerty123258 said:
Tollbox
need android.policy.jar framework2.jar service.jar edit
Click to expand...
Click to collapse
Hi,
No need to make changes in SecSettings and SystemUI..?
For S5, I found that most piece of code is present in SecSettings.
Thanks.
amk19 said:
Hi,
No need to make changes in SecSettings and SystemUI..?
For S5, I found that most piece of code is present in SecSettings.
Thanks.
Click to expand...
Click to collapse
yes no edit
qwerty123258 said:
yes no edit
Click to expand...
Click to collapse
Can you just tell me which all file I have to look into for porting toolbox.
1. For com.android.policy.jar
2. Services.jar
3. Framework2.jar
I have decompiled all the files from S5 and trying to find it out.
amk19 said:
Can you just tell me which all file I have to look into for porting toolbox.
1. For com.android.policy.jar
2. Services.jar
3. Framework2.jar
I have decompiled all the files from S5 and trying to find it out.
Click to expand...
Click to collapse
service.jar = severthread.smali
android.policy.jar= phonewindowmanager$settingobserver.smal phonewindowmanager.smali
framework2.jar=viewrootimpl.smali toolboxmanager.smali toolboxfloatingviewer.smali and.. i don't remember
qwerty123258 said:
service.jar = severthread.smali
android.policy.jar= phonewindowmanager$settingobserver.smal phonewindowmanager.smali
framework2.jar=viewrootimpl.smali toolboxmanager.smali toolboxfloatingviewer.smali and.. i don't remember
Click to expand...
Click to collapse
Thank you.
Thanks a lot.
I found all the files except ViewRootImp.smali in framework2.jar.
Are you sure that file is present?
And I found a whole folder named TwToolBox with all smali files in framework2.jar.
amk19 said:
Thank you.
Thanks a lot.
I found all the files except ViewRootImp.smali in framework2.jar.
Are you sure that file is present?
And I found a whole folder named TwToolBox with all smali files in framework2.jar.
Click to expand...
Click to collapse
ViewRootImp >>> ViewRootImpl
qwerty123258 said:
ViewRootImp >>> ViewRootImpl
Click to expand...
Click to collapse
Sorry.
I couldn't find viewrootimpl.smali in framework2.jar.
I am still searching.
Thanks a lot for your help.
amk19 said:
Sorry.
I couldn't find viewrootimpl.smali in framework2.jar.
I am still searching.
Thanks a lot for your help.
Click to expand...
Click to collapse
android/view folder maybe...
qwerty123258 said:
android/view folder maybe...
Click to expand...
Click to collapse
Yeah. I got it.
Thanks a lot buddy.
@qwerty123258
Hi. Thanks for your help.
I got all the files you mentioned.
What should I do now?
I have to copy those changes to my Note 3 jar files? And recompile it?
That's it?
Or any other things I have to take care of?