[Q] [GT-I9301I] Rom Port - Galaxy S3 Neo Q&A, Help & Troubleshooting

Hello,
Can somebody explain me how to port roms on S3 Neo GT-I9301I ? I would like to port rom for me
Sorry for my english

Which rom do you want to develop? I suggest to develop from source code

@sev3n1985 I would like to port roms of S5 Mini or Grand 2 but i don't know how to port. Maybe there is another phones with same hardware ?
Sorry for my english

ahmo67 said:
@sev3n1985 I would like to port roms of S5 Mini or Grand 2 but i don't know how to port. Maybe there is another phones with same hardware ?
Sorry for my english
Click to expand...
Click to collapse
just replace meta inf folder and boot.img with the rom of our device and it should work

Trotz said:
just replace meta inf folder and boot.img with the rom of our device and it should work
Click to expand...
Click to collapse
You need to find also the specific libraries and port them.

sev3n1985 said:
You need to find also the specific libraries and port them.
Click to expand...
Click to collapse
if is he porting from grand 2 or s5 mini he dont need to port anything just replace the meta inf folder and boot.img and its working.Thats how I done it

Thanks guys !

Trotz said:
if is he porting from grand 2 or s5 mini he dont need to port anything just replace the meta inf folder and boot.img and its working.Thats how I done it
Click to expand...
Click to collapse
Wait so you can port any s5 mini or grand 2 rom by just replacing the meta inf folder and boot.img???

gusky651 said:
Wait so you can port any s5 mini or grand 2 rom by just replacing the meta inf folder and boot.img???
Click to expand...
Click to collapse
yes thats how i did it

gusky651 said:
Wait so you can port any s5 mini or grand 2 rom by just replacing the meta inf folder and boot.img???
Click to expand...
Click to collapse
But I think you can port it with this replacing only if its android 4.4.2 version because the 4.4.2 boot image cant boot up the 4.4.4 or higher

Related

Stock wpa-supplicant

Can someone please extract original wpa-supplicant file from their phone and put it here. The file is located in system/bin folder, i forgot to back up mine...
Her you go
http://www.multiupload.com/QDHGUFSWPG
Sent from the 3rd Galaxy !
thank you very much
You're welcome
Sent from the 3rd Galaxy !
will this work on my Galaxy Tab 10.01??
circle.work said:
will this work on my Galaxy Tab 10.01??
Click to expand...
Click to collapse
No, you have an ARMv7 CPU. Ours is ARMv6.
Also, our wpasupplicant isn't binary compatible with your other rom's libs.

[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

[TOOLKIT][LINUX]MIUI Rom Porter

MIUI ROM Porter
About the tool:
This tool is based on rishab.raj37's great guide. And makes porting MIUI ROMs in few simple clicks. This is made only for linux.
Click to expand...
Click to collapse
How to use it:
1. Download the tool zip from here.
2. Extract the zip and place the script.sh, build and up file and your ROM zips in the home directory (~/) (home/username).
3. Now open the terminal and type the following:
Code:
./port.sh
In some cases this might not work so try this:
Code:
bash ~/port.sh
4. Now follow the on-screen instructions and done. :good:
5. You can find your ported ROM in ~/PORT/ directory.
6. Enjoy and press THANKS.
Click to expand...
Click to collapse
Note:
If you get stuck on bootloop, try this tool, here.
Click to expand...
Click to collapse
Credits:
rishab.raj37- For such a great guide
ME
Click to expand...
Click to collapse
hey what it exactly do?
I tried to have fun with patchrom but have too old laptop ( has not enough ram ).
So it just copying all the files or also patching frameworks?
You know what I mean. That we need the same manufacturer rom with the same base not?
For example rom is based on cm10 and I want to port to base AOSP. So will this work or not?
lsander said:
hey what it exactly do?
I tried to have fun with patchrom but have too old laptop ( has not enough ram ).
So it just copying all the files or also patching frameworks?
You know what I mean. That we need the same manufacturer rom with the same base not?
For example rom is based on cm10 and I want to port to base AOSP. So will this work or not?
Click to expand...
Click to collapse
Nopes that's the main prob for now...framework editing is not possible through this script thus u will have to urself patch the framework
Press THANKS if I helped,
Best Regards,
AJ
alokbina is now Abhinav2
Abhinav2 said:
Nopes that's the main prob for now...framework editing is not possible through this script thus u will have to urself patch the framework
Press THANKS if I helped,
Best Regards,
AJ
alokbina is now Abhinav2
Click to expand...
Click to collapse
I have the same Q,but THX~
Sent from my EVO using xda premium
Can i use a base rom that works on my i9505 and a i9500 newer miui version to port ?

S5 Toolbox For Galaxy Note 3

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?

Ive made a Rom but won't install

Hi guys so I've made a Rom but when I try and install it says ZIP corrupted any ideas why it says that
AndroidTutorials said:
Hi guys so I've made a Rom but when I try and install it says ZIP corrupted any ideas why it says that
Click to expand...
Click to collapse
try to unchek the md5 verification or repack the rom(use 7zip).
vaserbanix said:
try to unchek the md5 verification or repack the rom(use 7zip).
Click to expand...
Click to collapse
Ok how to uncheck md5 ?
AndroidTutorials said:
Ok how to uncheck md5 ?
Click to expand...
Click to collapse
when you install the rom with TWRP have option to check/uncheck md5 verification
before SWIPE the install. uncheck it if it is checked
or repack your rom with 7zip next settings:
Archive---------------------- zip
Compression level-------Normal
Compression method---Deflate
Dictionary sise--- --------32kb
Word size-------------------32
and press OK
vaserbanix said:
when you install the rom with TWRP have option to check/uncheck md5 verification
before SWIPE the install. uncheck it if it is checked
or repack your rom with 7zip next settings:
Archive---------------------- zip
Compression level-------Normal
Compression method---Deflate
Dictionary sise--- --------32kb
Word size-------------------32
and press OK
Click to expand...
Click to collapse
Ok and thank you I will try this ?
AndroidTutorials said:
Ok and thank you I will try this 😀
Click to expand...
Click to collapse
when you pack the ron in zip
dont select the folder of your rom,
opend it and select the files:
Meta-Inf
system
boot.img
etc. ....
and add that in zip
Color OS Galaxy J5
vaserbanix said:
when you pack the ron in zip
dont select the folder of your rom,
opend it and select the files:
Meta-Inf
system
boot.img
etc. ....
and add that in zip
Color OS Galaxy J5
Click to expand...
Click to collapse
Ok so I will select files inside the folder but how to install 7z I have Linux Ubuntu
AndroidTutorials said:
Ok so I will select files inside the folder but how to install 7z I have Linux Ubuntu
Click to expand...
Click to collapse
use your archiver mannager and select the same files
Color OS Galaxy J5
vaserbanix said:
use your archiver mannager and select the same files
Color OS Galaxy J5
Click to expand...
Click to collapse
Ok wI'll do thank you for helping me ? I appreciate it
vaserbanix said:
use your archiver mannager and select the same files
Color OS Galaxy J5
Click to expand...
Click to collapse
The zip worked but now I need to fix it's the wrong Rom it's for another j5 phone lol
AndroidTutorials said:
The zip worked but now I need to fix it's the wrong Rom it's for another j5 phone lol
Click to expand...
Click to collapse
that should be easy!
Color OS Galaxy J5
vaserbanix said:
that should be easy!
Color OS Galaxy J5
Click to expand...
Click to collapse
Yes and thank you once again for helping me I really do appreciate it can I ask u one thing
Does Android android kitchen work with the galaxy j500fn ? And how can I change from j5lte to
AndroidTutorials said:
Yes and thank you once again for helping me I really do appreciate it can I ask u one thing
Does Android android kitchen work with the galaxy j500fn ?
Click to expand...
Click to collapse
i use superrkitchen in linux now!
i tested few time ago(about an year) but i wasnt satisfied by it and i start to port manualy.
Android kitchen was good for me on porting 4.2.2 roms, i did about 30 roms with it
Color OS Galaxy J5
vaserbanix said:
i use superrkitchen in linux now!
i tested few time ago(about an year) but i wasnt satisfied by it and i start to port manualy.
Android kitchen was good for me on porting 4.2.2 roms, i did about 30 roms with it
Color OS Galaxy J5
Click to expand...
Click to collapse
So would superkitchen work with j500fn? I need to somehow Change from j500jnlte to j500lte but I don't know how to I will say you helped me with it because you have been a big help to me ?
AndroidTutorials said:
So would superkitchen work with j500fn?
Click to expand...
Click to collapse
yes it work!
you can use it for 5.1.1, 6.0.1, 7.0, 7.1 rom's
it's a good tool but the porting process must be done manualy on pc or phone
test it and i think you will be satisfied for the option you can get in it
for the porting process are the tutorials!
vaserbanix said:
yes it work!
you can use it for 5.1.1, 6.0.1, 7.0, 7.1 rom's
it's a good tool but the porting process must be done manualy on pc or phone
test it and i think you will be satisfied for the option you can get in it
for the porting process are the tutorials!
Click to expand...
Click to collapse
Thank you my friend you are awesome I did not know about superrkitchen untill just thank you!!! That could be the reason the Rom had this error because I used android kitchen lol and when I post the Rom what's a the (kernel source link)
vaserbanix said:
yes it work!
you can use it for 5.1.1, 6.0.1, 7.0, 7.1 rom's
it's a good tool but the porting process must be done manualy on pc or phone
test it and i think you will be satisfied for the option you can get in it
for the porting process are the tutorials!
Click to expand...
Click to collapse
Hi m8 I've made the Rom it installs but reboots the phone into recovery
AndroidTutorials said:
Hi m8 I've made the Rom it installs but reboots the phone into recovery
Click to expand...
Click to collapse
did you get the bootanimation when you tryed to start the phone?
Color OS Galaxy J5
vaserbanix said:
did you get the bootanimation when you tryed to start the phone?
Color OS Galaxy J5
Click to expand...
Click to collapse
No :/ no animation
AndroidTutorials said:
No :/ no animation
Click to expand...
Click to collapse
that mean your system wasnt writed.
so! install it again, before flash it do an advanced wipe: data, cache, dalvick-cache, system and then flash the rom.
if the rom boot and get bootanimation that mean the system was writed.
if not, reboot it in recovery and try to do a backup, here you will see if the system has some size(xxxMb).
if system is 0 or a very small size that mean it wasn't mounted on instaling process and do the next:
-restore your working rom
- do a wipe data factory reset(not advanced)
reinstall the rom and it should work.
if not again, then you should make a reviev of "updater-script" in Meta-inf folder and correct the mistakes
Color OS Galaxy J5

Categories

Resources