Hello Fellow XDA!
Good day! I would like to seek help about my query in modifying in updater-script. I know there's a lot of thread about updater-script for different devices and tutorials but i'm looking for mediatek devices specifically in CHERRY MOBILE EDGE. The CHERRY MOBILE EDGE is a local device and only available in the Philippines and I can say that it has a decent specs(see specs below). Unfortunately there is no available supports for this device due to its not popular in the Philippines. I'm doing this in behalf of all EDGE users to experience difference custom ROM on their device and i'm looking forward to have a custom ROM for it. That's why i'm seeking for your help fellow XDA expert! I'm following this steps http://en.miui.com/thread-32469-1-1.html and I'm stuck in updater-script section where I have a problem in mmcblk0x of /system and /data. It shows the the mmcblk05 for /system and mmcblk07 for data but in my case the value of mmcblk0x for /system is mmcblk04 and the mmcblk0x for /data is mmcblk06. See the attached image for more clarification, does my modified updater-script is correct? or it will lead to bootloop or deadboot? thank you for your help in advance!
blockmaps
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
original script in updater-script
ui_print("MIyUwI Ver 4.1.3 ROM");
ui_print("Base MIUI ROM");
ui_print("by : FieKri ");
ui_print("Format & mount system...");
format("ext4", "EMMC", "/dev/block/mmcblk0p5", "0", "/data");
delete_recursive("/data/dalvik-cache");
format("ext4", "EMMC", "[email protected]", "0", "/system");
mount("ext4", "EMMC", "[email protected]", "/system");
show_progress(0.700000, 40);
ui_print("Extracting system...");
modified updater-script
ui_print("MIyUwI Ver 4.1.3 ROM");
ui_print("Base MIUI ROM");
ui_print("by : FieKri ");
ui_print("Format & mount system...");
format("ext4", "EMMC", "/dev/block/mmcblk0p5", "0");
delete_recursive("/data/dalvik-cache");mount("ext4", "EMMC","/dev/block/mmcblk0p5", "/system");
show_progress(0.700000, 40);
ui_print("Extracting system...");mount("ext4", "EMMC","/dev/block/mmcblk0p7", "/data");
show_progress(0.700000, 40);
ui_print("Extracting data...");
EDGE specs
EDIT: Mali-400 MP* not MO, sorry about that.
why u only delete dalvik-cache ?
Related
No longer supported, go to zeubea's thread for further updates
Downloading...
Bwahahahaha
Sent from my fingertips using Android.
Wagedroid said:
Downloading...
Bwahahahaha
Sent from my fingertips using Android.
Click to expand...
Click to collapse
Fingers Crossed
Downloading now. Can't wait to give it a shot.
I don't understand I keep getting a status (0) but isn't that a mount error?
Sent from my fingertips using Android.
ill look at the updater-script later, ill try to find a working one
Whoareyou said:
ill look at the updater-script later, ill try to find a working one
Click to expand...
Click to collapse
It can also be the busybox right?
Sent from my fingertips using Android.
hi, works hw?
The suspense is killing me!
Sent from my fingertips using Android.
This is great. Can't wait!
Sooo? does it work?
Do0zman said:
Sooo? does it work?
Click to expand...
Click to collapse
Doesn't install at the momennt
Sent from my fingertips using Android.
Wagedroid said:
I don't understand I keep getting a status (0) but isn't that a mount error?
Sent from my fingertips using Android.
Click to expand...
Click to collapse
show_progress(0.500000, 0);
format("yaffs2", "MTD", "system");
mount("yaffs2", "MTD", "system", "/system"); 0
package_extract_dir("system", "/system");
why is there a 0...?
Sorry, i dont have home internet, I can only help during school hours
Please tell me install guide for this ROM to my MT3GS. Thanks
daniel60104 said:
show_progress(0.500000, 0);
format("yaffs2", "MTD", "system");
mount("yaffs2", "MTD", "system", "/system"); 0
package_extract_dir("system", "/system");
why is there a 0...?
Click to expand...
Click to collapse
Could be a corrupt busy box?
Sent from my fingertips using Android.
Okay, i think i know how to fix this!
Whoareyou said:
Okay, i think i know how to fix this!
Click to expand...
Click to collapse
Winning
Sent from my fingertips using Android.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Lmao.
That was perfect
Are you at school?
Sent from my fingertips using Android.
Hello i have a problem with status 7 but i cannot fix it, i tried some advices from xda and other pages but it wont work for me
i tried install some stock ftf kernel , i extract boot.img from ROM which i want instal but no results. i have cm9 instaled before but i tried instal miui ROM ( miui can be instaled without erors but then only what i can see is fxp logo and after blackscreen and status 7 is result
sory for my bad english
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Simple just unpack the Rom zip goto system/ open build.prop with notpad++ delete the 1st 6 lines having the 'getprop thing's' save it...repack the zip and flash the rom
Sent from my SK17i using XDA Premium HD app
sandy7 said:
Simple just unpack the Rom zip goto system/ open build.prop with notpad++ delete the 1st 6 lines having the 'getprop thing's' save it...repack the zip and flash the rom
Sent from my SK17i using XDA Premium HD app
Click to expand...
Click to collapse
sorry but i dont know which one lines you actually mean
b33ro said:
sorry but i dont know which one lines you actually mean
Click to expand...
Click to collapse
Just delete the 1st six lines in updatee script.
Sent from my SK17i using XDA Premium HD app
Okay you'll need Notepad++ to do this, but it's a free and small download so... c;
As the user above me said, open up the META-INF/google/android/ folder and open the updater-script with Notepad++ and delete all the lines that include "getprop" (they will be at the top).
b33ro said:
sorry but i dont know which one lines you actually mean
Click to expand...
Click to collapse
here see delete these lines in updater script..
Code:
assert(getprop("ro.product.device") == "SK17i" || getprop("ro.build.product") == "SK17i" ||
getprop("ro.product.device") == "SK17a" || getprop("ro.build.product") == "SK17a" ||
getprop("ro.product.device") == "mango" || getprop("ro.build.product") == "mango");
I love you both. thanks very much its working :good:
Hello
Maybe look like on our devices has a few little roms and for someone to port other rom from ther devices
Special for beginner developed
MUST HAVE APPLICATION
Notepad++ (DOWNLOAD)
Winrar (DOWNLOAD)
Notes:
I will be referring to the following:
BASE = The GB/ICS/JB ROM made for your Device only.
PORTED = The ROM you are trying to port from.
BASE and PORTED must be the same CPU. e.g. ARMv7, ARMv6, ARMv5
You must have the same settings in Notepad++ like mine.
Ignore the procedure, if the file or folder is not present!
BASE & PORTED should be the same Android version.
If you are porting a custom GB ROM, then use a GB BASE, the same goes for ICS and JB
Make sure both BASE & PORTED are deodexed (It's hard to port an odexed ROM)
Final ROM is inside PORTED Folder
(Don't get confused! This is a Major change from the previous Guide because this method is a lot faster and easier)
PORTED FOLDER
Please remove this folder on system folder except:
App
Framework
Media( it folder have sound system and bootanimation)
Fonts
BASE FOLDER
PLEASE REMOVE THIS FOLDER on system
App
Fonts
Framework
Media
WHAT TO DO NOW?
Copy all folder on ported folder to base folder..
Now go to the etc folder in base.zip and the port.zip now see if the base.zip has any extra files other than those in the port.zip
if you find any put them in your etc folder of port.zip
Open /system/build.prop
Copy & Replace the following:
ro.modversion
ro.cm.version
ro.config.ringtone
ro.config.notification_sound
ro.config.alarm_alert
ro.config.sms_received_sound
ro.config.sms_delivered_sound
persist.sys.themeId
persist.sys.themePackageName
MIUI
Add & Make sure the following values are like this:
ro.build.id=MIUI
ro.build.display.id=MIUI x.x.x
ro.build.version.incremental=x.x.x
ro.config.ringtone=MI.ogg
LEWA OS
Add & Make sure the following values are like this:
ro.build.display.id=LeWa_ROM_DeviceNickname_xx.xx.xx
ro.lewa.version=LeWa_ROM_DeviceNickname_xx.xx.xx
ro.lewa.device=DeviceNickname
ro.lewa.swapper.part_path=PORTED's_Value
ro.lewa.swapper.flash_swappiness=PORTED's_Value
ro.lewa.swapper.sd_swappiness=PORTED's_Value
ro.error.receiver.system.apps=com.lewa.fc
ro.error.receiver.default=com.lewa.fc
Make sure the following is for your Device:
rild.libpath=
rild.libargs=
BASE FOLDER
Open /system/build.prop
Highlight from: ro.build.tags=
to: # ADDITIONAL_BUILD_PROPERTIES
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Copy & Replace that highlighted part to: PORTED's build.prop's highlighted part
Copy everything from: # ADDITIONAL_BUILD_PROPERTIES
To: the end of the file
Paste it to PORTED's build.prop
UPADE SCRIPT
BASE FOLDER
Move the following, to PORTED FOLDER:
COPY AND REPLACE IT
META-INF/com/google/android/update-binary
META-INF/com/android/metadata
META-INF/com/android/otacert
Now open folder in fornt rom folder you can see META-INF folder
META-INF/com/google/android/updater-script
Replace the following values, to PORTED FOLDER:
mount("xxxxxx");
format("xxxxxx");
retouch_binary
The installation of the kernel (Something like: assert(package_extract_file("boot.img",)
Take note of the added set_perms & set_perm_recursives that PORTED FOLDER added. Then replace all set_perm and set_perm_recursive from BASE FOLDER to PORTED FOLDER. Put back in the noted set_perms & set_perm_recursive you wrote down, to PORTED FOLDER updater-script
FOR ICS
If the updater-script in PORTED FOLDER is modded to have tweaks & addons do the set_perms procedure above
Now use BASE's entire META-INF Folder. Copy it to PORTED
MIUI
Add value to ported folder
set_perm(0, 0, 06755, "/system/xbin/invoke-as");
set_perm(0, 0, 0755, "/system/lib/liblbesec.so");
reserved
Reserved only
-Optimization custom kernel and android system
-Remove changes in build.prop and init.d scripts folder will not only serve Encourage the device
-Note: roms covers this does not bring this optimization must modify please cook ROM -
Code:
-Requirements:
-Apk manager
-Java install pc
-Framework-res.apk
-Decompile and compile knowledge framework-res.apk
-Notepad++
-Just a little patience
-now have to decompile the framework-res.apk and wait Aque finished extracting the files
-locate the next file in the framework-res.apk
Code:
framework-res.apk/res/xml/power_profile.xml
( here you'll find related signal, wifi, radio frequencies and codes Processor )
( to add missing values use this <value> </ value> )
example capture:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Faq
this is for those who have unlocked bootloader and the ability to use a custom kernel remember that when porting the rom there are certain modifications that must be done carefully so that the xperia performs to a good performance otherwise the kernel can have cpu frequency however the file I mention power_profile.xml frequencies may not be on the well known lag this causes problems and delays when executing common tasks on your smart phone
this is an example:
custom kernel:
cpu frequency 100, 200, 400, 800, 1000
power_profile:
cpu frequency 200,500,700,1000
as can usually observe the roms covers do not match the code of the rom that's why there are problems in the terminal I hope you can understand the objective of the subject
-Here we verify that the value of the frequencies of all matching kernel with this file so that the entire operating system to work as it should be fast without lag
-Now compile the framework-res.apk and flash in your terminal and check optimization.
Good guide mate. :good:
But i am a bit confused. Can you please give some more intro and purpose about the thread?
Thanks!
aggregate information :good:
best kernel
where i find the best kernel for custom roms?:crying:
Hey, I'm having trouble making an update.zip, I'm new to making zips and i searched online for help but none fixed my problem. here is my updater-script
package_extract_file("modem.bin", "/tmp/modem.bin");
set_perm(0, 0, 0777, "/tmp/modem.bin");
package_extract_file("updater.sh", "/tmp/updater.sh");
set_perm(0, 0, 0777, "/tmp/updater.sh");
package_extract_file("make_ext4fs", "/tmp/make_ext4fs");
set_perm(0, 0, 0777, "/tmp/make_ext4fs");
package_extract_file("busybox", "/tmp/busybox");
set_perm(0, 0, 0777, "/tmp/busybox");
package_extract_file("flash_image", "/tmp/flash_image");
set_perm(0, 0, 0777, "/tmp/flash_image");
package_extract_file("erase_image", "/tmp/erase_image");
set_perm(0, 0, 0777, "/tmp/erase_image");
package_extract_file("bml_over_mtd", "/tmp/bml_over_mtd");
set_perm(0, 0, 0777, "/tmp/bml_over_mtd");
package_extract_file("bml_over_mtd.sh", "/tmp/bml_over_mtd.sh");
set_perm(0, 0, 0777, "/tmp/bml_over_mtd.sh");
package_extract_file("boot.img", "/tmp/boot.img");
assert(run_program("/tmp/updater.sh") == 0);
run_program("/sbin/busybox", "mount", "/system");
package_extract_dir("system", "/system");
run_program("/sbin/busybox", "umount", "/system");
Click to expand...
Click to collapse
below I will have a link to my zip. Any help is appreciated.
Can ask developers
u can ask developers for this type of problem's ...
Just be friend with any of the developers .... or send a private message to them ...
This type of problems can be easily solved by .... Recognized developers ( or ) Contributers
:highfive:
Can you tell the error message?
kasper_h said:
Can you tell the error message?
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This is the error I get.
If you go to Advanced-Show log, you get more info of what is wrong...
kasper_h said:
If you go to Advanced-Show log, you get more info of what is wrong...
Click to expand...
Click to collapse
My computer is currently dead, so do you think you can fix it up?
as far as i know, error 6 was caused by some miss typing on updater-script. you can check again the syntax or command used in it.
You're updater-script is in Windows/DOS formatting. It should be in UNIX.