Lewa,Miui,Colour OS,Aosp and another roms porting tutorial MT6582 to MT6582 - OS Porting

Lewa,Miui,Colour OS,Aosp and another roms porting tutorial MT6582 to MT6582
It is very Hard
Requirements :
*Windows XP/7/8
* 7-Zip
* Notepad++
* Java Jdk
* Cygwin
* Boot.img Unpack/Repack Tools or Android
kitchen
* Stock ROM
*Port RomRom
[N.B : There are two type roms
1. Stock rom [ orginal rom from your
mobile ]
2. Port rom [ Whichever you want to port
rom ]]
*SO NOW PORTING START
+ Replace it from your stock rom to the port
rom
[ FOLDER & FILE TO REPLACING ]
*system/etc/firmware
*system/etc/permission/platform.xml
*system/etc/permission/
handheld_core_hardware.xml
*system/lib/hw
*system/lib/modules
*system/lib/ libaudio.primary.default.so
*system/lib/ libcamdrv.so
*system/lib/libcamalgo.so
*system/lib/libcameracustom.so
*system/lib/libdpframework.so
*system/lib/ libsensorservice.so
*system/lib/libvcodecdrv.so
*system/lib/libsync.so
*system/usr/keylayout
[ FIXING PROBLEM ]
Sim card problem :
*system/bin
SD Card Problem :
*system/etc/vold.fstab
*system/etc/vold.fstab.nand
Camera Focus Problem :
*system/lib/libcameraservice.so
[NB:These step not required for Walton
Primo GF,GH,GH+ & GH2]
Boot loop problem :
*system/lib/libandroid_runtime.so
*system/lib/libandroid_servers.so
*system/lib/libmedia_jni.so
Other Problem :
*system/etc/dhcpcd
*system/etc/permissions
*system/etc/security
*system/etc/audio
*system/etc/bluetooth
*system/etc/wifi
*system/lib/drm
*system/lib/egl
*system/lib/soundfx
* Now open build.prop in notpad++ and change your language.
English user :
ro.product.locale.language=en
ro.product.locale.region=US
* Replace the stock boot.img to port rom
* Unpack Boot.img (Both) then open init.rc (Both) and find these line....
on early_property:ro.build.type=user
write /proc/bootprof "INIT: user build setting"
export BOOTCLASSPATH /system/framework/
core.jar:/system/framework/core-junit.jar:/
system/framework/bouncycastle.jar:/system/
framework/ext.jar:/system/framework/
framework.jar:/system/framework/telephony-
common.jar:/system/framework/mms-
common.jar:/system/framework/
android.policy.jar:/system/framework/
services.jar:/system/framework/apache-xml.jar:/
system/framework/mediatek-common.jar:/
system/framework/mediatek-framework.jar:/
system/framework/secondary-framework.jar:/
system/framework/CustomProperties.jar:/system/
framework/mediatek-telephony-common.jar:/
system/framework/mediatek-op.jar
on early_property:ro.build.type=userdebug
write /proc/bootprof "INIT: userdebug build
setting"
export BOOTCLASSPATH /system/framework/
core.jar:/system/framework/core-junit.jar:/
system/framework/bouncycastle.jar:/system/
framework/ext.jar:/system/framework/
framework.jar:/system/framework/telephony-
common.jar:/system/framework/mms-
common.jar:/system/framework/
android.policy.jar:/system/framework/
services.jar:/system/framework/apache-xml.jar:/
system/framework/mediatek-common.jar:/
system/framework/mediatek-framework.jar:/
system/framework/secondary-framework.jar:/
system/framework/CustomProperties.jar:/system/
framework/mediatek-telephony-common.jar:/
system/framework/mediatek-op.jar
on early_property:ro.build.type=eng
write /proc/bootprof "INIT: eng build setting"
export BOOTCLASSPATH /system/framework/
core.jar:/system/framework/core-junit.jar:/
system/framework/bouncycastle.jar:/system/
framework/ext.jar:/system/framework/
framework.jar:/system/framework/telephony-
common.jar:/system/framework/mms-
common.jar:/system/framework/
android.policy.jar:/system/framework/
services.jar:/system/framework/apache-xml.jar:/
system/framework/mediatek-common.jar:/
system/framework/mediatek-framework.jar:/
system/framework/secondary-framework.jar:/
system/framework/CustomProperties.jar:/system/
framework/mediatek-telephony-common.jar:/
system/framework/mediatek-op.jar:/system/
framework/emma.jar
** Now replacing these line Form port Boot.img to Stock Boot.img
* Then Repacke boot.img and built a new boot.img
[# Camera Drive problem fixing]
* Again Extract the boot.img for android kitchen
[ Both stock & port boot.img]
* and open init.rc/# camera
* Find these missing line port to stock
boot.img and whole missing line paste it
( #Camera )
Example :
#Camera
chmod 0660 /dev/camera-sysram
chmod 0660 /dev/camera-isp
chmod 0660 /dev/camera-pipemgr
chmod 0660 /dev/kd_camera_hw
chmod 0660 /dev/kd_camera_flashlight
chmod 0660 /dev/kd_camera_hw_bus2
chmod 0660 /dev/FM50AF
chmod 0660 /dev/OV8825AF
chmod 0660 /dev/OV88252AF
chmod 0660 /dev/OV8850AF
chmod 0660 /dev/CAM_CAL_DRV
chown system camera /dev/camera-sysram
chown system camera /dev/camera-isp
chown system camera /dev/camera-pipemgr
chown system camera /dev/kd_camera_hw
chown system camera /dev/
kd_camera_flashlight
chown system camera /dev/
kd_camera_hw_bus2
chown system camera /dev/FM50AF
chown system camera /dev/OV8825AF
chown system camera /dev/OV88252AF
chown system camera /dev/OV8850AF
chown system camera /dev/CAM_CAL_DRV
* Now repack boot.img
* Open the Port rom folder go to META-
INF/google/Android / and open updater-script
in Notpad++
And change these line.......
[mmcblkOp3 ----- mmcblkOp9]
[ Example for WALTON PRIMO GH2
[mmcblkOp6]]
* Now go to back the folder of port rom and
you will see two folder and one file name
+ META-INF
+ system
+ boot.img
* Now select these 2 folder 1 file and click
right mouse button and click on 7zip ->>
add to archive
* Now a dialouge box should
appear!
* Configure the Format like This:
Archive format: ZIP
Compression Level : Normal
Compression Method: Deflate
Dictoioany Size: 32k
Word Size 32
* Now Start Zipping and Push the
ZIP to your Memory Card
* Go to Recovery >> Install ZIP &
Wipe Data
Finished!!
_______________A.S.NOMAN KHAN

Continous bootloop
sir,i tried lewa os for Symphony H100 ,from Walton Primo R3 kitkat. i tried with stock boot image then patched boot image then patched boot image + 3 files you mentioned for bootloop ,every time there is bootloop. boot animation ends and starts again .please help......................

port any best rom for lava iris 405+
Sent from my iris405+ using xda app-developers app

Nice guide bro...
Sent from my Android One using XDA Free mobile app

Good bro
thanks

Related

[ENG.DEV.] Sony Bravia Engine -Des/HD2!- HQ IMAGE/MOVIE Quality Improvements

Hello guys i'm very happy to share with you this...BRAVIA ENGINE! Enjoy
I tell about this: video
IT's A Post-Processing Engine, so you can view the improvements only on your phone's screen...enjoy new quality!
1) GUIDE for Manual Installation on each Rom! (2.2 & 2.3)
-Download BraviaE Files Pack: HERE
-Extract files on phone and put they in the directory:
Code:
[B]/system/etc[/B]
-Open /system/build.prop with a text editor (like RootExplorer)
and add these lines at the end:
Code:
#Additional Tweaks by XxXPachaXxX
#Bravia Engine Service
ro.service.swiqi.supported=true
persist.service.swiqi.enable=1
-Then, Save the file and Exit
-Now, set the right permissions or open a terminal emulator and execute:
Code:
su
busybox chmod 0755 /system/etc/be_photo
busybox chmod 0755 /system/etc/be_movie
busybox chown 0.0 /system/etc/be_photo
busybox chown 0.0 /system/etc/be_movie
-Fully Reboot the device and enjoy BRAVIA
2) FLASHABLE ZIPs FOR Some ROMs
*NEW*- Universal Pack (flash on all roms!): DOWNLOAD
GOOD!!!!
woek bravia on typhoon rom? 2.3.7? cyanogenmod
What is different with ?
Senior XxXPachaXxX thanks for this thread only one problem!!!
What is different between this thread with This
essi_baba said:
Senior XxXPachaXxX thanks for this thread only one problem!!!
What is different between this thread with This
Click to expand...
Click to collapse
Right I am thinking here we go again....
Yes this definitely has been posted before, unless the OP has something different to add to it?
chrisrj28 said:
Yes this definitely has been posted before, unless the OP has something different to add to it?
Click to expand...
Click to collapse
file size is the same and seems the modify time is different, but the crc32 is the same also.
Miui 11.12.09 Dorimax kernel 2.7, tested on Miui Gallery + QuickPic + Stock 3D Gallery ..and nothings different ~~
sorry,
how do i flash this tweak to the rom i am using?
im refering to step 2.
thanks for any help.
Doesn't work, no difference at all..
Yes this was posted before and it was never proven that there was a concrete difference or improvement.
XxXPachaXxX said:
Hello guys i'm very happy to share with you this...BRAVIA ENGINE! Enjoy
I tell about this: video
IT's A Post-Processing Engine, so you can view the improvements only on your phone's screen...enjoy new quality!
1) GUIDE for Manual Installation on each Rom! (2.2 & 2.3)
-Download BraviaE Files Pack: HERE
-Extract files on phone and put they in the directory:
Code:
[B]/system/etc[/B]
-Open /system/build.prop with a text editor (like RootExplorer)
and add these lines at the end:
Code:
#Additional Tweaks by XxXPachaXxX
#Bravia Engine Service
ro.service.swiqi.supported=true
persist.service.swiqi.enable=1
-Then, Save the file and Exit
-Now, set the right permissions or open a terminal emulator and execute:
Code:
su
busybox chmod 0755 /system/etc/be_photo
busybox chmod 0755 /system/etc/be_movie
busybox chown 0.0 /system/etc/be_photo
busybox chown 0.0 /system/etc/be_movie
-Fully Reboot the device and enjoy BRAVIA
2) FLASHABLE ZIPs FOR Some ROMs
*NEW*- Universal Pack (flash on all roms!): DOWNLOAD
Click to expand...
Click to collapse
thanks for the efforts !!
but i cant find any major difference !!!
the main limitation over here is the 65k colors of hd2 display !! :O !!!
Already beaten to death here - http://forum.xda-developers.com/showthread.php?t=1318814
Anything new in this version?

Metasploit console on ADB without chroot, working!

Well I've been working on getting the Kali Linux toolkit to run on Android without a chroot and I did it, just gotta mount all the subfiletree's or whatever to where they belong in Androids root dir ,"/" (NOT "/root") and set up the paths in the enviroment a it seems to be working.
I spent way more time researching and planning out exactly how I was going to exicute this, it still has some kinks as some of the filesystems clash or have files of the same name but with slightly moified content, I guess I gotta dig through all those and patch em up so it all flows together, I just ran on the presumtion that it was all compiled for arm and I think it all runs on the android kernel when you chroot into an img file. I basically just mounted the kali.img file and instead of chrooting into that I went backwords and moved everything into Androids root.
Im working on a script with sanity checks and error collection and all that, I am still learning bash, linux, kernel, android, all like a summer cram session so please forgive me if I dont know or it takes time to share something I think is even slightly worthy for ya'll.
Anyways for those interested here is a bit of the tail end of what all this research has become, I think metasploit uses ruby, so if msf is working I guess that is too... here it is
Code:
localhost etc # ls
CHANGELOG-CM.txt gps.conf ppp
CHANGES.txt hosts recovery-resource.dat
NOTICE.html.gz init.d security
apns-conf.xml init.goldfish.sh snd_soc_msm
audio_effects.conf init.qcom.efs.sync.sh ssh
audio_policy.conf init.qcom.mdm_links.sh system_fonts.xml
bash init.qcom.modem_links.sh terminfo
bluetooth init.qcom.post_boot.sh thermald-8064.conf
boot_fixup init.qcom.thermal_conf.sh thermald-8930.conf
build-manifest.xml media_codecs.xml thermald-8960.conf
dbus.conf media_profiles.xml thermald.conf
dhcpcd mkshrc vold.fstab
event-log-tags nano wifi
fallback_fonts.xml nfcee_access.xml
firmware permissions
localhost / # mount --rbind $subset/etc /etc
localhost / # which apt-get
/usr/bin/apt-get
localhost / # which mfsconsole
localhost / # which msfconsole
/usr/bin/msfconsole
localhost / # msfconsole
IIIIII dTb.dTb _.---._
II 4' v 'B .'"".'/|\`.""'.
II 6. .P : .' / | \ `. :
II 'T;. .;P' '.' / | \ `.'
II 'T; ;P' `. / | \ .'
IIIIII 'YvP' `-.__|__.-'
I love shells --egypt
Easy phishing: Set up email templates, landing pages and listeners
in Metasploit Pro's wizard -- type 'go_pro' to launch it now.
=[ metasploit v4.7.0-2013071701 [core:4.7 api:1.0]
+ -- --=[ 1131 exploits - 638 auxiliary - 180 post
+ -- --=[ 309 payloads - 30 encoders - 8 nops
stty: standard input: Bad file number
msf > exit
localhost / # ls
acct init.trace.rc
bin init.usb.rc
cache initlogo.rle
charger lib
config lpm.rc
d media
data mnt
default.prop opt
dev persist
efs proc
etc res
extSdCard root
firmware run
fstab.qcom sbin
init sdcard
init.cm.rc srv
init.goldfish.rc storage
init.qcom.class_core.sh sys
init.qcom.class_main.sh system
init.qcom.early_boot.sh tmp
init.qcom.lpm_boot.sh tombstones
init.qcom.rc ueventd.goldfish.rc
init.qcom.sh ueventd.qcom.rc
init.qcom.syspart_fixup.sh ueventd.rc
init.qcom.usb.rc usbdisk0
init.qcom.usb.sh usr
init.rc var
init.recovery.qcom.rc vendor
init.target.rc
localhost / # exit
exit
[email protected]:/ #
EDIT: Please note that to get this working I had to "su -c bash" so that some of the mount commands would work properly, this is why is says "localhost / #" and not "[email protected]:/ #", its bash and thats the same interpreter the normal chroot throws you into. This is bash from Androids / directory.
My kind of thinker. I'll have to look into this!
Sent from my SPH-L710 using xda app-developers app
Haven't gotten time to try out your mod yet but thought I'd let you know I did get Kali Linux installed on my GS3 and metasploit runs relatively well ssh'ing through terminal!
Sent from my SPH-L710 using xda app-developers app

Porting turtorial for MT6582 To MT6582

How to Port MT6582 to MT6582
OR,
How to Port all MTK Device KITKAT & JellyBean(MT65xx & MT65xx)
It is very esy.....
Requirements :
*Windows XP/7/8
* 7-Zip
* Notepad++
* Java Jdk
*Cywing
* Boot.img Unpack/Repack Tools or Android kitchen
* Stock ROM
*Port RomRom
[N.B : There are two type roms
1. Stock rom [ orginal rom from your mobile ]
2. Port rom [ Whichever you want to port rom ]]
*SO NOW PORTING START......
# TIPS FOR SYSTEM FOLDER
+++ Replace it from your stock rom to the port rom
##jelly Bean
*system/etc/firmware [[Delete to port Rom & Copy from Stock Rom]]
*system/etc/permission/platform.xml
*system/etc/permission/handheld_core_hardware.xml
*system/lib/hw [[Delete to port Rom & Copy from Stock Rom]]
*system/lib/modules [[Delete to port Rom & Copy from Stock Rom]]
*system/lib/ libaudio.primary.default.so
*system/lib/ libcamdrv.so
*system/lib/libcamalgo.so
*system/lib/libcameracustom.so
*system/lib/libdpframework.so
*system/lib/ libsensorservice.so
*system/lib/libvcodecdrv.so
*system/lib/libsync.so
*system/usr/keylayout
##KITKAT ONLY
*system/bin/pq
*system/bin/vold
*system/etc/bluetooth
*system/etc/firmware
*system/etc/permission/platform.xml
*system/etc/permission/handheld_core_hardware.xml
*system/etc/wifi
*system/etc/apns-conf.xml
*system/lib/egl [[Delete to port Rom & Copy from Stock Rom]]
*system/lib/hw [[Delete to Port Rom & Copy from Stock Ron]]
*system/lib/modules [[Delete to port rom & Copy from stock rom]]
*system/lib/libaudio.primary.default.so
*system/lib/libcamdrv.so
*system/lib/libcamalgo.so
*system/lib/libcameracustom.so
*system/lib/libcameraservice.so
*system/lib/libdpframework.so
*system/lib/libsensorservice.so
*system/lib/lilbinput.so
*system/lib/libinputservice.so
*system/lib/libvcodecdrv.so
*system/lib/libsync.so
*system/usr/keylayout
*system/vendor [[Delete to Port Rom & Copy from stock rom Stock Rom ]]
*system/xbin/libmnlp_mt65xx
[N.B Some Rom Not Port, Flow The Next 2 Step ]
STEP 1
*system/bin/pq
*system/bin/vold
*system/etc/bluetooth
*system/etc/firmware
*system/etc/permission/platform.xml
*system/etc/permission/handheld_core_hardware.xml
*system/etc/wifi
*system/etc/apns-conf.xml
*system/lib [Delete Port Lib Folder And Pest Stock Lib Folder ]
*system/usr/keylayout
*system/vendor [[Delete to Port Rom & Copy from stock rom Stock Rom]]
*system/xbin/libmnlp_mt65xx
STEP 2
## Delete to some folder port rom & copy form same folder stock rom
*system/bin
*system/etc
*system/lib
*system/usr
*system/vendor
*seystem/xbin
N.B : Some rom not port
[ FIXING PROBLEM ]
Sim card problem :
*system/bin
SD Card Problem :
*system/bin/vold
*system/etc/vold.fstab
*system/etc/vold.fstab.nand
Camera Focus Problem :
*system/lib/libcameraservice.so
Boot loop problem :
*system/lib/libandroid_runtime.so
*system/lib/libandroid_servers.so
*system/lib/libmedia_jni.so
Other Problem :
*system/etc/dhcpcd
*system/etc/permissions
*system/etc/security
*system/etc/audio
*system/etc/bluetooth
*system/etc/wifi
*system/lib/drm
*system/lib/egl
*system/lib/soundfx
* Replace the stock boot.img to port rom
* Now open the Port rom folder go to META-INF/google/Android / and open updater-script in Notpad++
And change these line.......
[mmcblkOp3 ----- mmcblkOp9]
* Now go to back the folder of port rom and you will see two folder and one file name
+ META-INF
+ system
+ boot.img
* Now select these 2 folder 1 file and click right mouse button and click on 7zip ->> add to archive
* Now a dialouge box should
appear!
* Configure the Format like This:
Archive format: ZIP
Compression Level : Normal
Compression Method: Deflate
Dictoioany Size: 32k
Word Size 32
* Now Start Zipping and Push the
ZIP to your Memory Card
* Go to Recovery >> Install ZIP &
Wipe Data
Finished!!
[# Camera Drive problem fixing]
* Extract the boot.img for android kitchen [ Both stock & port boot.img]
* and open init.rc/# camera
* Find these missing line port to stock boot.img and whole missing line paste it (#Camera)
Example :
#Camera
chmod 0660 /dev/camera-sysram
chmod 0660 /dev/camera-isp
chmod 0660 /dev/camera-pipemgr
chmod 0660 /dev/kd_camera_hw
chmod 0660 /dev/kd_camera_flashlight
chmod 0660 /dev/kd_camera_hw_bus2
chmod 0660 /dev/FM50AF
chmod 0660 /dev/OV8825AF
chmod 0660 /dev/OV88252AF
chmod 0660 /dev/OV8850AF
chmod 0660 /dev/CAM_CAL_DRV
chown system camera /dev/camera-sysram
chown system camera /dev/camera-isp
chown system camera /dev/camera-pipemgr
chown system camera /dev/kd_camer
______________A.s. Noman Khan
Hi I got a mtk6582 device, I got a similar phone in Malaysia/Indonesia they called it Evercoss A7V in my country we call it cloudfone excite 502q, i was able to install their rom (Galaxy S5) the only thing here is the camera, it says could not connect to the camera... what steps should I do?
tested?
I guess the first question I have to ask is have you tested this on any custom ROM?
"...It is very esy....." REALLY?!?
Did you do it practically? If so then could you please mention from which device to which you ported???
Because I can see many senior developers here are trying to do it. But, there is no success... but, you did it with just mere notepad. BRAVO!
solv
sirhca13 said:
Hi I got a mtk6582 device, I got a similar phone in Malaysia/Indonesia they called it Evercoss A7V in my country we call it cloudfone excite 502q, i was able to install their rom (Galaxy S5) the only thing here is the camera, it says could not connect to the camera... what steps should I do?
Click to expand...
Click to collapse
MT6582 mobile camera not conect:
STEP 1:
copy these from stock ROM to port ROM
system\lib\hw\camera.default.so
(N.B.if you have two files like camera.goldfish.so delete this the one with the goldfish)
system/lib/ libcamdrv.so
system/lib/libcamalgo.so
system/lib/libcameracustom.so
system/lib/libdpframework.so
system\etc\permissions\android.hardware.camera.xml
STEP 2:
unpcack the boot.img from Port ROM
open init.rc file add/replace below lines
#Camera
#chmod 0660 /dev/FM50AF
chmod 0660 /dev/OV8825AF
chmod 0660 /dev/CAM_CAL_DRV
#chown system camera /dev/FM50AF
chown system camera /dev/OV8825AF
chown system camera /dev/CAM_CAL_DRV
& repack boot.img
####
Camera Force closed or camera not conect :
copy these from stock rom to port Rom
system\lib\hw\camera.default.so
system\lib\libcamera_client.so
system\lib\libcameracustom.so
system\lib\libcameraprofile.so
system\lib\libcameraservice.so
system\lib\libmhal.so
system\lib\libmhalcontent.so
system\lib\libmhaldrv.so
system\lib\libmhalmdp.so
system\lib\libmhalpipe.so
system\lib\libmhalscenario.so
system\lib\libmhalutility.so
system\etc\permission\android.hardware.camera.front.xml
system\etc\permission\android.hardware.camera.xml
FOR CAMERA NOT CONNECTED ISSUE /CAMERA GREEN /CAMERA FORCE CLOSE "unfortunately camera has stopped"
Replace first libcamdrv.so (needed for 6582
devices) and check if not success then replace
libcameraservice.so from/lib.
Camera Focus Problem :
system/lib/libcameraservice.so
system/lib/libfeatureio.so from
[NB:These step not required for some mobile]
Thanks Bro for the Guide
thanks bro for this nice guide :good:
but bro my phone get bricked every time while porting this rom (http://forum.xda-developers.com/android/development/themed-aosp-kk-gionee-m2-t2949199) to my micromax a120 kk.
Bro please help me.... how can i port this rom to my device. :crying:
i try to port to my lenovo s860...
4.2.2 JB for miui and aosp..
bug on internal storage unmount and loudspeaker problem..
i try many time to put vold.fstab and vold.fstab.nand...but still problem
on camera show "Please insert sd card before using camera"
but this s860 doesnt have sdcard slot..
please help me...
Sd card mount
ghaf85 said:
i try to port to my lenovo s860...
4.2.2 JB for miui and aosp..
bug on internal storage unmount and loudspeaker problem..
i try many time to put vold.fstab and vold.fstab.nand...but still problem
on camera show "Please insert sd card before using camera"
but this s860 doesnt have sdcard slot..
please help me...
Click to expand...
Click to collapse
Replace Stock to Port...
System/bin/vold
How to port Lollipop ROM from Android one Device to Micromax Unite 2 both being MT6582 device, but OS, Android one being 5.1, and Unite 2 5.0???
Good day. may carry the rom 5.0 lollipop doogee DG700 any other mtk6582? regards
error
Hi big thanks for you bro!:good:
btw my device is accessgo a4e which spesification is similiar to wiko raibow.
I got problen after porting wiko raibow's ROM (Cleankat by umang) to my device there was a message from CMW "Installation aborted" when I was flashing the rom
can you help me?
Try to flash through another CWM
Sent from my Micromax A106 using XDA Free mobile app
Everything is operating normally
but
Opened off screen is black
light sensor does not work
Full light continuously
How do I fix
good but
hey bro i ported some roms to my 6582 but i have a problem is when i port and flash my custom rom, my cel lost the imei and i dont have any solution (MTK droid and tools, xposed, mobile uncle tools etc) <-------------- anithing of this apps could restore my imei help pls:crying::crying::crying::good:
Can I port lollipop?
Selviiin said:
hey bro i ported some roms to my 6582 but i have a problem is when i port and flash my custom rom, my cel lost the imei and i dont have any solution (MTK droid and tools, xposed, mobile uncle tools etc) <-------------- anithing of this apps could restore my imei help pls:crying::crying::crying::good:
Click to expand...
Click to collapse
Hello sir,
Use mobile uncle imei writer tool. Just install it on PC and fallow the process on prompt window.its so easy.and after you making that file (file name should like this MP_0B1).
=>>copy that file and paste it on below location in your phone root.
Root >> data >> nvram >> Md >> Nvd_imei >> place that file and change the permissions to rw-rw-rw.
=>> Restart it and you back to your signal......
A.S.Noman Khan said:
How to Port MT6582 to MT6582
OR,
How to Port all MTK Device KITKAT & JellyBean(MT65xx & MT65xx)
It is very esy.....
Requirements :
*Windows XP/7/8
* 7-Zip
* Notepad++
* Java Jdk
*Cywing
* Boot.img Unpack/Repack Tools or Android kitchen
* Stock ROM
*Port RomRom
[N.B : There are two type roms
1. Stock rom [ orginal rom from your mobile ]
2. Port rom [ Whichever you want to port rom ]]
*SO NOW PORTING START......
# TIPS FOR SYSTEM FOLDER
+++ Replace it from your stock rom to the port rom
##jelly Bean
*system/etc/firmware [[Delete to port Rom & Copy from Stock Rom]]
*system/etc/permission/platform.xml
*system/etc/permission/handheld_core_hardware.xml
*system/lib/hw [[Delete to port Rom & Copy from Stock Rom]]
*system/lib/modules [[Delete to port Rom & Copy from Stock Rom]]
*system/lib/ libaudio.primary.default.so
*system/lib/ libcamdrv.so
*system/lib/libcamalgo.so
*system/lib/libcameracustom.so
*system/lib/libdpframework.so
*system/lib/ libsensorservice.so
*system/lib/libvcodecdrv.so
*system/lib/libsync.so
*system/usr/keylayout
##KITKAT ONLY
*system/bin/pq
*system/bin/vold
*system/etc/bluetooth
*system/etc/firmware
*system/etc/permission/platform.xml
*system/etc/permission/handheld_core_hardware.xml
*system/etc/wifi
*system/etc/apns-conf.xml
*system/lib/egl [[Delete to port Rom & Copy from Stock Rom]]
*system/lib/hw [[Delete to Port Rom & Copy from Stock Ron]]
*system/lib/modules [[Delete to port rom & Copy from stock rom]]
*system/lib/libaudio.primary.default.so
*system/lib/libcamdrv.so
*system/lib/libcamalgo.so
*system/lib/libcameracustom.so
*system/lib/libcameraservice.so
*system/lib/libdpframework.so
*system/lib/libsensorservice.so
*system/lib/lilbinput.so
*system/lib/libinputservice.so
*system/lib/libvcodecdrv.so
*system/lib/libsync.so
*system/usr/keylayout
*system/vendor [[Delete to Port Rom & Copy from stock rom Stock Rom ]]
*system/xbin/libmnlp_mt65xx
[N.B Some Rom Not Port, Flow The Next 2 Step ]
STEP 1
*system/bin/pq
*system/bin/vold
*system/etc/bluetooth
*system/etc/firmware
*system/etc/permission/platform.xml
*system/etc/permission/handheld_core_hardware.xml
*system/etc/wifi
*system/etc/apns-conf.xml
*system/lib [Delete Port Lib Folder And Pest Stock Lib Folder ]
*system/usr/keylayout
*system/vendor [[Delete to Port Rom & Copy from stock rom Stock Rom]]
*system/xbin/libmnlp_mt65xx
STEP 2
## Delete to some folder port rom & copy form same folder stock rom
*system/bin
*system/etc
*system/lib
*system/usr
*system/vendor
*seystem/xbin
N.B : Some rom not port
[ FIXING PROBLEM ]
Sim card problem :
*system/bin
SD Card Problem :
*system/bin/vold
*system/etc/vold.fstab
*system/etc/vold.fstab.nand
Camera Focus Problem :
*system/lib/libcameraservice.so
Boot loop problem :
*system/lib/libandroid_runtime.so
*system/lib/libandroid_servers.so
*system/lib/libmedia_jni.so
Other Problem :
*system/etc/dhcpcd
*system/etc/permissions
*system/etc/security
*system/etc/audio
*system/etc/bluetooth
*system/etc/wifi
*system/lib/drm
*system/lib/egl
*system/lib/soundfx
* Replace the stock boot.img to port rom
* Now open the Port rom folder go to META-INF/google/Android / and open updater-script in Notpad++
And change these line.......
[mmcblkOp3 ----- mmcblkOp9]
* Now go to back the folder of port rom and you will see two folder and one file name
+ META-INF
+ system
+ boot.img
* Now select these 2 folder 1 file and click right mouse button and click on 7zip ->> add to archive
* Now a dialouge box should
appear!
* Configure the Format like This:
Archive format: ZIP
Compression Level : Normal
Compression Method: Deflate
Dictoioany Size: 32k
Word Size 32
* Now Start Zipping and Push the
ZIP to your Memory Card
* Go to Recovery >> Install ZIP &
Wipe Data
Finished!!
[# Camera Drive problem fixing]
* Extract the boot.img for android kitchen [ Both stock & port boot.img]
* and open init.rc/# camera
* Find these missing line port to stock boot.img and whole missing line paste it (#Camera)
Example :
#Camera
chmod 0660 /dev/camera-sysram
chmod 0660 /dev/camera-isp
chmod 0660 /dev/camera-pipemgr
chmod 0660 /dev/kd_camera_hw
chmod 0660 /dev/kd_camera_flashlight
chmod 0660 /dev/kd_camera_hw_bus2
chmod 0660 /dev/FM50AF
chmod 0660 /dev/OV8825AF
chmod 0660 /dev/OV88252AF
chmod 0660 /dev/OV8850AF
chmod 0660 /dev/CAM_CAL_DRV
chown system camera /dev/camera-sysram
chown system camera /dev/camera-isp
chown system camera /dev/camera-pipemgr
chown system camera /dev/kd_camer
______________A.s. Noman Khan
Click to expand...
Click to collapse
I think this should work if both roms have the same kernel
Sent from my B15Q using XDA Free mobile app
Thanks for the guide!
Can i use this guide to port rom for my device?
But i my stock rom is aosp lollipop.
Which files or folders i must change?
Please help me!
5.1 to mt6582
Harikrish44 said:
How to port Lollipop ROM from Android one Device to Micromax Unite 2 both being MT6582 device, but OS, Android one being 5.1, and Unite 2 5.0???
Click to expand...
Click to collapse
try this : http://en.miui.com/thread-156445-1-1.html

Start service using an init.d script

Hello all!
How can I turn some commands from init.rc and ueventd.rc files under boot.img into bash scripts put in init.d folder?
Reason: I have a device with TV, but most ROMs are made for its brother model without TV. Trying to port TV after installing any of these ROM, I've already found all libs, apk and framework files needed for it to work. But I still need to flash stock ROM kernel, which is not always the best choice or even possible depending on the ROM I'm using (e.g. AOSP based).
These are the commands contained in ueventd.rc:
Code:
#latin Mobile TV
/dev/isdbt 0660 system system
And these are the commands contained in init.d:
Code:
#++latin_mm:lkj for MobileTV [ISDBT]
mkdir /data/one-seg 0775 system system
chown system system /data/one-seg
chmod 0775 /data/one-seg
#--latin_mm:lkj for MobileTV [ISDBT]
#++latin_mm:lkj for MobileTV [ISDBT]
service mobileTV /system/bin/broadcastProcessObserver_ltn
class main
user system
group system audio camera graphics inet net_bt net_bt_admin net_raw sdcard_rw
service nexplayer /system/bin/nexprocess_ltn
class main
user system
group system audio camera graphics inet net_bt net_bt_admin net_raw sdcard_rw
#--latin_mm:lkj for MobileTV [ISDBT]
Up

Adding additional languages in EUI

After I lost a lot of time to add additional languages to the EUI, I want to share how it is done.
I used ready translations from this rom:
LeTV LeEco Le Pro3-X720 Android 6.0 Qualcomm Snapdragon 821 Smartphone Firmware
blog.geekbuying.com/2016/12/letv-leeco-le-pro3-x720-android-6-0-qualcomm-snapdragon-821-smartphone-firmware-211030-161230/
Required folders and files:
/system/framework
/system/framework/framework-res.apk - System wide languages
/system/priv-app/Settings/oat/arm64/Settings.odex
/system/priv-app/Settings/Settings.apk
Apktool.zip:
drive.google.com/file/d/1pLhHEhxOR7NvFr1T6FFVZoF8hskcDZPE/view?usp=sharing
unzip to C:
cd C:\Apktool
STEP 1: delete old frameworks
Code:
apktool empty-framework-dir --force
STEP 2: Decoding & Building framework-res
Code:
apktool d framework-res.apk
- Now make your changes
Code:
apktool b framework-res -o framework-res-new.apk
copy new resources.arsc from framework-res-new.apk without compression into original framework-res.apk
STEP 3: install a rom framework-res; check C:\Users\%USERNAME%\AppData\Local\apktool\framework
Code:
apktool if framework-res.apk
copy folder \system\framework to C:\Apktool
STEP 4: Decoding & Building Settings.apk
plus.google.com/112981865005880407431/posts/MAmuc5LkcEh
Code:
java -jar baksmali-2.2.4.jar deodex Settings.odex -b framework\arm\boot.oat -d framework -o out
java -Xmx1024m -jar smali-2.2.4.jar assemble out -o classes.dex
pack resulting classes.dex without compression into original Settings.apk
Code:
apktool d Settings.apk
- Now make your changes
Code:
apktool b Settings -o Settings-new.apk
copy new resources.arsc from Settings-new.apk without compression into modified Settings.apk
STEP 5:
delete framework-res.apk in /system/framework/framework-res.apk on your device.
Copy a new framework-res.apk from /sdcard/ to /system/framework/. Set permissions to 644.
Code:
chmod 644 /system/framework/framework-res.apk
delete Settings.apk and Settings.odex in /system/priv-app/Settings/ on your device.
Copy a new Settings.apk from /sdcard/ to /system/priv-app/Settings/. Set permissions to 644.
Code:
chmod 644 /system/priv-app/Settings/Settings.apk
Wipe -> Advanced Wipe -> Dalvik / ART Cache

Categories

Resources