Do you want to try yourself in creating and editing firmware on Android, then the program Samsung Root Firmware Replacer will help you create firmware!

Briefly about the Samsung Root Firmware Replacer program and its capabilities

With this program you will be able to:

  • Unpack Samsung firmware
  • Dress up the firmware
  • IN automatic mode embed Root rights
  • Automatically fill the firmware with your files
  • Freeze a project and then continue working on it
  • Pack the firmware

Required components and operating conditions for Samsung Root Firmware Replacer

Review and description of Samsung Root Firmware Replacer functions start program

1. Go to the folder with the Samsung Root Firmware Replacer program, right-click to open in the terminal

2. In the terminal, enter the command

3. The program interface will open in front of you

4. If you launched the program for the first time, then execute - Settings Configuration

Working with Samsung Root Firmware Replacer

Paragraph Unpack firmware *.tar.md5- unpacks the firmware, to do this, move the file to the folder unpack_tar_md5, after which all files will be extracted, and the factoryfs or system file will be moved to input_img

paragraph Creating *.img from your Android (needs Android)- allows you to create firmware from your current Android state. For this item to work, you must have Android connected to your PC with USB debugging enabled.

This item has a submenu

Paragraph Creating *.img with original firmware allows you to change ready-made firmware, for this you can transfer any IMG file to the input_img folder.

This item also has its own submenu

An example of using the Samsung Root Firmware Replacer program

IN in this example Firmware is being created from the current state of Android

1. Connect Android to PC

2. Launch the program

3. Select Create *.img from your Android (needs Android)

4. Select Remove image from Android and unpack img

5. Selecting the partition from which the image will be removed

6. Wait 6-7 minutes for the image to be removed and transferred to the PC.

Important! Your smartphone or tablet, as well as your PC, must have enough memory to take the image. The image size can range from 2MB to 2GB

7. After you have removed the image, you can modify it, if necessary (embed Root), you can package it back, for this

8. Select Package project in img

9. Specify the size and name of the firmware.

  • Specify the partition size in this way: divide the block size by 1024 and add the letter M to the result.

  • The name must match the name you used to change

11. Also, do not forget to copy the kernel from your Android, to do this, use the item - Remove image from Android - boot.img or zImage

12. After all the manipulations, you need to assemble the firmware in TAR.MD5

13 In the main menu, select Pack firmware *.tar.md5

14 Firmware in Samsung program Root Firmware Replacer is ready, you can

Many users, especially gamers, are interested in how to open a file with the bin extension. Bin is a container format that can store many different types of data. It is used to store disk images, videos or other data in binary form, configuration various programs and devices, and is also widely used for updating firmware.

How to open a bin image file?

One of the most popular programs for opening a disk image with a bin extension is UltraIso. It has been translated into Russian and is distributed completely free of charge.

You can download UltraIso from of. site .

Now, let's look at how you can open a bin image using UltraIso:

How to open bin firmware files?

This actual question among novice users who want to see what they will sew into their device. What program should I use to open the bin file in this case? It can only be read by the utility in which it was created.

Router manufacturers, for example, Tp-Link, use the bin file to flash their devices. Some users who work with routers every day know how to open the bin extension. They are opened by the routers themselves. The same applies to other firmware bin files - they can only be opened by devices for which the firmware is intended.

Leave all your questions in the comments!

Almost every user android smartphone there was a desire to create or edit the firmware to suit your needs and desires. In this article we will look at the principle of editing firmware for CWM (in zip format).

Preparation:

First of all, we need to decide which firmware we will use as a basis. It's better to use off. firmware in zip. For almost every common device there is a clean firmware + root.
When the firmware is selected, it must be downloaded to any location convenient for you on your PC (no need to unpack).
We will also need an archiver, I recommend using 7zip and the best of its kind text editor Notepad++.

Firmware structure:

Opening the archive with the firmware you see the following:
META-INF- The folder contains firmware installation scripts.
system- a folder with all firmware files (applications, tweaks, scripts, etc.).
boot.img- the core of the system.

Almost all manipulations are carried out in the folder system, its structure:
app- system applications.
bin- resources of the system itself.
etc- Scripts, tweaks, configs, profiles and system settings.
fonts- System fonts.
framework- the main system files are stored here (graphics, animation text settings, etc.).
lib- system libraries.
media- multimedia files (notification ringtones, loading animation, wallpaper, etc.).
usr- settings that cannot be changed in the future by the system (they work in read-only mode).
xbin- again, system configs and other tweaks.
build.prop- information about the system, locale settings and system performance.

Applications:

Before adding/removing software to the system, you need to check whether your firmware is deodexed (that is, check for the presence of .odex files in the app folder. If there are files, then you need to get rid of them using this instructions .
Add software to the firmware:
First of all, you need to install in your smart those programs that you want to add to the assembly. After installation, we remove them from the system using Root Explorer and its analogs, they are located on the data/app path, we also need their libs (if they exist, of course), they are located on the data/data path. They are located in the folder of the same name in the application and have the extension .so. Then seized .apk put the files in the archive along the path system/app and files with the extension .so(libs) along the path system/lib .
We remove the software from the firmware:
Everything is simple here, go to the folder app- we decide what we don’t need and remove all unnecessary software (it’s better not to touch the system).

Language and firmware version:

Copy the build.prop file to your desktop. Open it with notepad and find the lines:

ro.product.locale.language=en
ro.product.locale.region=US

for the Russian language you need to do this:

ro.product.locale.language=en
ro.product.locale.region=RU

enter the name of your mod in the line

in the same build.prop

Graphic arts:

The entire graphical part of the firmware is stored in two files framework-res.apk file path systemframework and SystemUI.apk along the way systemapp. And the graphical part of the settings application is naturally stored in the Settings.apk application.

Scripts and tweaks (system acceleration and optimization):

Most of the settings are done in the file build.prop, you can read about this. Also, if your kernel supports init.d there are a number of scripts for optimizing the system, one of them is described in this article (RAM optimization) and in this article Tweak scripts for init.d

Replacing system fonts:

As stated above, all fonts are contained in the folder fonts, the main fonts are: DroidSans.ttf and DroidSans-Bold.ttf they can be replaced with any fonts, renaming them similarly to the above and moving with replacement to the archive with the firmware in the folder fonts.

Core:

Theoretically, it is enough to replace boot.img its own, but in some cases the Cores are accompanied by additional scripts. Therefore, I advise you not to do anything if you have any doubts.



Interpolation, interpolation- in computational mathematics, a method of finding intermediate values ​​of a quantity from an existing discrete set of known values.

Many of those who encounter scientific and engineering calculations, you often have to operate with sets of values ​​obtained empirically or by random sampling. As a rule, based on these sets, it is necessary to construct a function into which other obtained values ​​could fall with high accuracy. This task is called approximation. Interpolation is a type of approximation in which the curve of the constructed function passes exactly through the available data points.

There are many finite difference interpolation methods. Most
Newton's method for forward interpolation (Newton-Gregory method) is common. The interpolation polynomial in this case has the form:

We find coefficients C using the formula:

Implementation of the program in C#:
using System; namespace Interpolation ( class Program…

The program is divided into two threads in one of which sorting is performed, and in the other redrawing GUI. After clicking on the “Sort” button, the program calls the “RunSorting” method, in which the sorting algorithm is defined and a new thread is created with the sorting process running in it.
private void RunSo…

Today I want to show my Kacher, which I made last winter holidays. I will not describe the entire manufacturing process, since there are many articles on the Internet. I will write only about its main parameters.

Below are a few photos taken during assembly of the device.

The coil is wound with 0.08 mm wire approximately 2000 turns per PVC pipe with a diameter of 50 mm and a height of 200 mm.

A plate from an old one was used as a terminal. hard drive. Everything else was assembled according to the diagram located at the very bottom of the page.

The first option was powered from the power supply of an old computer, with a voltage of 12 V. Then a separate power supply was made, with a voltage of 30 V and with built-in cooling.

Device diagram:

Cross-domain resource sharing (CORS) is a W3C specification that allows cross-domain communication in the browser. By building on top of the XMLHttpRequest object, CORS allows developers to work with the same idioms as requests with the same domain. The use case for CORS is simple. Imagine that alice.com has some data that bob.com wants to obtain. This type of request is traditionally not allowed under the same browser origin policy. However, by supporting CORS requests, alice.com can add some special response headers that allow bob.com to access the data. As you can see from this example, CORS support requires coordination between the server and client. Luckily, if you're a client-side developer, you're protected from most of these details. The rest of this article shows how clients can perform cross-origin requests and how servers can configure themselves to support CORS. Continued…

Interpolation, interpolation- in computational mathematics, a method of finding intermediate values ​​of a quantity from an existing discrete set of known values.

Many of those who deal with scientific and engineering calculations often have to operate with sets of values ​​obtained empirically or by random sampling. As a rule, based on these sets, it is necessary to construct a function into which other obtained values ​​could fall with high accuracy. This task is called approximation. Interpolation is a type of approximation in which the curve of the constructed function passes exactly through the available data points.

There are many finite difference interpolation methods. Most
Newton's method for forward interpolation (Newton-Gregory method) is common. The interpolation polynomial in this case has the form:

We find coefficients C using the formula:

Implementation of the program in C#:
using System; namespace Interpolation ( class Program…

Visualization of sorting algorithms

The program is divided into two threads in one of which sorting is performed, and in the other the graphical interface is redrawn. After clicking on the “Sort” button, the program calls the “RunSorting” method, in which the sorting algorithm is defined and a new thread is created with the sorting process running in it.
private void RunSo…

Kacher Brovina on KT819G

Today I want to show my Kacher, which I made last winter holidays. I will not describe the entire manufacturing process, since there are many articles on the Internet. I will write only about its main parameters.

Below are a few photos taken during assembly of the device.

The coil is wound with approximately 2000 turns of 0.08 mm wire on a PVC pipe with a diameter of 50 mm and a height of 200 mm.

A plate from an old hard drive was used as a terminal. Everything else was assembled according to the diagram located at the very bottom of the page.

The first option was powered from the power supply of an old computer, with a voltage of 12 V. Then a separate power supply was made, with a voltage of 30 V and with built-in cooling.

Device diagram:

What is CORS and how to use it

Cross-domain resource sharing (CORS) is a W3C specification that allows cross-domain communication in the browser. By building on top of the XMLHttpRequest object, CORS allows developers to work with the same idioms as requests with the same domain. The use case for CORS is simple. Imagine that alice.com has some data that bob.com wants to obtain. This type of request is traditionally not allowed under the same browser origin policy. However, by supporting CORS requests, alice.com can add some special response headers that allow bob.com to access the data. As you can see from this example, CORS support requires coordination between the server and client. Luckily, if you're a client-side developer, you're protected from most of these details. The rest of this article shows how clients can perform cross-origin requests and how servers can configure themselves to support CORS. Continued…