Related
i was bored so i ported the mikudroid bootanimation.
here is a video of the original [click]
hope u will enjoy.
- howto install -
0. install the android sdk
1. connect the legend to your pc
2. copy the bootanimation.zip into the tools folder of the sdk (rename the .zip file)
3. start cmd (windows) or the terminal (osx/linux) and browse into the [android-sdk]\tools directory
4. type "adb push bootanimation.zip /data/local/
5. reboot your device to ensure that everything went right
you should backup your original bootanimation.zip befor!
if you want other bootanimations ported, just ad a request
(original is for desire and n1)
Moto Defy 红色 M 标志的开机 Logo 和动画(Motorola Defy red M startup logo and boot animation)
-----------------------------------------------------------------------------
关于开机时手机设备的LOGO(moto.bin)更改教程:
01) 首先下载adb.7z,Windows解压到C:\Windows\system32
02) 解压Moto_Defy.zip将moto.bin复制到C:\Windows\system32\adb
03) 将手机调为“USB调试模式”,Settings->Applications->Development->USB debugging
04) 在电脑端安装好手机的驱动程序
05) 把手机用数据线连接电脑,USB设置为"none"
06) 在电脑端运行cmd.exe(Windows7需要用到管理员权限)
07) 在cmd输入“cd c:\WINDOWS\system32\adb”切换到adb目录
08) 再输入“adb”运行adb
09) 继续输入“adb devices”查看手机是否正常连接到电脑,检查到手机设备即可进入下一步
10) 输入“adb push moto.bin /data/local/”将adb目录的moto.bin文件复制到手机设备
11) 在手机上用RootExplorer将/data/local/moto.bin的Perrmissions设置为User[read,write,execute]Group[read,write,execute]Others[read,write,execute]
12) 然后在cmd输入“adb shell”进入shell环境
13) 继续在$输入“su”,这时手机会有Superuser的授权请求,请选择Allow
14) 继续在#输入“dd if=/data/local/moto.bin of=/dev/block/mmcblk1p10 bs=4096”
15) 至此,开机时手机设备的LOGO(moto.bin)更改已经完成,Reboot你的手机看看吧!
对于bootanimation.zip的更改应该不用我教了吧,直接复制文件到/system/media/,并将bootanimation.zip的Permissions设置为User[read,write]Group[read]Others[read]便OK了!
尽情enjoy吧!
-----------------------------------------------------------------------------
非常抱歉,我的English语言不好,不会写English文章。
如果你学会了,请把该Post翻译为English语言分享给其它使用Defy的朋友吧!
-----------------------------------------------------------------------------
#8 English Language:
It's Chinese, I try to translate them into English.
for changing "moto.bin"
step 1. Extract "adb.7z" to "C:\Windows\system32"
step 2. Extract "Moto_Defy.zip", then copy "moto.bin" to "C:\Windows\system32\adb"
step 3. Trun on "USB debugging" mode
step 4. Install the driver of defy
step 5. Connect defy via a USB wire
step 6. open a command prompt window (run as administrator if you'er using Vista/Win7)
step 7. change directory to "C:\Windows\system32\adb" (type "cd c:\WINDOWS\system32\adb" in cmd window then enter)
step 8. run "adb"
step 9. run "adb devices" and check if your phone connect correctly
step 10. run "adb push moto.bin /data/local/", it will copy "moto.bin" into your phone
step 11. change the permission of "moto.bin" on your phone to "User[read,write,execute]Group[read,write,execute]Others[read,write,execute]" by using RootExplorer
step 12. run "adb shell" on PC. the DOS prompt will change to "$"
step 13. run "su" on PC, and allow the authorization on your phone. the DOS prompt will change to "#"
step 14. run "dd if=/data/local/moto.bin of=/dev/block/mmcblk1p10 bs=4096" on PC
step 15. done, reboot and enjoy it.
for changing "bootanimation.zip"
copy "bootanimation.zip" to "/system/media/", then change the permission to "User[read,write]Group[read]Others[read]"
green words are filenames, blue ones are commands for PC, red ones are permissions of files.
My English is not very well too, just hope can help.
Click to expand...
Click to collapse
by yulanz : http://forum.xda-developers.com/showpost.php?p=11832969&postcount=8
Thank you very much!
-Best regards,
ZHONG JIANQUN
Motorola red M startup logo and boot animation.
jianqun said:
Click to expand...
Click to collapse
It look very good but how to use the moto.bin
Please let us know how to use this zip file ....
jianqun said:
你好,教程已经提供。
Click to expand...
Click to collapse
Which language is this ???
and please make it convert in ENGLISH please .....
madhuranand007 said:
Which language is this ???
and please make it convert in ENGLISH please .....
Click to expand...
Click to collapse
非常抱歉,我的英语不好!请使用Google翻译吧,应该能看得懂。
Sorry, my English is not good! Please use the Google translation of it, should be able to understand.
madhuranand007 said:
Which language is this ???
and please make it convert in ENGLISH please .....
Click to expand...
Click to collapse
It's Chinese, I try to translate them into English.
for changing "moto.bin"
step 1. Extract "adb.7z" to "C:\Windows\system32"
step 2. Extract "Moto_Defy.zip", then copy "moto.bin" to "C:\Windows\system32\adb"
step 3. Trun on "USB debugging" mode
step 4. Install the driver of defy
step 5. Connect defy via a USB wire
step 6. open a command prompt window (run as administrator if you'er using Vista/Win7)
step 7. change directory to "C:\Windows\system32\adb" (type "cd c:\WINDOWS\system32\adb" in cmd window then enter)
step 8. run "adb"
step 9. run "adb devices" and check if your phone connect correctly
step 10. run "adb push moto.bin /data/local/", it will copy "moto.bin" into your phone
step 11. change the permission of "moto.bin" on your phone to "User[read,write,execute]Group[read,write,execute]Others[read,write,execute]" by using RootExplorer
step 12. run "adb shell" on PC. the DOS prompt will change to "$"
step 13. run "su" on PC, and allow the authorization on your phone. the DOS prompt will change to "#"
step 14. run "dd if=/data/local/moto.bin of=/dev/block/mmcblk1p10 bs=4096" on PC
step 15. done, reboot and enjoy it.
for changing "bootanimation.zip"
copy "bootanimation.zip" to "/system/media/", then change the permission to "User[read,write]Group[read]Others[read]"
green words are filenames, blue ones are commands for PC, red ones are permissions of files.
My English is not very well too, just hope can help.
yulanz said:
It's Chinese, I try to translate them into English.
for changing "moto.bin"
step 1. Extract "adb.7z" to "C:\Windows\system32"
step 2. Extract "Moto_Defy.zip", then copy "moto.bin" to "C:\Windows\system32\adb"
step 3. Trun on "USB debugging" mode
step 4. Install the driver of defy
step 5. Connect defy via a USB wire
step 6. open a command prompt window (run as administrator if you'er using Vista/Win7)
step 7. change directory to "C:\Windows\system32\adb" (type "cd c:\WINDOWS\system32\adb" in cmd window then enter)
step 8. run "adb"
step 9. run "adb devices" and check if your phone connect correctly
step 10. run "adb push moto.bin /data/local/", it will copy "moto.bin" into your phone
step 11. change the permission of "moto.bin" on your phone to "User[read,write,execute]Group[read,write,execute]Others[read,write,execute]" by using RootExplorer
step 12. run "adb shell" on PC. the DOS prompt will change to "$"
step 13. run "su" on PC, and allow the authorization on your phone. the DOS prompt will change to "#"
step 14. run "dd if=/data/local/moto.bin of=/dev/block/mmcblk1p10 bs=4096" on PC
step 15. done, reboot and enjoy it.
for changing "bootanimation.zip"
copy "bootanimation.zip" to "/system/media/", then change the permission to "User[read,write]Group[read]Others[read]"
green words are filenames, blue ones are commands for PC, red ones are permissions of files.
My English is not very well too, just hope can help.
Click to expand...
Click to collapse
谢谢!Thank you!
Хорошая заставка!
Good logo!
i am stuck with this error
* daemon not running. starting it now *
CreateProcess failure, error 3 *
failed to start daemon *
error: cannot connect to daemon
what does that mean?? and i dont have android SDK installed...
tried searching on google but all the "ERROR 3" leads to chinese sites which has no viable answer to this problem..
i run WIN 7 x64 bit
EDIT
*******************************************************************************
okay i solved that problem by installing the whole android sdk
and some google searches and JBOOGIE helped me
I liked!!
Man, this is a great job!
Thanks
This thread is very close to violating XDA rules. I will leave it intact, since you provided translation. From now on, please only post the English, as I can not tell whether that is actually what is said in Chinese or not.
Thank you.
In xda, found that many Chinese developers.
google translate...
OH,my god, who translate it?
The video had no woking?
anyone know how to edit/change or extract the boot.bin?
/kaljam
so what if somebody would like to use another boot logo?
the main question is what is the content of moto.bin?
Great post anyway!
jianqun said:
-----------------------------------------------------------------------------
关于开机时手机设备的LOGO(moto.bin)更改教程:
01) 首先下载adb.7z,Windows解压到C:\Windows\system32
02) 解压Moto_Defy.zip将moto.bin复制到C:\Windows\system32\adb
03) 将手机调为“USB调试模式”,Settings->Applications->Development->USB debugging
04) 在电脑端安装好手机的驱动程序
05) 把手机用数据线连接电脑,USB设置为"none"
06) 在电脑端运行cmd.exe(Windows7需要用到管理员权限)
07) 在cmd输入“cd c:\WINDOWS\system32\adb”切换到adb目录
08) 再输入“adb”运行adb
09) 继续输入“adb devices”查看手机是否正常连接到电脑,检查到手机设备即可进入下一步
10) 输入“adb push moto.bin /data/local/”将adb目录的moto.bin文件复制到手机设备
11) 在手机上用RootExplorer将/data/local/moto.bin的Perrmissions设置为User[read,write,execute]Group[read,write,execute]Others[read,write,execute]
12) 然后在cmd输入“adb shell”进入shell环境
13) 继续在$输入“su”,这时手机会有Superuser的授权请求,请选择Allow
14) 继续在#输入“dd if=/data/local/moto.bin of=/dev/block/mmcblk1p10 bs=4096”
15) 至此,开机时手机设备的LOGO(moto.bin)更改已经完成,Reboot你的手机看看吧!
对于bootanimation.zip的更改应该不用我教了吧,直接复制文件到/system/media/,并将bootanimation.zip的Permissions设置为User[read,write]Group[read]Others[read]便OK了!
尽情enjoy吧!
-----------------------------------------------------------------------------
非常抱歉,我的English语言不好,不会写English文章。
如果你学会了,请把该Post翻译为English语言分享给其它使用Defy的朋友吧!
-----------------------------------------------------------------------------
#8 English Language:
by yulanz : http://forum.xda-developers.com/showpost.php?p=11832969&postcount=8
Thank you very much!
-Best regards,
ZHONG JIANQUN
Click to expand...
Click to collapse
楼主 - -在XDA就不要讲中文了··· 老外看不懂 要用 Google去翻译 翻译出来的意思有时又对不上 - - Please speak English! OK?
ibuntu said:
OH,my god, who translate it?
Click to expand...
Click to collapse
- -You can call me. In China English is a required course - - So You see a lot of normal Chinese people.
AltaiMan said:
Хорошая заставка!
Good logo!
Click to expand...
Click to collapse
Russian man - - speak English OK?
old tv
i'm looking for screen off animation when pressing power key) like old tv effect for my 2.2.1
any thoughts?..
Can anyone guide me how to enable CRT animation for stock android 2.3.3 on galaxy ace?
codestudent said:
Can anyone guide me how to enable CRT animation for stock android 2.3.3 on galaxy ace?
Click to expand...
Click to collapse
I think you should have posted this in themes and apps section but nevertheless this is your answer-
You will need-
a)APK Manager from here http://forum.xda-developers.com/showthread.php?t=695701
b) .zip manager (I suggest 7-zip or winrar for windows and archive manager for linux)
c) text editor ( Notepad++ in windows or gedit/write in linux )
d) framework-res.apk from /system/framework that you want to modify and build.prop from /system.
e)Root explorer/Fileexpert or adb to pull framework-res.apk and build.prop
First thing using root explorer or adb pull the above files to your computer.Then do the following..
1) Once you extract APKManager you should have a folder called "APKManager," somewhere.
2) Within that folder there's another folder called "place-apk-here-for-modding". Place you desired framework-res.apk into that folder.
3) Navigate back to the root of "APKManager", and double-click "Script.bat"in windows or "Script.sh" in linux
4) Press option 9 to decompile the apk. (It may take some time)
5) Once finished, navigate to "APKManager\projects\framework-res.apk\res\values".
6) Inside look for a file called "bool.xml". Open it using your notepad++ or gedit
and find and change the
"<bool name="config_animateScreenLights">true</bool>" to "<bool name="config_animateScreenLights">false</bool>"
7) Remember to save! Not "save as," but save.
8) Doubl-click "Script.bat" or "Script.sh"again, and choose option 11 to sign the apk
9) Say "y" to first option.
10) When that is done, a new folder called "keep" will be created. Open that folder, and delete resource.arsc.
11) Say "y" to the last option.
12) It will ask you to press any key, do that, and it will finish.
13) Navigate to the "place-apk-here-for-modding" folder, and you'll see a new file called, "unsignedframework-res.apk" open it with a .zip manager, and take the resource.arsc file from it, and transfer it to your original framework-res.apk (Which should be in the same folder)
14) Now push the modified original framework-res.apk(with new resource.arsc) onto your phone /system/framework using adb or copy by root explorer/fileexpert, and set permissions using root explorer to -rw -r -r or use chmod 644 framework-res.apk using adb. There wil be force-closes using root explorer when copying..just ignore that and set permissions and reboot.
15) Now pull build.prop from /system to your computer
16) Open build.prop and modify the line.
'debug.sf.hw=1' is the line in the file. Replace it by '#debug.sf.hw=1'. Indirectly you are just changing the line into a comment by adding a #
17) Now take this file and replace your original build.prop. You can do this by using adb or root explorer and set permssions similarly as in above.
18)Reboot and go to settings>>display>>animations and choose all animations. Enjoy your crt screenoff animation.
Added the guide in themes section http://forum.xda-developers.com/showthread.php?p=15976400
did as told but no luck. I'm using S5830XEKPH 2.3.4 firmware (Booted)
I have just noted that root explorer is not replacing framework file with the new one.
Hi all,
In this thread, I will try to share the knowledge I have on deodexing, making custom ROMs, modifying initramfs, building kernel and much more.
Please check the below posts for each of these tutorials.
Hope this opens doors to many new ROM and Kernel developers.
NOTE: THESE TUTORIALS ARE WRITTEN FOR GT-I9100. WILL NOT WORK ON OTHER DEVICES. I DON'T TAKE ANY RESPONSIBILITY IF YOU MESS UP AND BRICK YOUR DEVICE OR ANYTHING ELSE. USE AT YOUR OWN RISK.
Deodexing Stock Rom
For GINGERBREAD ROMS:
What you need to have:
xUltimate v2.3.3 - you can download it HERE (Thanks and Credits to Xeudoxus for this awesome app)
Rooted kernel with busybox
JDK installed on your Windows system
If adb is not available in your windows PC, in xUltimate folder open "jar" folder. You'll find adb there.
Extract stock app & framework folders and Deodex:
Connect your device to computer.
Start xUltimate (double-click on Main.exe)
Select option 1. (Pull /system/app)
Once option is done, select option 2. (Pull /system/framework)
In the same folder, now you'll see two new folders (origi_app, origi_frame)
Select option 3 in Main menu (Deodex /system/app)
Once its done, select option 4 in Main menu (Deodex /system/framework)
DONE!!
NOTE: If any apk/odex gives issues while deodexing, remove that corresponding apk and odex from origi_app folder and deodex again. (Mostly the apps which can be downloaded from play store might give errors.. ex: Maps, Voice search etc.)
Now you'll see two new folders done_app and done_frame.
Push deodexed app and framework to device:
Connect your device to PC in USB debugging mode.
Copy done_app and done_frame folders to root of sdcard (/sdcard).
Open Windows command prompt and type the below commands.
Code:
[LIST]
[*]adb shell
[*]su
[*]stop
[*]mount -o remount,rw /dev/block/mmcblk0p9 /system
[*]rm /system/app/*.odex
[*]rm /system/framework/*.odex
[*]busybox cp /sdcard/done_app/* /system/app/
[*]busybox cp /sdcard/done_frame/* /system/framework/
[*]chmod 644 /system/app/*
[*]chmod 644 /system/framework/*
[*]mount -o remount,ro /dev/block/mmcblk0p9 /system
[*]sync
[*]reboot recovery
[/LIST]
In Recovery, Wipe Cache and Wipe Data/Factory reset.
Reboot.
Now you've deodexed app and framework.
For ICS ROMS:
For ICS Roms, the process is quite easy. (Thanks and Credits to jaydvn.)
Download the attached zip file.
Extract it on your windows PC.
Copy your /system/app to _app folder
Copy your /system/framework to _framework folder.
Run AutoDEOToolMain.bat
Follow the instructions.
deodexed jars and apks will be found in deodexed_APK and deodexed_JAR.
Push deodexed app and framework to device:
Connect your device to PC in USB debugging mode.
Copy deodexed_APK and deodexed_JAR folders to root of sdcard (/sdcard).
Open Windows command prompt and type the below commands.
Code:
[LIST]
[*]adb shell
[*]su
[*]stop
[*]mount -o remount,rw /dev/block/mmcblk0p9 /system
[*]rm /system/app/*.odex
[*]rm /system/framework/*.odex
[*]busybox cp /sdcard/deodexed_APK/* /system/app/
[*]busybox cp /sdcard/deodexed_JAR/* /system/framework/
[*]chmod 644 /system/app/*
[*]chmod 644 /system/framework/*
[*]mount -o remount,ro /dev/block/mmcblk0p9 /system
[*]sync
[*]reboot recovery
[/LIST]
In Recovery, Wipe Cache and Wipe Data/Factory reset.
Reboot.
Done.
Enjoy.
Building kernel
Okay. Let's learn how to build kernel for GT-I9100. There are many ways to build. I am just presenting here the way I build and make kernel.
NOTE 1: Follow the instructions exactly.
NOTE 2: Kernel is opensource. If you make any changes to it, you're expected to share your source. (Usually people share it over github )
NOTE 3: FLASHING KERNEL IS RISKY AND DANGEROUS. BE CAREFUL. BUILD AND FLASH ON YOUR OWN RISK.
What you need to have:
Ubuntu 10.04 and above (I use 10.04 )
ARM tool chain (Download HERE. Click on IA32 GNU/Linux TAR under Advanced Packages)
Samsung's opensource kernel for GT-I9100 (Download HERE. Go to Mobile->Mobile Phone-> Select I9100 (update 3 for Gingerbread and update 4 for ICS) and download the zip)
Setting up toolchain:
Extract the tar you downloaded(Suggestion: Extract to one folder where you can have everything. In my case /home/superatmos/build_kernel).
After extracting, you'll see a folder named arm-2010q1. Inside there will be many folders (ex. bin, lib and so on.)
Folder structure will be: /home/<your_name>/build_kernel/arm-2010q1
Setting up kernel:
Extract the zip you've downloaded from samsung's opensource.
You'll find two zips.
Extract GT-I9100_Kernel.tar.gz to /home/<your_name>/build_kernel/
Folder structure: /home/<your_name>/build_kernel/GT-I9100_Kernel
Setting up initramfs:
Samsung's zImage is divided into two parts: Opensource kernel (which you downloaded from samsung's website) and initramfs (which is root file system to boot up the device).
You can extract initramfs from your zImage using the below mentioned links (Credits and Thanks to Chenglu) Original Thread: HERE
To extract initramfs from Gingerbread zImage: HERE
To extract initramfs from ICS zImage: HERE
Folder structure: /home/<your_name>/build_kernel/initramfs
Now the entire setup is ready. Let's start modifying kernel configuration.
Setting up kernel config:
For Gingerbread:
Go to /home/<your_name>/build_kernel/GT-I9100_Kernel/arch/arm/configs folder.
Copy c1_rev02_defconfig file and paste it in kernel root folder (/home/<your_name>/build_kernel/GT-I9100_Kernel/).
Rename c1_rev02_defconfig to .config in kernel root folder.
Now open Makefile which is in your kernel root folder(/home/<your_name>/build_kernel/GT-I9100_Kernel/).
Modify the below lines (I guess line 195 and 196).
For ICS:
Go to /home/<your_name>/build_kernel/GT-I9100_Kernel/arch/arm/configs folder.
Copy u1_defconfig file and paste it in kernel root folder (/home/<your_name>/build_kernel/GT-I9100_Kernel/).
Rename u1_defconfig to .config in kernel root folder.
Now open Makefile which is in your kernel root folder(/home/<your_name>/build_kernel/GT-I9100_Kernel/).
Modify the below lines (I guess line 195 and 196).
Code:
ARCH ?= arm
CROSS_COMPILE ?= /home/<your_name>/build_kernel/arm-2010q1/bin/arm-none-linux-gnueabi-
Save and close.
Modifying kernel configuration:
Now open .config file(which you renamed). If its not seen, it might be hidden. Go to View->Show hidden files and there you go.
Do the below things:
Adding local version:
Change CONFIG_LOCALVERSION=" " to anything you like. I add this way:
CONFIG_LOCALVERSION="-I9100-superatmos"
Adding initramfs path:
You need to let kernel know the path from which it needs to take initramfs.
Change CONFIG_INITRAMFS_SOURCE=" " to ../initramfs (In this tutorial it's the path. If you had copied anywhere else, give the path properly).
Enough for now. Once you get experience, you can modify many configurations as per your liking and save. This configuration can be changed by GUI too with the command make menuconfig.
The Important part: Building the kernel:
For Gingerbread:
Open terminal.
Go to path /home/<your_name>/build_kernel/GT-I9100_Kernel/
Type make.
For ICS:
Open terminal.
Go to path /home/<your_name>/build_kernel/GT-I9100_Kernel/
Type export USE_SEC_FIPS_MODE=true
Type make.
THAT'S ALL. YOUR zImage is ready and is available in /home/<your_name>/build_kernel/GT-I9100_Kernel/arch/arm/boot/zImage.
Install the zImage on the device:
Go to the path where zImage is present and type the below line in command line.
Code:
tar cvf I9100_kernel.tar zImage
Flash the tar using odin.
DONE. CONGRATULATIONS. NOW YOU'VE YOUR OWN KERNEL.
Give me your feedback so that I can improve this tutorial. And post here about how your build went. All the best.
Making custom ROM
Let's move on to make a custom ROM.
Inputs/Feedback/Suggestions are more than welcome. Lets improve this tutorial together for the betterment of the android community.
Steps involved in making a custom ROM:
Getting the system dump from the device.
Deodexing app and framework folders.
Creating various mods by modifying framework and system files.
Modifying build.prop and adding tweaks.
Making META-INF folder and writing an updater-script (edify scripting).
Signing the ROM and making a flashable zip.
Folder Structure:
Before going forward, let's follow the below structure folder to make the tutorial more understandable.
Let our ROM name be CustomROM. The folder structure will be C:\Users\<your name>\CustomROM.
Let's move step by step. Are you ready??
Getting the system dump from the device
Click to expand...
Click to collapse
Make sure USB debugging is ON and connect your device to the PC.
Open command prompt on your windows PC and go to CustomROM folder path.
Type adb devices. You should be able to see the device detected. (If not check environmental variables whether adb is in system path or not. If not present, add the adb path.)
Type the below command to get the dump of system folder.
Code:
adb pull /system system/
Now inside the folder CustomROM, you should be able to see system folder with many folders like app, etc, framework etc inside.
Done with first step.
Deodexing app and framework folders
Click to expand...
Click to collapse
Look HERE how to deodex app and framework folders. Copy the app and framework folders to xUltimate folder, rename them to origi_app and origi_frame and follow the given link to deodex.
NOTE: After deodexing, merge origi_app folder with app folder under C:\Users\<your name>\CustomROM\system\app and origi_frame with framework folder under C:\Users\<your name>\CustomROM\system\framework.
Creating various mods by modifying framework and system files
Click to expand...
Click to collapse
Okay. This the section where your hardwork, innovation and talent comes in. You can use the mods available already, create your own mods, port various mods from other devices and so on.
Below is a list of various mods which can be ported on to GT-I9100. All the credits go these respective thread owners. Thanks to them.
Lidroid 14 toggle mod
Extended power menu with/without header
CRT Off Animation & SIP Over LTE/HSPA
Swipe to remove notifications
NOTE: Let me know more mods with links so that I can add here.
Modifying build.prop and adding tweaks
Click to expand...
Click to collapse
Okay. This is one of those files where you name your ROM(to be visible in settings. ) and add many tweaks.
To name your ROM (to be visible in settings), change the below code.
Code:
ro.build.display.id=CustomROM v1.0
Check the below links for many other tweaks. All credits go to respective thread owners. Thanks to them.
build.prop tweaks by TheFrankenstain
build.prop tweaks by dhlalit11
Making META-INF folder and writing an updater-script (edify scripting)
Click to expand...
Click to collapse
Once you're done with all the modifications, mods and additions, its time to create META-INF folder and make the updater script. Once the user flashes the ROM zip, this is the script that runs and does everything written inside the script. PLEASE BE CAREFUL WITH THIS. TAKE REFERENCE FROM OTHER (SAME DEVICE) ROMS' UPDATER-SCRIPT. (In this case, take reference from other GT-I9100 roms.)
Check the below links for tutorial and how-to on writing edify script and making updater script. All credits go to respective owners of the threads. Thanks to them.
Edify Scripting, Making Flashable ZIPs, ZIP Signing & Key Creation
Edify Scripting Notes
How to Write an Updater-Script with Edify Code
Edify Installation Script Syntax's
NOTE: system folders path, boot/kernel partition path, modem partition path and so on are COMPLETELY DIFFERENT for DIFFERENT DEVICES. Check the partitions for your device properly, carefully and then work on updater-script. TAKE HELP OR REFERENCE FROM OTHER ROM DEVELOPERS FOR YOUR DEVICE.
Lets move on to last step. Making a signing and making a flashable zip.
Signing the ROM and making a flashable zip
Click to expand...
Click to collapse
Make sure, now you should be able to find two folders (META-INF and system) inside C:\Users\<your name>\CustomROM.
Check in THIS thread for test signing your ROM. It WORKS with GT-I9100.
or Check THIS thread to create your own signing key and certificate.
Now you're done with making a custom ROM. Hope to see more custom ROMs from many users.
Give me your feedback so that I can improve this tutorial. And post here about how your custom ROM making went. All the best.
last one
i don't see any tutorials just links to a diff thread and a rom that won't work on i9100
buster041284 said:
i don't see any tutorials just links to a diff thread and a rom that won't work on i9100
Click to expand...
Click to collapse
You're quite fast Updated Deodexing and Building kernel section..
Great thread Superatmos. I'll definately have a go at this.
Quick question ? Am i right in assuming that although your tutorial says to connect your device this line from xUltimate seperceeds that ?
"Alright xUltimate has been updated to v2 What this means is that you do not need your phone connect to your computer to deodex. So you can just manually place the .odex files in (\origi_frame\) and (\origi_app\) and it will deodex. You can also transfer the .odex files from your phone like the last version."
where do I get the zImage to extract the initramfs from? I can't seem to find the zImage on my phone or in the source anywhere.
Great
Very useful.. Added to my favorite.
Thank's man, i'll read that
puccini said:
Great thread Superatmos. I'll definately have a go at this.
Quick question ? Am i right in assuming that although your tutorial says to connect your device this line from xUltimate seperceeds that ?
"Alright xUltimate has been updated to v2 What this means is that you do not need your phone connect to your computer to deodex. So you can just manually place the .odex files in (\origi_frame\) and (\origi_app\) and it will deodex. You can also transfer the .odex files from your phone like the last version."
Click to expand...
Click to collapse
Connect your device to the PC and double click Main.exe inside xUltimate folder. Follow the instructions you see from then. Its quite self explanatory.
If you already have origi_app and origi_frame folders, then just double click on Main Skip.bat.
dmp450 said:
where do I get the zImage to extract the initramfs from? I can't seem to find the zImage on my phone or in the source anywhere.
Click to expand...
Click to collapse
Use ktool (available on market.. compatible with I9100) and click on Dump current kernel. You'll find it on sdcard.
One more way is when you download firmware from sammobile.com, just extract the file and you'll find zImage inside it.
Nice thread,
I m waiting from long time.
Thanks for your work.
Sent from my GT-I9100 using XDA
Making custom ROM section updated
Hi all,
Please find updated custom rom section HERE.
Feedback and suggestions welcome.
Thanks for the kernel part, will come in handy
Enviado desde mi GT-I9100 usando Tapatalk 2
Good tutorial, thanks.
How do you guys sign the rom if you are on Linux (ubuntu for me)
hi superatmos
thanks for this handy thread...may i ask your for a help here?why in my every deodexing always gives error result?
I attach the screenshots.
Many thanks in advance
tks mate will try to pack my own kernel following this method
Sent from my GT-I9100 using Tapatalk 2
Aug 28 (21 hours ago)
I have tried so many options/blogs/scripts to install GooglePlay for Emulator (running through Android Studio) but it never works. I have seen so many different errors
1. Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]
2. Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]
3. No space left on /system
Why is it so hard to install GooglePlay on Emulator, can someone provide steps or GApps that work with Marshmallow/Noughat.
Here's the gist of what I have tried :
1. Copy GApps from http://opengapps.org/ [ Platform: x86_64; Android: 6 & 7; Variant: full ]
2. Extract the zipped file to temporary folder and then extract following apks from it to another folder
* gsfcore-all/nodpi/priv-app/GoogleServicesFramework/GoogleServicesFramework.apk
* gsflogin-all/nodpi/priv-app/GoogleLoginService/GoogleLoginService.apk
* gmscore-x86_64/nodpi/priv-app/PrebuiltGmsCore/PrebuiltGmsCore.apk
* vending-all/nodpi/priv-app/Phonesky/Phonesky.apk
3. Try pushing these apks through this script
IMAGE_NAME=Nexus_5X_API_24 #Nexus_5X_API_23
emulator @${IMAGE_NAME} -no-boot-anim -writable-system &
adb wait-for-device
adb root
adb shell stop
adb remount
adb push PrebuiltGmsCore.apk /system/priv-app/
adb push GoogleServicesFramework.apk /system/priv-app/
adb push GoogleLoginService.apk /system/priv-app/
adb push Phonesky.apk /system/priv-app/
I would really appreciate any help !!
Hello and welcome to XDA Q&A section of the Forums.
In the .zip file you got from GApps, there should be a thing called "updater-script" located in the first folder then the subfolder of that and so on till you find it. In this script it tells your recovery what do you with the file rather than just smile at it . I guess you can say it is time for a human to do those steps manually instead (I guess you can say that).
If I helped, hit "thanks" .
Its not clear by your comments what you are suggesting, you mean to say that I should read this script "updater-script" and apply those steps manually ?
maqzee said:
Its not clear by your comments what you are suggesting, you mean to say that I should read this script "updater-script" and apply those steps manually ?
Click to expand...
Click to collapse
Yup! Use notepad++ to view it btw, good luck! At least it's not smali code.