Rawprogram0.xml and patch0.xml - possible way of create [need testing] - Moto G5 Questions & Answers

Could someone with working device try this tutorial to create blankflash files for Moto G5?
https://www.youtube.com/watch?v=Yn1TyC20Dh8

we need someone to try this with his motorola xt1672 to see if it works

I've managed to create those files using "PrimaryGPT.bin" - its content is on the screenshot below.
{
"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"
}
Running that script ("partition0.xml" was used as it was in video tutorial) created a lot of files but I think they're useless even for trying to flash them until we'll get correct firehose programmer file.

I hope you get the long-awaited blankflash.

Hi,
I have this error if i want to analyse the gpt.bin file :
Code:
<?xml version="1.0"?>
<configuration>
<!-- Primary GPT header: -->
<!-- MD5: 7b92019b9b51256cc78760577b3e2860 -->
<!-- Signature: <?xml ve -->
<!-- Revision: 1869181810 -->
<!-- Header Size: 824327534 -->
<!-- WARNING!! CRC32 of header: 2022302E (INVALID) => Real: BBBF9D55 -->
<!-- Current LBA: 0xA3E657069636572 -->
<!-- Backup LBA: 0x6873616C663C2020 -->
<!-- First usable LBA for partitions: 0x6974697472617020 -->
<!-- Last usable LBA for partitions: 0x74726170223D6E6F -->
<!-- Disk GUID: 6F697469-3A6E-2230-2066-696C656E616D -->
<!-- Partition entries starting LBA: 0x6D5F747067223D65 -->
<!-- Number of partition entries: 812542305 -->
<!-- Size of partition entry: 0x6E69622E -->
<!-- CRC32 of partition array: 0x0A3E2F22 -->
<parser_instructions>
<!-- NOTE: entries here are used by the parser when generating output -->
<!-- NOTE: each filename must be on it's own line as in variable=value-->
WRITE_PROTECT_BOUNDARY_IN_KB = 32768
GROW_LAST_PARTITION_TO_FILL_DISK = true
</parser_instructions>
<!-- NOTE: "physical_partition" are listed in order and apply to devices such as eMMC cards that have (for example) 3 physical partitions -->
<!-- This is physical partition 0 -->
<physical_partition>
<!-- NOTE: Define information for each partition, which will be created in order listed here -->
<!-- NOTE: Place all "readonly=true" partitions side by side for optimum space usage -->
<!-- NOTE: If OPTIMIZE_READONLY_PARTITIONS=true, then partitions won't be in the order listed here -->
<!-- they will instead be placed side by side at the beginning of the disk -->
Traceback (most recent call last):
File "GPTAnalyzer.py", line 644, in <module>
main()
File "GPTAnalyzer.py", line 622, in main
fbuf = get_part_table_area(f, gpt_header)
File "GPTAnalyzer.py", line 145, in get_part_table_area
fbuf = get_lba(f, part_entry_start_lba, first_use_lba_for_partitions - part_entry_start_lba)
File "GPTAnalyzer.py", line 49, in get_lba
fhandle.seek(LBA_SIZE*entry_number)
OverflowError: long too big to convert
there is no gpt.img in the moto g5 stock rom.

I've used another file, not a original one.

Related

work with xml

Hi all, i have a big problem to write file in xml.
For reading the file i hadn't problem but to write...
Well, i have created this simple xml:
<?xml version="1.0" encoding="utf-8"?>
<budget>
<entrate>
<titolo>titolo</titolo>
<descrizione>descr</descrizione>
<prezzo>1000</prezzo>
<data>24/02/2011</data>
<id>0</id>
<mese>2</mese>
<anno>2011</anno>
</entrate>
</budget>
and i have added thi into my project by "adding new existing item"
now i have this code to write the xml:
using (var applicationStorage = IsolatedStorageFile.GetUserStoreForApplication())
using (var speedListFile = applicationStorage.OpenFile("budget.xml", FileMode.OpenOrCreate, FileAccess.Write))
{
var document = new XDocument(new XDeclaration("1.0", "utf-8", "yes"),
new XElement("budget",
new XElement("entrate",
new XAttribute("id", "t.Id"),
new XAttribute("subject", "t.Subject"),
new XAttribute("body", "t.Body"))));
document.Save(speedListFile);
}
and with this code in every case create a new file and don't use my file included into my project. why?
How can i open my file budget.xml of my project?
Thanks
Because files you save as content in your XAP aren't stored in isolated storage.
To use read from a file that's saved as content you need to use
var resource = System.Windows.Application.GetResourceStream(new Uri("{path to file}", UriKind.Relative);
of course, you cannot then save any changes to that file back to the content file. You'd need to save it in isolated storage.

[ PROGRAMMING ] PHP - Secure email [ TUTOR ] PHP

Hi guys ... ,
Here PHP ..... In our daily life
{
"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"
}
What does php mean?
php is a self-referentially acronym for PHP: Hypertext Preprocessor. Original it supposedly meant personal home page. It is an open source, server-side, HTML embedded scripting language used to create dynamic Web pages. In an HTML document, PHP script (similar syntax to that of Perl or C ) is enclosed within special PHP tags. Because PHP is embedded within tags, the author can jump between HTML and PHP (similar to ASP and Cold Fusion) instead of having to rely on heavy amounts of code to output HTML. And, because PHP is executed on the server, the client cannot view the PHP code. PHP can perform any task that any CGI program can do, but its strength lies in its compatibility with many types of databases. Also, PHP can talk across networks using IMAP, SNMP, NNTP, POP3, or HTTP. PHP was created sometime in 1994 by Rasmus Lerdorf. During mid 1997, PHP development entered the hands of other contributors. Two of them, Zeev Suraski and Andi Gutmans, rewrote the parser from scratch to create PHP version 3 (PHP3).
In simple words >>>
PHP is a scripting language which is highly powerful open source that's widely used for web development activities to create efficient and dynamic web pages. PHP programming is specialty of Arth InfoSoft, we have developed various industry based websites like realtors, financial, engineering, social networking, hotel and hospitality, B2B, Shopping and many more.
No let's learn [ PHP Login script ] : :cyclops:​
Learn to create a simple login system with php + mysql script, this tutorial is easy to follow, teach you step by step.
Overview​
In this tutorial, we create 3 php files for testing our code.
1. main_login.php
2. checklogin.php
3. login_success.php
Steps
1. Create table "members" in database "test".
2. Create file main_login.php.
3. Create file checklogin.php.
4. Create file login_success.php.
5. Create file logout.php
Click to expand...
Click to collapse
STEP1: Create table "members"
For testing this code, we need to create database "test" and create table "members".
CREATE TABLE `members` (
`id` int(4) NOT NULL auto_increment,
`username` varchar(65) NOT NULL default '',
`password` varchar(65) NOT NULL default '',
PRIMARY KEY (`id`)
) TYPE=MyISAM AUTO_INCREMENT=2 ;
--
-- Dumping data for table `members`
--
INSERT INTO `members` VALUES (1, 'john', '1234');
Click to expand...
Click to collapse
STEP2: Create file main_login.php
The first file we need to create is "main_login.php" which is a login form
############### Code
<table width="300" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
<tr>
<form name="form1" method="post" action="checklogin.php">
<td>
<table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#FFFFFF">
<tr>
<td colspan="3"><strong>Member Login </strong></td>
</tr>
<tr>
<td width="78">Username</td>
<td width="6">:</td>
<td width="294"><input name="myusername" type="text" id="myusername"></td>
</tr>
<tr>
<td>Password</td>
<td>:</td>
<td><input name="mypassword" type="text" id="mypassword"></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td><input type="submit" name="Submit" value="Login"></td>
</tr>
</table>
</td>
</form>
</tr>
</table>
Click to expand...
Click to collapse
STEP3: Create file checklogin.php
We have a login form in step 2, when a user submit their username and password, PHP code in checklogin.php will check that this user exist in our database or not.
If user has the right username and password, then the code will register username and password in the session and redirect to "login_success.php". If username or password is wrong the system will show "Wrong Username or Password".
############### Code
<?php
$host="localhost"; // Host name
$username=""; // Mysql username
$password=""; // Mysql password
$db_name="test"; // Database name
$tbl_name="members"; // Table name
// Connect to server and select databse.
mysql_connect("$host", "$username", "$password")or die("cannot connect");
mysql_select_db("$db_name")or die("cannot select DB");
// username and password sent from form
$myusername=$_POST['myusername'];
$mypassword=$_POST['mypassword'];
// To protect MySQL injection (more detail about MySQL injection)
$myusername = stripslashes($myusername);
$mypassword = stripslashes($mypassword);
$myusername = mysql_real_escape_string($myusername);
$mypassword = mysql_real_escape_string($mypassword);
$sql="SELECT * FROM $tbl_name WHERE username='$myusername' and password='$mypassword'";
$result=mysql_query($sql);
// Mysql_num_row is counting table row
$count=mysql_num_rows($result);
// If result matched $myusername and $mypassword, table row must be 1 row
if($count==1){
// Register $myusername, $mypassword and redirect to file "login_success.php"
session_register("myusername");
session_register("mypassword");
header("location:login_success.php");
}
else {
echo "Wrong Username or Password";
}
?>
Click to expand...
Click to collapse
STEP4: Create file login_success.php
User can't view this page if the session is not registered.
############### Code
// Check if session is not registered, redirect back to main page.
// Put this code in first line of web page.
<?php
session_start();
if(!session_is_registered(myusername)){
header("location:main_login.php");
}
?>
<html>
<body>
Login Successful
</body>
</html>
Click to expand...
Click to collapse
STEP5: Create file Logout.php
If you want to logout, create this file. The code in this file will destroy the
// Put this code in first line of web page.
<?php
session_start();
session_destroy();
?>
Click to expand...
Click to collapse
For PHP5 User - checklogin.php
############### Code
<?php
ob_start();
$host="localhost"; // Host name
$username=""; // Mysql username
$password=""; // Mysql password
$db_name="test"; // Database name
$tbl_name="members"; // Table name
// Connect to server and select databse.
mysql_connect("$host", "$username", "$password")or die("cannot connect");
mysql_select_db("$db_name")or die("cannot select DB");
// Define $myusername and $mypassword
$myusername=$_POST['myusername'];
$mypassword=$_POST['mypassword'];
// To protect MySQL injection (more detail about MySQL injection)
$myusername = stripslashes($myusername);
$mypassword = stripslashes($mypassword);
$myusername = mysql_real_escape_string($myusername);
$mypassword = mysql_real_escape_string($mypassword);
$sql="SELECT * FROM $tbl_name WHERE username='$myusername' and password='$mypassword'";
$result=mysql_query($sql);
// Mysql_num_row is counting table row
$count=mysql_num_rows($result);
// If result matched $myusername and $mypassword, table row must be 1 row
if($count==1){
// Register $myusername, $mypassword and redirect to file "login_success.php"
session_register("myusername");
session_register("mypassword");
header("location:login_success.php");
}
else {
echo "Wrong Username or Password";
}
ob_end_flush();
?>
Click to expand...
Click to collapse
Encrypting Password - Make your Login More Secure :
Click to expand...
Click to collapse
This is the most secure form of viewing email address < or > logging in to some website .... :cyclops: >>>>>> :fingers-crossed:
SO ... This is what i kept my name >>>> Be secure
Hit thanks button >>> If i helped you in someway :highfive:​
Good tuto.
I just have one question : Why not use PDO ? Since the goal is security, won't it be more efficient ?
near the end it mentions encrypting the password but doesn't say how you are doing it.
(guessing its javascript - maybe using a library to do AES encryption or possibly just sending a hash of the password instead?)
.
maybe the encryption stuff was truncated by a length limit on posts?

[Guide] Make your own watch faces [23-1-2015]

Hello everyone, I've made a simplified tutorial to make your own watchface widget.
In this update I made simpler source code that simplified some steps.
Thanks to xda for posting it in xda Portal
Requirements:
-Eclipse
-Android SDK
-Sony Add-on SDK
Click to expand...
Click to collapse
-----------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------​
1-Download the samples.
2-Extract the zip.
3-Copy the both extracted folders to: "android-sdks\add-ons\addon-sony_add-on_sdk_3_0-sony-19\samples\SmartExtensions".
{
"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"
}
4-Open Eclipse and press Ctrl+N, open "Android" and choose "Android Sample Project".
5-Choose "Sony Add-on SDK 3.0".
6-Choose "SmartExtensions > SmartExtensionAPI" and press Finish.
7-Repeat step 4 to 5, choose "SmartExtensions > SmartExtensionUtils" and press Finish.
8-Repeat step 4 to 5, choose "SmartExtensions > ClockWidgetAnalog" if you wanna make an analog clock. or "SmartExtensions > ClockWidgetDigitalList" if you need to make a digital clock. For example, I'll choose the analog clock.
9-Press Finish
10-Now your workspace should looks like this:
11-To rename the project right click on it like this image:
12-Give it any name you want
13-To rename application package right click like this image:
14-Go to: res/values/strings.xml
15-Change these strings and press Ctrl+S to save it.
-You can keep the 'more apps" link if you want. It go to the watch faces collection thread.
-It's optional to add your email, and here's how to remove "Contact me" button:
-Go to res/layout/activity_preference.xml and find this:
Code:
<Button
android:id="@+id/emailBtn"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:visibility="[COLOR="Red"]visible[/COLOR]"
android:text="@string/email_btn"/>
-Then change the text marked with red above to "gone". So it will be like this:
Code:
<Button
android:id="@+id/emailBtn"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:visibility="[COLOR="Red"]gone[/COLOR]"
android:text="@string/email_btn"/>
16-Change the graphical resources change files in res/drawable-nodpi
17-Connect you device to the pc
18-Enable USB debugging on your phone
19-Right click on the project > Run As > Android application
20-If you want to share the apk you'll find it in the project bin
21-Enjoy
-----------------------------------------------------------------------------------------------------------------------​
How To Resize:
1-Go to "AnalogClock.java" or "DigitalClockLevelList.java in src/-package name-.widgets
2-Edit the marked in red below:
Code:
@Override
public int getWidth() {
return getCellWidth() * [COLOR="Red"]5[/COLOR];
}
@Override
public int getHeight() {
return getCellHeight() * [COLOR="Red"]5[/COLOR];
}
-----------------------------------------------------------------------------------------------------------------------​
How To Add Date:
1-Create new xml file in "res/layout" and give it any name you want
2-Add this:
Code:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:widgets="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:weightSum="1" >
[COLOR="RoyalBlue"]<com.sonyericsson.extras.liveware.aef.widget.TimeLayout[/COLOR]
android:layout_width="wrap_content"
android:layout_height="wrap_content" >
<com.sonyericsson.extras.liveware.aef.widget.TimeView
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:gravity="center"
android:includeFontPadding="false"
android:textColor="[COLOR="DarkOrange"]@android:color/white[/COLOR]"
widgets:textSize="[COLOR="Lime"]25[/COLOR]px"
widgets:timeType="[COLOR="Red"]days_of_month[/COLOR]" />
</com.sonyericsson.extras.liveware.aef.widget.TimeLayout>
</RelativeLayout>
3-You can change the text marked in red above to:
-"days_of_week"
-"days_of_month"
-"days_of_year"
-"months"
4-You can change the number marked in green above to any number you want, to set the font size. Please notice that the unit must be "px" and do not use "dp".
5-You can change on the text marked in orange "white" to "black", or you can remove all the text in orange and put any hex color code. For example:
android:textColor="#ffbf00"
6-To change the position of it, add under "<com.sonyericsson.extras.liveware.aef.widget.TimeLayout" which is marked in blue above:
-android:layout_centerInParent="true" to put it in the center.
-android:layout_centerHorizontal="true" to put it center in horizontal.
-android:layout_centerVertical="true" to put it center in vertical.
-android:layout_alignParentRight="true" to move it to right side.
-android:layout_alignParentLeft="true" to move it to left side.
-android:layout_alignParentTop="true" to move it to to the top.
-android:layout_alignParentBottom="true" to move it to the buttom.
-android:layout_marginRight="10px" change "10" to any number.
-android:layout_marginLeft="10px" change "10" to any number.
-android:layout_marginTop="10px" change "10" to any number.
-android:layout_marginBotton="10px" change "10" to any number.
7-At last, we must include the date xml on the main watch layout xml which is called on my samples "clock_widget_analog.xml" on analog and "clock_widget_levellists.xml" on the digital clock. For example, if you named the xml you made "date.xml" we will add the text marked in red below:
Code:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:widgets="http://schemas.android.com/apk/res-auto"
xmlns:app="http://schemas.android.com/apk/res/com.sonymobile.smartconnect.extension.testclock"
android:layout_width="215px"
android:layout_height="170px"
android:background="@android:color/transparent"
android:baselineAligned="false" >
<ImageView
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:src="@drawable/watchface_bg" />
[COLOR="Red"]<include layout="@layout/date" />[/COLOR]
<include layout="@layout/analog_clock_hand_hours_border" />
<include layout="@layout/analog_clock_hand_minutes_border" />
<include layout="@layout/analog_clock_hand_seconds" />
</RelativeLayout>
-----------------------------------------------------------------------------------------------------------------------​
How To Reorder:
1-Open the main layout xml, -"clock_widget_analog.xml" on analog and "clock_widget_levellists.xml" on the digital clock-. For example, I'll work on analog.
2-You can remove text that start with "<!--" and end with "-->" like the marked in red . it's just notes from sony.This will make it easier:
Code:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:widgets="http://schemas.android.com/apk/res-auto"
xmlns:app="http://schemas.android.com/apk/res/com.sonymobile.smartconnect.extension.testclock"
android:layout_width="215px"
android:layout_height="170px"
android:background="@android:color/transparent"
android:baselineAligned="false" >
<!-- We set a background on containing the base for a watch face. -->
<ImageView
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:src="@drawable/watchface_bg" />
[COLOR="Red"]<!-- Here we reference a TimeLayout using a single drawable for displaying
the hour hand. -->[/COLOR]
<include layout="@layout/analog_clock_hand_hours_border" />
[COLOR="Red"]<!-- Here we reference a TimeLayout using a single drawable for displaying
the minute hand. -->[/COLOR]
<include layout="@layout/analog_clock_hand_minutes_border" />
[COLOR="Red"]<!-- Here we reference a TimeLayout using a single drawable for displaying
the second hand. Note: Seconds will not be shown when the backlight is off
on the SmartWatch 2. -->[/COLOR]
<include layout="@layout/analog_clock_hand_seconds" />
</RelativeLayout>
3-Now you can reorder lines that start with "<include layout="
-----------------------------------------------------------------------------------------------------------------------​
Multiple WatchFace In One App:
-First example is to add digital clock to analog:
1-Copy xml and png files in res/layout and res/drawable-nodpi from digital to analog
2-Copy "DigitalClockLevelList.java" on src/-package name-.widgets from digital to analog
3-Open "ClockWidgetRegistrationInformation" in src/-package name-/ and search for: WidgetClassList widgetList = new WidgetClassList();
4-Add this under WidgetClassList widgetList = new WidgetClassList();:
widgetList.add(DigitalClockLevelList.class);
The text marked in red is same file name you've copied in step 2
5-Now Eclipse will underline it in red as error, it will give you a list of fixes, choose first fix
-Second example if you want to make 2 or more analog watchfaces:
1-Go to res/layout and duplicate all except "activity_preferences.xml", you can rename the duplicated xmls for example by adding "2"
2-Duplicate "AnalogClock.java" in src/-package name-.widgets
3-Add graphical resources on res/drawable-nodpi/ and give it the same names but with "_2"
4-Add the following lines to res/values/strings.xml:
Code:
<string name="name_1">Analog 1</string>
<string name="name_2">Analog 2</string>
To be like this:
Code:
<?xml version="1.0" encoding="utf-8"?>
<!-- No translation of sample extensions -->
<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="MissingTranslation">
<string name="app_name">Analog clock widget</string>
<string name="preference_info">Analog clock watchface widget for Sony SmartWatch2\nDeveloped by Naheel Azawy\nVersion 1.0</string>
[COLOR="Red"]<string name="name_1">Analog 1</string>
<string name="name_2">Analog 2</string>[/COLOR]
</resources>
5-Edit "AnalogClock2.java" in src/-package name-.widgets from:
Code:
package com.naheel.sw2.widget.example.analog.widgets;
import com.naheel.sw2.widget.example.analog.R;
/**
* This widget displays an analog clock providing resources which will be
* automatically rotated by the accessory firmware to reflect the time.
*/
public class AnalogClock2 extends SmartWatch2ClockWidget {
public AnalogClock2(WidgetBundle widgetBundle) {
super(widgetBundle);
}
@Override
int getWidgetLayout() {
return R.layout.[COLOR="Red"]clock_widget_analog[/COLOR];
}
@Override
public int getName() {
return R.string.[COLOR="Red"]app_name[/COLOR];
}
@Override
public int getWidth() {
return getCellWidth() * 5;
}
@Override
public int getHeight() {
return getCellHeight() * 5;
}
@Override
public int getPreviewUri() {
return R.drawable.[COLOR="Red"]watchface_analog_preview[/COLOR];
}
}
To:
Code:
package com.naheel.sw2.widget.example.analog.widgets;
import com.naheel.sw2.widget.example.analog.R;
/**
* This widget displays an analog clock providing resources which will be
* automatically rotated by the accessory firmware to reflect the time.
*/
public class AnalogClock2 extends SmartWatch2ClockWidget {
public AnalogClock2(WidgetBundle widgetBundle) {
super(widgetBundle);
}
@Override
int getWidgetLayout() {
return R.layout.[COLOR="Red"]clock_widget_analog_2[/COLOR];
}
@Override
public int getName() {
return R.string.[COLOR="Red"]name_2[/COLOR];
}
@Override
public int getWidth() {
return getCellWidth() * 5;
}
@Override
public int getHeight() {
return getCellHeight() * 5;
}
@Override
public int getPreviewUri() {
return R.drawable.[COLOR="Red"]watchface_analog_preview_2[/COLOR];
}
}
6-Edit "clock_widget_analog_2.xml" on res/layout from:
Code:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:widgets="http://schemas.android.com/apk/res-auto"
xmlns:app="http://schemas.android.com/apk/res/com.sonymobile.smartconnect.extension.testclock"
android:layout_width="215px"
android:layout_height="170px"
android:background="@android:color/transparent"
android:baselineAligned="false" >
<!-- We set a background on containing the base for a watch face. -->
<ImageView
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:src="@drawable/[COLOR="Red"]watchface_bg[/COLOR]" />
<!-- Here we reference a TimeLayout using a single drawable for displaying
the hour hand. -->
<include layout="@layout/[COLOR="Red"]analog_clock_hand_hours_border[/COLOR]" />
<!-- Here we reference a TimeLayout using a single drawable for displaying
the minute hand. -->
<include layout="@layout/[COLOR="Red"]analog_clock_hand_minutes_border[/COLOR]" />
<!-- Here we reference a TimeLayout using a single drawable for displaying
the second hand. Note: Seconds will not be shown when the backlight is off
on the SmartWatch 2. -->
<include layout="@layout/[COLOR="Red"]analog_clock_hand_seconds[/COLOR]" />
</RelativeLayout>
To:
Code:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:widgets="http://schemas.android.com/apk/res-auto"
xmlns:app="http://schemas.android.com/apk/res/com.sonymobile.smartconnect.extension.testclock"
android:layout_width="215px"
android:layout_height="170px"
android:background="@android:color/transparent"
android:baselineAligned="false" >
<!-- We set a background on containing the base for a watch face. -->
<ImageView
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:src="@drawable/[COLOR="Red"]watchface_bg_2[/COLOR]" />
<!-- Here we reference a TimeLayout using a single drawable for displaying
the hour hand. -->
<include layout="@layout/[COLOR="Red"]analog_clock_hand_hours_border_2[/COLOR]" />
<!-- Here we reference a TimeLayout using a single drawable for displaying
the minute hand. -->
<include layout="@layout/[COLOR="Red"]analog_clock_hand_minutes_border_2[/COLOR]" />
<!-- Here we reference a TimeLayout using a single drawable for displaying
the second hand. Note: Seconds will not be shown when the backlight is off
on the SmartWatch 2. -->
<include layout="@layout/[COLOR="Red"]analog_clock_hand_seconds_2[/COLOR]" />
</RelativeLayout>
7-Edit "analog_clock_hand_seconds_2.xml" from:
Code:
<?xml version="1.0" encoding="utf-8"?>
<!-- Use TimeLayout components to place TimeViews showing e.g. hours or minutes
when building up the UI. -->
<com.sonyericsson.extras.liveware.aef.widget.TimeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:widgets="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/transparent"
widgets:gravity="center" >
<!-- Defines a second hand using a drawable and setting the timeType to
seconds. The second hand will be automatically rotated by the accessory
firmware. Note: Seconds will not be shown when the backlight is off
on the SmartWatch 2. -->
<com.sonyericsson.extras.liveware.aef.widget.TimeView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/[COLOR="Red"]second_00[/COLOR]"
widgets:timeType="seconds" />
</com.sonyericsson.extras.liveware.aef.widget.TimeLayout>
To:
Code:
<?xml version="1.0" encoding="utf-8"?>
<!-- Use TimeLayout components to place TimeViews showing e.g. hours or minutes
when building up the UI. -->
<com.sonyericsson.extras.liveware.aef.widget.TimeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:widgets="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/transparent"
widgets:gravity="center" >
<!-- Defines a second hand using a drawable and setting the timeType to
seconds. The second hand will be automatically rotated by the accessory
firmware. Note: Seconds will not be shown when the backlight is off
on the SmartWatch 2. -->
<com.sonyericsson.extras.liveware.aef.widget.TimeView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/[COLOR="Red"]second_00_2[/COLOR]"
widgets:timeType="seconds" />
</com.sonyericsson.extras.liveware.aef.widget.TimeLayout>
8-Edit "analog_clock_hand_minutes_border_2.xml" from:
Code:
<?xml version="1.0" encoding="utf-8"?>
<!-- Use TimeLayout components to place TimeViews showing e.g. hours or minutes
when building up the UI. -->
<com.sonyericsson.extras.liveware.aef.widget.TimeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:widgets="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/transparent"
widgets:gravity="center" >
<!-- Defines a minute hand using a drawable and setting the timeType to
minutes. The minute hand will be automatically rotated by the accessory
firmware. -->
<com.sonyericsson.extras.liveware.aef.widget.TimeView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/[COLOR="Red"]minute_border_00[/COLOR]"
widgets:timeType="minutes" />
</com.sonyericsson.extras.liveware.aef.widget.TimeLayout>
To:
Code:
<?xml version="1.0" encoding="utf-8"?>
<!-- Use TimeLayout components to place TimeViews showing e.g. hours or minutes
when building up the UI. -->
<com.sonyericsson.extras.liveware.aef.widget.TimeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:widgets="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/transparent"
widgets:gravity="center" >
<!-- Defines a minute hand using a drawable and setting the timeType to
minutes. The minute hand will be automatically rotated by the accessory
firmware. -->
<com.sonyericsson.extras.liveware.aef.widget.TimeView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/[COLOR="Red"]minute_border_00_2[/COLOR]"
widgets:timeType="minutes" />
</com.sonyericsson.extras.liveware.aef.widget.TimeLayout>
9-Edit "analog_clock_hand_hours_border_2.xml" from:
Code:
<?xml version="1.0" encoding="utf-8"?>
<!-- Use TimeLayout components to place TimeViews showing e.g. hours or minutes
when building up the UI. -->
<com.sonyericsson.extras.liveware.aef.widget.TimeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:widgets="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/transparent"
widgets:gravity="center" >
<!-- Defines an hour hand using a drawable and setting the timeType to
hours_fine. The hour hand will be automatically rotated by the accessory
firmware. -->
<com.sonyericsson.extras.liveware.aef.widget.TimeView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/[COLOR="Red"]hour_border_00[/COLOR]"
widgets:timeType="hours_fine" />
</com.sonyericsson.extras.liveware.aef.widget.TimeLayout>
To:
Code:
<?xml version="1.0" encoding="utf-8"?>
<!-- Use TimeLayout components to place TimeViews showing e.g. hours or minutes
when building up the UI. -->
<com.sonyericsson.extras.liveware.aef.widget.TimeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:widgets="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/transparent"
widgets:gravity="center" >
<!-- Defines an hour hand using a drawable and setting the timeType to
hours_fine. The hour hand will be automatically rotated by the accessory
firmware. -->
<com.sonyericsson.extras.liveware.aef.widget.TimeView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/[COLOR="Red"]hour_border_00_2[/COLOR]"
widgets:timeType="hours_fine" />
</com.sonyericsson.extras.liveware.aef.widget.TimeLayout>
-----------------------------------------------------------------------------------------------------------------------
---Old thread---
-----------------------------------------------------------------------------------------------------------------------
Please do not take everything and say it's you'r own job. It's enough to say thanks to me on your app. There's something in this world called google removal
Click to expand...
Click to collapse
If you made a watch, post it here and I'll add it to the collection​
Hello,
Thank you very much for your Tutorial. I got my own analog clock.
But is there any way to have a background for Digital Clock?
8-Edit "analog_clock_hand_minutes_border_2.xml" from
dont have analog_clock_hand_minutes_border_2.xml !
---------- Post added at 02:53 PM ---------- Previous post was at 02:47 PM ----------
my watch faces
Hi,
Is it still possible to create new watch faces for the SW2 these days? The main obstacle to start seems to be the inability to download the Sony Add-on SDK. I have only been able to find version 1.0 so far with much searching. Does anyone know where the version 3 file can be downloaded?
Thanks,
Lee

Huawei G9 Plus/ Nova Plus mods

I bought G9 plus, but for now it is on the way to me. I'm curious is somebody tried to enable camera 2 api? 1080p 60fps video recording? Raw photo? Double tap wake up? Stereo video recording without ugly noise cancellation?
Who wants to try, do it at your own risk, but i will be Grateful if you can check this mods.
Enable double tap wake up, works on mate 8. original theme https://forum.xda-developers.com/mate-8/general/enable-double-tap-to-wake-t3312676
I checked in g9 plus there is hw_easywakeupmotion_config.xml with mentioned lines, so mod should work in g9 plus too.
1) Go into system/build.prop and open it in your favorite text editor. Find the line that says ro.config.hw_easywakeup=false and change the false to true then save your changes.
2) Go to system/emui/base/xml and open up the hw_easywakeupmotion_config.xml in your favorite text editor. Find the line that says <EasyWakeupMotion name="Double_Touch" support="1" value="0" flag="0" keycode="131" /> and change the value=0 to value=1 then save your changes.
3) Restart your phone
4) Go into Settings/Smart Assistance/Motion Control and at the bottom you will now see Double Touch. Turn it on.
5) Restart your phone and you will have Double Tap to Wake enabled and working.
Enable camera2 api
add to bottom of build.prop
string:
persist.camera.HAL3.enabled=1
after saving changes to build.prop i think reboot required to changes take effect
you can test if camera2 api start work with app https://play.google.com/store/apps/details?id=pl.vipek.camera2_compatibility_test&hl=ru
or
1. Open terminal and issue command:
getprop | grep camera
If it's running, you should be able to find a line
persist.camera.HAL3.enabled 1
{
"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"
}
Enable RAW capture in the stock EMUI camera app source https://forum.xda-developers.com/huawei-p9lite/how-to/guide-enable-raw-capture-stock-camera-t3623530
1. Ensure your device is rooted
2. Use a root file explorer and navigate to /system/emui/lite/prop/local.prop and open the file as text.
3. Change the value of ro.build.hw_emui_lite.enable from true to false
4. Save the file
5. Reboot the device
6. Open the stock Camera app
7. Enable Pro Photo mode
8. Go to settings and enable RAW.
Happy shooting, happy editing.
If you know some more mods, please post in this thread.
My thoughts about video stereo recording, can some one test it?
1. backup /vendor/etc/mixer_paths.xml
2. in /vendor/etc/mixer_paths.xml
Code:
<path name="camcorder-mic">
<path name="handset-mic" />
change to
Code:
<path name="camcorder-mic">
<path name="speaker-dmic-endfire" />
or
Code:
<path name="camcorder-mic">
<path name="dmic-endfire" />
after saving changes to /vendor/etc/mixer_paths.xml reboot required to changes take effect
Good news!) Huawei NOVA can shoot in HDR+ by simple enabling camera2api and installing gcam.
Sample photos here http://4pda.ru/forum/index.php?showtopic=769885&view=findpost&p=64314965
That is mean Huawei NOVA Plus can this too!!)
"Enable double tap wake up" doesn't supported because lack of kernel and touch driver support.
Enable camera2 api SUCCESS!!)
Enable RAW capture in the stock EMUI camera app failed
Samples G9 Plus Gcam 3.2.045 HDR+ (HAL3) vs ~ default camera (HAL1)​
G9 Plus Gcam 3.2.045 HDR+(HAL3)
Lumio camera = almost default camera (HAL1)
Macro examples HDR+​
Fix Huawei accelerometer tilt
Fix accelerometer tilt​
Video of issue https://yadi.sk/i/fPoYgs3O3N5ssc​In russian language, with history of finding way to manage http://4pda.ru/forum/index.php?showtopic=846874&view=findpost&p=66664464
The instruction for editing the X-axis, similarly can be corrected Y, Z axis too
1. Turn on logcat, it's more convenient through the computer
2. Run any program that uses an accelerometer, wait few secconds
3. Stop the logcat, and look for something like this in it:
10-16 21:30:03.124: I/qti_sensors_hal(1396): read from oem info: data_readback
10-16 21:30:03.124: I/qti_sensors_hal(1396): 0xb3, 0x71, 0x4f, 0xbf
10-16 21:30:03.124: I/qti_sensors_hal(1396): 0x66, 0x92, 0xed, 0x3d
10-16 21:30:03.124: I/qti_sensors_hal(1396): 0xbf, 0xa0, 0x7f, 0x3f
10-16 21:30:03.124: I/qti_sensors_hal(1396): 0x55, 0x0, 0x0, 0x0
10-16 21:30:03.124: I/qti_sensors_hal(1396): 0x0, 0x0, 0x0, 0x0
10-16 21:30:03.124: E/qti_sensors_hal(1396): read from oem info: data_valid_flag=0x55
10-16 21:30:03.124: E/qti_sensors_hal(1396): read from oem info: x_offset=-0.810329, y_offset=0.116002, z_offset=0.998547
10-16 21:30:03.124: E/qti_sensors_hal(1396): Final value: x_offset=-0.810329, y_offset=0.116002, z_offset=0.998547
Click to expand...
Click to collapse
4. Open file /dev/block/platform/soc/7824900.sdhci/by-name/oeminfo through "hex редактор" https://play.google.com/store/apps/details?id=tuba.tools.hexfull&hl=ru
5. Looking for hex values from logcat in oeminfo, in my case this is: b3 71 4f
6. Find right hex values - change, save, start the logcat look at the line E/qti_sensors_hal(1396): Final value: x_offset=-0.810329, if there is a change in the right way - more / less, depending on the nature of accelerometer tilt error of your phone, then continue to change the value until you achieve desired values of x_offset. You can use values from the neighboring Y, Z axes if you think they are right for you. For example, first I inserted values from the line 0x66, 0x92, 0xed, 0x3d and got x_offset about 0.1. But I needed x_offset = 0.0 for this I go further and found out that is b3 39 0 0 is x_offset = 0.0 for me.
7. Enjoy that now you have accelerometer that show correct level
​

Spectrum&Morpho for Xiaomi Devices

What is Spectrum? See here
What is Morpho? See here
The Spectrum_SDM625.zip file is for devices:
daisy, tulip, sakura, mido, tissot, oxygen, markw, sakura_india, vince, ysl, tiffany
If there are any other Xiaomi devices with snapdragon 625 let me know.
Use the Morpho_EAS_SDM625 file on kernels that have eas. Example: 4.9 have eas in-built *What is EAS? See here
To see more files related to the spectrum for others snapdragon look at the download link and the groups (mainly the groups).
Morpho FK: - (most recommended)
FK change the profiles based on the app that is being used. (That's the best feature).
Go to Morpho's telegram channel and see the updates and download as you wish.
FK Manager: Link - Screenshot
If you wanted to install the MORPHO_FK manually. (Android 10, Miui, vendor custom and outhers).
Copy file "init.performance_profiles.rc" for your root directory.
Permission: 0755
Note: On android 10 it is recommended to install manually as it may happen that magisk breaks.
"Android 10 users,
There's a issue happening to some of you: magisk root is lost after flashing Morpho FK.
The workaround for it is extracting the file "init.performance.rc" from Morpho FK zip and putting it on the root of the device (/here).
We are already working on a fix to this bug." byojosehenrick
Screenshot
SPECTRUM ALL DEVICES: If you have a non-snapdragon device you can try Spectrum-Injector-v1.zip along with their respective profiles.
PROFILE - copy files to /sdcard/Spectrum/profiles/
Morpho All Devices: Link
Spectrum on Google Play
Add manual spectrum support:
Recommend RootExplorer app.
Edit system/build.prop
Add this:
spectrum.support=1
Or add spectrum support by termux app:
setprop spectrum.support=1
If you wanted to install the spectrum manually:
set_perm(0, 0, 0644, "/vendor/etc/init/hw/init.spectrum.rc");
set_perm(0, 0, 0755, "/vendor/etc/init/hw/init.spectrum.sh");
Outhers:
system/etc/init
Want to know more? Search on:
Round-Robin; HMP; Completely Fair; EAS; SMP.
Example: link
Governors
{
"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"
}
Thanks to the authors:
ojosehenrick
frap129
acras1
pawelik
tunasahinn
atiprusma's UnF (UnFaedah - means USELESS)
If there is or is missing someone to thank or put the credits, let me know.
If you see something wrong please let me know.
Sources:
https://github.com/pawelik001/android_device_xiaomi_daisy/blob/superior/rootdir/etc/init.spectrum.rc
https://github.com/tunasahinn/android_device_xiaomi_daisy/blob/dot-p/rootdir/etc/init.spectrum.rc
Telegram:
https://t.me/morphodev
https://t.me/morphoreleases
https://t.me/KampretDarat
https://t.me/A2LiteOfficial - https://discordapp.com/invite/smYbpVx
SDM625 or Daisy: LINK DIRECT
DOWNLOAD: LINK
or
MIRROR: LINK
MAY HAPPEN FROM ENTERING IN BOOTLOOP, I NOT RESPONSIBLE FOR DAMAGE CAUSED OR DATA LOST BY USING THIS ZIP.
Optional - Spectrum for Snapdragon 730/tweaks:
[system/build.prop]
#Spectrum support:
spectrum.support=1
#Spectrum Tweaks
#Balance (default profile)
on propertyersist.spectrum.profile=0
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor interactive
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq 546000
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq 1586000
write /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor interactive
write /sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq 546000
write /sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq 1586000
write /sys/devices/11400000.mali/max_clock 1001
write /sys/devices/11400000.mali/min_clock 343
write /sys/devices/11400000.mali/power_policy coarse_demand
write /sys/power/cpuhotplug/enable 1
write /sys/module/sync/parameters/fsync_enabled Y
write /sys/kernel/dyn_fsync/Dyn_fsync_active 1
write /sys/kernel/sched/gentle_fair_sleepers 0
write /sys/kernel/sched/arch_power 1
#Performance
on propertyersist.spectrum.profile=1
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor performance
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq 546000
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq 1586000
write /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor performance
write /sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq 546000
write /sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq 1586000
write /sys/devices/11400000.mali/max_clock 1001
write /sys/devices/11400000.mali/min_clock 644
write /sys/devices/11400000.mali/power_policy always_on
write /sys/power/cpuhotplug/enable 0
write /sys/module/sync/parameters/fsync_enabled N
write /sys/kernel/dyn_fsync/Dyn_fsync_active 0
write /sys/kernel/sched/gentle_fair_sleepers 0
write /sys/kernel/sched/arch_power 0
#Battery
on propertyersist.spectrum.profile=2
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor interactive
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq 546000
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq 1248000
write /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor interactive
write /sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq 546000
write /sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq 1248000
write /sys/devices/11400000.mali/max_clock 728
write /sys/devices/11400000.mali/min_clock 343
write /sys/devices/11400000.mali/power_policy coarse_demand
write /sys/power/cpuhotplug/enable 1
write /sys/module/sync/parameters/fsync_enabled Y
write /sys/kernel/dyn_fsync/Dyn_fsync_active 1
write /sys/kernel/sched/gentle_fair_sleepers 0
write /sys/kernel/sched/arch_power 1
#Tweaks for Performance
ro.security.mdpp.ux=Disabled
persist.sys.storage_preload=0
wlan.wfd.hdcp=disable
# Battery save
profiler.force_disable_ulog=true
profiler.force_disable_err_rpt=true
Ro.config.tima=0
#smartview
wlan.wfd.hdcp=disable
#tweaks
echo "persist.sys.scrollingcache=3"
echo "profiler.force_disable_ulog=1"
echo "logcat.live=disable"
echo "ro.kernel.checkjni=0"
echo "ro.config.nocheckin=1"
echo "wifi.supplicant_scan_interval=300"
echo "pm.sleep_mode=2"
debug.composition.type=c2d
debug.egl.hw=1
debug.enabletr=true
debug.overlayui.enable=1
debug.performance.tuning=1
debug.qc.hardware=true
debug.qctwa.statusbar=1
debug.qctwa.preservebuf=1
debug.sf.hw=1
#Support HDR & FHD (example Samsung A80)
sys.display-size=1920x1080
video.accelerate.hw=1
ro.media.enc.jpeg.quality=100
ro.media.dec.jpeg.memcap=8000000
ro.media.enc.hprof.vid.bps=8000000
ro.media.enc.hprof.vid.fps=65
#Tweaks for RAM
ro.config.fha_enable=true
ro.sys.fw.bg_apps_limit=64
ro.config.dha_cached_max=32
ro.config.dha_empty_max=42
ro.config.dha_empty_init=32
ro.config.dha_lmk_scale=0.545
ro.config.dha_th_rate=2.3
ro.config.sdha_apps_bg_max=64
ro.config.sdha_apps_bg_min=16
#Multi User
fw.max_users=30
fw.show_multiuserui=1
fw.show_hidden_users=1
fw.power_user_switcher=1
#Signal Performance
ro.telephony.call_ring.delay=0
ring.delay=0
#Safety Net Pass (for Samsung)
ro.knox.enhance.zygote.aslr=1
#Internet Velocity
net.tcp.buffersize.default = 4096,87380,256960,4096, 16384,256960
net.tcp.buffersize.wifi = 4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.umts = 4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.gprs = 4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.edge = 4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.hspda = 4096,87380,256960,4096,16 384,256960
net.tcp.buffersize.hspa = 4096,87380,256960,4096,163 84,256960
ro.sf.lcd_density=280
ro.zygote=zygote32
outhers:
https://forum.xda-developers.com/mi...giskmodule-t3976283/post80403097#post80403097
Links removed.
updated
I have done, flashing thermal & morph, installed Franco kernel manager, set permissive selinux. Did the manual trick to Android 10.
What should I do to this mod to work and profit

Categories

Resources