How to replace default icon of a launcher - Android Software Development

Hello, I saw that the CSC are set to the default icons of TouchWizLauncher.
I want to change the default icons for HOME but I can not find the classname of the apk.
Can you tell me where is it?
Code:
<Launcher>
<favorites>
<favorite_type>search</favorite_type>
<packageName>PTNWidgetGoogleSearchProvider</packageName>
<className>Google Search</className>
<screen>0</screen>
<launcher_x>0</launcher_x>
<launcher_y>0</launcher_y>
</favorites>
<favorites>
<favorite_type>favorite</favorite_type>
<packageName>com.google.android.gm</packageName>
<className>com.google.android.gm.ConversationListActivityGmail</className>
<screen>0</screen>
<launcher_x>0</launcher_x>
<launcher_y>2</launcher_y>
</favorites>
<favorites>
<favorite_type>favorite</favorite_type>
<packageName>com.google.android.apps.maps</packageName>
<className>com.google.android.maps.MapsActivity</className>
<screen>0</screen>
<launcher_x>1</launcher_x>
<launcher_y>2</launcher_y>
</favorites>
<favorites>
<favorite_type>favorite</favorite_type>
<packageName>com.android.vending</packageName>
<className>com.android.vending.AssetBrowserActivity</className>
<screen>0</screen>
<launcher_x>2</launcher_x>
<launcher_y>2</launcher_y>
</favorites>
<favorites>
<favorite_type>favorite</favorite_type>
<packageName>com.layar</packageName>
<className>com.layar.Main</className>
<screen>0</screen>
<launcher_x>3</launcher_x>
<launcher_y>2</launcher_y>
</favorites>
<favorites>
<favorite_type>favorite</favorite_type>
<packageName>com.google.android.talk</packageName>
<className>com.google.android.talk.SigningInActivity</className>
<screen>0</screen>
<launcher_x>0</launcher_x>
<launcher_y>3</launcher_y>
</favorites>
<favorites>
<favorite_type>favorite</favorite_type>
<packageName>com.google.android.youtube</packageName>
<className>com.google.android.youtube.HomeActivity</className>
<screen>0</screen>
<launcher_x>1</launcher_x>
<launcher_y>3</launcher_y>
</favorites>
<favorites>
<favorite_type>favorite</favorite_type>
<packageName>com.sec.android.app.writeandgo</packageName>
<className>com.sec.android.app.writeandgo.WriteandGo_Edit</className>
<screen>0</screen>
<launcher_x>2</launcher_x>
<launcher_y>3</launcher_y>
</favorites>
<favorites>
<favorite_type>favorite</favorite_type>
<packageName>it.pat.hda.myda</packageName>
<className>it.pat.hda.myda.activity.Main</className>
<screen>0</screen>
<launcher_x>3</launcher_x>
<launcher_y>3</launcher_y>
</favorites>
</Launcher>
Package name I have already found decompiled with apk manager

Related

[HELP] Nexus 4 reboots when in range of a specific WiFi network

Hi everyone,
I have a strange issue that I cannot find any reference to.
I have an open wireless network at my work with a hidden SSID that would allow you to access the internal network only using VPN.
If my wireless is on and my device connects or disconnect from the network the N4 reboots with no message. This is most annoying when I use the elevators.
I've confirmed this issue with a stock N4 (4.2.2) and Cyanogenmod of the same version.
No reboots while connecting/disconnecting to other wireless networks.
Anyone else observes the same issue? Anyone has any clue as to the cause?
I've collected debugging information just before a reboot, and here is what I got.
Code:
I/AvailabilitySDK( 6009): looking for gamecircle-staging measurements to submit...
I/GTalkService/c( 956): [[email protected]] connect: acct=1000000, state=CONNECTING
I/GTalkService/c( 956): [[email protected]] connect: acct=1, state=CONNECTING
D/overlay ( 159): Set pipe=RGB1 dpy=0; Set pipe=VG0 dpy=0; Set pipe=VG1 dpy=0;
D/overlay ( 159): Unset pipe=VG0 dpy=0; Unset pipe=VG1 dpy=0; Unset pipe=RGB1 dpy=0;
D/overlay ( 159): Set pipe=RGB1 dpy=0; Set pipe=VG0 dpy=0; Set pipe=VG1 dpy=0;
D/overlay ( 159): Unset pipe=VG0 dpy=0; Unset pipe=VG1 dpy=0; Unset pipe=RGB1 dpy=0;
D/overlay ( 159): Set pipe=RGB1 dpy=0; Set pipe=VG0 dpy=0; Set pipe=VG1 dpy=0;
E/com.parse.PushService( 2366): could not connect to push server
E/com.parse.PushService( 2366): java.net.SocketTimeoutException: failed to connect to push.parse.com/23.22.34.55 (port 8253) after 5000ms
E/com.parse.PushService( 2366): at libcore.io.IoBridge.connectErrno(IoBridge.java:159)
E/com.parse.PushService( 2366): at libcore.io.IoBridge.connect(IoBridge.java:112)
E/com.parse.PushService( 2366): at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:192)
E/com.parse.PushService( 2366): at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:459)
E/com.parse.PushService( 2366): at java.net.Socket.connect(Socket.java:842)
E/com.parse.PushService( 2366): at com.parse.PushService$2.doInBackground(SourceFile:468)
E/com.parse.PushService( 2366): at com.parse.PushService$2.doInBackground(SourceFile:428)
E/com.parse.PushService( 2366): at com.parse.os.ParseAsyncTask$2.call(SourceFile:215)
E/com.parse.PushService( 2366): at java.util.concurrent.FutureTask.run(FutureTask.java:234)
E/com.parse.PushService( 2366): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
E/com.parse.PushService( 2366): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
E/com.parse.PushService( 2366): at java.lang.Thread.run(Thread.java:856)
D/overlay ( 159): Unset pipe=VG0 dpy=0; Unset pipe=VG1 dpy=0; Unset pipe=RGB1 dpy=0;
D/overlay ( 159): Set pipe=RGB1 dpy=0; Set pipe=VG0 dpy=0; Set pipe=VG1 dpy=0;
D/overlay ( 159): Unset pipe=VG0 dpy=0; Unset pipe=VG1 dpy=0; Unset pipe=RGB1 dpy=0;
D/overlay ( 159): Set pipe=RGB1 dpy=0; Set pipe=VG0 dpy=0; Set pipe=VG1 dpy=0;
D/overlay ( 159): Unset pipe=VG0 dpy=0; Unset pipe=VG1 dpy=0; Unset pipe=RGB1 dpy=0;
D/overlay ( 159): Set pipe=RGB1 dpy=0; Set pipe=VG0 dpy=0; Set pipe=VG1 dpy=0;
D/overlay ( 159): Unset pipe=VG0 dpy=0; Unset pipe=VG1 dpy=0; Unset pipe=RGB1 dpy=0;
D/overlay ( 159): Set pipe=RGB1 dpy=0; Set pipe=VG0 dpy=0; Set pipe=VG1 dpy=0;
D/overlay ( 159): Unset pipe=VG0 dpy=0; Unset pipe=VG1 dpy=0; Unset pipe=RGB1 dpy=0;
D/overlay ( 159): Set pipe=RGB1 dpy=0; Set pipe=VG0 dpy=0; Set pipe=VG1 dpy=0;
D/overlay ( 159): Unset pipe=VG0 dpy=0; Unset pipe=VG1 dpy=0; Unset pipe=RGB1 dpy=0;
D/overlay ( 159): Set pipe=RGB1 dpy=0; Set pipe=VG0 dpy=0; Set pipe=VG1 dpy=0;
D/overlay ( 159): Unset pipe=VG0 dpy=0; Unset pipe=VG1 dpy=0; Unset pipe=RGB1 dpy=0;
D/overlay ( 159): Set pipe=RGB1 dpy=0; Set pipe=VG0 dpy=0; Set pipe=VG1 dpy=0;
D/overlay ( 159): Unset pipe=VG0 dpy=0; Unset pipe=VG1 dpy=0; Unset pipe=RGB1 dpy=0;
D/overlay ( 159): Set pipe=RGB1 dpy=0; Set pipe=VG0 dpy=0; Set pipe=VG1 dpy=0;
D/overlay ( 159): Unset pipe=VG0 dpy=0; Unset pipe=VG1 dpy=0; Unset pipe=RGB1 dpy=0;
D/overlay ( 159): Set pipe=RGB1 dpy=0; Set pipe=VG0 dpy=0; Set pipe=VG1 dpy=0;
E/GTalkService( 956): connectionClosed: no XMPPConnection - That's strange!
E/GTalkService( 956): connectionClosed: no XMPPConnection - That's strange!
D/overlay ( 159): Unset pipe=VG0 dpy=0; Unset pipe=VG1 dpy=0; Unset pipe=RGB1 dpy=0;
D/ConnectivityService( 554): handleInetConditionHoldEnd: net=1, condition=0, published condition=0
D/overlay ( 159): Set pipe=RGB1 dpy=0; Set pipe=VG0 dpy=0; Set pipe=VG1 dpy=0;
D/overlay ( 159): Unset pipe=VG0 dpy=0; Unset pipe=VG1 dpy=0; Unset pipe=RGB1 dpy=0;

[serranoltexx] Testers Needed

Hello Guys, I need testers for testing aosp jb for serranoltexx. If anybody interested revert here i will give you download link!
# root
# root said:
Hello Guys, I need testers for testing aosp jb for serranoltexx. If anybody interested revert here i will give you download link!
# root
Click to expand...
Click to collapse
Im here to play..lets go
im ready to test
Gesendet von meinem GT-I9195 mit CM 10.2
Link
LINK: http://www.androidfilehost.com/?fid=23203820527945816
dr_jerremy said:
Im here to play..lets go
Click to expand...
Click to collapse
mav744 said:
im ready to test
Gesendet von meinem GT-I9195 mit CM 10.2
Click to expand...
Click to collapse
Flash and give logcat
# root said:
Hello Guys, I need testers for testing aosp jb for serranoltexx. If anybody interested revert here i will give you download link!
# root
Click to expand...
Click to collapse
Is it for i9192?
a_barat said:
Is it for i9192?
Click to expand...
Click to collapse
GT-I9195 serranoltexx
Flash failed with twrp.
Set_perm: some changes failed
Sent from my GT-I9195 using XDA Premium 4 mobile app
Ezylife said:
Flash failed with twrp.
Set_perm: some changes failed
Sent from my GT-I9195 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Try to Flash ROM goto advance>>Report Error
It Creates recovery.log in /sdcard/twrp/. Paste recovery.log here
Installing '/sdcard/Download/omni_serranoltexx-ota-eng.rish.zip'...
Checking for MD5 file...
I:Cannot find file /sdcard/Download/omni_serranoltexx-ota-eng.rish.zip.md5
Skipping MD5 check: no MD5 file found.
I:Zip contains SELinux file_contexts file in its root. Extracting to /file_contexts
package_extract_file: no system/bin/backuptool.sh in package
package_extract_file: no system/bin/backuptool.functions in package
set_perm: chown of /tmp/backuptool.sh to 0 0 failed: No such file or directory
set_perm: chmod of /tmp/backuptool.sh to 777 failed: No such file or directory
script aborted: set_perm: some changes failed
set_perm: some changes failed
E:Error executing updater binary in zip '/sdcard/Download/omni_serranoltexx-ota-eng.rish.zip'
Error flashing zip '/sdcard/Download/omni_serranoltexx-ota-eng.rish.zip'
Updating partition details...
Iata backup size is 0MB, size: 5455MB, used: 1058MB, free: 4303MB, in data/media: 1058MB.
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
I:Set page: 'flash_done'
I:Set page: 'clear_vars'
I:Set page: 'install'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'advanced'
I:Set page: 'confirm_action'
I:Set page: 'action_page'
I:Copying file /tmp/recovery.log to /data/media/0/recovery.log
Sent from my GT-I9195 using XDA Premium 4 mobile app
Ezylife said:
Installing '/sdcard/Download/omni_serranoltexx-ota-eng.rish.zip'...
Checking for MD5 file...
I:Cannot find file /sdcard/Download/omni_serranoltexx-ota-eng.rish.zip.md5
Skipping MD5 check: no MD5 file found.
I:Zip contains SELinux file_contexts file in its root. Extracting to /file_contexts
package_extract_file: no system/bin/backuptool.sh in package
package_extract_file: no system/bin/backuptool.functions in package
set_perm: chown of /tmp/backuptool.sh to 0 0 failed: No such file or directory
set_perm: chmod of /tmp/backuptool.sh to 777 failed: No such file or directory
script aborted: set_perm: some changes failed
set_perm: some changes failed
E:Error executing updater binary in zip '/sdcard/Download/omni_serranoltexx-ota-eng.rish.zip'
Error flashing zip '/sdcard/Download/omni_serranoltexx-ota-eng.rish.zip'
Updating partition details...
Iata backup size is 0MB, size: 5455MB, used: 1058MB, free: 4303MB, in data/media: 1058MB.
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
I:Set page: 'flash_done'
I:Set page: 'clear_vars'
I:Set page: 'install'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'advanced'
I:Set page: 'confirm_action'
I:Set page: 'action_page'
I:Copying file /tmp/recovery.log to /data/media/0/recovery.log
Sent from my GT-I9195 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Extract current zip...Replace updater script with CM10.2's script and reflash
# root said:
Extract current zip...Replace updater script with CM10.2's script and reflash
Click to expand...
Click to collapse
Will script from carbon or pacman work
Sent from my GT-I9195 using XDA Premium 4 mobile app
Ezylife said:
Will script from carbon or pacman work
Sent from my GT-I9195 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Not from pacman.
updater script
Ezylife said:
Will script from carbon or pacman work
Sent from my GT-I9195 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Use this updater script
assert(!less_than_int(1383600474, getprop("ro.build.date.utc")));
assert(getprop("ro.product.device") == "serranolte" || getprop("ro.build.product") == "serranolte" ||
getprop("ro.product.device") == "serranoltexx" || getprop("ro.build.product") == "serranoltexx" ||
getprop("ro.product.device") == "i9195" || getprop("ro.build.product") == "i9195" ||
getprop("ro.product.device") == "GT-I9195" || getprop("ro.build.product") == "GT-I9195");
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system");
package_extract_file("system/bin/backuptool.sh", "/tmp/backuptool.sh");
package_extract_file("system/bin/backuptool.functions", "/tmp/backuptool.functions");
set_perm(0, 0, 0777, "/tmp/backuptool.sh");
set_perm(0, 0, 0644, "/tmp/backuptool.functions");
run_program("/tmp/backuptool.sh", "backup");
unmount("/system");
show_progress(0.500000, 0);
format("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "0", "/system");
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system");
package_extract_dir("recovery", "/system");
package_extract_dir("system", "/system");
symlink("/system/xbin/su", "/system/bin/su");
symlink("Roboto-Bold.ttf", "/system/fonts/DroidSans-Bold.ttf");
symlink("Roboto-Regular.ttf", "/system/fonts/DroidSans.ttf");
symlink("busybox", "/system/xbin/[", "/system/xbin/[[",
"/system/xbin/adjtimex", "/system/xbin/arp", "/system/xbin/ash",
"/system/xbin/awk", "/system/xbin/base64", "/system/xbin/basename",
"/system/xbin/bbconfig", "/system/xbin/blkid", "/system/xbin/blockdev",
"/system/xbin/brctl", "/system/xbin/bunzip2", "/system/xbin/bzcat",
"/system/xbin/bzip2", "/system/xbin/cal", "/system/xbin/cat",
"/system/xbin/catv", "/system/xbin/chattr", "/system/xbin/chgrp",
"/system/xbin/chmod", "/system/xbin/chown", "/system/xbin/chroot",
"/system/xbin/clear", "/system/xbin/cmp", "/system/xbin/comm",
"/system/xbin/cp", "/system/xbin/cpio", "/system/xbin/crond",
"/system/xbin/crontab", "/system/xbin/cut", "/system/xbin/date",
"/system/xbin/dc", "/system/xbin/dd", "/system/xbin/depmod",
"/system/xbin/devmem", "/system/xbin/df", "/system/xbin/diff",
"/system/xbin/dirname", "/system/xbin/dmesg", "/system/xbin/dnsd",
"/system/xbin/dos2unix", "/system/xbin/du", "/system/xbin/echo",
"/system/xbin/ed", "/system/xbin/egrep", "/system/xbin/env",
"/system/xbin/expand", "/system/xbin/expr", "/system/xbin/false",
"/system/xbin/fbsplash", "/system/xbin/fdisk", "/system/xbin/fgrep",
"/system/xbin/find", "/system/xbin/flash_lock",
"/system/xbin/flash_unlock", "/system/xbin/flashcp",
"/system/xbin/flock", "/system/xbin/fold", "/system/xbin/free",
"/system/xbin/freeramdisk", "/system/xbin/fstrim", "/system/xbin/fsync",
"/system/xbin/ftpget", "/system/xbin/ftpput", "/system/xbin/fuser",
"/system/xbin/getopt", "/system/xbin/grep", "/system/xbin/groups",
"/system/xbin/gunzip", "/system/xbin/gzip", "/system/xbin/halt",
"/system/xbin/head", "/system/xbin/hexdump", "/system/xbin/id",
"/system/xbin/ifconfig", "/system/xbin/inetd", "/system/xbin/insmod",
"/system/xbin/install", "/system/xbin/ionice", "/system/xbin/iostat",
"/system/xbin/ip", "/system/xbin/kill", "/system/xbin/killall",
"/system/xbin/killall5", "/system/xbin/less", "/system/xbin/ln",
"/system/xbin/losetup", "/system/xbin/ls", "/system/xbin/lsattr",
"/system/xbin/lsmod", "/system/xbin/lsusb", "/system/xbin/lzcat",
"/system/xbin/lzma", "/system/xbin/lzop", "/system/xbin/lzopcat",
"/system/xbin/man", "/system/xbin/md5sum", "/system/xbin/mesg",
"/system/xbin/mkdir", "/system/xbin/mke2fs", "/system/xbin/mkfifo",
"/system/xbin/mkfs.ext2", "/system/xbin/mkfs.vfat",
"/system/xbin/mknod", "/system/xbin/mkswap", "/system/xbin/mktemp",
"/system/xbin/modinfo", "/system/xbin/modprobe", "/system/xbin/more",
"/system/xbin/mount", "/system/xbin/mountpoint", "/system/xbin/mpstat",
"/system/xbin/mv", "/system/xbin/nanddump", "/system/xbin/nandwrite",
"/system/xbin/nbd-client", "/system/xbin/netstat", "/system/xbin/nice",
"/system/xbin/nohup", "/system/xbin/nslookup", "/system/xbin/ntpd",
"/system/xbin/od", "/system/xbin/patch", "/system/xbin/pgrep",
"/system/xbin/pidof", "/system/xbin/ping", "/system/xbin/pipe_progress",
"/system/xbin/pkill", "/system/xbin/pmap", "/system/xbin/poweroff",
"/system/xbin/printenv", "/system/xbin/printf", "/system/xbin/ps",
"/system/xbin/pstree", "/system/xbin/pwd", "/system/xbin/pwdx",
"/system/xbin/rdev", "/system/xbin/readlink", "/system/xbin/realpath",
"/system/xbin/renice", "/system/xbin/reset", "/system/xbin/resize",
"/system/xbin/rev", "/system/xbin/rm", "/system/xbin/rmdir",
"/system/xbin/rmmod", "/system/xbin/route", "/system/xbin/run-parts",
"/system/xbin/rx", "/system/xbin/sed", "/system/xbin/seq",
"/system/xbin/setconsole", "/system/xbin/setserial",
"/system/xbin/setsid", "/system/xbin/sh", "/system/xbin/sha1sum",
"/system/xbin/sha256sum", "/system/xbin/sha3sum",
"/system/xbin/sha512sum", "/system/xbin/sleep", "/system/xbin/sort",
"/system/xbin/split", "/system/xbin/stat", "/system/xbin/strings",
"/system/xbin/stty", "/system/xbin/sum", "/system/xbin/swapoff",
"/system/xbin/swapon", "/system/xbin/sync", "/system/xbin/sysctl",
"/system/xbin/tac", "/system/xbin/tail", "/system/xbin/tar",
"/system/xbin/taskset", "/system/xbin/tee", "/system/xbin/telnet",
"/system/xbin/telnetd", "/system/xbin/test", "/system/xbin/tftp",
"/system/xbin/tftpd", "/system/xbin/time", "/system/xbin/timeout",
"/system/xbin/top", "/system/xbin/touch", "/system/xbin/tr",
"/system/xbin/traceroute", "/system/xbin/true", "/system/xbin/ttysize",
"/system/xbin/tune2fs", "/system/xbin/umount", "/system/xbin/uname",
"/system/xbin/uncompress", "/system/xbin/unexpand", "/system/xbin/uniq",
"/system/xbin/unix2dos", "/system/xbin/unlzma", "/system/xbin/unlzop",
"/system/xbin/unxz", "/system/xbin/unzip", "/system/xbin/uptime",
"/system/xbin/usleep", "/system/xbin/uudecode", "/system/xbin/uuencode",
"/system/xbin/vi", "/system/xbin/watch", "/system/xbin/wc",
"/system/xbin/wget", "/system/xbin/which", "/system/xbin/whoami",
"/system/xbin/xargs", "/system/xbin/xz", "/system/xbin/xzcat",
"/system/xbin/yes",
"/system/xbin/zcat");
symlink("libGLESv2.so", "/system/lib/libGLESv3.so");
symlink("mksh", "/system/bin/sh");
symlink("mount.exfat", "/system/bin/fsck.exfat",
"/system/bin/mkfs.exfat");
symlink("pigz", "/system/xbin/unpigz");
symlink("toolbox", "/system/bin/cat", "/system/bin/chcon",
"/system/bin/chmod", "/system/bin/chown", "/system/bin/clear",
"/system/bin/cmp", "/system/bin/cp", "/system/bin/date",
"/system/bin/dd", "/system/bin/df", "/system/bin/dmesg",
"/system/bin/du", "/system/bin/getenforce", "/system/bin/getevent",
"/system/bin/getprop", "/system/bin/getsebool", "/system/bin/grep",
"/system/bin/hd", "/system/bin/id", "/system/bin/ifconfig",
"/system/bin/iftop", "/system/bin/insmod", "/system/bin/ioctl",
"/system/bin/ionice", "/system/bin/kill", "/system/bin/ln",
"/system/bin/load_policy", "/system/bin/log", "/system/bin/ls",
"/system/bin/lsmod", "/system/bin/lsof", "/system/bin/md5",
"/system/bin/mkdir", "/system/bin/mount", "/system/bin/mv",
"/system/bin/nandread", "/system/bin/netstat",
"/system/bin/newfs_msdos", "/system/bin/notify", "/system/bin/printenv",
"/system/bin/ps", "/system/bin/r", "/system/bin/reboot",
"/system/bin/renice", "/system/bin/restorecon", "/system/bin/rm",
"/system/bin/rmdir", "/system/bin/rmmod", "/system/bin/route",
"/system/bin/runcon", "/system/bin/schedtop", "/system/bin/sendevent",
"/system/bin/setconsole", "/system/bin/setenforce",
"/system/bin/setprop", "/system/bin/setsebool", "/system/bin/sleep",
"/system/bin/smd", "/system/bin/start", "/system/bin/stop",
"/system/bin/sync", "/system/bin/top", "/system/bin/touch",
"/system/bin/umount", "/system/bin/uptime", "/system/bin/vmstat",
"/system/bin/watchprops",
"/system/bin/wipe");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 0, 0755, "/system/bin/ping");
set_perm(0, 2000, 0750, "/system/bin/run-as");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm(0, 2000, 0755, "/system/vendor");
set_perm(0, 2000, 0755, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/lib");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 06755, "/system/xbin/librank");
set_perm(0, 0, 06755, "/system/xbin/procmem");
set_perm(0, 0, 06755, "/system/xbin/procrank");
set_perm(0, 0, 06755, "/system/xbin/su");
show_progress(0.200000, 0);
show_progress(0.200000, 10);
package_extract_file("system/bin/backuptool.sh", "/tmp/backuptool.sh");
package_extract_file("system/bin/backuptool.functions", "/tmp/backuptool.functions");
delete("/system/bin/backuptool.functions");
show_progress(0.200000, 10);
package_extract_file("boot.img", "/dev/block/platform/msm_sdcc.1/by-name/boot");
show_progress(0.100000, 0);
unmount("/system");
cant Flash it, Not with cm update Script and Not with your Script, Same error
Gesendet von meinem GT-I9195 mit CM 10.2
---------- Post added at 10:51 AM ---------- Previous post was at 10:50 AM ----------
i use philz touch Recovery
Gesendet von meinem GT-I9195 mit CM 10.2
Still no luck, just noticed the log say backup tool.sh and .functions are missing
Sent from my GT-I9195 using XDA Premium 4 mobile app
---------- Post added at 02:45 PM ---------- Previous post was at 01:56 PM ----------
Put the missing file in, flashed ok stuck on android logo.
Sent from my GT-I9195 using XDA Premium 4 mobile app
updater script
Ezylife said:
Still no luck, just noticed the log say backup tool.sh and .functions are missing
Sent from my GT-I9195 using XDA Premium 4 mobile app
---------- Post added at 02:45 PM ---------- Previous post was at 01:56 PM ----------
Put the missing file in, flashed ok stuck on android logo.
Sent from my GT-I9195 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Working updater-script!! http://www.mediafire.com/view/w429k8awha7a44w/updater-script
# root said:
Working updater-script!! http://www.mediafire.com/view/w429k8awha7a44w/updater-script
Click to expand...
Click to collapse
Got old script working
Sent from my GT-I9195 using XDA Premium 4 mobile app
Ezylife said:
Got old script working
Sent from my GT-I9195 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Working and not working list??
# root said:
Working and not working list??
Click to expand...
Click to collapse
Flashed ok then got stuck on boot logo

[Q] BlueTooth Chat Sample App not working in Nexus 7.

Android Version: 4.4.4
Device Name: Nexus 7
I have downloaded the bluetooth chat app from android studio and setup a project. I am able to run the the application without any errors, but the application is not working and unable to connect to any of the scanned device. I am receiving the log messages as below:
03-21 21:45:38.982 28983-28983/com.example.android.bluetoothchat D/dalvikvm﹕ Late-enabling CheckJNI
03-21 21:45:39.092 28983-28983/com.example.android.bluetoothchat I/System.out﹕ Starting logging
03-21 21:45:39.092 28983-28983/com.example.android.bluetoothchat I/MainActivity﹕ Ready
03-21 21:45:39.092 28983-28983/com.example.android.bluetoothchat D/BluetoothChatService﹕ start
03-21 21:45:39.092 28983-28983/com.example.android.bluetoothchat D/BluetoothChatService﹕ setState() 0 -> 1
03-21 21:45:39.092 28983-28983/com.example.android.bluetoothchat I/System.out﹕ setting mState to : 1
03-21 21:45:39.102 28983-28983/com.example.android.bluetoothchat W/BluetoothAdapter﹕ getBluetoothService() called with no BluetoothManagerCallback
03-21 21:45:39.102 28983-28998/com.example.android.bluetoothchat D/BluetoothChatService﹕ Socket Type: SecureBEGIN mAcceptThreadThread[Thread-1719,5,main]
03-21 21:45:39.102 28983-28983/com.example.android.bluetoothchat W/BluetoothAdapter﹕ getBluetoothService() called with no BluetoothManagerCallback
03-21 21:45:39.102 28983-28983/com.example.android.bluetoothchat I/System.out﹕ Starting bluetooth chat
03-21 21:45:39.102 28983-28999/com.example.android.bluetoothchat D/BluetoothChatService﹕ Socket Type: InsecureBEGIN mAcceptThreadThread[Thread-1720,5,main]
03-21 21:45:39.232 28983-28983/com.example.android.bluetoothchat I/Adreno-EGL﹕ <qeglDrvAPI_eglInitialize:320>: EGL 1.4 QUALCOMM Build: I0404c4692afb8623f95c43aeb6d5e13ed4b30ddbDate: 11/06/13
03-21 21:45:39.262 28983-28983/com.example.android.bluetoothchat D/OpenGLRenderer﹕ Enabling debug mode 0
03-21 21:45:57.921 28983-28983/com.example.android.bluetoothchat W/InputEventReceiver﹕ Attempted to finish an input event but the input event receiver has already been disposed.
03-21 21:45:58.791 28983-28983/com.example.android.bluetoothchat D/dalvikvm﹕ GC_FOR_ALLOC freed 206K, 3% free 9292K/9532K, paused 16ms, total 18ms
03-21 21:46:00.623 28983-28983/com.example.android.bluetoothchat D/BluetoothChatService﹕ connect to: D0:7E:356:77:5B
03-21 21:46:00.623 28983-28983/com.example.android.bluetoothchat D/BluetoothChatService﹕ setState() 1 -> 2
03-21 21:46:00.623 28983-29133/com.example.android.bluetoothchat I/BluetoothChatService﹕ BEGIN mConnectThread SocketType:Secure
03-21 21:46:00.633 28983-29133/com.example.android.bluetoothchat W/BluetoothAdapter﹕ getBluetoothService() called with no BluetoothManagerCallback
03-21 21:46:00.633 28983-28983/com.example.android.bluetoothchat I/System.out﹕ setting mState to : 2
03-21 21:46:00.633 28983-29133/com.example.android.bluetoothchat D/BluetoothSocket﹕ connect(), SocketState: INIT, mPfd: {ParcelFileDescriptor: FileDescriptor[50]}
03-21 21:46:00.753 28983-29133/com.example.android.bluetoothchat D/BluetoothChatService﹕ start
03-21 21:46:00.753 28983-29133/com.example.android.bluetoothchat D/BluetoothChatService﹕ setState() 2 -> 1
03-21 21:46:00.753 28983-29133/com.example.android.bluetoothchat I/System.out﹕ setting mState to : 1
03-21 21:47:55.705 28983-28983/com.example.android.bluetoothchat W/IInputConnectionWrapper﹕ showStatusIcon on inactive InputConnection
03-21 21:49:19.227 28983-28983/com.example.android.bluetoothchat I/System.out﹕ Starting logging
03-21 21:49:19.227 28983-28983/com.example.android.bluetoothchat I/MainActivity﹕ Ready
03-21 21:49:25.673 28983-28983/com.example.android.bluetoothchat D/BluetoothChatService﹕ connect to: 00:04:3E:01:72:3C
03-21 21:49:25.683 28983-28983/com.example.android.bluetoothchat D/BluetoothChatService﹕ setState() 1 -> 2
03-21 21:49:25.683 28983-28983/com.example.android.bluetoothchat I/System.out﹕ setting mState to : 2
03-21 21:49:25.683 28983-29249/com.example.android.bluetoothchat I/BluetoothChatService﹕ BEGIN mConnectThread SocketType:Insecure
03-21 21:49:25.693 28983-29249/com.example.android.bluetoothchat W/BluetoothAdapter﹕ getBluetoothService() called with no BluetoothManagerCallback
03-21 21:49:25.703 28983-29249/com.example.android.bluetoothchat D/BluetoothSocket﹕ connect(), SocketState: INIT, mPfd: {ParcelFileDescriptor: FileDescriptor[62]}
03-21 21:49:30.248 28983-28983/com.example.android.bluetoothchat D/BluetoothChatService﹕ connect to: D0:7E:356:77:5B
03-21 21:49:30.248 28983-28983/com.example.android.bluetoothchat D/BluetoothChatService﹕ setState() 2 -> 2
03-21 21:49:30.248 28983-29255/com.example.android.bluetoothchat I/BluetoothChatService﹕ BEGIN mConnectThread SocketType:Insecure
03-21 21:49:30.248 28983-28983/com.example.android.bluetoothchat I/System.out﹕ setting mState to : 2
03-21 21:49:30.248 28983-29249/com.example.android.bluetoothchat D/BluetoothChatService﹕ start
03-21 21:49:30.258 28983-29249/com.example.android.bluetoothchat D/BluetoothChatService﹕ setState() 2 -> 1
03-21 21:49:30.258 28983-29249/com.example.android.bluetoothchat I/System.out﹕ setting mState to : 1
03-21 21:49:30.268 28983-29255/com.example.android.bluetoothchat D/BluetoothChatService﹕ start
03-21 21:49:30.268 28983-29255/com.example.android.bluetoothchat D/BluetoothChatService﹕ setState() 1 -> 1
03-21 21:49:30.268 28983-29255/com.example.android.bluetoothchat I/System.out﹕ setting mState to : 1
03-21 21:49:34.131 28983-28983/com.example.android.bluetoothchat D/dalvikvm﹕ GC_FOR_ALLOC freed 248K, 3% free 9559K/9840K, paused 20ms, total 20ms
03-21 21:49:44.992 28983-28983/com.example.android.bluetoothchat D/BluetoothChatService﹕ connect to: 00:04:3E:01:72:3C
03-21 21:49:44.992 28983-28983/com.example.android.bluetoothchat D/BluetoothChatService﹕ setState() 1 -> 2
03-21 21:49:44.992 28983-29275/com.example.android.bluetoothchat I/BluetoothChatService﹕ BEGIN mConnectThread SocketType:Insecure
03-21 21:49:44.992 28983-28983/com.example.android.bluetoothchat I/System.out﹕ setting mState to : 2
03-21 21:49:44.992 28983-29275/com.example.android.bluetoothchat W/BluetoothAdapter﹕ getBluetoothService() called with no BluetoothManagerCallback
03-21 21:49:45.002 28983-29275/com.example.android.bluetoothchat D/BluetoothSocket﹕ connect(), SocketState: INIT, mPfd: {ParcelFileDescriptor: FileDescriptor[54]}
03-21 21:49:51.849 28983-29275/com.example.android.bluetoothchat D/BluetoothChatService﹕ start
03-21 21:49:51.849 28983-29275/com.example.android.bluetoothchat D/BluetoothChatService﹕ setState() 2 -> 1
03-21 21:49:51.849 28983-29275/com.example.android.bluetoothchat I/System.out﹕ setting mState to : 1
03-21 21:49:53.921 28983-28983/com.example.android.bluetoothchat D/BluetoothChatService﹕ connect to: 00:04:3E:01:72:3C
03-21 21:49:53.921 28983-28983/com.example.android.bluetoothchat D/BluetoothChatService﹕ setState() 1 -> 2
03-21 21:49:53.921 28983-28983/com.example.android.bluetoothchat I/System.out﹕ setting mState to : 2
03-21 21:49:53.931 28983-29287/com.example.android.bluetoothchat I/BluetoothChatService﹕ BEGIN mConnectThread SocketType:Insecure
03-21 21:49:53.941 28983-29287/com.example.android.bluetoothchat W/BluetoothAdapter﹕ getBluetoothService() called with no BluetoothManagerCallback
03-21 21:49:53.941 28983-29287/com.example.android.bluetoothchat D/BluetoothSocket﹕ connect(), SocketState: INIT, mPfd: {ParcelFileDescriptor: FileDescriptor[64]}
03-21 21:50:00.677 28983-29287/com.example.android.bluetoothchat D/BluetoothChatService﹕ start
03-21 21:50:00.677 28983-29287/com.example.android.bluetoothchat D/BluetoothChatService﹕ setState() 2 -> 1
03-21 21:50:00.677 28983-29287/com.example.android.bluetoothchat I/System.out﹕ setting mState to : 1
03-21 21:51:14.249 28983-28983/com.example.android.bluetoothchat W/IInputConnectionWrapper﹕ showStatusIcon on inactive InputConnection
03-21 21:51:59.593 29607-29607/com.example.android.bluetoothchat D/dalvikvm﹕ GC_FOR_ALLOC freed 214K, 3% free 9284K/9532K, paused 32ms, total 33ms
03-21 21:52:00.905 29607-29607/com.example.android.bluetoothchat D/BluetoothChatService﹕ connect to: D0:7E:356:77:5B
03-21 21:52:00.915 29607-29607/com.example.android.bluetoothchat D/BluetoothChatService﹕ setState() 1 -> 2
03-21 21:52:00.915 29607-29674/com.example.android.bluetoothchat I/BluetoothChatService﹕ BEGIN mConnectThread SocketType:Insecure
03-21 21:52:00.915 29607-29607/com.example.android.bluetoothchat I/System.out﹕ setting mState to : 2
03-21 21:52:00.915 29607-29674/com.example.android.bluetoothchat W/BluetoothAdapter﹕ getBluetoothService() called with no BluetoothManagerCallback
03-21 21:52:00.925 29607-29674/com.example.android.bluetoothchat D/BluetoothSocket﹕ connect(), SocketState: INIT, mPfd: {ParcelFileDescriptor: FileDescriptor[50]}
03-21 21:52:01.135 29607-29674/com.example.android.bluetoothchat D/BluetoothChatService﹕ start
03-21 21:52:01.135 29607-29674/com.example.android.bluetoothchat D/BluetoothChatService﹕ setState() 2 -> 1
03-21 21:52:01.135 29607-29674/com.example.android.bluetoothchat I/System.out﹕ setting mState to : 1
03-21 21:52:21.625 29785-29785/com.example.android.bluetoothchat I/System.out﹕ Starting logging
03-21 21:52:21.625 29785-29785/com.example.android.bluetoothchat I/MainActivity﹕ Ready
03-21 21:52:21.625 29785-29785/com.example.android.bluetoothchat D/BluetoothChatService﹕ start
03-21 21:52:21.625 29785-29785/com.example.android.bluetoothchat D/BluetoothChatService﹕ setState() 0 -> 1
03-21 21:52:21.625 29785-29785/com.example.android.bluetoothchat I/System.out﹕ setting mState to : 1
03-21 21:52:21.625 29785-29785/com.example.android.bluetoothchat W/BluetoothAdapter﹕ getBluetoothService() called with no BluetoothManagerCallback
03-21 21:52:21.625 29785-29798/com.example.android.bluetoothchat D/BluetoothChatService﹕ Socket Type: SecureBEGIN mAcceptThreadThread[Thread-1731,5,main]
03-21 21:52:21.635 29785-29785/com.example.android.bluetoothchat W/BluetoothAdapter﹕ getBluetoothService() called with no BluetoothManagerCallback
03-21 21:52:21.635 29785-29785/com.example.android.bluetoothchat I/System.out﹕ Starting bluetooth chat
03-21 21:52:21.635 29785-29799/com.example.android.bluetoothchat D/BluetoothChatService﹕ Socket Type: InsecureBEGIN mAcceptThreadThread[Thread-1732,5,main]
03-21 21:52:21.795 29785-29785/com.example.android.bluetoothchat I/Adreno-EGL﹕ <qeglDrvAPI_eglInitialize:320>: EGL 1.4 QUALCOMM Build: I0404c4692afb8623f95c43aeb6d5e13ed4b30ddbDate: 11/06/13
03-21 21:52:21.825 29785-29785/com.example.android.bluetoothchat D/OpenGLRenderer﹕ Enabling debug mode 0
03-21 21:52:27.761 29785-29785/com.example.android.bluetoothchat D/dalvikvm﹕ GC_FOR_ALLOC freed 181K, 3% free 9317K/9532K, paused 16ms, total 16ms
03-21 21:52:29.923 29785-29785/com.example.android.bluetoothchat D/BluetoothChatService﹕ connect to: D0:7E:356:77:5B
03-21 21:52:29.923 29785-29785/com.example.android.bluetoothchat D/BluetoothChatService﹕ setState() 1 -> 2
03-21 21:52:29.923 29785-29845/com.example.android.bluetoothchat I/BluetoothChatService﹕ BEGIN mConnectThread SocketType:Insecure
03-21 21:52:29.923 29785-29785/com.example.android.bluetoothchat I/System.out﹕ setting mState to : 2
03-21 21:52:29.933 29785-29845/com.example.android.bluetoothchat W/BluetoothAdapter﹕ getBluetoothService() called with no BluetoothManagerCallback
03-21 21:52:29.943 29785-29845/com.example.android.bluetoothchat D/BluetoothSocket﹕ connect(), SocketState: INIT, mPfd: {ParcelFileDescriptor: FileDescriptor[49]}
03-21 21:52:30.053 29785-29845/com.example.android.bluetoothchat D/BluetoothChatService﹕ start
03-21 21:52:30.053 29785-29845/com.example.android.bluetoothchat D/BluetoothChatService﹕ setState() 2 -> 1
03-21 21:52:30.053 29785-29845/com.example.android.bluetoothchat I/System.out﹕ setting mState to : 1
03-21 21:52:35.488 29785-29785/com.example.android.bluetoothchat D/BluetoothChatService﹕ connect to: D0:7E:356:77:5B
03-21 21:52:35.498 29785-29785/com.example.android.bluetoothchat D/BluetoothChatService﹕ setState() 1 -> 2
03-21 21:52:35.498 29785-29785/com.example.android.bluetoothchat I/System.out﹕ setting mState to : 2
03-21 21:52:35.498 29785-29858/com.example.android.bluetoothchat I/BluetoothChatService﹕ BEGIN mConnectThread SocketType:Insecure
03-21 21:52:35.508 29785-29858/com.example.android.bluetoothchat W/BluetoothAdapter﹕ getBluetoothService() called with no BluetoothManagerCallback
03-21 21:52:35.518 29785-29858/com.example.android.bluetoothchat D/BluetoothSocket﹕ connect(), SocketState: INIT, mPfd: {ParcelFileDescriptor: FileDescriptor[61]}
03-21 21:52:35.639 29785-29858/com.example.android.bluetoothchat D/BluetoothChatService﹕ start
03-21 21:52:35.639 29785-29858/com.example.android.bluetoothchat D/BluetoothChatService﹕ setState() 2 -> 1
03-21 21:52:35.639 29785-29858/com.example.android.bluetoothchat I/System.out﹕ setting mState to : 1
03-21 21:52:44.477 29785-29785/com.example.android.bluetoothchat D/BluetoothChatService﹕ connect to: 00:04:3E:01:72:3C
03-21 21:52:44.477 29785-29785/com.example.android.bluetoothchat D/BluetoothChatService﹕ setState() 1 -> 2
03-21 21:52:44.477 29785-29874/com.example.android.bluetoothchat I/BluetoothChatService﹕ BEGIN mConnectThread SocketType:Secure
03-21 21:52:44.477 29785-29785/com.example.android.bluetoothchat I/System.out﹕ setting mState to : 2
03-21 21:52:44.477 29785-29874/com.example.android.bluetoothchat W/BluetoothAdapter﹕ getBluetoothService() called with no BluetoothManagerCallback
03-21 21:52:44.477 29785-29874/com.example.android.bluetoothchat D/BluetoothSocket﹕ connect(), SocketState: INIT, mPfd: {ParcelFileDescriptor: FileDescriptor[62]}
03-21 21:52:51.274 29785-29874/com.example.android.bluetoothchat D/BluetoothChatService﹕ start
03-21 21:52:51.274 29785-29874/com.example.android.bluetoothchat D/BluetoothChatService﹕ setState() 2 -> 1
03-21 21:52:51.274 29785-29874/com.example.android.bluetoothchat I/System.out﹕ setting mState to : 1
03-21 21:52:58.191 29785-29785/com.example.android.bluetoothchat W/IInputConnectionWrapper﹕ showStatusIcon on inactive InputConnection
03-21 21:53:56.988 30089-30089/com.example.android.bluetoothchat D/dalvikvm﹕ GC_FOR_ALLOC freed 184K, 3% free 9314K/9532K, paused 17ms, total 17ms
03-21 21:53:58.760 30089-30089/com.example.android.bluetoothchat D/BluetoothChatService﹕ connect to: D0:7E:356:77:5B
03-21 21:53:58.770 30089-30089/com.example.android.bluetoothchat D/BluetoothChatService﹕ setState() 1 -> 2
03-21 21:53:58.770 30089-30162/com.example.android.bluetoothchat I/BluetoothChatService﹕ BEGIN mConnectThread SocketType:Insecure
03-21 21:53:58.770 30089-30162/com.example.android.bluetoothchat W/BluetoothAdapter﹕ getBluetoothService() called with no BluetoothManagerCallback
03-21 21:53:58.780 30089-30162/com.example.android.bluetoothchat D/BluetoothSocket﹕ connect(), SocketState: INIT, mPfd: {ParcelFileDescriptor: FileDescriptor[55]}
03-21 21:53:58.780 30089-30089/com.example.android.bluetoothchat I/System.out﹕ setting mState to : 2
03-21 21:53:58.980 30089-30162/com.example.android.bluetoothchat D/BluetoothChatService﹕ start
03-21 21:53:58.980 30089-30162/com.example.android.bluetoothchat D/BluetoothChatService﹕ setState() 2 -> 1
03-21 21:53:58.980 30089-30162/com.example.android.bluetoothchat I/System.out﹕ setting mState to : 1
03-21 21:54:05.857 30089-30089/com.example.android.bluetoothchat W/IInputConnectionWrapper﹕ showStatusIcon on inactive InputConnection
03-21 21:55:07.427 30089-30089/com.example.android.bluetoothchat I/System.out﹕ Starting logging
03-21 21:55:07.427 30089-30089/com.example.android.bluetoothchat I/MainActivity﹕ Ready
03-21 21:55:20.079 30089-30089/com.example.android.bluetoothchat W/IInputConnectionWrapper﹕ showStatusIcon on inactive InputConnection
Hi there,
Please wait until mods will move this thread to the device specific forum.
Stand by

I:Error adding file '/efs/prov/prov.b02

Hi Guys,
I am facing an issue while i am trying to do a backup using TWRP (latest version 3.1.1.0) of efs.
My device is sm-n9005 international.
I have flash resurrection remix rom (RR-N-v5.8.2-20170309-hlte)
[BACKUP STARTED]
* Backup Folder: /external_sd/TWRP/BACKUPS/5a6338f0/2017-10-02--05-43-13_lineage_hlte-userdebug_7.1.1_NOF27B_13d5092
Backing up EFS...
I:Creating backup...
I:Creating tar file '/external_sd/TWRP/BACKUPS/5a6338f0/2017-10-02--05-43-13_lineage_hlte-userdebug_7.1.1_NOF27B_13d5092/efs.ext4.win'
I:addFile '/efs/prov' including root: 0
==> set selinux context: ubject_rrov_efs_file:s0
I:addFile '/efs/prov/prov.b00' including root: 0
==> set selinux context: ubject_rrov_efs_file:s0
I:addFile '/efs/prov/prov.b01' including root: 0
==> set selinux context: ubject_rrov_efs_file:s0
I:addFile '/efs/prov/prov.b02' including root: 0
==> set selinux context: ubject_rrov_efs_file:s0
I:Error adding file '/efs/prov/prov.b02' to '/external_sd/TWRP/BACKUPS/5a6338f0/2017-10-02--05-43-13_lineage_hlte-userdebug_7.1.1_NOF27B_13d5092/efs.ext4.win'
Error creating backup.
I:ERROR tarList for thread ID 0
Error creating backup.
I:InfoManager saving '/external_sd/TWRP/BACKUPS/5a6338f0/2017-10-02--05-43-13_lineage_hlte-userdebug_7.1.1_NOF27B_13d5092/efs.info'
createTarFork() process ended with ERROR: 255
Backup Failed. Cleaning Backup Folder.
I:Copying file /tmp/recovery.log to /external_sd/TWRP/BACKUPS/5a6338f0/2017-10-02--05-43-13_lineage_hlte-userdebug_7.1.1_NOF27B_13d5092/recovery.log
I:Set page: 'action_complete'
Iperation_end - status=1
I:Set page: 'clear_vars'
I:Set page: 'backup'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'backup'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'advanced'
I:Set page: 'copylog'
I:Set page: 'action_page'
Iperation_start: 'Copy Log'
I:Copying file /tmp/recovery.log to /external_sd/recovery.log

System permissions corrupt? Backup: "createTarFork() process ended with ERROR: 255"

System permissions corrupt? Backup: "createTarFork() process ended with ERROR: 255"
Hi,
OxygenOS 5.1.7
Rooted
TWRP 322-x blu_spark 8.81
Recently I did a backup (let's call this #1) -> factory reset -> backup (#2) -> restored backup #1 -> restored backup #2.
Doing this, it seems like some permissions somewhere now is broken since I have several random problems.
These problem include the following:
Error trying to backup with blu_spark
Can't upgrade to new oxygen OS
Can't apply ad blocking with AdAway
Some apps, mostly Messenger, randomly crashes
Backup problem with blu_spark:
Getting error "createTarFork() process ended with ERROR: 255". I've read a lot about it on different forums and seems to be related to some parallel apps and user 999. I did have a user called "999" and have deleted it, but problem still occurs. I've also verified there are no folders as below:
data/system/999
data/system_ce/999
data/misc/999
data/misc_ce/999
data/user/999
data/user_ce/999
I've also deleted all apps that has "parallel apps" support.
Code snippet below:
Code:
Starting TWRP 3.2.2-x | blu_spark v8.81-bfb65573 on Tue Jul 20 08:10:34 1971
(pid 567)
...(deleted a lot of text)...
I:Unmounting main partitions...
tw_get_context got selinux context: u:object_r:media_rw_data_file:s0
I:Got default contexts and file mode for storage files.
I:Decrypt adopted storage starting
I:PageManager::LoadFileToBuffer loading filename: '/data/system/storage.xml' directly
I:No /data/system/storage.xml for adopted storage
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:operation_end - status=0
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Switching packages (TWRP)
I:Attempt to load settings from settings file...
I:InfoManager loading from '/data/media/0/TWRP/.twrps'.
I:Backup folder set to '/data/media/0/TWRP/BACKUPS/4f495385'
I:Copying file /etc/recovery.fstab to /cache/recovery/recovery.fstab
I:Version number saved to '/cache/recovery/.version'
I:Unable to mount '/usb_otg'
I:Actual block device: '', current file system: 'vfat'
__bionic_open_tzdata: couldn't find any tzdata when looking for CET-1CEST,M3.5.0,M10.5.0!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
I:TWFunc::Set_Brightness: Setting brightness control to 255
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/en.xml' directly
parsing languageFile
parsing languageFile done
I:Translating partition display names
I:Backup folder set to '/data/media/0/TWRP/BACKUPS/4f495385'
I:TWFunc::Fixup_Time: Pre-fix date and time: 1971-07-20--10-11-05
I:TWFunc::Fixup_Time: Setting time offset from file /sys/class/rtc/rtc0/since_epoch
I:TWFunc::Fixup_Time: will attempt to use the ats files now.
I:TWFunc::Fixup_Time: Setting time offset from file /data/time/ats_2, offset 1498643804722
I:TWFunc::Fixup_Time: Date and time corrected: 2019-01-14--19-07-49
I:Starting MTP
I:Cannot find file /sys/class/android_usb/android0/idVendor
I:Cannot find file /sys/class/android_usb/android0/idProduct
I:sending message to add 65537 '/data/media/0' 'Internal Storage'
I:[MTP] Starting MTP
I:Message sent, add storage ID: 65537 '/data/media/0'
MTP Enabled
I:Check_Lifetime_Writes result: '7356'
I:Switching packages (TWRP)
I:Starting Adb Backup FIFO
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:[MTP] created new mtpserver object
I:[MTP] MtpServer::run fd: 20
I:[MTP] mtppipe add storage 65537 '/data/media/0'
I:[MTP] MtpStorage id: 65537 path: /data/media/0
I:Set page: 'backup'
I:Set page: 'backup_run'
I:operation_start: 'Nandroid'
Updating partition details...
I:Data backup size is 9614MB, free: 31257MB.
I:Unable to mount '/usb_otg'
I:Actual block device: '', current file system: 'vfat'
...done
I:Backup Name is: '2019-01-14--19-08-03'
I:Backup_Folder is: '/data/media/0/TWRP/BACKUPS/4f495385/2019-01-14--19-08-03'
I:Calculating backup details...
* Total number of partitions to back up: 7
* Total size of all data: 13888MB
* Available space: 31257MB
[BACKUP STARTED]
* Backup Folder: /data/media/0/TWRP/BACKUPS/4f495385/2019-01-14--19-08-03
Backing up Boot...
I:Reading '/dev/block/sde19', writing '/data/media/0/TWRP/BACKUPS/4f495385/2019-01-14--19-08-03/boot.emmc.win'
I:Restored default metadata for /data/media/0/TWRP/BACKUPS/4f495385/2019-01-14--19-08-03/boot.emmc.win
* Generating digest...
I:SHA2 Digest: c7b789bb0103f1e4d0fec64f50d160a9a98f5398aee157a10ec762392a93d9b1 boot.emmc.win
I:digest_filename: /data/media/0/TWRP/BACKUPS/4f495385/2019-01-14--19-08-03/boot.emmc.win.sha2
* Digest Created.
I:Partition Backup time: 0
Invalid encryption mode 'ice:aes-256-cts'
Backing up System...
Invalid encryption mode 'ice:aes-256-cts'
Error opening: '/system/app/Account/oat/arm64' (Not a directory)
I:Error in Generate_TarList!
Error creating backup.
I:InfoManager saving '/data/media/0/TWRP/BACKUPS/4f495385/2019-01-14--19-08-03/system.info'
createTarFork() process ended with ERROR: 255
Backup Failed. Cleaning Backup Folder.
I:Copying file /tmp/recovery.log to /data/media/0/TWRP/BACKUPS/4f495385/2019-01-14--19-08-03/recovery.log
I:Set page: 'action_complete'
I:operation_end - status=1
I:Set overlay: 'slideout'
I:Set overlay: ''
I:Set page: 'clear_vars'
I:Set page: 'backup'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'advanced'
I:Set page: 'copylog'
I:Set page: 'action_page'
I:operation_start: 'Copy Log'
I:Copying file /tmp/recovery.log to /data/media/0/recovery.log
Can't upgrade to new oxygen OS:
Trying to update with Oxygen Updater gives me the below error. Backup before install = turned off. This is from auto install, manual also fails.
Code:
Starting TWRP 3.2.2-x | blu_spark v8.81-bfb65573 on Wed Jul 21 09:53:16 1971
(pid 562)
...(deleted a lot of text)...
I:Copying file /cache/recovery/log to /cache/recovery/last_log
tw_get_context got selinux context: u:object_r:media_rw_data_file:s0
I:Got default contexts and file mode for storage files.
I:Attempt to load settings from settings file...
I:InfoManager loading from '/data/media/0/TWRP/.twrps'.
I:Backup folder set to '/data/media/0/TWRP/BACKUPS/4f495385'
I:Copying file /etc/recovery.fstab to /cache/recovery/recovery.fstab
I:Version number saved to '/cache/recovery/.version'
I:Unable to mount '/usb_otg'
I:Actual block device: '', current file system: 'vfat'
__bionic_open_tzdata: couldn't find any tzdata when looking for CET-1CEST,M3.5.0,M10.5.0!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
I:TWFunc::Set_Brightness: Setting brightness control to 255
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/en.xml' directly
parsing languageFile
parsing languageFile done
I:Translating partition display names
I:Backup folder set to '/data/media/0/TWRP/BACKUPS/4f495385'
I:TWFunc::Fixup_Time: Pre-fix date and time: 1971-07-21--11-53-27
I:TWFunc::Fixup_Time: Setting time offset from file /sys/class/rtc/rtc0/since_epoch
I:TWFunc::Fixup_Time: will attempt to use the ats files now.
I:TWFunc::Fixup_Time: Setting time offset from file /data/time/ats_2, offset 1498643804161
I:TWFunc::Fixup_Time: Date and time corrected: 2019-01-15--20-50-10
I:Switching packages (TWRP)
I:Set page: 'action_page'
I:operation_start: 'OpenRecoveryScript'
I:Script file found: '/cache/recovery/openrecoveryscript'
I:Copying file /cache/recovery/openrecoveryscript to /tmp/openrecoveryscript
Running OpenRecoveryScript
I:command is: 'cmd'
I:value is: 'echo " -------------------------"'
-------------------------
I:echo " -------------------------" process ended with RC=0
I:command is: 'cmd'
I:value is: 'echo "| (↑) OXYGEN UPDATER |"'
| (↑) OXYGEN UPDATER |
I:echo "| (↑) OXYGEN UPDATER |" process ended with RC=0
I:command is: 'cmd'
I:value is: 'echo "| Update Installer** |"'
| Update Installer** |
I:echo "| Update Installer** |" process ended with RC=0
I:command is: 'cmd'
I:value is: 'echo " -------------------------"'
-------------------------
I:echo " -------------------------" process ended with RC=0
I:command is: 'cmd'
I:value is: 'echo '
I:echo process ended with RC=0
I:command is: 'cmd'
I:value is: 'echo "Thank you for using Oxygen Updater. If you like this app, please rate it 5 stars at Google Play :)"'
Thank you for using Oxygen Updater. If you like this app, please rate it 5 stars at Google Play :)
I:echo "Thank you for using Oxygen Updater. If you like this app, please rate it 5 stars at Google Play :)" process ended with RC=0
I:command is: 'cmd'
I:value is: 'echo '
I:echo process ended with RC=0
I:command is: 'cmd'
I:value is: 'echo "Installing the update…"'
Installing the update…
I:echo "Installing the update…" process ended with RC=0
I:command is: 'install'
I:value is: '/storage/emulated/0/OnePlus5Oxygen_23_OTA_042_all_1812232102_a034988b.zip'
I:Unable to mount '/usb_otg'
I:Actual block device: '', current file system: 'vfat'
I:Trying to find zip '/storage/emulated/0/OnePlus5Oxygen_23_OTA_042_all_1812232102_a034988b.zip' on '/data/media/0'...
I:Looking for zip at '/emulated/0/OnePlus5Oxygen_23_OTA_042_all_1812232102_a034988b.zip'
I:Looking for zip at '/data/media/0/emulated/0/OnePlus5Oxygen_23_OTA_042_all_1812232102_a034988b.zip'
I:Looking for zip at '/0/OnePlus5Oxygen_23_OTA_042_all_1812232102_a034988b.zip'
I:Looking for zip at '/data/media/0/0/OnePlus5Oxygen_23_OTA_042_all_1812232102_a034988b.zip'
I:Looking for zip at '/OnePlus5Oxygen_23_OTA_042_all_1812232102_a034988b.zip'
I:Looking for zip at '/data/media/0/OnePlus5Oxygen_23_OTA_042_all_1812232102_a034988b.zip'
Installing zip file '/data/media/0/OnePlus5Oxygen_23_OTA_042_all_1812232102_a034988b.zip'
Installing zip file '/data/media/0/OnePlus5Oxygen_23_OTA_042_all_1812232102_a034988b.zip'
Checking for Digest file...
Skipping Digest check: no Digest file found
I:Update binary zip
Verifying package compatibility...
Failed to verify package compatibility (result 1): Device manifest and framework compatibility matrix are incompatible: HALs incompatible. android.hardware.drm
E:String resource 'zip_compatible_err' not found. Using default value.
Zip Treble compatibility error!
Invalid zip file format!
Error installing zip file '/data/media/0/OnePlus5Oxygen_23_OTA_042_all_1812232102_a034988b.zip'
Done processing script file
I:Set page: 'action_complete'
I:operation_end - status=1
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Starting MTP
I:Cannot find file /sys/class/android_usb/android0/idVendor
I:Cannot find file /sys/class/android_usb/android0/idProduct
I:sending message to add 65537 '/data/media/0' 'Internal Storage'
I:[MTP] Starting MTP
I:Message sent, add storage ID: 65537 '/data/media/0'
MTP Enabled
I:Check_Lifetime_Writes result: '9128'
I:Switching packages (TWRP)
I:Starting Adb Backup FIFO
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:[MTP] created new mtpserver object
I:[MTP] MtpServer::run fd: 20
I:[MTP] mtppipe add storage 65537 '/data/media/0'
I:[MTP] MtpStorage id: 65537 path: /data/media/0
I:Set page: 'advanced'
I:Set overlay: 'slideout'
I:Set overlay: ''
I:Set page: 'copylog'
I:Set page: 'action_page'
I:operation_start: 'Copy Log'
I:Copying file /tmp/recovery.log to /data/media/0/recovery.log
Can't apply ad blocking with AdAway:
Getting error: "Applying failed. Try changing the target hosts file in preferences to data/data/hosts". It's currently set to system/etc/hosts, but data/data gives the same error.
Some apps, mostly Messenger, randomly crashes:
Can't give so much details about this, but several apps crashes all the time. Messenger (facebook chat) is most common and can't use it anymore, however "Lite" works well.
I've tried factory reset, but the problem still is exactly the same.
Any ideas to what could be causing this? I would guess there is some permission error to data/system folder, but at least data folder should be fixed when doing a factory reset I thought?
Any ideas would be much appreciated. Thanks.

Resources