stock 10e Odex
- stock 10e (tmobile)
- rooted
- zipaligned
- busy box
- tmobile bloat removed
- made a change to build.prop to stop ota nag
- base for others to play with
update
ok, I had a chance to play with the 769BK again, and was able to get this far, Since i sold my Phone I cant do much more. This might have bugs,and problems i missed, The problem is The locked bootloader and Formatting /system the correct way. LG did some interesting security things i give them that, but i wont start my rant ..
Anyway, Make a nandroid backup, and use at your own risk, you have been warned!, for anyone that wants to use this and fix anything I missed feel free just mention me somewhere in your description, I put a lot of time into this, and again since i don't have the phone anymore this is all i can do (feel free to email me another one ), hope this helps someone in getting tons of roms for users here. again use with caution, make something out of this, and fix anything i missed!
A big thanks to my friend for letting me play with her 769BK, your a brave girl
Known issues
- deleteing apks causes some weirdness on reboot (again only had 3 hours to test this)
think it might be a permission thing and or LG lol
- deleting carrier iq from rom would have caused setup wizard to crash
Click to expand...
Click to collapse
"I am not responsible if your phone does the following"
bricks / blows up / or stops loving you
download
iB4STiD said:
minimal display of boredom
- based off stock 10e (tmobile)
- deodexed
- rooted
- zipaligned
- busy box
- tmobile bloat removed
- carrier iq removed
- adblocking, no need for an app
- boot sounds removed
- other stuff i forgot
update
well well, look like lg has a little security check.. after i flashed my rom...
I'm greeted with a lg security error boot screen , looks like the bootloader is indeed locked
Click to expand...
Click to collapse
WOW, you did it you know what will be great? including your JB theme! this way we gonna have our first CUSTOM ROM :good:
too bad i have a P760. but still i look further for the development of this one.
hamdimo said:
WOW, you did it you know what will be great? including your JB theme! this way we gonna have our first CUSTOM ROM :good:
too bad i have a P760. but still i look further for the development of this one.
Click to expand...
Click to collapse
just have to figure out a way around this security problem.. anyone have any ideas?
Re: [ROM][MDOB][v1][BETA][10e][TMOBILE][769BK]
Maybe Artas might have an idea?
Sent from my LG-P769 using Tapatalk 2
iB4STiD said:
just have to figure out a way around this security problem.. anyone have any ideas?
Click to expand...
Click to collapse
Do you mean the "Security Error"?
Is the P769 bootloader unlocked? If yes, maybe we can flash its bootloader to a P760..
As far as I know these commands will dump the bootloader:
Code:
su
dd if=/dev/block/platform/omap/omap_hsmmc.1/by-name/x of=/sdcard/external_sd/x-loader.img
dd if=/dev/block/platform/omap/omap_hsmmc.1/by-name/u of=/sdcard/external_sd/u-boot.img
sguerrini97 said:
Do you mean the "Security Error"?
Is the P769 bootloader unlocked? If yes, maybe we can flash its bootloader to a P760..
As far as I know these commands will dump the bootloader:
Code:
su
dd if=/dev/block/platform/omap/omap_hsmmc.1/by-name/x of=/sdcard/external_sd/x-loader.img
dd if=/dev/block/platform/omap/omap_hsmmc.1/by-name/u of=/sdcard/external_sd/u-boot.img
Click to expand...
Click to collapse
after hours of playing with this, heres what i found...
1) the bootloader is not letting me write over system, i can wipe the system but i cant write it, I dont think its my updater script, cause i never had this problem b4, then again i never had to deal with a locked bootloader,
2) the boot.img seems to flash but then im met with the lg logo with security error,
tried flashing with out boot.img but then i get a status 0 error, if some1 wants to look over the updater script and see if im missing something let me know, signing the rom doesn't help either so ya,
Im using the bootstrap recovery not sure if that could be an issue also, sigh to many what ifs here. btw soft bricking the phone is fun
iB4STiD said:
after hours of playing with this, heres what i found...
1) the bootloader is not letting me write over system, i can wipe the system but i cant write it, I dont think its my updater script, cause i never had this problem b4, then again i never had to deal with a locked bootloader,
2) the boot.img seems to flash but then im met with the lg logo with security error,
tried flashing with out boot.img but then i get a status 0 error, if some1 wants to look over the updater script and see if im missing something let me know, signing the rom doesn't help either so ya,
Im using the bootstrap recovery not sure if that could be an issue also, sigh to many what ifs here. btw soft bricking the phone is fun
Click to expand...
Click to collapse
Post your script and the output of the mount command so I can look at it.
kevev said:
Post your script and the output of the mount command so I can look at it.
Click to expand...
Click to collapse
Mount points
Code:
# mount point fstype device [device2]
/data ext4 /dev/block/platform/omap/omap_hsmmc.1/by-name/userdata
/cache ext4 /dev/block/platform/omap/omap_hsmmc.1/by-name/cache
/system ext4 /dev/block/platform/omap/omap_hsmmc.1/by-name/system
/misc emmc /dev/block/platform/omap/omap_hsmmc.1/by-name/misc
/persist ext4 /dev/block/platform/omap/omap_hsmmc.1/by-name/persist
/mlt ext4 /dev/block/platform/omap/omap_hsmmc.1/by-name/mlt
/dvp ext4 /dev/block/platform/omap/omap_hsmmc.1/by-name/divxkey
/ve ext4 /dev/block/platform/omap/omap_hsmmc.1/by-name/ve
/boot emmc /dev/block/platform/omap/omap_hsmmc.1/by-name/boot
/recovery emmc /dev/block/platform/omap/omap_hsmmc.1/by-name/recovery
updater-script
Code:
#ui_print("---------------------");
ui_print("MDOB v1 10e 769BK DEODEX");
ui_print("by iB4STiD");
ui_print("---------------------");
ui_print("");
ui_print("Applying Update");
show_progress(0.1, 0);
format("ext4", "EMMC", "/dev/block/platform/omap/omap_hsmmc.1/by-name/system");
mount("ext4", "EMMC", "/dev/block/platform/omap/omap_hsmmc.1/by-name/system", "/system");
package_extract_dir("system", "/system");
symlink("dumpstate", "/system/bin/dumpcrash");
symlink("toolbox", "/system/bin/cat");
symlink("toolbox", "/system/bin/chmod");
symlink("toolbox", "/system/bin/chown");
symlink("toolbox", "/system/bin/cmp");
symlink("debuggerd", "/system/bin/csview");
symlink("toolbox", "/system/bin/date");
symlink("toolbox", "/system/bin/dd");
symlink("toolbox", "/system/bin/df");
symlink("toolbox", "/system/bin/dmesg");
symlink("toolbox", "/system/bin/getevent");
symlink("toolbox", "/system/bin/getprop");
symlink("toolbox", "/system/bin/hd");
symlink("toolbox", "/system/bin/id");
symlink("toolbox", "/system/bin/ifconfig");
symlink("toolbox", "/system/bin/iftop");
symlink("toolbox", "/system/bin/insmod");
symlink("toolbox", "/system/bin/ioctl");
symlink("toolbox", "/system/bin/ionice");
symlink("toolbox", "/system/bin/kill");
symlink("toolbox", "/system/bin/ln");
symlink("toolbox", "/system/bin/log");
symlink("toolbox", "/system/bin/ls");
symlink("toolbox", "/system/bin/lsmod");
symlink("toolbox", "/system/bin/lsof");
symlink("toolbox", "/system/bin/mkdir");
symlink("toolbox", "/system/bin/mount");
symlink("toolbox", "/system/bin/mv");
symlink("toolbox", "/system/bin/nandread");
symlink("toolbox", "/system/bin/netstat");
symlink("toolbox", "/system/bin/newfs_msdos");
symlink("toolbox", "/system/bin/notify");
symlink("toolbox", "/system/bin/printenv");
symlink("toolbox", "/system/bin/ps");
symlink("toolbox", "/system/bin/reboot");
symlink("toolbox", "/system/bin/renice");
symlink("toolbox", "/system/bin/rm");
symlink("toolbox", "/system/bin/rmdir");
symlink("toolbox", "/system/bin/rmmod");
symlink("toolbox", "/system/bin/route");
symlink("toolbox", "/system/bin/schedtop");
symlink("toolbox", "/system/bin/sendevent");
symlink("toolbox", "/system/bin/setconsole");
symlink("toolbox", "/system/bin/setprop");
symlink("mksh", "/system/bin/sh");
symlink("toolbox", "/system/bin/sleep");
symlink("toolbox", "/system/bin/smd");
symlink("toolbox", "/system/bin/start");
symlink("toolbox", "/system/bin/stop");
symlink("toolbox", "/system/bin/sync");
symlink("toolbox", "/system/bin/top");
symlink("toolbox", "/system/bin/touch");
symlink("toolbox", "/system/bin/umount");
symlink("toolbox", "/system/bin/uptime");
symlink("toolbox", "/system/bin/vmstat");
symlink("toolbox", "/system/bin/watchprops");
symlink("toolbox", "/system/bin/wipe");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 06755, "/system/bin/ip");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(0, 0, 0755, "/system/etc/bluetooth");
set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor");
set_perm_recursive(0, 2000, 0755, 0755, "/system/vendor/bin");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/etc");
set_perm_recursive(0, 0, 0755, 0644, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/lib");
set_perm(0, 2000, 0755, "/system/vendor/lib/egl");
set_perm(0, 2000, 0755, "/system/vendor/lib/hw");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 1000, 0755, "/system/xbin/busybox");
symlink("/system/xbin/busybox", "/system/bin/busybox");
run_program("/system/xbin/busybox", "--install", "-s", "/system/xbin");
set_perm(0, 0, 06755, "/system/xbin/su");
symlink("/system/xbin/su", "/system/bin/su");
show_progress(0.1, 10);
show_progress(0.2, 0);
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"),
delete("/tmp/boot.img"));
show_progress(0.2, 10);
unmount("/system");
That looks like python. Is it?
If it is I need to see the "mount" function to check if it is mounting read/write or just read. The problem could be there.
Also, do you have the output of this code? Need to see where it errors.
the updater-script is in edify format, as far as the the log from cwm, heres the problem once the system formats its taking the bootstrap recovery with it. so i cant even get a log file. If this wasn't a bootstrap recovery life would be much much easier, cause after it softbricks i lose everything and have restore the whole system losing bootstrap in the process. Normally i would just be able back into recovery and restore nandroid backup and try again. But no that would be to simple
actually, let me see something brb...
Im going to try to mount system with busybox ... lets see, what the hell brb
ok, got it to write but not wipe right.... getting closer
iB4STiD said:
ok, got it to write but not wipe right.... getting closer
Click to expand...
Click to collapse
I know busybox. Shell is my friend. Let me know if I can help with anything.
kevev said:
I know busybox. Shell is my friend. Let me know if I can help with anything.
Click to expand...
Click to collapse
lol, well lets see, didn't need to use the busybox way around..
update
1) able to format and write to system
2) problem is something is wrong there is an extreme lag when phone starts up ...
3) getting very tired of playing with this
4) hating LG more and more each passing second!!
5) did i mention I hate LG?
ok going to try this for a bit more, off to brick my phone *again*
Update
well, b4 i throw this phone against the wall, im going to pull the system img from this piece of (censored) and try this again. If you guys don't hear from me its because I took a vacation....
someplace nice and warm, with lots of blonde chicks, and phones that arent made by LG.. i feel a rant coming on i should go
iB4STiD said:
Update
well, b4 i throw this phone against the wall, im going to pull the system img from this piece of (censored) and try this again. If you guys don't hear from me its because I took a vacation....
someplace nice and warm, with lots of blonde chicks, and phones that arent made by LG.. i feel a rant coming on i should go
Click to expand...
Click to collapse
lol! Good luck
p.s. Check the block size of the original system partition. The default size may be way too small or way too large on the new partition and this can cause slow read/write.
dumpe2fs /dev/sda1 | grep "Block size" (Replace sda1 with the correct device)
But this may be something hanging at load, so I may be way off. Just grabbing at straws here as I can't see what is happening.
kevev said:
lol! Good luck
p.s. Check the block size of the original system partition. The default size may be way too small or way too large on the new partition and this can cause slow read/write.
dumpe2fs /dev/sda1 | grep "Block size" (Replace sda1 with the correct device)
But this may be something hanging at load, so I may be way off. Just grabbing at straws here as I can't see what is happening.
Click to expand...
Click to collapse
Thanks.. i'll check sizes again everything is hazy at this point
Ok here what i found and yes after all this time im still doing this lol,
this doesnt work why? doesn't want to mount
Code:
ui_print("-Writing SYSTEM");
mount("ext4", "EMMC", "/dev/block/platform/omap/omap_hsmmc.1/by-name/system", "/system");
package_extract_dir("/dev/block/platform/omap/omap_hsmmc.1/by-name/system", "/system");
this does work to mount and write but LAG!!
Code:
run_program("/sbin/busybox", "mount", "/system");
package_extract_dir("system", "/system");
what i will try last, then i give up
Code:
run_program("/sbin/busybox", "mount", "/system");
package_extract_dir("/dev/block/platform/omap/omap_hsmmc.1/by-name/system", "/system");
if the above doesnt work i will package this up and if someone wants to give it a go, god bless you
ebay and this phone are looking good , soon very soon!
iB4STiD said:
if the above doesnt work i will package this up and if someone wants to give it a go, god bless you
ebay and this phone are looking good , soon very soon!
Click to expand...
Click to collapse
I'll probably be seeing you over on the Nexus 4 side eh? Even though it's LG it's unnnlooocccckkkeedddd
Re: [ROM][MDOB][v1][BETA][10e][TMOBILE][769BK]
I originally got the Galaxy S Blaze but traded it for this phone cause I wanted the bigger screen. I really hope it gets easier to develop on this phone
Sent from my LG-P769 using xda app-developers app
iB4STiD said:
Thanks.. i'll check sizes again everything is hazy at this point
Ok here what i found and yes after all this time im still doing this lol,
this doesnt work why? doesn't want to mount
Code:
ui_print("-Writing SYSTEM");
mount("ext4", "EMMC", "/dev/block/platform/omap/omap_hsmmc.1/by-name/system", "/system");
package_extract_dir("/dev/block/platform/omap/omap_hsmmc.1/by-name/system", "/system");
this does work to mount and write but LAG!!
Code:
run_program("/sbin/busybox", "mount", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p10", "/system");
what i will try last, then i give up
Code:
run_program("/sbin/busybox", "mount", "/system");
package_extract_dir("/dev/block/platform/omap/omap_hsmmc.1/by-name/system", "/system");
if the above doesnt work i will package this up and if someone wants to give it a go, god bless you
ebay and this phone are looking good , soon very soon!
Click to expand...
Click to collapse
This should let you know if the symlink is correct:
`ls -la /dev/block/platform/omap/omap_hsmmc.1/by-name/system`
Are you mounting twice in the second command? Maybe try `mount -t ext4 -o defaults,rw /dev/block/mmcblk0p10 /system`
or if /system is already mounted try this `mount -t ext4 -o rw,remount /dev/block/mmcblk0p10 /system`
I know the "rw" is redundant because "defaults" should include it. But i am just paranoid.
Jrkoffjonson said:
I'll probably be seeing you over on the Nexus 4 side eh? Even though it's LG it's unnnlooocccckkkeedddd
Click to expand...
Click to collapse
after I get my tax return, i'm ordering one, myself.
Hi Guys,
It is important to know that the porting process for lollipop pretty much remains the same to a large degree.. There are some hits and misses. But I am adding below a list of files that have been used as a replacement on the vibe 2.5 ROMs .
The Vibe 2.5 ROMS seem a little complicated and seem to need a large replacement set. If we find a shorter way or if you find a shorter way, please comment that and it can be a part of this guide.
This is specific to the Lenovo A7000 series . The source ROM is from a K3 note.
When you port an AOSP ROM , you may need lesser replacements in libs and bins, but you may need to replace the sdcard binary sometimes. so be careful and happy porting.
here is a list
-------------------------------------
bin
etc
lib
lib64
******************************************************
-------------------------------------
/system/bin
-------------------------------------
audiocmdservice_atci
bcc
bootanimation
ccci_mdinit
downloader
factory
gzip_static
hostapd
installd
ip6tables
ipod
iptables
make_ext4fs
mdnsd
mtkbt
ndc
netd
pq
recovery
vold
wpa_cli
wpa_supplicant
-------------------------------------
******************************************************
-------------------------------------
/system/etc
-------------------------------------
/system/etc/.tp overwrite
/system/etc/firmware replace all
/system/etc/mddb replace all
apns-conf.xml
spn-conf.xml
-------------------------------------
******************************************************
-------------------------------------
/system/lib
-------------------------------------
lib3a.so
lib3a_sample.so
libacdk.so
libadpcm.so
libAGifEncoder.so
libaudioflinger.so
libaudiopolicymanager.so
libaudiopolicymanagerdefault.so
libaudiopolicyservice.so
libbcc.so
libbcinfo.so
libbtcusttable.so
libc.so
libcam.camadapter.so
libcam.camnode.so
libcam.camshot.so
libcam.client.so
libcam.hal3a.v3.so
libcam.halsensor.so
libcam.iopipe.so
libcam.jni.lomohaljni.so
libcam.metadataprovider.so
libcam.paramsmgr.so
libcam.sdkclient.so
libcamalgo.so
libcamdrv.so
libcameracustom.so
libcameraservice.so
libcamera_client_mtk.so
libdpframework.so
libexif.so
libextsimap.so
libfeatureio.so
libhwui.so
libimageio.so
libimageio_plat_drv.so
libinputflinger.so
libjpeg.so
libLLVM.so
libm4u.so
libmdnssd.so
libmedia.so
libmediaplayerservice.so
libMiraVision_jni.so
libn3d3a.so
libnetd_client.so
libpng.so
libpq_cust.so
libquickshot.so
libRS.so
libRScpp.so
libRSCpuRef.so
libRSDriver.so
libshowlogo.so
libsqlite.so
libssl.so
libstagefright.so
libstagefright_omx.so
libstagefright_soft_aacdec.so
libstagefright_soft_aacenc.so
libstagefright_soft_flacenc.so
libstagefright_soft_hevcdec.so
libstagefright_wfd.so
libsurfaceflinger.so
mtk-ril.so
mtk-rilmd2.so
-------------------------------------
******************************************************
-------------------------------------
/system/lib64/egl
-------------------------------------
libGLES_mali.so
-------------------------------------
******************************************************
-------------------------------------
/system/lib64/hw
-------------------------------------
audio.primary.mt6752.so
audio_policy.default.so
gps.default.so
mmsdk.default.so
sensors.mt6752.so
-------------------------------------
******************************************************
-------------------------------------
/system/lib64
-------------------------------------
lib3a.so
lib3a_sample.so
libacdk.so
libaudiopolicymanager.so
libaudiopolicymanagerdefault.so
libaudiopolicyservice.so
libbcc.so
libbcinfo.so
libbinder.so
libbtcusttable.so
libc.so
libcam.camadapter.so
libcam.camnode.so
libcam.camshot.so
libcam.client.so
libcam.hal3a.v3.so
libcam.halsensor.so
libcam.iopipe.so
libcam.jni.lomohaljni.so
libcam.metadataprovider.so
libcam.paramsmgr.so
libcam.sdkclient.so
libcamalgo.so
libcamdrv.so
libcameracustom.so
libcameraservice.so
libcamera_client_mtk.so
libdpframework.so
libexif.so
libfeatureio.so
libhwui.so
libimageio.so
libimageio_plat_drv.so
libinputflinger.so
libjpeg.so
libLLVM.so
libm4u.so
libmdnssd.so
libmedia.so
libMiraVision_jni.so
libn3d3a.so
libnetd_client.so
libpac.so
libpng.so
libpq_cust.so
libquickshot.so
libRS.so
libRScpp.so
libRSCpuRef.so
libRSDriver.so
libsoundtrigger.so
libsqlite.so
libssl.so
libstagefright.so
libstagefright_omx.so
libstagefright_soft_aacdec.so
libstagefright_soft_aacenc.so
libstagefright_soft_flacenc.so
libstagefright_soft_hevcdec.so
libsurfaceflinger.so
-------------------------------------
Have these files ready in a folder separated into their respective folders.
NOTE:
DO NOT REBOOT THE PHONE AFTER YOU FLASH THE ZIP.
once you are done flashing the zip, mount the system and delete the recovery-from-boot.p (this is very important else you will end up with a messed up recovery )
once that is done, keep the system mounted and use the following commands
open the folder you have the files arranged correctly in.
it should have the folders as bin, etc , lib , lib64 .
press shift and right click , select open command window here.
when you open the command window use the command below to push the files to the phone.
adb push . /system
******************************************************
pull the build.prop with
adb pull /system/build.prop
--------------------------------
edit build.prop with the values below
ro.lenovo.region=row
ro.sf.lcd_density=320
ro.product.locale.language=en
ro.product.locale.region=US
#add below lines for adb debugging.
persist.service.adb.enable=1
persist.service.debuggable=1
persist.sys.usb.config=mtp,adb
----------------------------------------------------------------------------------------------
save this file and push it back with the command
adb push build.prop /system
----------------------------------------------------------------------------------------------
Boot.img editing.
This is the same as the others but ensure your default prop is as below to enable debugging.
#
# ADDITIONAL_DEFAULT_PROPERTIES
#
ro.adb.secure=0
persist.service.adb.enable=1
persist.service.debuggable=1
persist.sys.usb.config=mtp,adb
persist.service.acm.enable=0
ro.secure=0
ro.allow.mock.location=0
ro.debuggable=1
ro.zygote=zygote64_32
ro.mount.fs=EXT4
camera.disable_zsl_mode=1
dalvik.vm.dex2oat-Xms=64m
dalvik.vm.dex2oat-Xmx=512m
dalvik.vm.image-dex2oat-Xms=64m
dalvik.vm.image-dex2oat-Xmx=64m
ro.dalvik.vm.native.bridge=0
--------------------------------------------------------
Remember some ROMS need the partition to be 2.6 GB. i have scatter that can make the system partition 3 GB. I will upload that and share a link here.
--------------------------------------------------------
flashing the rom
the updater-script needs a bit of edit to flash the Rom as it is on the phone. Delete the lines in red.
replace the boot.img with the edited boot.img (I hope you all know how to do that edit)
--------------------------------------------------------------------------------------------------------------------
mount("ext4", "EMMC", "/dev/block/mmcblk0p3", "/data", "");
get_lenovo_custom1("1431948134") == "OK" || abort("Can't install this package (Mon May 18 19:22:14 CST 2015) over newer build (" + getprop("ro.build.data") + "). Or lenovo can't allow to rollback.");
unmount("/data");
getprop("ro.product.device") == "aio_otfp" || abort("This package is for "aio_otfp" devices; this is a "" + getprop("ro.product.device") + "".");
show_progress(0.750000, 0);
format("ext4", "EMMC", "/dev/block/mmcblk0p6", "0", "/system");
block_image_update("system", package_extract_file("system.transfer.list"), "system.new.dat", "system.patch.dat");
show_progress(0.050000, 5);
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "bootimg"),
delete("/tmp/boot.img"));
assert(run_program("/system/bin/dd", "if=/dev/zero", "of=/proc/driver/mtd_writeable", "bs=3", "count=1"));
assert(package_extract_file("logo.img", "/tmp/logo.img"),
write_raw_image("/tmp/logo.img", "logo"),
delete("/tmp/logo.img"));
assert(package_extract_file("uboot.img", "/tmp/uboot.img"),
write_raw_image("/tmp/uboot.img", "uboot"),
delete("/tmp/uboot.img"));
assert(package_extract_file("mobicore.bin", "/tmp/tee1.img"),
write_raw_image("/tmp/tee1.img", "tee1"),
delete("/tmp/tee1.img"));
show_progress(0.200000, 10);
mount("ext4", "EMMC", "/dev/block/mmcblk0p3", "/data", "");
delete_recursive("/data/data/com.chinamworld.main/.cache");
unmount("/data");
mount("ext4", "EMMC", "/dev/block/mmcblk0p3", "/data", "");
!(get_lenovo_custom2("1431948134") == "OK") || format("ext4", "EMMC", "/dev/block/mmcblk0p3", "0", "/data");
unmount("/data");
---------------------------------------------------------------------------------------------------------------
Resized Scatter
https://drive.google.com/folderview...04YnE0V2UxXzVtOTBseWd5T2FqWmh5TDg&usp=sharing
Remember you will need to format the phone. If you format the phone you will lose IMEI and you will see the wifi 0x0 error showing up in the access point settings (safe to ignore that). you can use the maui meta tool in that share to fix the imei and you can search for the sn write tool to fix the wifi error (i didnt bother , it just shows up and doesn't bother me) .
Click to expand...
Click to collapse
To flash with the new scatter you will select the upgrade or format + download option. ensure the DL all with checksum is selected. You will need to select the right files and all the files need to be selected. Ensure you check tutorials on xda before you undertake this.
Remember to start from scratch, you will need to flash the custom recovery. you can find the custom recovery on xda. start there.
Disclaimer:
I am not responsible for any mess you get into with these steps. Remember, if in doubt ask questions, watch videos and learn before you mess things up.
Press THANKS if this helps you and rate this thread the way it helped you. Thanks again. Took some time to write this for you all. :fingers-crossed:
BEST
maxritz said:
Hi Guys,
It is important to know that the porting process for lollipop pretty much remains the same to a large degree.. There are some hits and misses. But I am adding below a list of files that have been used as a replacement on the vibe 2.5 ROMs .
The Vibe 2.5 ROMS seem a little complicated and seem to need a large replacement set. If we find a shorter way or if you find a shorter way, please comment that and it can be a part of this guide.
This is specific to the Lenovo A7000 series . The source ROM is from a K3 note.
When you port an AOSP ROM , you may need lesser replacements in libs and bins, but you may need to replace the sdcard binary sometimes. so be careful and happy porting.
here is a list
-------------------------------------
bin
etc
lib
lib64
******************************************************
-------------------------------------
/system/bin
-------------------------------------
audiocmdservice_atci
bcc
bootanimation
ccci_mdinit
downloader
factory
gzip_static
hostapd
installd
ip6tables
ipod
iptables
make_ext4fs
mdnsd
mtkbt
ndc
netd
pq
recovery
vold
wpa_cli
wpa_supplicant
-------------------------------------
******************************************************
-------------------------------------
/system/etc
-------------------------------------
/system/etc/.tp overwrite
/system/etc/firmware replace all
/system/etc/mddb replace all
apns-conf.xml
spn-conf.xml
-------------------------------------
******************************************************
-------------------------------------
/system/lib
-------------------------------------
lib3a.so
lib3a_sample.so
libacdk.so
libadpcm.so
libAGifEncoder.so
libaudioflinger.so
libaudiopolicymanager.so
libaudiopolicymanagerdefault.so
libaudiopolicyservice.so
libbcc.so
libbcinfo.so
libbtcusttable.so
libc.so
libcam.camadapter.so
libcam.camnode.so
libcam.camshot.so
libcam.client.so
libcam.hal3a.v3.so
libcam.halsensor.so
libcam.iopipe.so
libcam.jni.lomohaljni.so
libcam.metadataprovider.so
libcam.paramsmgr.so
libcam.sdkclient.so
libcamalgo.so
libcamdrv.so
libcameracustom.so
libcameraservice.so
libcamera_client_mtk.so
libdpframework.so
libexif.so
libextsimap.so
libfeatureio.so
libhwui.so
libimageio.so
libimageio_plat_drv.so
libinputflinger.so
libjpeg.so
libLLVM.so
libm4u.so
libmdnssd.so
libmedia.so
libmediaplayerservice.so
libMiraVision_jni.so
libn3d3a.so
libnetd_client.so
libpng.so
libpq_cust.so
libquickshot.so
libRS.so
libRScpp.so
libRSCpuRef.so
libRSDriver.so
libshowlogo.so
libsqlite.so
libssl.so
libstagefright.so
libstagefright_omx.so
libstagefright_soft_aacdec.so
libstagefright_soft_aacenc.so
libstagefright_soft_flacenc.so
libstagefright_soft_hevcdec.so
libstagefright_wfd.so
libsurfaceflinger.so
mtk-ril.so
mtk-rilmd2.so
-------------------------------------
******************************************************
-------------------------------------
/system/lib64/egl
-------------------------------------
libGLES_mali.so
-------------------------------------
******************************************************
-------------------------------------
/system/lib64/hw
-------------------------------------
audio.primary.mt6752.so
audio_policy.default.so
gps.default.so
mmsdk.default.so
sensors.mt6752.so
-------------------------------------
******************************************************
-------------------------------------
/system/lib64
-------------------------------------
lib3a.so
lib3a_sample.so
libacdk.so
libaudiopolicymanager.so
libaudiopolicymanagerdefault.so
libaudiopolicyservice.so
libbcc.so
libbcinfo.so
libbinder.so
libbtcusttable.so
libc.so
libcam.camadapter.so
libcam.camnode.so
libcam.camshot.so
libcam.client.so
libcam.hal3a.v3.so
libcam.halsensor.so
libcam.iopipe.so
libcam.jni.lomohaljni.so
libcam.metadataprovider.so
libcam.paramsmgr.so
libcam.sdkclient.so
libcamalgo.so
libcamdrv.so
libcameracustom.so
libcameraservice.so
libcamera_client_mtk.so
libdpframework.so
libexif.so
libfeatureio.so
libhwui.so
libimageio.so
libimageio_plat_drv.so
libinputflinger.so
libjpeg.so
libLLVM.so
libm4u.so
libmdnssd.so
libmedia.so
libMiraVision_jni.so
libn3d3a.so
libnetd_client.so
libpac.so
libpng.so
libpq_cust.so
libquickshot.so
libRS.so
libRScpp.so
libRSCpuRef.so
libRSDriver.so
libsoundtrigger.so
libsqlite.so
libssl.so
libstagefright.so
libstagefright_omx.so
libstagefright_soft_aacdec.so
libstagefright_soft_aacenc.so
libstagefright_soft_flacenc.so
libstagefright_soft_hevcdec.so
libsurfaceflinger.so
-------------------------------------
******************************************************
edit build.prop
ro.lenovo.region=row
ro.sf.lcd_density=320
ro.product.locale.language=en
ro.product.locale.region=US
------------------------------
Add below for Adb debug in build as well as default.prop
------------------------------
persist.service.adb.enable=1
persist.service.debuggable=1
persist.sys.usb.config=mtp,adb
----------------------------------------------------------------------------------------------
Boot.img editing.
This is the same as the others but ensure your default prop is as below to enable debugging.
#
# ADDITIONAL_DEFAULT_PROPERTIES
#
ro.adb.secure=0
persist.service.adb.enable=1
persist.service.debuggable=1
persist.sys.usb.config=mtp,adb
persist.service.acm.enable=0
ro.secure=0
ro.allow.mock.location=0
ro.debuggable=1
ro.zygote=zygote64_32
ro.mount.fs=EXT4
camera.disable_zsl_mode=1
dalvik.vm.dex2oat-Xms=64m
dalvik.vm.dex2oat-Xmx=512m
dalvik.vm.image-dex2oat-Xms=64m
dalvik.vm.image-dex2oat-Xmx=64m
ro.dalvik.vm.native.bridge=0
Click to expand...
Click to collapse
Best detailed tutorial.... Thanks mate
but the question is brother how do they flash this to their phones... :-/
Bro I am unable to fix IMEI pls help me i that respect
How To Fix Invalid IMEI
Hi, you have an idea to correct the LED notification? (Lenovo)
maxritz said:
Press THANKS if this helps you and rate this thread the way it helped you. Thanks again. Took some time to write this for you all. :fingers-crossed:
Click to expand...
Click to collapse
Thanks bro,
A very useful guide indeed :good:
Sir you can port the Elephone P7000 to Ulephone be touch . Can port my phone not turning on