Unpack/Repack boot.img without pc tutorial - General Questions and Answers

Unpack Repack boot.img without PC
Unpack boot.img WITHOUT PC (ANDROID)
plus Video Tutorial
If Want Port Rom Mediatek Definitely There was a need at Unpack Kernel / boot.img.
The Most Convenient Way Without PC.
Examples rom port of: MIUI, COLOR OS, Lewa, ETC ..
First requirement Must ROOT!
MATERIALS WITH unpack IE:
Unpack Repacker boot.img.apk.
Root Explorer.apk
Already Installed and Busybox.
(Link below)
You must have boot.img of Stock rom / BASE ..
and Must Have boot.img of rom port / PORT ..
GUIDE:
• Create a new folder on the sd card with the name "BOOT", and didlm BOOT folder create another folder with the name RESULT, BASE, PORT, unpack ....
• And Dlm unpack folder create another folder name PORT, BASE ....
************************************************
• Next we put the "boot.img" base (stock) to smb folder BOOT / BASE. And also put boot.img (port) port kedlm folder BOOT / PORT ...
• The next stage we open the app and first we had unpack.apk first unloading boot.img base, fill in:
"Enter the boot.img path" with "boot.img base (stock)," which we put in the folder BOOT / BASE. Then to put the results
*bongkaran boot.img base with fill "Unpack Enter the Image Path" with the BOOT / unpack / BASE ...
• Click START ..
**************************************
• To dismantle boot.img port, do the same with the above, only the location of the results bongkaran boot.img a different port that is in the folder BOOT / unpack / PORT.
HOW repack boot.img
*• input Enter the "cmdline" cmdline,
• then input "Enter the kernel base" with 10000000,
*****for kernel base of each phone must be different. how to look at the kernel base.
********open root explorer into the sdcard / BOOT / unpack / BASE / boot.img-base.
***wear resistant root explorer and view text editor and enter the result kernel base that you:
******************************************
• then input "Enter the PageSize" with 2048,
• then input "Enterthe Kernel Path" by clicking search and find BOOT / unpack / BASE / boot.img-zImage,
• then input "Ramdisk Enterthe Path" by clicking search and find BOOT / unpack / PORT / boot.img-ramdisk.gz,
• and finally fill in the "Enter the out Img Path" by clicking search and find BOOT / RESULTS,
• START
You boot.img results in sdcard / BOOT / RESULTS
:highfive:

Where is the Link?
Android小楼阁-QQ群 439637151
来自搭载Android 2.3 GingerBread的华为Y220-T10

Where is the Link?²

Link for tools
I need a link for all apks please

Related

[Guide] {MTK} CROSS PLATFORM (CHIPSET) ROM PORTING

HELLO FOLKS,
INTRODUCING A CROSS PLATFORM ROM PORTING GUIDE FOR MTK SOCs
Code:
[SIZE="4"][COLOR="Red"]NOTE : [/COLOR][/SIZE]THIS GUIDE HAS 6 PARTS, ONE FOR THE SYSTEM FOLDER CHANGES AND THE OTHER FOR THE BOOT.IMG MODIFICATIONS.
WARNINGS :-
1) THIS GUIDE IS INTENDED FOR DEVELOPERS ONLY.
2) NEWBIES MAY FIND IT COMPLICATED SO PLEASE DO NOT TRY THIS. (RESEARCH A LITTLE MORE BEFORE YOU TRY THIS)
MTK CROSS PLATFORM ROM PORTING GUIDE ​
REQUIRMENTS:
1. FULLY UNDERSTAND THE ROM PORTING GUIDE (PLEASE FOLLOW THE GUIDE FROM XDA.)
2. THIS GUIDE WILL ONLY WORK FOR MTK SOCs WITH THE SAME GPU.
(EXAMPLE: MT6582 <------>MT6592 (BOTH CHIPSETS HAVE MALI GPU)
3. BASE ROM (STOCK ROM) AND PORT ROM . SHOULD HAVE THE SAME ANDROID SDK LEVEL.
(EXAMPLE: 4.2.x<---->4.2.x , 4.4.x<---->4.4.x ,ETC )
4. A FULLY FUNCTIONING BRAIN AND EXPERTISE
LETS BEGIN :
PART 1 : SYSTEM FOLDER CHANGES
----------------------------------
1.
A) MAKE 2 NEW FOLDERS ON DESKTOP
B)EXTRACT THE STOCK ROM IN THE 1ST FOLDER (NAME IT AS BASE),
C)EXTRACT THE ROM YOU WANT TO PORT TO THE 2ND FOLDER (NAME IT AS PORT)
2.
A) OPEN BASE FOLDER >SYSTEM>BIN>
B) COPY ALL BIN FILES TO THE PORT FOLDER>SYSTEM>BIN> AND PASTE IT REPLACEING ANY EXISTING FILES
(DO NOT DELETE THE FILES THAT HAVE NOT BEEN REPLACED.)
3.
A) OPEN BASE FOLDER >SYSTEM> LIB >
B) COPY HW FOLDER,MODULE FOLDER (IF THIS EXISTS IN YOUR STOCK KK ROM ),SOUNDFX FOLDER TO THE PORT FOLDER >SYSTEM>LIB > PASTE HERE (REMEMBER TO DELETE THE HW,MODULE,SOUNDFX FOLDERS FIRST))
4.
A) OPEN BASE FOLDER >SYSTEM> LIB>
B) COPY ALL LIB FILES(.SO) TO THE PORT FOLDER >SYSTEM>LIB > PASTE HERE AND REPLACE EXISTING FILES
5.
A) OPEN ROM ZIP FILE WITH WINRAR/WINZIP/7-ZIP/
B) EXTRACT THE LIB FOLDER (PRESENT INSIDE THE SYSTEM FOLDER)> INTO A SEPARATE FOLDER.
WE NEED ONLY THE FOLLWOING FILES FOR THE NEXT STEP.
>>libandroid_runtime.so
>>libandroid_servers.so
>>libandroidfw.so
>> libjavacore.so
>> libjavacrypto.so
6. COPY 5 LIBRARY FILES MENTIONED IN STEP 5 AND MOVE IT TO THE PORT FOLDER'S >LIB FOLDER> PASTE THERE AND REPLACE EXISTING FILES
7.
A) OPEN PORT ROM ZIP FILE WITH WINRAR/WINZIP/7-ZIP/
B)EXTRACT THE LIB FOLDER (PRESENT INSIDE THE SYSTEM FOLDER)> INTO A SEPARATE FOLDER.
WE NEED ONLY THE FOLLWOING FILES FOR THE NEXT STEP.
>>libwebp_android.so
>>libwebrtc_audio_preprocessing.so
>>libwebviewchromium.so
>> libwebviewchromium_plat_support.so
(IMPORTANT FILES )
8. COPY THE 4 LIBRARY FILES MENTIONED IN STEP 7 AND MOVE IT TO THE PORT FOLDER'S >LIB FOLDER> PASTE THERE AND REPLACE EXISTING FILES
9. REPLACE THE VENDOR FOLDER IN THE PORT FOLDER WITH THE VENDOR FOLDER FROM THE BASE
10 CHANGE BOOTANIMATION IN THE PORT FOLDER>MEDIA FOLDER> (ACC. TO YOUR SCREEN RESOLUTION USE YOUR STOCK BOOTANIMATION IF YOU DONT HAVE A SIMILAR RESOLUTION BOOT ANIMATION FILE)
11.
A) OPEN THE PORT FOLDER>SYSTEM>ETC > ABD DELETE THE FOLLWOING
FIRMWARE,
MDDB(SOME ROMS MAY NOT HAVE THIS,SO IF YOUR ROM DOES NOT, IGNORE IT)
B) COPY THESE TWO FOLDERS FROM BASE TO PORT>SYSTEM>ETC>
12.
A) OPEN BASE FOLDER >SYSTEM>ETC>
B) COPY AUDIOEFFECT, AUDIOPOLICY, MEDIACODECS FILES TO PORT FOLDER>ETC FOLDER> PASTE THERE REPLACING EXISTING FILES
13.
A) OPEN THE BASE ROM FOLDER'S >SYSTEM>XBIN> FOLDER
B) COPY THE libmnlp_mt65xx(DIFF ACC TO CHIPSET LIKE MT6582,MT6592) FILE TO PORT FOLDER>SYSTEM>XBIN > PASTE IT THERE
C) DELETE PORT ROM'S libmnlp_mt65xx
########################################################################################
PART 2 : EDITING THE BOOT.IMG (CRITICAL)
14.
----------------------------------------------------------------------------------------
(USE DSIXDA'S KITCHEN/ MTK FIRMWARE ADAPTER OR ANY OTHER BOOT.IMG DECOMPILER/COMPILER OF YOUR CHOICE)
>> EXTRACT BOTH BOOT.IMG (BASE AND PORT)
>> OPEN BASE BOOT>INIT.RC AND COMPARE WITH PORT'S INIT.RC AND CHANGE BOOTCLASSPATH IF PRESENT
AND OTHER REGARDING THEMES ETC.
>> OPEN BASE BOOT>PROJECT.RC AND COMPARE IT WITH PORT'S PROJECT.RC AND DO CHANGES WHICH IS EXTRA IN PORT
>> OPEN BASE BOOT>ENVIRONMENT.RC AND COMPARE IT WITH PORT'S ENVIRONMENT.RC AND DO CHANGES WHICH IS EXTRA IN PORT (THIS IS ABSENT IN JB ,SO DON'T WORRY ABOUT IT)
>> PACK IT , COPY NEW BOOT.IMG AND PASTE ,REPLACE IN PORT FOLDER
########################################################################################
PART 3 : Build.prop
15.
A) NOW OPEN PORT FOLDER>SYSTEM>BUILD.PROP> AND CHANGE MT65xx TO YOUR CHIPSET ACC TO UR STOCK BUILD.PROP ,
B) ALSO THE WLAN LINE mT65xx TO UR CHIPSET ACC TO UR STOCK BUILD.PROP
++++++++++++++++++++++++++++++++++++++++++++
mediatek.wlan.chip=CONSYS_MT6582
mediatek.wlan.module.postfix=_consys_mt6582
++++++++++++++++++++++++++++++++++++++++++++
########################################################################################
PART 4: UPDATER-SCRIPT EDIT
16.
A) OPEN META-INF>ANDROID>UPDATER-SCRIPT AS TEXT EDITIOR(IN NOTEPAD++ OR U PREFER ANY OTHER)
B) CHANGE MOUNTPOINT ACC. TO UR STOCK ROM'S UPDATER-SCRIPT
C) ALSO THIS LINE --> symlink("wlan_mt65xx.ko", "/system/lib/modules/wlan.ko"); (MT65XX DEPEND ON UR STOCK ROM UPDATER-SCRIPT)
SAVE IT
########################################################################################
PART 5: FRAMEWORK EDIT
17.
A. GO TO BASE> SYSTEM>FRAMEWORK>COPY SERVICES.JAR(MAKE SURE DEODEXED)
>> USING BASKMALI.JAR UNPACK IT (NAME AS S)
B) DO THE SAME WITH PORT>SYSTEM>FRAMEWORK> SERVICES.JAR(MAKE SURE DEODEXED)
>> USING BASKMALI.JAR UNPACK IT (NAME AS CLASSOUT)
>>NOW OPEN THE S FOLDER>ANDROID>SERVER AND SEARCH OF THESE FILES
MOUNTSMALI** (U WILL GET LOTS OF FILE STARTING WITH MOUNT),COPY THESE FILES
PASTE & REPLACE IN THE CLASSOUT FOLDER>ANDROID>SERVER>HERE
>> PACK THE CLASSOUT FOLDER USING SMALI.JAR
> PUSH IN SERVICES.JAR(PORT) AND PASTE IN SAME LOCATION AS MENTIONED IN STEPS 17.
(IMPORTANT STEPS)
(IMPORTANT STEPS)
########################################################################################
Part 6: CLEANING UP
18. GO TO PORT FOLDER ,DELETE UNWANTED STUFF LIKE, UBOOT.IMG ,SCATTER ETC
########################################################################################
19. MAKE ZIP OF BOOT.IMG,SYSTEM,META-INF AND FLASH VIA UR CWM RECOVERY,TWRP ETC
FAQ :
1. DOES THIS REALLY WORK ?
>> YES ,IT DOES ( I PORTED A MIUI V5 BASED ON KITKAT (BETA),hive ui rom,samsung s5 FROM MT6592 TO MT6582 )
2. WIL I GET LOTS OF BUGS ?
>> YES, ALMOST CERTAINLY YOU WILL. MAY NOT BE MAJOR BUT I DID HAVE BUGS LIKE FCs FOR SOME APPS
NOTE : TAKE A LOGCAT AND TRY TO FIX IT OR ASK HERE
NOTE : PLEASE DO NOT HOLD ME OR THE XDA FORUM RESPONSIBLE FOR ANY DAMAGES CAUSED BY YOU.
IF YOUR DEVICES EXPLODES, GOES TO MARS, GIVES BIRTH TO A DRAGON, CAUSES WAR, MAKES AN OMLETTE OR GETS YOU MARRIED CONSIDER IT FATE AND LIVE WITH IT>
CREDITS :
GOOGLE
XDA
ME([email protected])
PART 1
STEP 3
is it base folder or port folder -to delete the hw , modules ,soundfx
i think it's port folder
correct it
Excellent guide
[email protected] said:
HELLO FOLKS,
INTRODUCING A CROSS PLATFORM ROM PORTING GUIDE FOR MTK SOCs
Code:
[SIZE="4"][COLOR="Red"]NOTE : [/COLOR][/SIZE]THIS GUIDE HAS 6 PARTS, ONE FOR THE SYSTEM FOLDER CHANGES AND THE OTHER FOR THE BOOT.IMG MODIFICATIONS.
WARNINGS :-
1) THIS GUIDE IS INTENDED FOR DEVELOPERS ONLY.
2) NEWBIES MAY FIND IT COMPLICATED SO PLEASE DO NOT TRY THIS. (RESEARCH A LITTLE MORE BEFORE YOU TRY THIS)
MTK CROSS PLATFORM ROM PORTING GUIDE ​
REQUIRMENTS:
1. FULLY UNDERSTAND THE ROM PORTING GUIDE (PLEASE FOLLOW THE GUIDE FROM XDA.)
2. THIS GUIDE WILL ONLY WORK FOR MTK SOCs WITH THE SAME GPU.
(EXAMPLE: MT6582 <------>MT6592 (BOTH CHIPSETS HAVE MALI GPU)
3. BASE ROM (STOCK ROM) AND PORT ROM . SHOULD HAVE THE SAME ANDROID SDK LEVEL.
(EXAMPLE: 4.2.x<---->4.2.x , 4.4.x<---->4.4.x ,ETC )
4. A FULLY FUNCTIONING BRAIN AND EXPERTISE
LETS BEGIN :
PART 1 : SYSTEM FOLDER CHANGES
----------------------------------
1.
A) MAKE 2 NEW FOLDERS ON DESKTOP
B)EXTRACT THE STOCK ROM IN THE 1ST FOLDER (NAME IT AS BASE),
C)EXTRACT THE ROM YOU WANT TO PORT TO THE 2ND FOLDER (NAME IT AS PORT)
2.
A) OPEN BASE FOLDER >SYSTEM>BIN>
B) COPY ALL BIN FILES TO THE PORT FOLDER>SYSTEM>BIN> AND PASTE IT REPLACEING ANY EXISTING FILES
(DO NOT DELETE THE FILES THAT HAVE NOT BEEN REPLACED.)
3.
A) OPEN BASE FOLDER >SYSTEM> LIB >
B) DELETE THE HW,MODULE,SOUNDFX FOLDERS
C) COPY HW FOLDER,MODULE FOLDER (IF THIS EXISTS IN YOUR STOCK KK ROM ),SOUNDFX FOLDER TO THE PORT FOLDER >SYSTEM>LIB > PASTE HERE (REMEMBER TO DELETE THE HW,MODULE,SOUNDFX FOLDERS FIRST))
4.
A) OPEN BASE FOLDER >SYSTEM> LIB>
B) COPY ALL LIB FILES(.SO) TO THE PORT FOLDER >SYSTEM>LIB > PASTE HERE AND REPLACE EXISTING FILES
5.
A) OPEN ROM ZIP FILE WITH WINRAR/WINZIP/7-ZIP/
B) EXTRACT THE LIB FOLDER (PRESENT INSIDE THE SYSTEM FOLDER)> INTO A SEPARATE FOLDER.
WE NEED ONLY THE FOLLWOING FILES FOR THE NEXT STEP.
>>libandroid_runtime.so
>>libandroid_servers.so
>>libandroidfw.so
>> libjavacore.so
>> libjavacrypto.so
6. COPY 5 LIBRARY FILES MENTIONED IN STEP 5 AND MOVE IT TO THE PORT FOLDER'S >LIB FOLDER> PASTE THERE AND REPLACE EXISTING FILES
7.
A) OPEN PORT ROM ZIP FILE WITH WINRAR/WINZIP/7-ZIP/
B)EXTRACT THE LIB FOLDER (PRESENT INSIDE THE SYSTEM FOLDER)> INTO A SEPARATE FOLDER.
WE NEED ONLY THE FOLLWOING FILES FOR THE NEXT STEP.
>>libwebp_android.so
>>libwebrtc_audio_preprocessing.so
>>libwebviewchromium.so
>> libwebviewchromium_plat_support.so
(IMPORTANT FILES )
8. COPY THE 4 LIBRARY FILES MENTIONED IN STEP 7 AND MOVE IT TO THE PORT FOLDER'S >LIB FOLDER> PASTE THERE AND REPLACE EXISTING FILES
9. REPLACE THE VENDOR FOLDER IN THE PORT FOLDER WITH THE VENDOR FOLDER FROM THE BASE
10 CHANGE BOOTANIMATION IN THE PORT FOLDER>MEDIA FOLDER> (ACC. TO YOUR SCREEN RESOLUTION USE YOUR STOCK BOOTANIMATION IF YOU DONT HAVE A SIMILAR RESOLUTION BOOT ANIMATION FILE)
11.
A) OPEN THE PORT FOLDER>SYSTEM>ETC > ABD DELETE THE FOLLWOING
FIRMWARE,
MDDB(SOME ROMS MAY NOT HAVE THIS,SO IF YOUR ROM DOES NOT, IGNORE IT)
B) COPY THESE TWO FOLDERS FROM BASE TO PORT>SYSTEM>ETC>
12.
A) OPEN BASE FOLDER >SYSTEM>ETC>
B) COPY AUDIOEFFECT, AUDIOPOLICY, MEDIACODECS FILES TO PORT FOLDER>ETC FOLDER> PASTE THERE REPLACING EXISTING FILES
13.
A) OPEN THE BASE ROM FOLDER'S >SYSTEM>XBIN> FOLDER
B) COPY THE libmnlp_mt65xx(DIFF ACC TO CHIPSET LIKE MT6582,MT6592) FILE TO PORT FOLDER>SYSTEM>XBIN > PASTE IT THERE
C) DELETE PORT ROM'S libmnlp_mt65xx
########################################################################################
PART 2 : EDITING THE BOOT.IMG (CRITICAL)
14.
----------------------------------------------------------------------------------------
(USE DSIXDA'S KITCHEN/ MTK FIRMWARE ADAPTER OR ANY OTHER BOOT.IMG DECOMPILER/COMPILER OF YOUR CHOICE)
>> EXTRACT BOTH BOOT.IMG (BASE AND PORT)
>> OPEN BASE BOOT>INIT.RC AND COMPARE WITH PORT'S INIT.RC AND CHANGE BOOTCLASSPATH IF PRESENT
AND OTHER REGARDING THEMES ETC.
>> OPEN BASE BOOT>PROJECT.RC AND COMPARE IT WITH PORT'S PROJECT.RC AND DO CHANGES WHICH IS EXTRA IN PORT
>> OPEN BASE BOOT>ENVIRONMENT.RC AND COMPARE IT WITH PORT'S ENVIRONMENT.RC AND DO CHANGES WHICH IS EXTRA IN PORT (THIS IS ABSENT IN JB ,SO DON'T WORRY ABOUT IT)
>> PACK IT , COPY NEW BOOT.IMG AND PASTE ,REPLACE IN PORT FOLDER
########################################################################################
PART 3 : Build.prop
15.
A) NOW OPEN PORT FOLDER>SYSTEM>BUILD.PROP> AND CHANGE MT65xx TO YOUR CHIPSET ACC TO UR STOCK BUILD.PROP ,
B) ALSO THE WLAN LINE mT65xx TO UR CHIPSET ACC TO UR STOCK BUILD.PROP
++++++++++++++++++++++++++++++++++++++++++++
mediatek.wlan.chip=CONSYS_MT6582
mediatek.wlan.module.postfix=_consys_mt6582
++++++++++++++++++++++++++++++++++++++++++++
########################################################################################
PART 4: UPDATER-SCRIPT EDIT
16.
A) OPEN META-INF>ANDROID>UPDATER-SCRIPT AS TEXT EDITIOR(IN NOTEPAD++ OR U PREFER ANY OTHER)
B) CHANGE MOUNTPOINT ACC. TO UR STOCK ROM'S UPDATER-SCRIPT
C) ALSO THIS LINE --> symlink("wlan_mt65xx.ko", "/system/lib/modules/wlan.ko"); (MT65XX DEPEND ON UR STOCK ROM UPDATER-SCRIPT)
SAVE IT
########################################################################################
PART 5: FRAMEWORK EDIT
17.
A. GO TO BASE> SYSTEM>FRAMEWORK>COPY SERVICES.JAR(MAKE SURE DEODEXED)
>> USING BASKMALI.JAR UNPACK IT (NAME AS S)
B) DO THE SAME WITH PORT>SYSTEM>FRAMEWORK> SERVICES.JAR(MAKE SURE DEODEXED)
>> USING BASKMALI.JAR UNPACK IT (NAME AS CLASSOUT)
>>NOW OPEN THE S FOLDER>ANDROID>SERVER AND SEARCH OF THESE FILES
MOUNTSMALI** (U WILL GET LOTS OF FILE STARTING WITH MOUNT),COPY THESE FILES
PASTE & REPLACE IN THE CLASSOUT FOLDER>ANDROID>SERVER>HERE
>> PACK THE CLASSOUT FOLDER USING SMALI.JAR
> PUSH IN SERVICES.JAR(PORT) AND PASTE IN SAME LOCATION AS MENTIONED IN STEPS 17.
(IMPORTANT STEPS)
(IMPORTANT STEPS)
########################################################################################
Part 6: CLEANING UP
18. GO TO PORT FOLDER ,DELETE UNWANTED STUFF LIKE, UBOOT.IMG ,SCATTER ETC
########################################################################################
19. MAKE ZIP OF BOOT.IMG,SYSTEM,META-INF AND FLASH VIA UR CWM RECOVERY,TWRP ETC
FAQ :
1. DOES THIS REALLY WORK ?
>> YES ,IT DOES ( I PORTED A MIUI V5 BASED ON KITKAT (BETA),hive ui rom,samsung s5 FROM MT6592 TO MT6582 )
2. WIL I GET LOTS OF BUGS ?
>> YES, ALMOST CERTAINLY YOU WILL. MAY NOT BE MAJOR BUT I DID HAVE BUGS LIKE FCs FOR SOME APPS
NOTE : TAKE A LOGCAT AND TRY TO FIX IT OR ASK HERE
NOTE : PLEASE DO NOT HOLD ME OR THE XDA FORUM RESPONSIBLE FOR ANY DAMAGES CAUSED BY YOU.
IF YOUR DEVICES EXPLODES, GOES TO MARS, GIVES BIRTH TO A DRAGON, CAUSES WAR, MAKES AN OMLETTE OR GETS YOU MARRIED CONSIDER IT FATE AND LIVE WITH IT>
CREDITS :
GOOGLE
XDA
ME([email protected])
Click to expand...
Click to collapse
Hey from which all chipsets can i port roms to my mt6577?? I hav ported frm mt6577 and a few from mt6589 with d help of other guides .. So can u plz tell frm which all can i port wid dis guide?
Papdya said:
Hey from which all chipsets can i port roms to my mt6577?? I hav ported frm mt6577 and a few from mt6589 with d help of other guides .. So can u plz tell frm which all can i port wid dis guide?
Click to expand...
Click to collapse
u can pick up any chipset make sure gpu company is same
Ok thanks.
In step 5:
5.
A) OPEN ROM ZIP FILE WITH WINRAR/WINZIP/7-ZIP/
B) EXTRACT THE LIB FOLDER (PRESENT INSIDE THE SYSTEM FOLDER)> INTO A SEPARATE FOLDER.
Stock or port zip rom?
Thanks!
Worked well after first try. Thanks for this guide
Just one problem so far, My mt6592 Roms got an Power Saving feature for Cpu under Battery Tab in Settings. How can i port this?
Edit: I've looking more into this now, still no process. Really need some thoughts
Traace said:
Worked well after first try. Thanks for this guide
Just one problem so far, My mt6592 Roms got an Power Saving feature for Cpu under Battery Tab in Settings. How can i port this?
Edit: I've looking more into this now, still no process. Really need some thoughts
Click to expand...
Click to collapse
pm u... great to see u ...this guide worked well
what happens if i try do to this with a rom that is not MTK based?
what to do if GPU are differnt ?
that is port rom have mali nd stock have PowerVR
plz help
pepexzz said:
In step 5:
5.
A) OPEN ROM ZIP FILE WITH WINRAR/WINZIP/7-ZIP/
B) EXTRACT THE LIB FOLDER (PRESENT INSIDE THE SYSTEM FOLDER)> INTO A SEPARATE FOLDER.
Stock or port zip rom?
Thanks!
Click to expand...
Click to collapse
Same question. Can you exp clearly for us this step? Thank.
toanlaptop said:
Same question. Can you exp clearly for us this step? Thank.
Click to expand...
Click to collapse
Steps 5 and 6 go together.
Extract the LIB folder of BASE ROM to anywhere you want. Then copy and replace the bolded files below to the PORT ROMs LIB folder.
5.
A) OPEN ROM ZIP FILE WITH WINRAR/WINZIP/7-ZIP/
B) EXTRACT THE LIB FOLDER (PRESENT INSIDE THE SYSTEM FOLDER)> INTO A SEPARATE FOLDER.
WE NEED ONLY THE FOLLWOING FILES FOR THE NEXT STEP.
>>libandroid_runtime.so
>>libandroid_servers.so
>>libandroidfw.so
>> libjavacore.so
>> libjavacrypto.so
6. COPY 5 LIBRARY FILES MENTIONED IN STEP 5 AND MOVE IT TO THE PORT FOLDER'S >LIB FOLDER> PASTE THERE AND REPLACE EXISTING FILES
Click to expand...
Click to collapse
theKramer said:
Steps 5 and 6 go together.
Extract the LIB folder of BASE ROM to anywhere you want. Then copy and replace the bolded files below to the PORT ROMs LIB folder.
Click to expand...
Click to collapse
Thank for your help. I'll try again. I've failure many time
toanlaptop said:
Thank for your help. I'll try again. I've failure many time
Click to expand...
Click to collapse
I havent done this myself. I am just helping to explain what the author wrote..
baksmali was not able to to unpack my stock services.jar then i changed the services.jar extension to .zip and when i opened it there was no classes.dex file inside it. is it ok if i take the services.jar from another rom which i ported successfully with no bugs ?
hey thanks
but after porting rom like this my stats bar is not showing :crying::crying::crying:
Nayeem Hossain said:
but after porting rom like this my stats bar is not showing :crying::crying::crying:
Click to expand...
Click to collapse
Patch systemui.
miuiv6 6582 problem
anyone knows how to fix swap storage in miui v6 in KK mt6582 ? the sdcard0 is phone storage and sdcard0 is memory card .. tnx
Tech N You said:
Patch systemui.
Click to expand...
Click to collapse
How to patch my system ui
would please tell me??
or any guide ???
---------- Post added at 10:45 AM ---------- Previous post was at 10:32 AM ----------
[email protected] said:
pm u... great to see u ...this guide worked well
Click to expand...
Click to collapse
this file is missing on my boot.img PROJECT.RC and ENVIRONMENT.RC
what to do??
lildhiel08 said:
anyone knows how to fix swap storage in miui v6 in KK mt6582 ? the sdcard0 is phone storage and sdcard0 is memory card .. tnx
Click to expand...
Click to collapse
From stock boot.img search for file init_nossd.rc or anyfile related to init then ssd and in boot of port do same open both with notepad++ and then from stock copy whole as it is and replace with port and repack boot.img and flash

How to port roms to your mtk with android device

HOW TO PORT ROMS TO YOUR MTK WITH ANDROID DEVICE
Most of us have always wanted to use custom roms but there just no custom roms for our devices so we just use different app launchers and uninstall some bloatware to make our stock rom feel good.
Rom porting makes it possible to use a custom rom on your mtk device provided in this tutorial they have the same chipset (example: mtk 6582 ported to mtk6582).
THINGS NEEDED :
1. B1 archiver / ES FILE EXPLORER
2. Root Browser.
4. A rooted device is also needed but not much important if you have CWM INSTALLED WITHOUT ROOT.
PROCEDURE :
1. Make a backup of your current rom, preferably CWM backup. You can either use MTK DROID TOOLS or ROM MANAGER...
The location of the backup will be at clockwork/backup/"date and time of the backup ". This is very important since we will need stuff from the back up and we will also use the backup to recover the phone should the ported rom give any problems.
2. At this point I presume you have already downloaded the apps needed and the custom rom you want to use which is in a zip format( this was not important but I had to bring it up cause I know zombies could be reading this.
3. Now extract the custom Rom with Root Browser. if you extracted with Root Browser then the location will be "speedsoftware/extracted/"folder with the name of the custom rom "".
4. Now open Root Browser and open the folders side by side "custom rom which will be ported at one side and other side will be used for searching for the location of the things needed for the custom rom.
5. Delete the following from the Custom rom:
Boot.img
logo.bin (You do this only when you like the Your current logo.bin)
system/vendor
system/usr
system/lib/hw
system/lib/modules
system/lib/libncurses.so
system/etc/firmware
system/etc/vold.fstab
system/etc/vold.fstab.nand
system/etc/bluetooth
6. Now that you have deleted them from the custom rom replace them. You will find the boot.img at clockworkmod/back/"folder with date and time"/boot.img. The rest of the files and folders will br located in the Root /system. Just copy and paste
7. Now at the custom Rom panel go back to where you find the "META-INF" folder,open /google/android will now long press on "updater script" and tap on open with then select text editor.
8. Check The mount & format point check something like this mmcblk0p. A number is always written after the "P" replace the number of your BASE to PORT.
9. Check multi select in B1 archiver Select ( do not archive the folder the files are in but the individual files in the folder containing the extracts)
10. Compress to ZIP file wait till the process finished. Now boot to recovery and flash your ROM
Good luck in porting Your Rom... I have used this method to port 5 roms including AROMA ROMS. and I have never ported a Rom with a pc before
MAYBE U NEED TO EXTRACT THE BOOT IMG TOO IF THIS DIDNT WORKED
DO IT AS FOLLOWS
Requirements:
-- BusyBox (cpio, gunzip and gzip is mandatory)
-- /System Write Permissions (Does not need to be a modified kernel)
-- Terminal Emulator
-- ES File Explorer (or similar)
-- Hex Editor (or use of DD)
-- Open up your android terminal emulator.
-- Now go ahead and pull your boot.img from your device (or use another one if you wish)
-- Open up your boot.img with the Hex Editor and look for: ANDROID!. Remove everything before it so that the ANDROID! header is the first to be read then save it over top of the boot.img. NOTE: This is only required if you are using a stock boot.img.
OR USE THIS IF U DIDNT UNDERSTOOD THIS
Hello Everyone, I’ll show you how to Unpack and Repack your Phone’s Boot.img & Tweak Karnel. Lets start.
Make a new folder named “boot edit” in cache/
image
Pull your boot.img in this folder
image
Now open ApkTool. Long press on “cache“, click on Get Access Permission.
image
Open cache folder and do same with boot edit. Give ApkTool access permission
image
Open boot edit, click on boot.img select Expack(MT65xx), press ok
image
It will unpack your boot.img.
image
Now open file manager & go to cache/boot edit/. You wil find your unpacked boot.
image
Now edit/modify the files or tweak karnel.
Again open ApkTool. Goto cache/boot edit click on ramdisk select repack-mt65xx.
image
It will repack your boot.
image
You will find an img file named new.img
image
This file is your Tweaked/edited/custom boot.img!!
Flash it via Recovery or Flashify & Enjoy..
FOR DETAILED AND STEP WISE GUIDE WITH SCREEN SHOTS SEE HERE
Mod Edit: link removed
XDA:DevDB Information
HOW TO PORT ROMS TO YOUR MTK WITH ANDROID DEVICE, ROM for all devices (see above for details)
Contributors
manhar2108, manhar2108, 2108kick
Source Code: Mod Edit: link removed
ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.4.x
Based On: all
Version Information
Status: Stable
Created 2015-08-16
Last Updated 2015-08-16
HIT THANKS IF I HELPED U
Good guide..
Especially for noobs....
Darshan601 said:
Good guide..
Especially for noobs....
Click to expand...
Click to collapse
i too am a noob so i tried and made this guide
how bout porting 5.1 rom to 4.4.2 stock?
what should I consider?
aside from tweaking kernel
manhar2108 said:
i too am a noob so i tried and made this guide
Click to expand...
Click to collapse
Yeah....Even I am a noob
gunzgunz said:
how bout porting 5.1 rom to 4.4.2 stock?
what should I consider?
aside from tweaking kernel
Click to expand...
Click to collapse
just replace all these files and use stock kernal to port them
good luck
Sir i tried your guide in porting rom. Mt6582 tp mt6582 chipset roms.. But after replacing those files you mentioned and when i flashed it to my phone, it was tuck in boot screen and keep on restarting. How am I going to fix this?
Thread closed. Pay per click links are not allowed on XDA.
Darth
Forum Moderator

port Miui 8 from Moto x Play

Hello dear team XDA Developers.
Before many thanks for all the technological contributions that we share day by day.!!!
I need your support and collaboration, I am trying to make the port of the ROM MIUI 8 of the xiaomi Mi4i device for the motorola x play I followed the following tutorial, but I could not pass the boot.
Things do you need:
PC/Laptop
MIUI ROM : Can for en.miui.com/download or other. The important is the same chipset, like Qualcomm Snapdragon 200 Dual Core 1.2Ghz Cortex-A7 and Adreno 302 (That's is my Moto E dual SIM chipset)
Boot.img unpacker (Android Image Kitchen) Here is the link.
Notepad++ or WordPad
WinRAR or 7zip
Prepare 5 window on your desktop
1. Window PORT ROM window (ported results, first leave it blank) = (P)
2. Window STOCK ROM window (Extract Stock rom here) = (S)
3. Window BASE ROM window (MIUI Rom V5 extract here) = (B)
4. Android Image Kitchen Window (S)
5. Android Image Kitchen Window (B)
NB:
P=Port
S=Stock
B=Base
1st Chapter, META-INF.
1. Copy the META-INF (S) to the window (P)
Here in use updater-script (S), edit UI PRINT with which you prefer.
2. Replace All SET PERMISSION and symlinks in Updater Script (P) to have (B), remember that replaced only part SET PERMISSION & symlink ALONE!, SHOULD THE FORMAT PARTITION WITH STOCK ROM (S)!, IF YOU OWN ANY negligent BRICK YOUR DEVICE!
2nd Chapter, boot.img
1. Extract the Android Image Kitchen, in which two different places to make it easier.
2. Copy the boot.img (S) and (B) in each folder android image in the kitchen which has been extracted earlier.
3. Drag the file to the boot.img unpackimg.bat, and boot.img already tar extracts.
4. Open the ramdisk folder, open the file init.rc (S) & (B) with Notepad ++, delete the row EXPORTBOOTCLASSPATCH ... (S), and copy lines bootclasspath ... (B) to init.rc (S), Tarok in place which removed earlier, SAVE.
5. Return to the Kitchen Android Image (S), click repackimg.bat, copy-new.img image file (s) into the window (P), rename it so boot.img. So boot.img in use that have (S) which has been edited earlier.
3rd Chapter, SYSTEM
1. Copy the folder system (B) and all its contents to the window (P)
2. Copy and replace files BIN (S) is, to BIN (P):
NETD
Wpa_suplicant
Wpa_cli
Fmconfig
Sensorservice
Radiooptions
Hostapd
dhcpcd
Vold
netcfg
Hostapd_cli
Mpdecision
Fm_qsoc_patches
Ifconfig
3. Copy and replace files / folders ETC (S) is, to the ETC (P):
Folder dhcpcd
Folder FIRMWARE
Folder PERMISSIONS
Folder PPP
Folder WIFI
Audio_effects.conf, audio_policy.conf, audioFilter.csv
DHCPD-run-hooks, gps.conf, hosts, media_profiles.xml, init.qcom.wifi.sh
Vold.emmc.fstab & Vold.fstab
4. Copy and replace files / folders LIB (S) is, to LIB (P):
Folder MODULES
Folder HW, except files, audio_policy * .so, hwcomposer * .so
All files Libchromatic * .so
All files LibOmx * .so
Mmi_audio.so
Libhardware_legacy.so
Libgps.so
Libgps.utils.so
Libaudioalasa.so, libaudiosffect_jni.so, libaudioeq.so, libaudioutils.so
Libwpa_client.so
Liboemcamera.so
Libcameraservice.so
All files libmmcamera * .so
Libsensorservice.so
All files libvideo * .so
Mmi_audio.so
All files mmi_camera * .so
Mmi_wifi.so
Mmi_battery.so
Liboem_rapi.so
Libcamera_client.so
5. Copy and replace Folder USR (P) with USR folder (s)
6. Edit Bulid.prop to edit information / add tweaks
Final Chapter, MAKE ZIP INSTALLER
1. Block All Files & Folders in the window (P), the META-INF, system and boot.img.
2. Right-click, select add to archive .. (use winrar), select the zip file, rename it, press OK
3. Now it's finished zip files, can be installed directly via CWM or TWRP
Tutorial How to Fix Bug on MIUI ROM Qualcomm Chipset.. This is just a basic.. Still many a method for fix bug. My Experience in port ROM MIUI on Qualcomm Chipset, opportunities for having a bug is 10 to 30%.. Most of them wifi, camera, does not signal the emergence of either SIM1 or 2, USB Mass Storage and Sensoring.. For that I share this thread! So, here is it!!!
1. SIGNAL BUGS
Replace all files ending librilxxx.so in system / lib with the files from the stock rom.
If the signal is still on, Please check IMEI and MEID * # 06 # IMEI and MEID null if trying to flash part of your EFS.
Part EFS is a backup for the ICS: mmcblk0p9, mmcblk0p10, mmcblk0p11, To JB: mmcblk0p6, mmcblk0p7, mmcblk0p8.
2. SENSOR BUGS
Replace sensorservice file in system / bin with files from stock rom
Replace libsensorservice.so file in system / lib with the files from the stock rom
Replace sensor.default.so file in system / lib / hw with files from stock rom
3. CAMERA BUGS
Replace all files berextensi mm-qcameraxxx in system / bin with files from stock rom
Change file-qcamera v4I2-app in system / bin with filedari stock rom
Replace camera.msm7627a.so file in system / lib / hw with files from stock rom
Change the file libcamera_client.so and libcameraservice.so in system / lib with files from stock rom
Replace all libmmcameraxxx.so files in system / lib with the files from the stock rom
4. WIFI BUGS
Replace the wpa_supplicant file in system / bin with files from stock rom
Replace the firmware folder and wifii in system / etc with files from stock rom
Change the file wifitest_recv.sh and wifitest_send.sh in system / etc with files from stock rom
Replace libwpa_client.so file in system / lib with the files from the stock rom
Replace cfg80211.ko file in system / lib / modules with files from stock rom
Replace ath6kl folders in system / lib / modules with files from stock rom
Replace the files in the folder with the file system wifi from stock rom
NB: if none of the above files in the system folder on the add port rom download of files stock rom also commonly
5. GPU BUGS
Replace all files in the folder egl in system / lib with files from stock rom
6. USB BUGS
Replace vfold.fstab file in system / etc with files from stock rom
NB: if there are still bugs to be repck boot.img and please pelototin ramdisknya where settings for usb: v
I would greatly appreciate your support and collaboration in my case.
anyone tryed to port?
rober788 said:
anyone tryed to port?
Click to expand...
Click to collapse
I have tried to port without some positive result I still need help, someone else who can contribute, some developer of XDA developer that can help us
lsolis293 said:
I have tried to port without some positive result I still need help, someone else who can contribute, some developer of XDA developer that can help us
Click to expand...
Click to collapse
I tryed to make the port too, but i didnt manage to get to make the zip ...
Check whether the build.prop is set with permission 755. If not set and try.
Maybe Miui of Xiaomi Mi4i is based on android 5.0.1 and Moto X Play started with android 5.1 , different bases. Have you ever tried patchrom of miui? Its a little longer but maybe more effective..
I too tried porting and was able to make zip using patchrom but I wasn't able to get past boot.

[Guide] How to unpack/repack diffrent img files easily without pc.

Hey, today in this post I've discussed on the topic
"How to unpack/repack img without PC or android tools (android tool is a little complicated and sometimes doesn't works)."
So let's get started
First of all download & install 'android image studio'
1: open it and click on repack/unpack
2: select the port ROMs boot or recovery img.
3: we get two folders
a.) Split_img --->> contains kernal zimage.
b.) Ramdisk----> contains init.rc recovery. Fstab etc..
4: to delete any file long press on it and click delete
5: to import any file click on import button in right panel & select the file
6: after making desired changes. Repack the img using repack button
7: a file will be created with the name image-new.img
8: export this file using export button and select the desired location.
Congratulations you have just ported an img without PC easily.
Link for the tool: https://play.google.com/store/apps/details?id=com.redlee90.imagekitchenforandroid
Link to my video toitorial for better understanding on this:
If you liked it just PRESS the THANKS button
I need more help, trying to open a .IMG boot file for Samsung s5, it gives the "No Image Supplied" error
Screenshot
Using AIS. Trying to port custom recovery but first thing I've tried is to just unpack and repack stock recovery. When repacking output of AIS is new IMG and new ramdisk. New IMG is smaller than original but from what I've read this should be okay. Flashed new IMG and attempted reboot recovery and all I got was black screen. Flashed stock recovery and it booted recovery fine. Not sure what I'm doing wrong. I used AIS to open the new image it created and then kept doing file/folder comparisons on the output. I narrowed down the difference being recovery.img-ramdisk.cpio. But when I unpack with cpio the contents of the archive are the same. Additionally, I repacked the contents with cpio but it still comes up as not matching the original recovery.img-ramdisk.cpio. My device can and does make replacement recovery images using applypatch with bonus files and boot img. Any help greatly appreciated!

[FIRMWARE] Modified Stock rom ULEFONE NOTE 9P

ULEFONE NOTE 9P, Stock rom is not real bloated, but just a little.
From Build
GQ3092SH1-HC-M629-ULEFONE-20200703_V05
Patch for the newer build (20200904-V07) is ready for sharing also.
****NOTE TESTING HAS NOT BEEN DONE ON MIXING NEW SYSTEM.IMG ON OLD VENDOR*****
****RECOMMEND DOING FULL UPDATE OR DOWNGRADE BEFORE FLASHING MODIFIED SYSTEMS****
Stock roms are published on ULEFONE gdrive.
https://drive.google.com/drive/folders/1Bq16pmRMaFEVT_xZilWhhdzTzk9fojV8
I removed the adupus/FOTA apps, child mode, simple_mode, mfg customization to chrome, verizon provider remote sim lock app.
Added adaway hosts file for ad-blocking in browser.
Flashed back to phone in same way as flashing GSI rom.
adb reboot fastboot (fastbootd, not bootloader)
fastboot flash system modified-system.img ( fastboot.exe on pc needs to be from July 202 or newer)
when flashing is done, from menu on phone screen select boot to recovery.
perform factory reset and reboot.
https://www.androidfilehost.com/?w=files&flid=318156
In case you are wondering , how I made changes. I will tell you.
I used SuperR-Kitchen script/ tool
credits to @SuperR.
Start a new project. Add the stock firmware. Needs to be as a zip. So extract the embed-ed *.rar file downloaded from Ulefone. Re-zip just the contents of the final folder. In other words, the zip needs to be the files, not the files inside a folder, inside other folder.
The kitchen will ask if you want to extract the vendor and product images and use them in you rom. I did not make changes to those partitions, so did not extract or include them.
When unpacking is completed. You can browse the extracted system folder.
The attached files have an .txt extension in order to upload them here. But in the kitchen tool you need to remove the extension.
Code:
Add "host" file to /system/system/etc in your extracted rom folder and replace host file that is already there.
Add "bloat_custom" to the kitchen folder "super_r/tools/root/
run #6 debloat menu then #2custom debloat option from kitchen #8 rom tools menu
run deodex option from #8 rom tools
When edits are done. Use #8 rom tools , #7 build menu, #2 build etx4 img
select system, then sparse, system.img
Keep permission type as raw_image
That's all. Use caution when adding additional programs you want removed.
Hi. On Ulefone Gdrive, there are both android 10 and 11 rom files. but it says upgrading from 10 to 11 is 'forbidden'. Is there any way to bypass this restriction?
Edit for those who are wondering: Ulefone has removed the restriction and it can be upgraded to android 11 without any issue. You do lose your data during the process, though.

Categories

Resources