Porting guide - Port any cm rom for your phone without pc - Gionee M2

Hello Guyz !!
Today i'm gonna teach u how to port Cm rom for Gionee M2 or any other phone without pc
Requirements -
1. Download unpack/repack img.apk
2. Download apk editor
3. Winzip.apk
4. Base rom.zip
5. Port rom.zip
First step -
Install apk editor
Choose base rom framework-res.apk
Extract xml folder
Now Choose port rom framework-res.apk
Replace Storage_list.xml
With the base rom extracted storage_list.xml which is in extracted xml folder
Save apk
2nd step
U have to replace kernal from boot.img of base rom to port rom
I already thread a porting guide check it..
3rd step
Replace these files
Libcamdrv.so
libcam.exif.so
libcamalgo.so
libcameracustom.so
Libaudio.primary.default. so
Hw Folder
etc/firmware
Metainf folder
Now Compress zip of ported rom folder with winzip.apk
Done u became a porter..

Mind Hunter said:
Hello Guyz !!
Today i'm gonna teach u how to port Cm rom for Gionee M2 or any other phone without pc
Requirements -
1. Download unpack/repack img.apk
2. Download apk editor
3. Winzip.apk
4. Base rom.zip
5. Port rom.zip
First step -
Install apk editor
Choose base rom framework-res.apk
Extract xml folder
Now Choose port rom framework-res.apk
Replace Storage_list.xml
With the base rom extracted storage_list.xml which is in extracted xml folder
Save apk
2nd step
U have to replace kernal from boot.img of base rom to port rom
I already thread a porting guide check it..
3rd step
Replace these files
Libcamdrv.so
libcam.exif.so
libcamalgo.so
libcameracustom.so
Libaudio.primary.default. so
Hw Folder
etc/firmware
Metainf folder
Now Compress zip of ported rom folder with winzip.apk
Done u became a porter..
Click to expand...
Click to collapse
Do u think this will work

anish001 said:
Do u think this will work
Click to expand...
Click to collapse
I ported 10 roms for my phone with this method..
Sent from my M2 using XDA-Developers mobile app

Mind Hunter said:
I ported 10 roms for my phone with this method..
Sent from my M2 using XDA-Developers mobile app
Click to expand...
Click to collapse
Is it really works bro?

[email protected] said:
Is it really works bro?
Click to expand...
Click to collapse
Yes i ported almost 10 rom from this method
Sent from my M2 using XDA-Developers mobile app

Nice...

It will work on cm14?

Is this for same android version or lower?Can I port an higher Android version using your method?

Related

[GUIDE]Port Any ROM to HTC Tattoo(Maybe any other phone too)

In this Guide I Will teach you How to Port (almost) Any ROM to our HTC Tattoo (might work with every Phone)
Note:
The ROM which you are porting from will be referred to at PORT
The ROM to which you will make changes will be referred to as BASE
1. Delete system/app from the BASE and add the system/app from PORT to the BASE
2. Open system/bin in both and add the extra files from PORT to BASE (TIP : Easy way would be copy all the files from BASE to PORT , delete the ones in BASE and copy the ones in PORT)
3. Open system/etc in both...dont touch the folders in both...add the extra other files from PORT to BASE(PS : again the tip in step two can be used here )
4. Delete system/framework in BASE and add the system/framework from PORT To BASE
5. Open system/lib in both....add the extra .so files from PORT to BASE (PS : Use the tip from step two)
6. Delete system/media from BASE and add from system/media from PORT to BASE
7. Now open system/xbin in both...add the extra files from PORT to BASE (PS : Use the tip from step two)
8. Make Changes to build.prop and rename the .zip of BASE
9. Best of luck
REMEMBER at the end of this the BASE will be the ROM you are making!!!!
Also Remember try to use a PORT which has a screen resolution close to your device so that you dont have to resize.
Also this will not guarantee a fully functional build..though sometimes if you are in luck you may get a fully functional one
Reserved
Is this how you port your ROM's?
armands64 said:
Is this how you port your ROM's?
Click to expand...
Click to collapse
Yes..the current two roms i have made i used this...also, of course resizing to had to be done
deba1994 said:
In this Guide I Will teach you How to Port (almost) Any ROM to our HTC Tattoo (might work with every Phone)
Note:
The ROM which you are porting from will be referred to at PORT
The ROM to which you will make changes will be referred to as BASE
1. Delete system/app from the BASE and add the system/app from PORT to the BASE
2. Open system/bin in both and add the extra files from PORT to BASE (TIP : Easy way would be copy all the files from BASE to PORT , delete the ones in BASE and copy the ones in PORT)
3. Open system/etc in both...dont touch the folders in both...add the extra other files from PORT to BASE(PS : again the tip in step two can be used here )
4. Delete system/framework in BASE and add the system/framework from PORT To BASE
5. Open system/lib in both....add the extra .so files from PORT to BASE (PS : Use the tip from step two)
6. Delete system/media from BASE and add from system/media from PORT to BASE
7. Now open system/xbin in both...add the extra files from PORT to BASE (PS : Use the tip from step two)
8. Make Changes to build.prop and rename the .zip of BASE
9. Best of luck
REMEMBER at the end of this the BASE will be the ROM you are making!!!!
Also Remember try to use a PORT which has a screen resolution close to your device so that you dont have to resize.
Also this will not guarantee a fully functional build..though sometimes if you are in luck you may get a fully functional one
Click to expand...
Click to collapse
can please elaborate a little more about the build prop and its changes.
It want to try this thing for my own use and I had seen your CM7 modded with i style look and I need to port that on my wildfire.
So I understand everything but the build prop. where should I get that
Hi tanmay.sharma
It depends on the ROM
still , I'll give u examples
1. Porting say MIUI with CM7 as base
Change these lines
ro.build.version.incremental=eng.jenkins.20120615.144321
ro.config.ringtone=Playa.ogg
ro.config.notification_sound=regulus.ogg
ro.config.alarm_alert=Alarm_Beep_03.ogg
ro.modversion=CyanogenMod-7.2.0
TO
ro.build.version.incremental=Release 2.1
ro.config.ringtone=MI.ogg
ro.config.notification_sound=FadeIn.ogg
ro.config.alarm_alert=GoodMorning.ogg
ro.modversion=Click MIUIv3
2. If porting another device rom, like i ported SEMC rom from X10 MINI
You will have to change these lines to the device u porting from like in this case X10 Mini
ro.product.brand=SEMC
ro.product.name=E10i_1254-2716
ro.product.device=E10i
ro.product.manufacturer=Sony Ericsson
and add more extra manufacturer lines!!!
Hope it helps
if more help needed feel free to ask!
Cannot understend
deba1994 said:
In this Guide I Will teach you How to Port (almost) Any ROM to our HTC Tattoo (might work with every Phone)
Note:
The ROM which you are porting from will be referred to at PORT
The ROM to which you will make changes will be referred to as BASE
1. Delete system/app from the BASE and add the system/app from PORT to the BASE
2. Open system/bin in both and add the extra files from PORT to BASE (TIP : Easy way would be copy all the files from BASE to PORT , delete the ones in BASE and copy the ones in PORT)
3. Open system/etc in both...dont touch the folders in both...add the extra other files from PORT to BASE(PS : again the tip in step two can be used here )
4. Delete system/framework in BASE and add the system/framework from PORT To BASE
5. Open system/lib in both....add the extra .so files from PORT to BASE (PS : Use the tip from step two)
6. Delete system/media from BASE and add from system/media from PORT to BASE
7. Now open system/xbin in both...add the extra files from PORT to BASE (PS : Use the tip from step two)
8. Make Changes to build.prop and rename the .zip of BASE
9. Best of luck
REMEMBER at the end of this the BASE will be the ROM you are making!!!!
Also Remember try to use a PORT which has a screen resolution close to your device so that you dont have to resize.
Also this will not guarantee a fully functional build..though sometimes if you are in luck you may get a fully functional one
Click to expand...
Click to collapse
Dear
i cannot understand that how we change the port.
This procedure work with the help of adb shell or other method
sorry for stupid question. I am not dev or proff.
thanks
desiboyz said:
Dear
i cannot understand that how we change the port.
This procedure work with the help of adb shell or other method
sorry for stupid question. I am not dev or proff.
thanks
Click to expand...
Click to collapse
Nope ..no shell needed ...gets the zips of both the rooms on your comp ...unpack using your favourite file manager (eg. WinRAR) ...do all the steps and repack..transfer to your phone.. flash it on your phone ..cross your fingers
Remember.. this doesn't always guarantee a perfect port.. there maybe some bugs!!
Sent from my Tattoo using xda app-developers app
I did this and it worked but its the old rom not the ported one that I wanted -_-

[TUT] [TEMPLATE] Creating Optimus Black ROM with AROMA Installer

CAUTION! This AROMA tut and template is for ROM Devs and Cooks only.
I have been getting requests from my fellow devs for AROMA configurations for Optimus Black P 970.
I hope this will jump start all ROMs here to adopt AROMA.
So here it is for all ROM devs and ROM cooks who want to use AROMA in their ROM.
I attached the AROMA template to be used. This is compatible with our OB Black. This is from Marvel v 9. I tried to explain the aroma script one by one in order for it to be understandable to anyone.
Ofcouse, lets give credit to amarullz for this wonderfull AROMA installer made available to all android devs.
What you need:
1. PC / Mac.
2. Your ready ROM for building/cooking.
3. Notepad++
4. Your modified aroma script from my attached template script.
Steps:
1. Of course, download the attached file.
2. Extract the folder META-INF in any folder.
3. Go to your ready to cook ROM, go to META-INF\com\google\android\ and copy the updater-scipt and the update-binary files to any folder of your choice.
4. Rename the update-binary to update-binary-installer
5. Delete the folder META-INF folder in your ROM.
6. Copy the whole folder from step 2, to the root directory of your ROM.
7. Copy the 2 files from steps 3 and 4, to the folder META-INF\com\google\android\ from step 6.
8. Then, go to META-INF\com\google\android\ and open the aroma-config file using Notepad++
9. There you will find the aroma script that I specially made for OB Black, every script is explained that if you want to change it, you can.
10. Build/Cook your ROM.
11. Flash the .zip file in CWM Recovery.
12. Congratz to your first AROMA installer ROM.
Enjoy!
thank you very much!
good tutorial
Great contribution... You have saved me a lot of work when I decide to adopt AROMA on my stuff...
Regards!
We can discuss OB AROMA specifics here. Just post your questions and I will try to give answers.
okay first question here
- is it possible to play a sound file during the process ?
Ilko said:
okay first question here
- is it possible to play a sound file during the process ?
Click to expand...
Click to collapse
Nope
Sent from my LG-KU5900 using Tapatalk 2
Ilko said:
okay first question here
- is it possible to play a sound file during the process ?
Click to expand...
Click to collapse
As of the latest version. Audio playing is not supported. I can ask in the AROMA tread, if this can be supported in the future. This can be a good addition.

[TOOL] Grand Tool - I9082/L

Mod Delete
chotu222 said:
Here i created a tool specially for grand devs ...Optimised all features that you want
Info about tool :
Database folder
-- This folder is the project home.
*Decompiled app will be present in the name of the respective app you decompiled.
*The decompiled .dex file will turn up in dex folder inside this folder.
*The compiled app will turn up in OUT folder inside this folder.
*The compiled classout folder will turn up in database/dex directory.
Dex folder
*Place your classes.dex file here to decompile
Log folder
*Logcat will turn up in this folder.
Grand folder
*Place your apk here for decompiling
Signer folder
*Place your apk or zip here for signing.
fzb aka flashable zip builder folder
*Place just the system folder with your themes/mods in it.It will generate META-INF and make a flashable zip.
*Output folder is database/Flashable folder
Rom folder
*Place contents of your ROM. ie. META-INF,system etc etc
It will create a signed flashable rom.zip with your desired name in that folder itself.
Chotu folder
*Core folder which helps this tool to work properly.I am 100% sure you need not have to worry about it
Downloads ----Soon
Click to expand...
Click to collapse
thankyou .... thankszzzz love you chotu (as a dev )
Sent from my GT-I9082 using xda premium
hmm when i saw post by chotu i was happy i thot it was miui
hmm will we see grand miui
download link not working
adheeshkurekar said:
download link not working
Click to expand...
Click to collapse
It works
Sent from my GT-I9082 using Tapatalk 2
akiratoriyama said:
It works
Sent from my GT-I9082 using Tapatalk 2
Click to expand...
Click to collapse
yaa working sorry
Added option to enable and disable dual-sim via GrandTool
NOTE: Only on dual sim supported ROMs
* Ensure that adb is enabled on your device
* Connect device to PC
* Run grandtool.bat
* Select your option
e for enable
d for disable
* Done
* Device will reboot on its own ...Don't panic the tool is just doing its job
Go here and choose download as zip
@chotu222,
Really superb work man ! Hat's of you.
Great tool bro....really simplified enabling/disabling dual sim on grand ROM's...thanks....[emoji1]
Sent from my GT-I9082 using Tapatalk
another master piece.. great for users...
Absolutely super tool

Framework-res.apk for touchwiz revolutionised cm9 with navigation bar size 24dip

Got big navigation bar[height] in Touchwiz Revolutionised 5 Rom...
here i bring suitable Navibar Framework app...
Instructions:
Download apk..
load it to sdcard..
copy apk to System folder[use any file manager which can do this]..
now change the permissions to rw-r--r--[as that of other apks]..
move apk to framework folder..
reboot..
now enable navigation bar by adding " qemu.hw.mainkeys=0 "[without quotations] in build.prop file..
Reboot again..
done:good:
for version4.4,check post number #3..
Credits:
arpitkh96[For awesome rom]
Venkatesh[for guiding me]
Myself
Press "Thanks" if you like my work...
the above framework is for v4..
here is the framework apk with 20dip navigation bar for v4.4 rom..
follow same instructions mentioned in #1 post..
press thanks if you like my work...
Will it work on any ICS?
Will this mod work on any ICS ROM Like This ROM? Also where exactly in the system folder we have to put this file in I guess its should go inside /system/framework. Correct me if I'm wrong
intelprakash said:
Will this mod work on any ICS ROM Like This ROM? Also where exactly in the system folder we have to put this file in I guess its should go inside /system/framework. Correct me if I'm wrong
Click to expand...
Click to collapse
I think it wont work for the rom which you specified..[i am not sure]..
yea directly if you paste it in framework folder...previous framework of rom will be replaced which makes phone not to boot[reason:as permissions are not set correctly]..
so first paste it in System folder,change permissions and then move apk to framework folder.. reboot enjoy..
Press Thanks if i helped you..
intelprakash said:
Will this mod work on any ICS ROM Like This ROM? Also where exactly in the system folder we have to put this file in I guess its should go inside /system/framework. Correct me if I'm wrong
Click to expand...
Click to collapse
naresh babu said:
I think it wont work for the rom which you specified..[i am not sure]..
yea directly if you paste it in framework folder...previous framework of rom will be replaced which makes phone not to boot[reason:as permissions are not set correctly]..
so first paste it in System folder,change permissions and then move apk to framework folder.. reboot enjoy..
Press Thanks if i helped you..
Click to expand...
Click to collapse
It'll work..but it'll contain tw files in it...it is a bad idea to paste directly....create a flashable package, nd flash it via recovery. naresh why don't you create flashable zip for it? Btw i am using 18dip...it is good too.
Venkatesh said:
It'll work..but it'll contain tw files in it...it is a bad idea to paste directly....create a flashable package, nd flash it via recovery. naresh why don't you create flashable zip for it? Btw i am using 18dip...it is good too.
Click to expand...
Click to collapse
Yea 18dip looks better for mini.. okay i will try to release flashable zip..thanks for the suggestions..:good:
Looks like you are compressing it more.it may effect the performance and battery
Sent from my GT-S5570 using XDA Premium 4 mobile app
arpitkh96 said:
Looks like you are compressing it more.it may effect the performance and battery
Sent from my GT-S5570 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I dont know after decompiling and compiling it again ,apk got compressed..
Performance is not bad it is running better in my phone..
and its Awesome rom from you..

[TOOL][WINDOWS][Signer] Sign Any Flashable ZIP

Hello friends....
I want to share tool to sign any flashable zip like ROM, Mod etc
this tool is based from zifnab06 tool but i create for WINDOWS users (.bat) version
Requirement :
- Java jdk is installed
How to use :
- extract the tool
- rename your flashable.zip to update.zip
- drag & drop your zip file to sign.bat
- wait until complete
Enjoy :angel:
All Thanks to zifnab06 :good:
Sign for Xperia Stock Recovery???Anyway I already downloaded.Thank u.
Sent from my MT15i using xda premium

Categories

Resources