Are those correct? - Xperia Z3 Compact Q&A, Help & Troubleshooting

Are ro.build.description and ro.build.fingerprint correct??

Related

Wanting to Personalize my G1

Hi guys. Just wondering if anyone can help me. What i want to do is in the 'About Phone' section in 'Settings' i want to make the following changes if possible:
Model Number - change to Peter Griffin G1
Firware Version - 2.6
Mod Version - 9.2
Build Number - 1
I know it may sound a bit silly/stubid but itd be awesome if i could actually do tnat
Thanks in advance
ps im running Herver's 1.1.1 eclair build (its the best at the minute)
If you have adb setup this can easily be done
The information can be found in 1 or 2 files:
build.prop or build.trout.prop
use adb to pull these files as such
Code:
adb pull /system/build.prop /location/you/want/your/file (enter)
adb pull /system/build.trout.prop /location/you/want/your file (enter)
open the files in a txt editor, and look for the relevant fields based on the information already displayed on your phone, if your MOD Version is xROM-Eclair****** like mine or whatever it may say simply use ctrl+f to find that field in the txt editor and modify it. Once you've made all the relevant edits push the files back
Code:
adb push /location/of/file /system/build.prop (enter)
adb push /location/of/file /system/build.trout.prop (enter)
Then reboot your phone
Sorry to bother you again but is this correct :
# begin build properties
# autogenerated by buildinfo.sh
ro.build.version.sdk=7
ro.build.version.codename=AOSP
ro.build.version.release=2.1
ro.build.type=eng
ro.build.user=ctso
ro.build.host=h0meb0x
ro.build.tags=test-keys
ro.wifi.channels=
rild.libpath=/system/lib/libhtc_ril.so
wifi.interface = tiwlan0
# Time between scans in seconds. Keep it high to minimize battery drain.
# This only affects the case in which there are remembered access points,
# but none are in range.
wifi.supplicant_scan_interval = 140
# density in DPI of the LCD of this board. This is used to scale the UI
# appropriately. If this property is not defined, the default value is 160 dpi.
ro.sf.lcd_density = 160
# Default network type
# 0 => WCDMA Preferred.
ro.telephony.default_network = 0
#
# ADDITIONAL_BUILD_PROPERTIES
#
ro.url.legal=http://www.google.com/intl/%s/mobile/android/android-dev-phone-legal.html
ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/android-dev-phone-privacy.html
ro.config.notification_sound=OnTheHunt.ogg
ro.config.alarm_alert=Alarm_Classic.ogg
keyguard.no_require_sim=true
ro.com.android.dateformat=MM-dd-yyyy
ro.com.android.dataroaming=true
ro.ril.hsxpa=1
ro.com.google.locationfeatures=1
ro.ril.gprsclass=10
ro.product.multi_touch_enabled=true
ro.kernel.android.checkjni=1
ro.setupwizard.mode=OPTIONAL
ro.com.google.clientidbase=android-tmobile
net.bt.name=Android
ro.config.sync=yes
dalvik.vm.stack-trace-file=/data/anr/traces.txt
#
# RIL Hacks - Thanks Amon_RA
#
ro.ril.hep=1
ro.ril.enable.dtm=1
ro.ril.hsdpa.category=8
ro.ril.enable.a53=1
ro.ril.enable.3g.prefix=1
ro.ril.htcmaskw1.bitmask = 4294967295
ro.ril.htcmaskw1 = 14449
ro.ril.hsupa.category = 5
ro.modversion= #1
ro.ModelNumber= The Peter Griffin G1
ro.FirmwareVersion= 2.6
ro.BuildNumber= 1
Click to expand...
Click to collapse
push and reboot, to find out, keep a backup of your originals just incase
I was gonna say you should get a phone skin from Zagg or unique skins.
Thanks dude. I finally managed it this morning. Ended up having to change bits in both files
PS Im defo gonna try and get a Peter Griffin skin for my G1

[Solved] Changes to /system don't stick?

How can I change files in the /system partition on a rooted HTC One?
1. Mount /system as read-write
2. Rename a file and confirm that it has changed
3. Remount /system as read only
The changes I made in step 2 have been forgotten. How can I get around this?
C:\Program Files (x86)\HTC\HTC Sync Manager\HTC Sync>adb shell
[email protected]:/ $ su
su
[email protected]:/ # cd system
cd system/app
1|[email protected]:/system/app # ls -l GM*
ls -l GM*
-rw-r--r-- root root 5215731 2014-01-17 11:15 GMS_Maps.apk
-rw-r--r-- root root 6884656 2008-08-01 22:00 GMS_Maps.odex
[email protected]:/system/app # mv GMS_Maps.apk GMS_Maps.apk.old
255|[email protected]:/system/app # mount -o rw,remount /system
mount -o rw,remount /system
[email protected]:/system/app # mv GMS_Maps.apk GMS_Maps.apk.old
mv GMS_Maps.apk GMS_Maps.apk.old
[email protected]:/system/app # ls -l GM*
ls -l GM*
-rw-r--r-- root root 5215731 2014-01-17 11:15 GMS_Maps.apk.old
-rw-r--r-- root root 6884656 2008-08-01 22:00 GMS_Maps.odex
[email protected]:/system/app # mount -o ro,remount /system
mount -o ro,remount /system
[email protected]:/system/app # ls -l GMS*
ls -l GMS*
-rw-r--r-- root root 5215731 2014-01-17 11:15 GMS_Maps.apk
-rw-r--r-- root root 6884656 2008-08-01 22:00 GMS_Maps.odex
[email protected]:/system/app #
fullshred said:
How can I change files in the /system partition on a rooted HTC One?
1. Mount /system as read-write
2. Rename a file and confirm that it has changed
3. Remount /system as read only
The changes I made in step 2 have been forgotten. How can I get around this?
C:\Program Files (x86)\HTC\HTC Sync Manager\HTC Sync>adb shell
[email protected]:/ $ su
su
[email protected]:/ # cd system
cd system/app
1|[email protected]:/system/app # ls -l GM*
ls -l GM*
-rw-r--r-- root root 5215731 2014-01-17 11:15 GMS_Maps.apk
-rw-r--r-- root root 6884656 2008-08-01 22:00 GMS_Maps.odex
[email protected]:/system/app # mv GMS_Maps.apk GMS_Maps.apk.old
255|[email protected]:/system/app # mount -o rw,remount /system
mount -o rw,remount /system
[email protected]:/system/app # mv GMS_Maps.apk GMS_Maps.apk.old
mv GMS_Maps.apk GMS_Maps.apk.old
[email protected]:/system/app # ls -l GM*
ls -l GM*
-rw-r--r-- root root 5215731 2014-01-17 11:15 GMS_Maps.apk.old
-rw-r--r-- root root 6884656 2008-08-01 22:00 GMS_Maps.odex
[email protected]:/system/app # mount -o ro,remount /system
mount -o ro,remount /system
[email protected]:/system/app # ls -l GMS*
ls -l GMS*
-rw-r--r-- root root 5215731 2014-01-17 11:15 GMS_Maps.apk
-rw-r--r-- root root 6884656 2008-08-01 22:00 GMS_Maps.odex
[email protected]:/system/app #
Click to expand...
Click to collapse
you need an unsecured kernel (ie kernel with write protection disabled)
nkk71 said:
you need an unsecured kernel (ie kernel with write protection disabled)
Click to expand...
Click to collapse
So I should flash over the top of the stock ROM with something like Revolution HD?
fullshred said:
So I should flash over the top of the stock ROM with something like Revolution HD?
Click to expand...
Click to collapse
you can just flash a kernel (such as bulletproof, elementalx, teamseven) compatible with your ROM version!! and you'd still be on stock ROM, but with unsecured kernel, which will allow the changes.
nkk71 said:
you can just flash a kernel (such as bulletproof, elementalx, teamseven) compatible with your ROM version!! and you'd still be on stock ROM, but with unsecured kernel, which will allow the changes.
Click to expand...
Click to collapse
I installed BulletProof. It worked! Google Maps 6.14.4 is back for good... bliss!! Thank you so much!
fullshred said:
I installed BulletProof. It worked! Google Maps 6.14.4 is back for good... bliss!! Thank you so much!
Click to expand...
Click to collapse
no problem
could you also edit main thread title to include [SOLVED], thanks
[go to first post, click EDIT, click GO ADVANCED (at the bottom of the edit window) then you can change main thread title.]

ln -s command

I had trouble getting the ln command to work the original location of busybox. I copied busybox to /.
So I create the bb link. I invoke bb. I get an error?
Why isn't the busybox command run in this case?
Code:
[email protected]_a11chl:/ # ln -s busybox bb
127|[email protected]_a11chl:/ # ./bb
bb: applet not found
[email protected]_a11chl:/ # ls -l
drwxr-xr-x root root 2016-10-01 00:29 acct
lrwxrwxrwx root root 2016-10-01 14:35 bb -> busybox
-rwx------ root root 619476 2016-10-01 14:35 busybox
... clipped ...
here is what I had before trying to simplify
Code:
[email protected]_a11chl:/ # ls -l bb
lrwxrwxrwx root root 2016-10-01 14:28 bb -> /data/data/com.jrummy.app.managerfree/files/busybox
[email protected]_a11chl:/ # ./bb
bb: applet not found

Making Safetynet (CTS Profile) Pass on ROG II - CN Rom

Hey Guys,
Any ideas?
I tried extracting my P30 Pro Values and made a script. (In Service.d with 0777 Permission)
#!/system/bin/sh
resetprop ro.debuggable 0
resetprop ro.secure 1
resetprop ro.build.type user
resetprop ro.build.tags release-keys
resetprop ro.build.description VOG-L29-user 9 HUAWEIVOG-L29 153C185 release-keys
resetprop ro.build.fingerprint HUAWEI/VOG-L29/HWVOG:9/HUAWEIVOG-L29/153C185:user/release-keys
resetprop ro.bootimage.build.fingerprint HUAWEI/VOG-L29/HWVOG:9/HUAWEIVOG-L29/153C185:user/release-keys
resetprop ro.build.version.security_patch 2019-08-01
Click to expand...
Click to collapse
Still the CTS profile fails, Any ideas how to make it pass?
have you tried https://droidholic.com/fix-cts-profile-mismatch-errors/ ?
z3r0h said:
have you tried https://droidholic.com/fix-cts-profile-mismatch-errors/ ?
Click to expand...
Click to collapse
Didn't help much.
Having the same problem on it.
Try to install two magisk module and it doesn't help.
MagiskHide Props Config
SafetyPatch
attachsnow said:
Having the same problem on it.
Try to install two magisk module and it doesn't help.
MagiskHide Props Config
SafetyPatch
Click to expand...
Click to collapse
Not really sure where is the problem.
Need to probably emulate starting from device name itself.
JazonX said:
Not really sure where is the problem.
Need to probably emulate starting from device name itself.
Click to expand...
Click to collapse
After flashing WW rom on CN device, I try to search prop value.
Maybe we can try those info first?
Search CN:
[persist.asus.ship_location]: [CN]
[ro.boot.country_code]: [CN]
[ro.build.fingerprint]: [asus/CN_I001D/ASUS_I001_1:9/PKQ1.190414.001/16.0622.1906.19-0:user/release-keys]
[ro.config.versatility]: [CN]
[ro.product.carrier]: [ASUS-ASUS_I001D-CN]
[ro.product.name]: [CN_I001D]
[ro.product.vendor.name]: [CN_I001D]
[ro.vendor.build.fingerprint]: [asus/CN_I001D/ASUS_I001_1:9/PKQ1.190414.001/16.0622.1906.19-0:user/release-keys]
Search WW:
[ro.asus.build.version]: [asus/WW_I001D/ASUS_I001_1:9/PKQ1.190414.001/16.0622.1906.19-0:user/release-keys]
[ro.asus.product.name]: [WW_I001D]
[ro.bootimage.build.fingerprint]: [asus/WW_I001D/ASUS_I001_1:9/PKQ1.190414.001/16.0622.1906.19-0:user/release-keys]
[ro.build.asus.sku]: [WW]
[ro.build.csc.version]: [WW_ZS660KL-16.0622.1906.19-0]
[ro.build.description]: [WW_Phone-user 9 PKQ1.190414.001 16.0622.1906.19-0 release-keys]
[ro.build.display.id]: [PKQ1.190414.001.WW_Phone-16.0622.1906.19-0]
[ro.build.flavor]: [WW_Phone-user]
[ro.build.fota.version]: [WW_Phone-16.0622.1906.19-0]
Okay, I know how to workaround it.
But it is just workaround. Use adb shell to do this:
su
resetprop ro.build.fingerprint asus/WW_I001D/ASUS_I001_1:9/PKQ1.190414.001/16.0622.1906.19-0:user/release-keys
stop;start
cts profile will pass until you restart. (Yes, restart will get fail again.)
By the way, we cannot use this method if your device is unroot.
Hi all,
If you are using CN device and flash WW rom with Magisk root, you can use this method for pass cts profile:
Create init.sh in /sbin/.core/img/.core/service.d as the following code:
#! /system/bin/sh
sleep 10
resetprop persist.asus.ship_location WW
resetprop ro.boot.country_code WW
resetprop ro.build.fingerprint asus/WW_I001D/ASUS_I001_1:9/PKQ1.190414.001/16.0622.1906.19-0:user/release-keys
resetprop ro.config.versatility WW
resetprop ro.product.carrier ASUS-ASUS_I001D-WW
resetprop ro.product.name WW_I001D
resetprop ro.product.vendor.name WW_I001D
resetprop ro.vendor.build.fingerprint asus/WW_I001D/ASUS_I001_1:9/PKQ1.190414.001/16.0622.1906.19-0:user/release-keys
stop;start
You can modify sleep time to any if you like. I set 0 for now but maybe it will let boot not fully complete.
And before try it, backup your data first.
Thanks.
attachsnow said:
Hi all,
If you are using CN device and flash WW rom with Magisk root, you can use this method for pass cts profile:
Create init.sh in /sbin/.core/img/.core/service.d as the following code:
#! /system/bin/sh
sleep 10
resetprop persist.asus.ship_location WW
resetprop ro.boot.country_code WW
resetprop ro.build.fingerprint asus/WW_I001D/ASUS_I001_1:9/PKQ1.190414.001/16.0622.1906.19-0:user/release-keys
resetprop ro.config.versatility WW
resetprop ro.product.carrier ASUS-ASUS_I001D-WW
resetprop ro.product.name WW_I001D
resetprop ro.product.vendor.name WW_I001D
resetprop ro.vendor.build.fingerprint asus/WW_I001D/ASUS_I001_1:9/PKQ1.190414.001/16.0622.1906.19-0:user/release-keys
stop;start
You can modify sleep time to any if you like. I set 0 for now but maybe it will let boot not fully complete.
And before try it, backup your data first.
Thanks.
Click to expand...
Click to collapse
Device wont boot. It's stuck in the Bootanimation splash screen.
Any ideas to recover other than Re-flash the whole thing again?
attachsnow said:
Okay, I know how to workaround it.
But it is just workaround. Use adb shell to do this:
su
resetprop ro.build.fingerprint asus/WW_I001D/ASUS_I001_1:9/PKQ1.190414.001/16.0622.1906.19-0:user/release-keys
stop;start
cts profile will pass until you restart. (Yes, restart will get fail again.)
By the way, we cannot use this method if your device is unroot.
Click to expand...
Click to collapse
almost bricked but never mind, fixed it\
I was getting "unable to connect to google services" before, but now it's "payload invalidation".....
safety passes in core mode but not normal magisk mode
edexposed is triggering it but forcing blacklist on gsm/gsf doesn't solve it.

ih8sn profile

[edit some uneeded lines in the script removed]
Does anyone have a ih8sn.conf file or could generate one on stock motorola android? I created a bash script, following this site: https://community.e.foundation/t/howto-installing-banking-apps/5875/122?page=7
Bash:
```
#!/bin/bash
add_to_conf()
{
key=$1
prop=$2
value=$(adb shell getprop $prop)
echo "${key}=${value}"
}
add_to_conf BUILD_FINGERPRINT ro.build.fingerprint
add_to_conf BUILD_DESCRIPTION ro.build.description
add_to_conf BUILD_SECURITY_PATCH_DATE ro.build.version.security_patch
add_to_conf BUILD_TAGS ro.vendor.build.tags
add_to_conf BUILD_TYPE ro.vendor.build.type
add_to_conf BUILD_VERSION_RELEASE ro.build.version.release
add_to_conf BUILD_VERSION_RELEASE_OR_CODENAME ro.vendor.build.version.release_or_codename
echo "DEBUGGABLE=0"
add_to_conf MANUFACTURER_NAME ro.product.system.manufacturer
add_to_conf PRODUCT_NAME ro.product.system.name
```
So anyone who has a moto g7 plus on android and is running linux could run this and create the ih8sn file for the moto g7 plus. Basically ih8sn is to make banking and other apps to work on custom android versions like lineageos.
Obviously I could run this myself, but I don't want to wipe out all data on my current system...
Interesting, admin moved this post into the right channel?

Categories

Resources