Recommended values for a BETTER RAM management - Galaxy Ace S5830 Android Development

setprop ro.FOREGROUND_APP_ADJ 0
setprop ro.VISIBLE_APP_ADJ 1
setprop ro.PERCEPTIBLE_APP_ADJ 2
setprop ro.HEAVY_WEIGHT_APP_ADJ 3
setprop ro.SECONDARY_SERVER_ADJ 3
setprop ro.BACKUP_APP_ADJ 3
setprop ro.HOME_APP_ADJ
setprop ro.HIDDEN_APP_MIN_ADJ 5
setprop ro.EMPTY_APP_ADJ 15
setprop ro.FOREGROUND_APP_MEM 2048
setprop ro.VISIBLE_APP_MEM 3072
setprop ro.PERCEPTIBLE_APP_MEM 4096
setprop ro.HEAVY_WEIGHT_APP_MEM 5120
setprop ro.SECONDARY_SERVER_MEM 5120
setprop ro.BACKUP_APP_MEM 5120
setprop ro.HOME_APP_MEM 5120
setprop ro.HIDDEN_APP_MEM 9216
setprop ro.EMPTY_APP_MEM 12288
echo "0,1,2,3,7,15" > /sys/module/lowmemorykiller/parameters/adj
echo "2048,3072,4096,5120,9216,12288" > /sys/module/lowmemorykiller/parameters/minfree
echo "70" > /proc/sys/vm/swappiness
What are the recommended values for our phone???
---------- Post added at 05:03 PM ---------- Previous post was at 04:40 PM ----------
These are the ones from GIO which appear to behave bad. With Dalvik Cache 64m and 278MB RAM
setprop ro.FOREGROUND_APP_ADJ 0
setprop ro.VISIBLE_APP_ADJ 1
setprop ro.PERCEPTIBLE_APP_ADJ 2
setprop ro.HEAVY_WEIGHT_APP_ADJ 3
setprop ro.SECONDARY_SERVER_ADJ 4
setprop ro.BACKUP_APP_ADJ 5
setprop ro.HOME_APP_ADJ 6
setprop ro.HIDDEN_APP_MIN_ADJ 7
setprop ro.EMPTY_APP_ADJ 15
# Define the memory thresholds at which the above process classes will
# be killed. These numbers are in pages (4k).
setprop ro.FOREGROUND_APP_MEM 2048
setprop ro.VISIBLE_APP_MEM 3072
setprop ro.PERCEPTIBLE_APP_MEM 4096
setprop ro.HEAVY_WEIGHT_APP_MEM 4096
setprop ro.SECONDARY_SERVER_MEM 6144
setprop ro.BACKUP_APP_MEM 6144
setprop ro.HOME_APP_MEM 6144
setprop ro.HIDDEN_APP_MEM 7168
setprop ro.EMPTY_APP_MEM 8192
Click to expand...
Click to collapse

Related

Where is the /boot partition and the kernel?

On my Samsung Galaxy Tab 10.1 WiFi, I don't see any boot partition and there is no file name "zImage" anywhere on the device. Does anyone know where the kernel image is on a Samsung Galaxy Tab 10.1 wifi?
Code:
C:\>adb -d shell
[email protected]:/ $ su
su
[email protected]:/ # ls boot
ls boot
boot: No such file or directory
[email protected]:/ # df
df
Filesystem Size Used Free Blksize
/dev 362M 76K 362M 4096
/mnt/asec 362M 0K 362M 4096
/mnt/obb 362M 0K 362M 4096
/system 568M 560M 8M 4096
/cache 440M 11M 429M 4096
/data 13G 463M 12G 4096
/efs 11M 4M 7M 4096
/mnt/sdcard 13G 463M 12G 4096
[email protected]:/ # find . -name "*zImage*"
find . -name "*zImage*"
[email protected]:/ # find . -name "*zimage*"
find . -name "*zimage*"
[email protected]:/ #

boot.img too large lenovo vibe p1ma40 [MT6735M]

Having issues with compiling recovery(cyanogenmod) for Lenovo Vibe P1MA40 (MT6735M),
here's my BoardConfig.mk
github.com/pareshchouhan/android_device_lenovo_p1ma40/blob/master/BoardConfig.mk
Code:
[ 57% 24/42] Target boot image: /home/paresh/android/android/system/out/target/product/p1ma40/boot.img
FAILED: /bin/bash -c "(/home/paresh/android/android/system/out/host/linux-x86/bin/mkbootimg --kernel /home/paresh/android/android/system/out/target/product/p1ma40/kernel --ramdisk /home/paresh/android/android/system/out/target/product/p1ma40/ramdisk.img --base 0x40080000 --pagesize 2048 --cmdline \"bootopt=64S3,32N2,64N2 buildvariant=userdebug\" --os_version 7.1 --os_patch_level 2016-11-05 --output /home/paresh/android/android/system/out/target/product/p1ma40/boot.img ) && (size=\$(for i in /home/paresh/android/android/system/out/target/product/p1ma40/boot.img; do stat --format \"%s\" \"\$i\" | tr -d '\\n'; echo +; done; echo 0); total=\$(( \$( echo \"\$size\" ) )); printname=\$(echo -n \"/home/paresh/android/android/system/out/target/product/p1ma40/boot.img\" | tr \" \" +); img_blocksize=17301504; twoblocks=\$((img_blocksize * 2)); onepct=\$(((((17301504 / 100) - 1) / img_blocksize + 1) * img_blocksize)); reserve=\$((twoblocks > onepct ? twoblocks : onepct)); maxsize=\$((17301504 - reserve)); echo \"\$printname maxsize=\$maxsize blocksize=\$img_blocksize total=\$total reserve=\$reserve\"; if [ \"\$total\" -gt \"\$maxsize\" ]; then echo \"error: \$printname too large (\$total > [17301504 - \$reserve])\"; false; elif [ \"\$total\" -gt \$((maxsize - 32768)) ]; then echo \"WARNING: \$printname approaching size limit (\$total now; limit \$maxsize)\"; fi ) && (echo \"Made boot image: /home/paresh/android/android/system/out/target/product/p1ma40/boot.img\" )"
/home/paresh/android/android/system/out/target/product/p1ma40/boot.img maxsize=-17301504 blocksize=17301504 total=7809024 reserve=34603008
error: /home/paresh/android/android/system/out/target/product/p1ma40/boot.img too large (7809024 > [17301504 - 34603008])
ninja: build stopped: subcommand failed.
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
If someone can pinpoint the makefile which contains this check I can comment it out, or better yet give me a solution to this.
Code:
[email protected]:/ # fdisk -l /dev/block/mmcblk0p7
fdisk -l /dev/block/mmcblk0p7
Disk /dev/block/mmcblk0p7: 16 MB, 16777216 bytes
4 heads, 16 sectors/track, 512 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Disk /dev/block/mmcblk0p7 doesn't contain a valid partition table
[email protected]:/ # fdisk -l /dev/block/mmcblk0p8
fdisk -l /dev/block/mmcblk0p8
Disk /dev/block/mmcblk0p8: 16 MB, 16777216 bytes
4 heads, 16 sectors/track, 512 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Disk /dev/block/mmcblk0p8 doesn't contain a valid partition table
[email protected]:/ # fdisk -l /dev/block/mmcblk0p20
fdisk -l /dev/block/mmcblk0p20
Disk /dev/block/mmcblk0p20: 2684 MB, 2684354560 bytes
4 heads, 16 sectors/track, 81920 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Disk /dev/block/mmcblk0p20 doesn't contain a valid partition table
[email protected]:/ # fdisk -l /dev/block/mmcblk0p22
fdisk -l /dev/block/mmcblk0p22
Disk /dev/block/mmcblk0p22: 12.3 GB, 12303466496 bytes
4 heads, 16 sectors/track, 375472 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Disk /dev/block/mmcblk0p22 doesn't contain a valid partition table
[email protected]:/ # fdisk -l /dev/block/mmcblk0p23
fdisk -l /dev/block/mmcblk0p23
Disk /dev/block/mmcblk0p23: 16 MB, 16777216 bytes
4 heads, 16 sectors/track, 512 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Code:
cat /proc/emmc
partno: start_sect nr_sects partition_name
emmc_p1: 00000400 00001800 "proinfo"
emmc_p2: 00001c00 00002800 "nvram"
emmc_p3: 00004400 00005000 "protect1"
emmc_p4: 00009400 00005000 "protect2"
emmc_p5: 0000e400 00000400 "lk"
emmc_p6: 0000e800 00000400 "para"
emmc_p7: 0000ec00 00008000 "boot"
emmc_p8: 00016c00 00008000 "recovery"
emmc_p9: 0001ec00 00004000 "logo"
emmc_p10: 00022c00 00005000 "expdb"
emmc_p11: 00027c00 00000400 "seccfg"
emmc_p12: 00028000 00001000 "oemkeystore"
emmc_p13: 00029000 00003000 "secro"
emmc_p14: 0002c000 00004000 "keystore"
emmc_p15: 00030000 00002800 "tee1"
emmc_p16: 00032800 00002800 "tee2"
emmc_p17: 00035000 00000800 "frp"
emmc_p18: 00035800 00010000 "nvdata"
emmc_p19: 00045800 00012800 "metadata"
emmc_p20: 00058000 00500000 "system"
emmc_p21: 00558000 000d4000 "cache"
emmc_p22: 0062c000 016eac00 "userdata"
emmc_p23: 01d16c00 00008000 "flashinfo"
Code:
cat /proc/partitions
major minor #blocks name
179 0 15267840 mmcblk0
179 1 3072 mmcblk0p1
179 2 5120 mmcblk0p2
179 3 10240 mmcblk0p3
179 4 10240 mmcblk0p4
179 5 512 mmcblk0p5
179 6 512 mmcblk0p6
179 7 16384 mmcblk0p7 //boot Disk /dev/block/mmcblk0p7: 16 MB, 16777216 bytes
179 8 16384 mmcblk0p8 //recovery Disk /dev/block/mmcblk0p8: 16 MB, 16777216 bytes
179 9 8192 mmcblk0p9
179 10 10240 mmcblk0p10
179 11 512 mmcblk0p11
179 12 2048 mmcblk0p12
179 13 6144 mmcblk0p13
179 14 8192 mmcblk0p14
179 15 5120 mmcblk0p15
179 16 5120 mmcblk0p16
179 17 1024 mmcblk0p17
179 18 32768 mmcblk0p18
179 19 37888 mmcblk0p19
179 20 2621440 mmcblk0p20 //system Disk /dev/block/mmcblk0p20: 2684 MB, 2684354560 bytes
179 21 434176 mmcblk0p21
179 22 12015104 mmcblk0p22 //userdata Disk /dev/block/mmcblk0p22: 12.3 GB, 12303466496 bytes
179 23 16384 mmcblk0p23 //flash info Disk /dev/block/mmcblk0p23: 16 MB, 16777216 bytes
179 96 4096 mmcblk0rpmb
179 64 4096 mmcblk0boot1
179 32 4096 mmcblk0boot0
179 128 15630336 mmcblk1
179 129 15629312 mmcblk1p1
PS: If you need any other info let me know.
Solved: I resolved this issue with the help of friendly people in #cyanogenmod-dev @ freenode
Thanks to (in no particular order)
evilracer
nailyk
gladiac
pareshchouhan said:
Solved: I resolved this issue with the help of friendly people in #cyanogenmod-dev @ freenode
Thanks to (in no particular order)
evilracer
nailyk
gladiac
Click to expand...
Click to collapse
Can you tell me how have you solved this issue please ? I really need a fix for this issue too. Thanks.

Lenovo-Motorola Moto C Plus / XT1723 - first touch

Here are some basic info I gathered after first touch of this phone.
First thing everybody will do is turning off very loud boot logo sound:
Setting - Sound:
Power up sound - off
How to enter specific android modes when starting phone
- buttons Power + VolumeUp
Boot menu items - Recovery/Bootloader (fastboot)/Normal
- select Boot menu item with VolumeUp, confirm item with VolumeDown
- enter Recovery menu from Recovery no command screen with Power + VolumeUp
- select Recovery menu item with VolumeUp and VolumeDown, confirm item with Power
- buttons Power + VolumeDown
Another Boot menu with not english characters/words (somebody translate it pls)
How to enter Safe mode (3rd party apps will not be loaded)
- press/hold Power button until power menu shows up during normal android session
- tap/hold Power off option
- choose OK to reboot in Safe mode
Here are also some data from filesystem.
Code:
$ mount
rootfs on / type rootfs (ro,seclabel)
tmpfs on /dev type tmpfs (rw,seclabel,nosuid,relatime,mode=755)
devpts on /dev/pts type devpts (rw,seclabel,relatime,mode=600)
proc on /proc type proc (rw,relatime,gid=3009,hidepid=2)
sysfs on /sys type sysfs (rw,seclabel,relatime)
selinuxfs on /sys/fs/selinux type selinuxfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,seclabel,relatime)
none on /acct type cgroup (rw,relatime,cpuacct)
tmpfs on /mnt type tmpfs (rw,seclabel,relatime,mode=755,gid=1000)
none on /config type configfs (rw,relatime)
none on /dev/cpuctl type cgroup (rw,relatime,cpu)
pstore on /sys/fs/pstore type pstore (rw,seclabel,relatime)
/dev/block/dm-0 on /system type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/userdata on /data type ext4 (rw,seclabel,nosuid,nodev,noatime,discard,noauto_da_alloc,resuid=10010,data=ordered)
/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/cache on /cache type ext4 (rw,seclabel,nosuid,nodev,noatime,discard,noauto_da_alloc,data=ordered)
/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/protect1 on /protect_f type ext4 (rw,seclabel,nosuid,nodev,noatime,nodelalloc,noauto_da_alloc,commit=1,data=ordered)
/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/protect2 on /protect_s type ext4 (rw,seclabel,nosuid,nodev,noatime,nodelalloc,noauto_da_alloc,commit=1,data=ordered)
/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/nvdata on /nvdata type ext4 (rw,seclabel,nosuid,nodev,noatime,discard,noauto_da_alloc,data=ordered)
adb on /dev/usb-ffs/adb type functionfs (rw,relatime)
tmpfs on /storage type tmpfs (rw,seclabel,relatime,mode=755,gid=1000)
/dev/fuse on /mnt/runtime/default/emulated type fuse (rw,nosuid,nodev,noexec,noatime,user_id=1023,group_id=1023,default_permissions,allow_other)
/dev/fuse on /storage/emulated type fuse (rw,nosuid,nodev,noexec,noatime,user_id=1023,group_id=1023,default_permissions,allow_other)
/dev/fuse on /mnt/runtime/read/emulated type fuse (rw,nosuid,nodev,noexec,noatime,user_id=1023,group_id=1023,default_permissions,allow_other)
/dev/fuse on /mnt/runtime/write/emulated type fuse (rw,nosuid,nodev,noexec,noatime,user_id=1023,group_id=1023,default_permissions,allow_other)
/dev/block/vold/public:179,129 on /mnt/media_rw/XXXX-XXXX type vfat (rw,dirsync,nosuid,nodev,noexec,relatime,uid=1023,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
/dev/fuse on /mnt/runtime/default/XXXX-XXXX type fuse (rw,nosuid,nodev,noexec,noatime,user_id=1023,group_id=1023,default_permissions,allow_other)
/dev/fuse on /storage/XXXX-XXXX type fuse (rw,nosuid,nodev,noexec,noatime,user_id=1023,group_id=1023,default_permissions,allow_other)
/dev/fuse on /mnt/runtime/read/XXXX-XXXX type fuse (rw,nosuid,nodev,noexec,noatime,user_id=1023,group_id=1023,default_permissions,allow_other)
/dev/fuse on /mnt/runtime/write/XXXX-XXXX type fuse (rw,nosuid,nodev,noexec,noatime,user_id=1023,group_id=1023,default_permissions,allow_other)
$ cat build.prop
# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=NRD90M.07.009
ro.build.version.full=Blur_Version.25.071.009.panell_23_dl.retail.en.US
ro.skuid=07
ro.wind.version.inner=EMEA_A158L_K100_DS_V1.0B09
ro.wind.display.id=Moto C Plus-user 7.0 NRD90M.07.009 009
ro.mot.build.product.increment=NRD90M.07.009
ro.boot.hardware.sku=XT1723
ro.wind.fccid=IHDT56WE1
ro.build.display.id=NRD90M.07 009
ro.build.version.incremental=009
ro.build.wind.version=Plat:EMEA_A158L_K100_DS_V1.0B09Outer:End
ro.product.hardware=WKHMA1B2-2
ro.build.version.sdk=24
ro.build.version.preview_sdk=0
ro.build.version.codename=REL
ro.build.version.all_codenames=REL
ro.build.version.release=7.0
ro.build.version.security_patch=2017-04-05
ro.build.version.base_os=motorola/panell_23_dl/panell_dl:7.0/NRD90M.07.009/009:user/release-keys
ro.build.date=Fri May 12 01:11:56 CST 2017
ro.build.date.utc=1494522716
ro.build.type=user
ro.build.user=gujintao
ro.build.host=SOFT30-83
ro.build.tags=release-keys
ro.build.flavor=full_A158-user
ro.product.model=Moto C Plus
ro.product.brand=motorola
ro.product.name=panell_23_dl
ro.product.device=panell_dl
ro.product.board=MT6737
ro.product.emailsignature=
# ro.product.cpu.abi and ro.product.cpu.abi2 are obsolete,
# use ro.product.cpu.abilist instead.
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.cpu.abilist=armeabi-v7a,armeabi
ro.product.cpu.abilist32=armeabi-v7a,armeabi
ro.product.cpu.abilist64=
ro.product.manufacturer=motorola
ro.product.locale=en-US
ro.wifi.channels=
ro.board.platform=mt6737m
# Do not try to parse description, fingerprint, or thumbprint
ro.build.description=panell_23_dl-user 7.0 NRD90M.07.009 release-keys
ro.build.fingerprint=motorola/panell_23_dl/panell_dl:7.0/NRD90M.07.009/009:user/release-keys
ro.build.characteristics=default
ro.wind.mtp_name=XT1723
# end build properties
ro.setting.dateformat=yyyy-MM-dd
ro.wind_default_stk_name=
#
# from device/ginreen/A158/system.prop
#
#
# system.prop for generic sdk
#
rild.libpath=mtk-ril.so
rild.libargs=-d /dev/ttyC0
# MTK, Infinity, 20090720 {
wifi.interface=wlan0
# MTK, Infinity, 20090720 }
# MTK, mtk03034, 20101210 {
ro.mediatek.wlan.wsc=1
# MTK, mtk03034 20101210}
# MTK, mtk03034, 20110318 {
ro.mediatek.wlan.p2p=1
# MTK, mtk03034 20110318}
# MTK, mtk03034, 20101213 {
mediatek.wlan.ctia=0
# MTK, mtk03034 20101213}
#
wifi.tethering.interface=ap0
#
ro.opengles.version=196609
#ro.kernel.qemu=1
#ro.kernel.qemu.gles=0
wifi.direct.interface=p2p0
#dalvik.vm.heapgrowthlimit=128m
#dalvik.vm.heapsize=256m
# USB MTP WHQL
ro.sys.usb.mtp.whql.enable=0
# Power off opt in IPO
sys.ipo.pwrdncap=2
ro.sys.usb.storage.type=mtp
# USB BICR function
ro.sys.usb.bicr=no
# USB Charge only function
ro.sys.usb.charging.only=yes
# audio
ro.camera.sound.forced=0
ro.audio.silent=0
ro.zygote.preload.enable=0
# [email protected] add 2016/11/28 begin
# fix Feature N/A : hide navigatio bar
# temporary enables NAV bar (soft keys)
qemu.hw.mainkeys=1
# [email protected] add 2016/11/28 end
ro.kernel.zio=38,108,105,16
#ro.kernel.qemu=1
#ro.kernel.qemu.gles=0
#ro.boot.selinux=disable
## lcm add for [email protected] begin at 20161109
ro.sf.lcd_density=320
## lcm add for [email protected] end at 20161109
# performance
ro.mtk_perf_simple_start_win=1
ro.mtk_perf_fast_start_win=1
ro.mtk_perf_response_time=1
#
# ADDITIONAL_BUILD_PROPERTIES
#
ro.carrier=unknown
persist.sys.timezone=Asia/Shanghai
ro.config.notification_sound=Moto.mp3
ro.product.minmatch=7
ro.config.alarm_alert=Oxygen.ogg
ro.config.ringtone=Moto.mp3
ro.com.android.dateformat=yyyy-MM-dd
ro.mediatek.chip_ver=S01
ro.mediatek.platform=MT6737M
ro.telephony.sim.count=2
persist.radio.default.sim=0
ro.config.low_ram=true
ro.wind_def_runtime_test=1
ro.wind_def_sdn_on=1
ril.specific.sm_cause=0
bgw.current3gband=0
ril.external.md=0
ro.sf.hwrotation=0
persist.radio.fd.counter=150
persist.radio.fd.off.counter=50
persist.radio.fd.r8.counter=150
persist.radio.fd.off.r8.counter=50
drm.service.enabled=true
fmradio.driver.enable=1
ril.first.md=1
ril.flightmode.poweroffMD=0
ril.telephony.mode=0
dalvik.vm.mtk-stack-trace-file=/data/anr/mtk_traces.txt
mediatek.wlan.chip=CONSYS_MT6735
mediatek.wlan.module.postfix=_consys_mt6735
ril.radiooff.poweroffMD=1
ro.frp.pst=/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/frp
ro.product.first_api_level=24
ro.mtk_protocol1_rat_config=Lf/Lt/W/G
ro.mediatek.version.branch=alps-mp-n0.mp1
ro.mediatek.version.release=alps-mp-n0.mp1-V1.0.2_gr6737m.35.le.n_P61
ro.mediatek.version.sdk=4
ro.setupwizard.mode=OPTIONAL
ro.com.google.gmsversion=7.0_r7
ro.num_md_protocol=2
persist.radio.multisim.config=dsds
ro.mtk_besloudness_support=1
ro.mtk_wapi_support=1
ro.mtk_bt_support=1
ro.mtk_wappush_support=1
ro.mtk_agps_app=1
ro.mtk_audio_tuning_tool_ver=V1
ro.mtk_wlan_support=1
ro.mtk_ipo_support=1
ro.mtk_gps_support=1
ro.mtk_omacp_support=1
ro.mtk_search_db_support=1
ro.mtk_dialer_search_support=1
ro.mtk_dhcpv6c_wifi=1
ro.have_aacencode_feature=1
ro.mtk_fd_support=1
ro.mtk_oma_drm_support=1
ro.mtk_widevine_drm_l3_support=1
ro.mtk_eap_sim_aka=1
ro.mtk_fm_recording_support=1
ro.mtk_send_rr_support=1
ro.mtk_emmc_support=1
ro.mtk_tetheringipv6_support=1
ro.telephony.default_network=9,9
ro.mtk_shared_sdcard=1
ro.mtk_enable_md1=1
ro.mtk_aal_support=1
ro.mtk_pq_support=2
ro.mtk_pq_color_mode=1
ro.mtk_miravision_support=1
ro.mtk_wifi_mcc_support=1
ro.mtk_radiooff_power_off_md=1
ro.mtk_bip_scws=1
ro.mtk_world_phone_policy=0
ro.mtk_perfservice_support=1
ro.mtk_cam_mfb_support=0
ro.mtk_lte_support=1
ro.mtk_cam_cfb=1
ro.sim_refresh_reset_by_modem=1
ro.mtk_external_sim_only_slots=0
ro.mtk_bg_power_saving_ui=1
ro.have_aee_feature=1
ro.sim_me_lock_mode=0
ro.mtk_dual_mic_support=0
ro.mtk_is_tablet=0
persist.mtk_nlp_switch_support=1
persist.mtk_ims_support=1
ro.mtk_multiple_ims_support=1
persist.mtk_volte_support=1
persist.mtk.volte.enable=1
persist.mtk_vilte_support=1
ro.mtk_vilte_ut_support=0
wfd.dummy.enable=1
wfd.iframesize.level=0
ro.mediatek.project.path=device/ginreen/A158
persist.mtk.wcn.combo.chipid=-1
persist.mtk.wcn.patch.version=-1
persist.mtk.wcn.dynamic.dump=0
service.wcn.driver.ready=no
service.wcn.coredump.mode=0
persist.mtk.connsys.poweron.ctl=0
ro.com.android.mobiledata=true
persist.radio.mobile.data=0,0
persist.meta.dumpdata=0
dalvik.vm.heapgrowthlimit=128m
dalvik.vm.heapsize=256m
persist.radio.mtk_dsbp_support=1
persist.mtk_dynamic_ims_switch=1
persist.radio.mtk_ps3_rat=G
ro.boot.opt_c2k_lte_mode=0
ro.boot.opt_md1_support=5
ro.boot.opt_lte_support=1
persist.log.tag.AT=I
persist.log.tag.RILMUXD=I
persist.log.tag.RILC-MTK=I
persist.log.tag.RILC=I
persist.log.tag.RfxMainThread=I
persist.log.tag.RfxRoot=I
persist.log.tag.RfxRilAdapter=I
persist.log.tag.RfxController=I
persist.log.tag.RILC-RP=I
persist.log.tag.RIL-DATA=I
ro.boot.opt_using_default=1
mtk.vdec.waitkeyframeforplay=1
ro.sys.sdcardfs=1
persist.runningbooster.support=1
persist.runningbooster.upgrade=1
ro.media.maxmem=500000000
ro.wind_timeformat_is_24=0
ro.wind_timeformat_is_12=0
ro.wind_config_wifi_name=1
ro.wind_def_sml_support=1
ro.wind_def_sml_dualsim=1
ro.wind_unlock_digits=16
ro.wind_show_stk_name_from_sim=0
ro.wind.enable_adb_user_build=1
ro.wind_country_code_support=1
ro.wind_def_mirror_support=1
ro.com.google.apphider=on
ro.com.google.clientidbase=android-motorola
ro.com.google.clientidbase.ms=android-motorola
ro.com.google.clientidbase.yt=android-motorola
ro.com.google.clientidbase.am=android-motorola
ro.com.google.clientidbase.gmm=android-motorola
ro.wind_def_signal_five=0
ro.wind_battery_now_current=1
ro.wind_gensor_shake_control=1
ro.wind_camera_fool_proof=1
ro.wind_def_pro_a158=1
ro.wind_def_optr_a158_emead=1
ro.wind_def_optr_a158_emead1g=1
ro.wind_def_optr_a158_emeas=0
ro.wind_def_optr_a158_apd=0
ro.wind_def_optr_a158_lad=0
ro.wind_def_optr_a158_las=0
ro.wind_def_optr_a158_lbd=0
ro.wind_def_optr_a158_lbd_pa=0
ro.wind_sar_sensor_test=0
drm.forwardlock.only=true
ro.wind_def_language_fromsim=1
ro.wind_disable_sddialog=1
ro.wind_lbd_factory_version=0
ro.wind_default_apn_deletable=1
persist.sys.dalvik.vm.lib.2=libart.so
dalvik.vm.isa.arm.variant=cortex-a53
dalvik.vm.isa.arm.features=default
net.bt.name=Android
dalvik.vm.stack-trace-file=/data/anr/traces.txt
ro.expect.recovery_id=0x2d0b3d1909c7aae3c5a8dd61756413dc0fa95443000000000000000000000000
$ cat /proc/filesystems
nodev sysfs
nodev rootfs
nodev ramfs
nodev bdev
nodev proc
nodev cgroup
nodev tmpfs
nodev debugfs
nodev sockfs
nodev pipefs
nodev configfs
nodev devpts
ext3
ext2
ext4
vfat
msdos
iso9660
fuseblk
nodev fuse
nodev fusectl
nodev pstore
nodev selinuxfs
nodev mtd_inodefs
nodev functionfs
cat /proc/partitions
major minor #blocks name
254 0 474596 zram0
179 0 15267840 mmcblk0
179 1 3072 mmcblk0p1
179 2 5120 mmcblk0p2
179 3 10240 mmcblk0p3
179 4 10240 mmcblk0p4
179 5 512 mmcblk0p5
179 6 512 mmcblk0p6
179 7 16384 mmcblk0p7
179 8 16384 mmcblk0p8
179 9 8192 mmcblk0p9
179 10 10240 mmcblk0p10
179 11 512 mmcblk0p11
179 12 2048 mmcblk0p12
179 13 6144 mmcblk0p13
179 14 8192 mmcblk0p14
179 15 5120 mmcblk0p15
179 16 5120 mmcblk0p16
179 17 1024 mmcblk0p17
179 18 32768 mmcblk0p18
179 19 37888 mmcblk0p19
179 20 2768896 mmcblk0p20
179 21 409600 mmcblk0p21
179 22 11848192 mmcblk0p22
179 23 44032 mmcblk0p23
179 24 16384 mmcblk0p24
179 96 4096 mmcblk0rpmb
179 64 4096 mmcblk0boot1
179 32 4096 mmcblk0boot0
179 128 61071360 mmcblk1
179 129 61070336 mmcblk1p1
253 0 2725672 dm-0
$ uname -a
Linux localhost 3.18.35+ #1 SMP PREEMPT Fri May 12 01:32:41 CST 2017 armv7l
BTW mmcblk1 is 64GB sdcard formated in the same phone as portable (working normaly)
Please Root Nd install TWRP on moto C plus,,.
So any hope to get twrp for this soon?
Think S bro.. but This phone Is deffarent between ,, present Moto phones ,,. I was tried To unlock Bootloader ,,
failed
Traid Commands
"fastboot oem get_unlock_data"
"fastboot oem unlock"
"fastboot flashing unlock"
Error : unknown command
Some body say .. bootloader unlocking command plz
Both Ubuntu and Windows 10 is listing the phone in fastboot mode on command "fastboot devices"
But 'fastboot oem get_unlock_data' is not working
how to remove FRP........ MOTO C PLUS..........
jkkk88 said:
Here are some basic info I gathered after first touch of this phone.
First thing everybody will do is turning off very loud boot logo sound:
Setting - Sound:
Power up sound - off
How to enter specific android modes when starting phone
- buttons Power + VolumeUp
Boot menu items - Recovery/Bootloader (fastboot)/Normal
- select Boot menu item with VolumeUp, confirm item with VolumeDown
- enter Recovery menu from Recovery no command screen with Power + VolumeUp
- select Recovery menu item with VolumeUp and VolumeDown, confirm item with Power
- buttons Power + VolumeDown
Another Boot menu with not english characters/words (somebody translate it pls)
How to enter Safe mode (3rd party apps will not be loaded)
- press/hold Power button until power menu shows up during normal android session
- tap/hold Power off option
- choose OK to reboot in Safe mode
Here are also some data from filesystem.
BTW mmcblk1 is 64GB sdcard formated in the same phone as portable (working normaly)
Click to expand...
Click to collapse
But i am not enable to root my lenovo-motorola moto c plus / XT1723.. i can't even select my device in this xda app.. because there is no option of moto c plus.. so i can't even select my device..
Same problem with moto c ?
the motorola has a MTK chip
I guess MTK processor can be rooted directly by flashing SuperSU.. Not sure! I am not trying because it might brick the phone! :/
moto c plus
anybody have moto c plus..stock firmware
---------- Post added at 02:54 PM ---------- Previous post was at 02:53 PM ----------
abhi212b said:
I guess MTK processor can be rooted directly by flashing SuperSU.. Not sure! I am not trying because it might brick the phone! :/
Click to expand...
Click to collapse
anybody have moto c plus stock firmware?
---------- Post added at 02:55 PM ---------- Previous post was at 02:54 PM ----------
abhi212b said:
I guess MTK processor can be rooted directly by flashing SuperSU.. Not sure! I am not trying because it might brick the phone! :/
Click to expand...
Click to collapse
anybody have moto c plus stock firmware?
No bro.. not yet! otherwise, I would have tried rooting...
shr!pad said:
anybody have moto c plus..stock firmware
---------- Post added at 02:54 PM ---------- Previous post was at 02:53 PM ----------
anybody have moto c plus stock firmware?
---------- Post added at 02:55 PM ---------- Previous post was at 02:54 PM ----------
anybody have moto c plus stock firmware?
Click to expand...
Click to collapse
Try this bro : xt1721 16+2gb http://forum.gsmdevelopers.com/showthread.php?t=40275&highlight=Xt1721
hello the link works for the xt1723 16+1gb
or there is a root for this model
Hello all, I just got my hands on one of these for dirt cheap!, Very impressive battery life on it.
Is there a solution yet for rooting and or a custom rom being looked at?
John
Folks. How can I boot this phone in safe mode when I'm using full disk encryption ?
This phone got stuck in a "Lenovo" logo in the "second boot" phase, after I enter my pattern to unlock the phone. I suspect there is no free disk space left in memory and it fails to boot because of that -- Lenovo apps are not know for their quality and may not check the remaining space before trying to write something, so it makes some sense. Apart from that, phone looks ok: I can use some features from the lock screen like emergency calls (but haven't tried to actually complete a call to police, for obvious reasons), the screen shows the text message I configured and I can even take screenshots! (it was an accident, I have no idea why they left this feature there or where these files are saved when disk is encrypted).
I also wiped the caches from the recovery menu, but it didn't changed anything.
So, before resorting to a factory reset (and lose all data I haven't backed-up since December) I'll try to enter the safe mode and see if it boots. When I long-click the "Power off" from the lock screen, it changes to the "Reboot to safe mode" confirmation screen -- but it never shows the "Safe mode" text in the corner and I suppose it tries to boot normally. How can I put it in an actual safe mode?
Cannot Unlock
Sorry if this is the wrong place to post this...I'm new to 'droid hacking and was told that I have to unlock the bootloader before messing with custom recoveries.
Problem is, the command fastboot oem get_unlock_data returns FAILED (remote: unknown command) and I can't find anything anywhere to help with this. Does anyone know what's going on here?
it is possible to root without unlocking the bootloader I made them on motorcycle lenovo xt1723 1gb + 16gb with a tutorial xda
https://forum.xda-developers.com/an...de-flash-twrp-root-moto-c-plus-t3718668:bien:

adb shell setprop fails on certain properties

setprop camara.dis.flag 0
setprop: failed to set property 'camara.dis.flag' to '0'
why am i getting this error?
when i am tring to change some other fields i succeeded
for example
HWBLA:/ $ setprop debug.aps.enable 1
HWBLA:/ $ echo $?
0
seems like i dont have root access although i did unlocked the phone..
what am i missing?

Tmo Galaxy S8 Eng build

I found a Tmo GS8 with exploded battery in the trash, and when I replaced the battery and booted it up, realized it had an old eng build on it. Would anyone be interested in looking into whether this could be flashed to retail Tmo GS8s in order to unlock them for custom ROMs?
I'm currently uploading to AFH: https://www.androidfilehost.com/?w=files&flid=325176
Just be aware that while the 7z download is only 4.3GB, it extracts to the full 64GB flash.
This is meant for developers, NOT for users!
Spoiler: mount output
Code:
rootfs on / type rootfs (ro,seclabel,size=1628820k,nr_inodes=407205)
tmpfs on /dev type tmpfs (rw,seclabel,nosuid,relatime,size=1699556k,nr_inodes=424889,mode=755)
devpts on /dev/pts type devpts (rw,seclabel,relatime,mode=600)
proc on /proc type proc (rw,relatime,gid=3009,hidepid=2)
sysfs on /sys type sysfs (rw,seclabel,relatime)
selinuxfs on /sys/fs/selinux type selinuxfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,seclabel,relatime)
none on /acct type cgroup (rw,relatime,cpuacct)
none on /dev/stune type cgroup (rw,relatime,schedtune)
tmpfs on /mnt type tmpfs (rw,seclabel,relatime,size=1699556k,nr_inodes=424889,mode=755,gid=1000)
none on /config type configfs (rw,relatime)
tmpfs on /mnt/secure type tmpfs (rw,seclabel,relatime,size=1699556k,nr_inodes=424889,mode=700)
tmpfs on /mnt/secure/asec type tmpfs (rw,seclabel,relatime,size=1699556k,nr_inodes=424889,mode=700)
none on /dev/cpuctl type cgroup (rw,relatime,cpu)
none on /dev/cpuset type cgroup (rw,relatime,cpuset,noprefix,release_agent=/sbin/cpuset_release_agent)
pstore on /sys/fs/pstore type pstore (rw,seclabel,relatime)
/dev/block/sda19 on /system type ext4 (ro,seclabel,relatime)
/dev/block/sda20 on /cache type ext4 (rw,seclabel,nosuid,nodev,noatime,journal_checksum,noauto_da_alloc)
/dev/block/sda5 on /persist type ext4 (rw,seclabel,nosuid,nodev,noatime,journal_checksum,noauto_da_alloc)
/dev/block/sdd7 on /dsp type ext4 (ro,seclabel,nosuid,nodev,relatime,data=ordered)
/dev/block/sda6 on /efs type ext4 (rw,seclabel,nosuid,nodev,noatime,journal_checksum,noauto_da_alloc)
/dev/block/sda15 on /firmware type vfat (ro,context=u:object_r:firmware_file:s0,relatime,uid=1000,gid=1000,fmask=0337,dmask=0227,codepage=437,iocharset=iso8859-1,shortname=lower,errors=remount-ro)
/dev/block/sda16 on /firmware-modem type vfat (ro,context=u:object_r:firmware_file:s0,relatime,uid=1000,gid=1000,fmask=0337,dmask=0227,codepage=437,iocharset=iso8859-1,shortname=lower,errors=remount-ro)
/dev/block/sda21 on /carrier type ext4 (rw,seclabel,nosuid,nodev,noatime,noauto_da_alloc)
/dev/block/sda22 on /omr type ext4 (rw,seclabel,nosuid,nodev,noatime,noauto_da_alloc)
tmpfs on /storage type tmpfs (rw,seclabel,relatime,size=1699556k,nr_inodes=424889,mode=755,gid=1000)
tracefs on /sys/kernel/debug/tracing type tracefs (rw,seclabel,relatime)
adb on /dev/usb-ffs/adb type functionfs (rw,relatime)
/dev/block/sda19 on /system/carrier type ext4 (ro,seclabel,relatime)
/dev/block/dm-0 on /data type ext4 (rw,seclabel,nosuid,nodev,noatime,journal_checksum,noauto_da_alloc)
/data/knox/tmp_sdcard on /mnt/knox type sdcardfs (rw,nosuid,nodev,relatime,mask=0077)
/data/knox/sdcard on /mnt/knox/default/knox-emulated type sdcardfs (rw,nosuid,nodev,relatime,low_uid=1000,low_gid=1000,gid=1015,multi_user,mask=0006)
/data/knox/sdcard on /mnt/knox/read/knox-emulated type sdcardfs (rw,nosuid,nodev,relatime,low_uid=1000,low_gid=1000,gid=9997,multi_user,mask=0027)
/data/knox/sdcard on /mnt/knox/write/knox-emulated type sdcardfs (rw,nosuid,nodev,relatime,low_uid=1000,low_gid=1000,gid=9997,multi_user,mask=0007)
/data/knox/secure_fs/enc_media on /mnt/shell/enc_media type sdcardfs (rw,nosuid,nodev,relatime,low_uid=1000,low_gid=1000,gid=9997,multi_user,reserved=20MB)
/data/media on /mnt/runtime/default/emulated type sdcardfs (rw,nosuid,nodev,noexec,noatime,low_uid=1023,low_gid=1023,gid=1015,multi_user,mask=0006,reserved=20MB)
/data/media on /storage/emulated type sdcardfs (rw,nosuid,nodev,noexec,noatime,low_uid=1023,low_gid=1023,gid=1015,multi_user,mask=0006,reserved=20MB)
/data/media on /mnt/runtime/read/emulated type sdcardfs (rw,nosuid,nodev,noexec,noatime,low_uid=1023,low_gid=1023,gid=9997,multi_user,mask=0027,reserved=20MB)
/data/media on /mnt/runtime/write/emulated type sdcardfs (rw,nosuid,nodev,noexec,noatime,low_uid=1023,low_gid=1023,gid=9997,multi_user,mask=0007,reserved=20MB)
/data/knox/secure_fs/enc_user on /data/enc_user type ecryptfs (rw,seclabel,nodev,relatime,ecryptfs_fnek_sig=30cbf87c57ba04e7,ecryptfs_sig=30cbf87c57ba04e7,userid=0,sdp_enabled,partition_id=0,ecryptfs_cipher=aes,ecryptfs_key_bytes=32,ecryptfs_enable_cc,ecryptfs_passthrough,base=,label=)
/mnt/shell/enc_media on /mnt/shell/enc_emulated type ecryptfs (rw,seclabel,nodev,relatime,ecryptfs_fnek_sig=30cbf87c57ba04e7,ecryptfs_sig=30cbf87c57ba04e7,userid=0,sdp_enabled,partition_id=1,ecryptfs_cipher=aes,ecryptfs_key_bytes=32,ecryptfs_enable_cc,ecryptfs_passthrough,base=,label=)
/dev/block/vold/public:179,1 on /mnt/media_rw/0000-0000 type sdfat (rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,fs=exfat,uid=1023,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,utf8,namecase=0,adj_req,symlink=0,bps=512,errors=remount-ro)
/dev/block/vold/public:179,1 on /mnt/secure/asec type sdfat (rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,fs=exfat,uid=1023,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,utf8,namecase=0,adj_req,symlink=0,bps=512,errors=remount-ro)
/mnt/media_rw/0000-0000 on /mnt/runtime/default/0000-0000 type sdcardfs (rw,nosuid,nodev,noexec,noatime,low_uid=1023,low_gid=1023,gid=1015,mask=0006)
/mnt/media_rw/0000-0000 on /storage/0000-0000 type sdcardfs (rw,nosuid,nodev,noexec,noatime,low_uid=1023,low_gid=1023,gid=1015,mask=0006)
/mnt/media_rw/0000-0000 on /mnt/runtime/read/0000-0000 type sdcardfs (rw,nosuid,nodev,noexec,noatime,low_uid=1023,low_gid=1023,gid=9997,mask=0022)
/mnt/media_rw/0000-0000 on /mnt/runtime/write/0000-0000 type sdcardfs (rw,nosuid,nodev,noexec,noatime,low_uid=1023,low_gid=1023,gid=9997,mask=0022)
Spoiler: partitions
Code:
major minor #blocks name
1 0 8192 ram0
1 1 8192 ram1
1 2 8192 ram2
1 3 8192 ram3
1 4 8192 ram4
1 5 8192 ram5
1 6 8192 ram6
1 7 8192 ram7
1 8 8192 ram8
1 9 8192 ram9
1 10 8192 ram10
1 11 8192 ram11
1 12 8192 ram12
1 13 8192 ram13
1 14 8192 ram14
1 15 8192 ram15
253 0 2097152 vnswap0
8 16 4096 sdb
8 17 3940 sdb1
8 0 62418944 sda
8 1 2048 sda1
8 2 2048 sda2
8 3 4 sda3
8 4 8 sda4
8 5 32768 sda5
8 6 20480 sda6
8 7 10240 sda7
8 8 1024 sda8
8 9 512 sda9
8 10 30720 sda10
8 11 21504 sda11
8 12 512 sda12
8 13 4096 sda13
8 14 16384 sda14
8 15 97280 sda15
259 0 87040 sda16
259 1 65536 sda17
259 2 65536 sda18
259 4 4812800 sda19
259 6 614400 sda20
259 8 46080 sda21
259 10 10240 sda22
259 12 6144 sda23
259 14 10240 sda24
259 16 56460112 sda25
8 48 61440 sdd
8 49 512 sdd1
8 50 2048 sdd2
8 51 512 sdd3
8 52 2048 sdd4
8 53 16 sdd5
8 54 512 sdd6
8 55 16384 sdd7
8 56 20480 sdd8
8 57 4 sdd9
8 58 1024 sdd10
8 59 384 sdd11
8 60 512 sdd12
8 61 512 sdd13
8 62 512 sdd14
8 63 256 sdd15
259 3 256 sdd16
259 5 4 sdd17
259 7 4 sdd18
259 9 128 sdd19
259 11 512 sdd20
259 13 1024 sdd21
259 15 13640 sdd22
8 32 4096 sdc
8 33 3940 sdc1
254 0 56460096 dm-0
179 0 125042688 mmcblk0
179 1 125026304 mmcblk0p1
boot screen
download screen
Yeah, ENG kernel's usually are open to ADB at recovery, making it easy to unlock, wipe FRP and put on a custom rom. I have two Tmo S8's here and I just fixed one, I'll report back about your kernel.... Thanks
AND BTW, thats a trip, both of the one's I have say fuse blown like that, I guess that from the battery's blowing up, but out of the two I managed to piece together a beautiful one.. Anyhow, I'll report back after flashing. I'm gonna slap lineage 19.1 on there. Even if your kernel doesn't work, which I'm sure it will, there's a full setup of eng boot, root, and modified odin @ https://forum.xda-developers.com/t/eng-boot-root.3608353/ that we can both use if this one is no good.

Categories

Resources