[Suggestion] Install apps/games on WP8 as like as BADA OS spoofing - Windows Phone 8 Development and Hacking

Hi all
This a suggestion and please say your opinion about it.
Microsoft is using DRM into WP store stuffs and due to it WP has to connect to internet for installation. So I think we need find a way like spoofing on BADA OS because samsung used same thing (not completely!) but it broken via spoofing!
I think devs,members and who knows about mobile OSes can help me and answer me that this way is possible or not?
For more info about spoofing go here:
http://www.smarturl.it/os993q
P.S: @moderators if this thread posted at wrong section , please move it to correct section.

Hatef.PR said:
Hi all
This a suggestion and please say your opinion about it.
Microsoft is using DRM into WP store stuffs and due to it WP has to connect to internet for installation. So I think we need find a way like spoofing on BADA OS because samsung used same thing (not completely!) but it broken via spoofing!
I think devs,members and who knows about mobile OSes can help me and answer me that this way is possible or not?
For more info about spoofing go here:
http://www.smarturl.it/os993q
P.S: @moderators if this thread posted at wrong section , please move it to correct section.
Click to expand...
Click to collapse
This is more or less how ChevronWP7 worked. Sadly, they enforced cert pinning in WP8, so we can't use this method anymore.

netham45 said:
This is more or less how ChevronWP7 worked. Sadly, they enforced cert pinning in WP8, so we can't use this method anymore.
Click to expand...
Click to collapse
Samsung phones unlocked via Diagnosis. So what about Nokia , HTC and Huawei devices?! Diagnosis has Samsung's APIs and doesn't install on other phones but there are same (more or less) apps in store. Those are will work or not?! How about boot loader?! it's locked? This OS is really close!

Hatef.PR said:
Samsung phones unlocked via Diagnosis. So what about Nokia , HTC and Huawei devices?! Diagnosis has Samsung's APIs and doesn't install on other phones but there are same (more or less) apps in store. Those are will work or not?! How about boot loader?! it's locked? This OS is really close!
Click to expand...
Click to collapse
Any Samsung system app won't work on other phones cause FCRouter is Samsung's service.
However even MS security isn't strong.
Main problem is Qualcomm's SecureBoot.

Hatef.PR said:
Samsung phones unlocked via Diagnosis. So what about Nokia , HTC and Huawei devices?! Diagnosis has Samsung's APIs and doesn't install on other phones but there are same (more or less) apps in store. Those are will work or not?! How about boot loader?! it's locked? This OS is really close!
Click to expand...
Click to collapse
You mean another Diagnosis apps ? can you give some links what apps do you mean ?
boot loader is 100% locked . and WP8 is really have a high-security .
but I really interested in nvi file of Nokia Roms :
CustomerNvi_7ff510c46ab73c4d8858ecd58d18db22_3047.0000.1326.2_253104_1939.nvi
I don't know what these lines ! because of character limit I delete some lines but you can see full in file.
Code:
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 10, "NVData": [0, 17, 0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 57, "NVData": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 57, "NVData": [99, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 57, "NVData": [100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 57, "NVData": [101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 57, "NVData": [102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 57, "NVData": [103, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 57, "NVData": [104, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 57, "NVData": [105, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 57, "NVData": [106, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 57, "NVData": [107, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 57, "NVData": [108, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 400, "NVData": [1]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 441, "NVData": [0, 128, 1]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 443, "NVData": [0, 0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 444, "NVData": [0, 0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 449, "NVData": [40]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 452, "NVData": [0, 0, 0, 0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 453, "NVData": [0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 553, "NVData": [5]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 557, "NVData": [0, 0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 831, "NVData": [200]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 848, "NVData": [0, 0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 849, "NVData": [0, 0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 850, "NVData": [0, 2, 0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 855, "NVData": [0, 0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 880, "NVData": [1]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 881, "NVData": [1]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 882, "NVData": [0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 896, "NVData": [1]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 905, "NVData": [1, 0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 909, "NVData": [2]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 911, "NVData": [12]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 946, "NVData": [0, 232, 4]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 947, "NVData": [0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 1016, "NVData": [0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 1017, "NVData": [0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 1030, "NVData": [2]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 1031, "NVData": [2]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 1302, "NVData": [1]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 1349, "NVData": [0, 0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 1389, "NVData": [0, 0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 1467, "NVData": [0, 0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 1545, "NVData": [0, 0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 1624, "NVData": [0, 0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 1713, "NVData": [0, 0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 1877, "NVData": [128, 1, 232, 4, 0, 0, 2, 0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 1892, "NVData": [5]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 1895, "NVData": [255]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 1896, "NVData": [0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 1913, "NVData": [220, 5, 0, 0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 1914, "NVData": [1, 0, 0, 0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 1916, "NVData": [34, 0, 0, 0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 1917, "NVData": [1, 0, 0, 0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 1918, "NVData": [89, 0, 0, 0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 1920, "NVData": [127, 0, 0, 0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 1921, "NVData": [160, 0, 0, 0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 1922, "NVData": [16, 39, 0, 0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 1923, "NVData": [15, 0, 0, 0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 1929, "NVData": [7]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 1930, "NVData": [1]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 1935, "NVData": [60, 0, 0, 0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 1936, "NVData": [100, 0, 0, 0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 1937, "NVData": [5, 0, 0, 0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 1940, "NVData": [1]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 1944, "NVData": [1]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 1960, "NVData": [3]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 1962, "NVData": [255]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 1991, "NVData": [0, 0, 0, 0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 1993, "NVData": [0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 1994, "NVData": [0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 1995, "NVData": [233, 253]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 1996, "NVData": [0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 1997, "NVData": [255, 255, 255, 255]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 1999, "NVData": [0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 2508, "NVData": [1, 0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 2509, "NVData": [12]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 2512, "NVData": [1]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 2784, "NVData": [1, 0, 0, 0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 2785, "NVData": [10, 0, 0, 0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 2786, "NVData": [20, 0, 0, 0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 2787, "NVData": [20, 0, 0, 0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 2788, "NVData": [20, 0, 0, 0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 2789, "NVData": [20, 0, 0, 0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 2954, "NVData": [0, 0, 0, 2, 0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 3006, "NVData": [255, 0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 3297, "NVData": [0, 186, 219, 0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 3354, "NVData": [4]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 3355, "NVData": [60, 0, 0, 0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 3356, "NVData": [132, 3, 0, 0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 3357, "NVData": [132, 3, 0, 0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 3358, "NVData": [1]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 3446, "NVData": [2, 0, 0, 0, 0, 0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 3461, "NVData": [0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 3486, "NVData": [244, 1, 0, 0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 3487, "NVData": [240, 73, 2, 0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 3488, "NVData": [128, 56, 1, 0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 3489, "NVData": [152, 58, 0, 0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 3490, "NVData": [0, 0, 0, 0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 3491, "NVData": [130, 0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 3492, "NVData": [88, 2, 0, 0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 3493, "NVData": [1]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 3494, "NVData": [0, 0, 0, 0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 3520, "NVData": [255, 255]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 3532, "NVData": [180]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 3533, "NVData": [45]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 3540, "NVData": [0, 0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 3628, "NVData": [1]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 3629, "NVData": [3]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 3630, "NVData": [1]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 3649, "NVData": [4]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 3756, "NVData": [1]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 3758, "NVData": [1]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 3851, "NVData": [3]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 3853, "NVData": [0, 0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 4117, "NVData": [1]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 4118, "NVData": [24]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 4157, "NVData": [0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 4158, "NVData": [0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 4173, "NVData": [1]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 4209, "NVData": [1]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 4210, "NVData": [6]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 4229, "NVData": [1]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 4261, "NVData": [1]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 4265, "NVData": [3]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 4272, "NVData": [0, 0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 4398, "NVData": [0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 4399, "NVData": [0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 4432, "NVData": [7]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 4526, "NVData": [20]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 4544, "NVData": [0, 0, 0, 0, 227, 255, 14, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 14, 0, 255, 255, 14, 0, 255, 255, 8, 0, 255, 255, 8, 0, 255, 255, 8, 0, 255, 255, 8, 0, 255, 255, 8, 0, 255, 255, 8, 0, 0, 0, 8, 0, 0, 0, 8, 0, 0, 0, 8, 0, 255, 255, 8, 0, 34, 0, 8, 0, 0, 0, 8, 0, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 4548, "NVData": [0, 0, 64, 0, 0, 0, 2, 0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 4627, "NVData": [1]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 4628, "NVData": [24, 0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 4629, "NVData": [3]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 4630, "NVData": [10]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 4631, "NVData": [0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 4632, "NVData": [104, 116, 116, 112, 58, 47, 47, 120, 116, 114, 97, 49, 46, 103, 112, 115, 79, 110, 101, 88, 84, 82, 65, 46, 110, 101, 116, 47, 120, 116, 114, 97, 50, 46, 98, 105, 110, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 4633, "NVData": [104, 116, 116, 112, 58, 47, 47, 120, 116, 114, 97, 50, 46, 103, 112, 115, 79, 110, 101, 88, 84, 82, 65, 46, 110, 101, 116, 47, 120, 116, 114, 97, 50, 46, 98, 105, 110, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}, "id": 0}
{"jsonrpc": "2.0", "method": "WriteNVData", "params": {"MessageVersion": 0, "ID": 4634, "NVData": [104, 116, 116, 112, 58, 47, 47, 120, 116, 114, 97, 51, 46, 103, 112, 115, 79, 110, 101, 88, 84, 82, 65, 46, 110, 101, 116, 47, 120, 116, 114, 97, 50, 46, 98, 105, 110, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}, "id": 0}

ngame said:
You mean another Diagnosis apps ? can you give some links what apps do you mean ?
boot loader is 100% locked . and WP8 is really have a high-security .
but I really interested in nvi file of Nokia Roms :
CustomerNvi_7ff510c46ab73c4d8858ecd58d18db22_3047.0000.1326.2_253104_1939.nvi
I don't know what these lines ! because of character limit I delete some lines but you can see full in file.
Click to expand...
Click to collapse
That's NVRAM/EFS carrier-specific stuff. It doesn't contain anything useful for hacking, also there is no simple way to write information there. (well, there is a small "hack" that allows getting into SwUpdate mode on live device, but it doesn't help)

ngame said:
You mean another Diagnosis apps ? can you give some links what apps do you mean ?
Click to expand...
Click to collapse
DiagnosticTool_Sprint for HTC phones!
http://www.windowsphone.com/en-us/s...l_sprint/e69a2877-59b8-43ed-898d-554fbc4b8b2b
-W_O_L_F- said:
Any Samsung system app won't work on other phones cause FCRouter is Samsung's service.
However even MS security isn't strong.
Main problem is Qualcomm's SecureBoot.
Click to expand...
Click to collapse
Due to Qualcomm's SecureBoot have to find a way into registery for hacking or atleast change unsigned value to big or unlimited value. What to do you think?

Hatef.PR said:
DiagnosticTool_Sprint for HTC phones!
http://www.windowsphone.com/en-us/s...l_sprint/e69a2877-59b8-43ed-898d-554fbc4b8b2b
Due to Qualcomm's SecureBoot have to find a way into registery for hacking or atleast change unsigned value to big or unlimited value. What to do you think?
Click to expand...
Click to collapse
I'll already posted an unencrypted version of the DiagnosticTool Sprint, see if you can find anything interesting.
I thought the Qualcomm's SecureBoot was put in place by a blown hardware fuse (that explains why some of the engineering phones have the Qualcomm SecureBoot unlocked because they have an intact fuse), so you can't solve this problem through software/registry editing.

Hatef.PR said:
DiagnosticTool_Sprint for HTC phones!
http://www.windowsphone.com/en-us/s...l_sprint/e69a2877-59b8-43ed-898d-554fbc4b8b2b
Click to expand...
Click to collapse
This app has many good Capabilities :
Code:
<Capability Name="ID_CAP_OEMPUBLICDIRECTORY" />
<Capability Name="ID_CAP_NETWORKING" />
<Capability Name="ID_CAP_MEDIALIB_AUDIO" />
<Capability Name="ID_CAP_SENSORS" />
<Capability Name="ID_CAP_WEBBROWSERCOMPONENT" />
<Capability Name="ID_CAP_INTEROPSERVICES" />
<Capability Name="ID_CAP_CELL_API_COMMON" />
<Capability Name="ID_CAP_CELL_API_UICC" />
<Capability Name="ID_CAP_CELL_API_UICC_LOWLEVEL" />
<Capability Name="ID_CAP_CELL_API_LOCATION" />
<Capability Name="ID_CAP_CELL_API_OEM_PASSTHROUGH" />
<Capability Name="ID_CAP_CELL_WNF" />
<Capability Name="ID_CAP_NETWORKING_ADMIN" />
<Capability Name="ID_CAP_CSP_FOUNDATION" />
<!--Capability Name="ID_CAP_NVREADWRITE" /-->
<Capability Name="ID_CAP_RUNTIME_CONFIG" />
<Capability Name="ID_CAP_CSP_OEM" />
<Capability Name="ID_CAP_CSP_W4_APPLICATION" />
<Capability Name="ID_CAP_DEVICE_MANAGEMENT" />
<Capability Name="ID_CAP_DEVICE_MANAGEMENT_ADMIN" />
<Capability Name="ID_CAP_DEVICE_MANAGEMENT_BOOTSTRAP" />
<Capability Name="ID_CAP_DEVICE_MANAGEMENT_SECURITY_POLICIES" />
<Capability Name="ID_CAP_OEM_ADC" />
<Capability Name="ID_CAP_INTERNET_EXPLORER_FAVORITES" />
<Capability Name="ID_CAP_INTERNET_EXPLORER_SEARCH_PROVIDER_KEYS_HKCU" />
and *maybe* it is a good thing to use (I don't check it's dlls)
but The most important thing is that we can't install it on Nokia Devices

@ngame I know it's incompatible with lumia series but it's useful for HTC owners and maybe they can unlock their device via this app!

I can try everything you say on my HTC if you want

Hatef.PR said:
@ngame I know it's incompatible with lumia series but it's useful for HTC owners and maybe they can unlock their device via this app!
Click to expand...
Click to collapse
the most interesting thing I have been able to do with my 8x is to enable Qualcomm mode and get some additional com ports active.

cro.dev said:
I can try everything you say on my HTC if you want
Click to expand...
Click to collapse
compu829 said:
the most interesting thing I have been able to do with my 8x is to enable Qualcomm mode and get some additional com ports active.
Click to expand...
Click to collapse
If you have HTC WP8 device please test this app on your phone! I hope we find a way as like as @GoodDayToDie method!

Related

Syntax Error???

Guys,
Ive been trying all morning to flash my update but im getting a syntax error (CODE6) and i cant find it, Any help guys?
recovery log....
-- Installing: /sdcard/IC_HoneySense_v.1.4_CM7.zip
mtd: successfully wrote block at 0
I:Set boot command "boot-recovery"
Finding update package...
I:Update location: /sdcard/IC_HoneySense_v.1.4_CM7.zip
Opening update package...
Installing update...
line 9 col 11: syntax error, unexpected STRING, expecting ',' or ')'
1 parse errors
E:Error in /sdcard/IC_HoneySense_v.1.4_CM7.zip
(Status 6)
Installation aborted.
mtd: successfully wrote block at 0
I:Set boot command ""
Click to expand...
Click to collapse
Updater Script...
ui_print("");
ui_print("");
ui_print(" >>> ROM NAME.... <<<");
ui_print("");
ui_print(" >>>> Themed By..... <<<<");
ui_print("");
ui_print(" >>>> Special thanks..... <<<<");
mount("MTD","userdata","/data");
run_program("/sbin/busybox", "mount", "/dev/block/mmcblk0p2", "/sd-ext");
show_progress(0.500000, 0);
package_extract_dir("sdext", "/sd-ext");
set_perm_recursive(1000, 1000, 0771, 0644, "/sd-ext/app_s");
set_perm_recursive(1000, 1000, 0771, 0644, "/sd-ext/framework_s");
set_perm_recursive(1000, 1000, 0771, 0644, "/sd-ext/lib_s");
set_perm_recursive(1000, 1000, 0775, 0644, "/sd-ext/weather");
show_progress(0.100000, 10);
package_extract_dir("data", "/data");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/etc");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/local");
format("MTD", "system");
mount("MTD", "system", "/system");
# Start checking data partition
# End checking data partition
show_progress(0.100000, 10);
package_extract_dir("system", "/system");
symlink("/system/sd/framework_s","/system/framework");
symlink("/data/etc/hosts","/system/etc/hosts");
symlink("/data/local/bootanimation.zip","/system/customize/resource/bootanimation.zip");
symlink("/data/local/downanimation.zip","/system/customize/resource/downanimation.zip");
symlink("/proc/calibration", "/system/etc/calibration");
symlink("toolbox", "/system/bin/chownto", "/system/bin/getevent", "/system/bin/getprop", "/system/bin/ifconfig", "/system/bin/iftop", "/system/bin/ioctl", "/system/bin/log", "/system/bin/nandread", "/system/bin/newfs_msdos", "/system/bin/notify", "/system/bin/schedtop", "/system/bin/sendevent", "/system/bin/setprop", "/system/bin/smd", "/system/bin/start", "/system/bin/stop", "/system/bin/vmstat", "/system/bin/watchprops", "/system/bin/wipe", "/system/bin/top");
symlink("/system/xbin/busybox", "/system/xbin/[", "/system/xbin/[[", "/system/xbin/addgroup", "/system/xbin/adduser", "/system/xbin/adjtimex", "/system/xbin/ar", "/system/xbin/arp", "/system/xbin/arping", "/system/xbin/ash", "/system/xbin/awk", "/system/xbin/basename", "/system/xbin/bbconfig", "/system/xbin/beep", "/system/xbin/blkid", "/system/xbin/brctl", "/system/xbin/bunzip2", "/system/xbin/bzcat", "/system/xbin/bzip2", "/system/xbin/cal", "/system/xbin/cat", "/system/xbin/catv", "/system/xbin/chat", "/system/xbin/chattr", "/system/xbin/chgrp", "/system/xbin/chmod", "/system/xbin/chown", "/system/xbin/chpasswd", "/system/xbin/chpst", "/system/xbin/chroot", "/system/xbin/chrt", "/system/xbin/chvt", "/system/xbin/cksum", "/system/xbin/clear", "/system/xbin/cmp", "/system/xbin/comm", "/system/xbin/cp", "/system/xbin/cpio", "/system/xbin/crond", "/system/xbin/crontab", "/system/xbin/cryptpw", "/system/xbin/cttyhack", "/system/xbin/cut", "/system/xbin/date", "/system/xbin/dc", "/system/xbin/dd", "/system/xbin/deallocvt", "/system/xbin/delgroup", "/system/xbin/deluser", "/system/xbin/depmod", "/system/xbin/devmem", "/system/xbin/df", "/system/xbin/diff", "/system/xbin/dirname", "/system/xbin/dmesg", "/system/xbin/dnsd", "/system/xbin/dnsdomainname", "/system/xbin/dos2unix", "/system/xbin/du", "/system/xbin/dumpkmap", "/system/xbin/echo", "/system/xbin/ed", "/system/xbin/egrep", "/system/xbin/eject", "/system/xbin/env", "/system/xbin/envdir", "/system/xbin/envuidgid", "/system/xbin/ether-wake", "/system/xbin/expand", "/system/xbin/expr", "/system/xbin/fakeidentd", "/system/xbin/false", "/system/xbin/fbset", "/system/xbin/fbsplash", "/system/xbin/fdflush", "/system/xbin/fdformat", "/system/xbin/fdisk", "/system/xbin/fgrep", "/system/xbin/find", "/system/xbin/findfs", "/system/xbin/fold", "/system/xbin/free", "/system/xbin/freeramdisk", "/system/xbin/fsck", "/system/xbin/fsck.minix", "/system/xbin/fsync", "/system/xbin/ftpd", "/system/xbin/ftpget", "/system/xbin/ftpput", "/system/xbin/fuser", "/system/xbin/getopt", "/system/xbin/getty", "/system/xbin/grep", "/system/xbin/gunzip", "/system/xbin/gzip", "/system/xbin/halt", "/system/xbin/hd", "/system/xbin/hdparm", "/system/xbin/head", "/system/xbin/hexdump", "/system/xbin/hostid", "/system/xbin/hostname", "/system/xbin/httpd", "/system/xbin/hush", "/system/xbin/hwclock", "/system/xbin/id", "/system/xbin/ifdown", "/system/xbin/ifenslave", "/system/xbin/ifplugd", "/system/xbin/ifup", "/system/xbin/inetd", "/system/xbin/init", "/system/xbin/insmod", "/system/xbin/install", "/system/xbin/ionice", "/system/xbin/ip", "/system/xbin/ipaddr", "/system/xbin/ipcalc", "/system/xbin/ipcrm", "/system/xbin/ipcs", "/system/xbin/iplink", "/system/xbin/iproute", "/system/xbin/iprule", "/system/xbin/iptunnel", "/system/xbin/kbd_mode", "/system/xbin/kill", "/system/xbin/killall", "/system/xbin/killall5", "/system/xbin/klogd", "/system/xbin/last", "/system/xbin/length", "/system/xbin/less", "/system/xbin/linux32", "/system/xbin/linux64", "/system/xbin/linuxrc", "/system/xbin/ln", "/system/xbin/loadfont", "/system/xbin/loadkmap", "/system/xbin/logger", "/system/xbin/login", "/system/xbin/logname", "/system/xbin/logread", "/system/xbin/losetup", "/system/xbin/lpd", "/system/xbin/lpq", "/system/xbin/lpr", "/system/xbin/ls", "/system/xbin/lsattr", "/system/xbin/lsmod", "/system/xbin/lzmacat", "/system/xbin/lzop", "/system/xbin/lzopcat", "/system/xbin/makedevs", "/system/xbin/makemime", "/system/xbin/man", "/system/xbin/md5sum", "/system/xbin/mdev", "/system/xbin/mesg", "/system/xbin/microcom", "/system/xbin/mkdir", "/system/xbin/mkdosfs", "/system/xbin/mkfifo", "/system/xbin/mkfs.minix", "/system/xbin/mkfs.vfat", "/system/xbin/mknod", "/system/xbin/mkpasswd", "/system/xbin/mkswap", "/system/xbin/mktemp", "/system/xbin/modprobe", "/system/xbin/more", "/system/xbin/mount", "/system/xbin/mountpoint", "/system/xbin/msh", "/system/xbin/mt", "/system/xbin/mv", "/system/xbin/nameif", "/system/xbin/nc", "/system/xbin/netstat", "/system/xbin/nice", "/system/xbin/nmeter", "/system/xbin/nohup", "/system/xbin/nslookup", "/system/xbin/od", "/system/xbin/openvt", "/system/xbin/passwd", "/system/xbin/patch", "/system/xbin/pgrep", "/system/xbin/pidof", "/system/xbin/ping", "/system/xbin/ping6", "/system/xbin/pipe_progress", "/system/xbin/pivot_root", "/system/xbin/pkill", "/system/xbin/popmaildir", "/system/xbin/poweroff", "/system/xbin/printenv", "/system/xbin/printf", "/system/xbin/ps", "/system/xbin/pscan", "/system/xbin/pwd", "/system/xbin/raidautorun", "/system/xbin/rdate", "/system/xbin/rdev", "/system/xbin/readahead", "/system/xbin/readlink", "/system/xbin/readprofile", "/system/xbin/realpath", "/system/xbin/reformime", "/system/xbin/renice", "/system/xbin/reset", "/system/xbin/resize", "/system/xbin/rm", "/system/xbin/rmdir", "/system/xbin/rmmod", "/system/xbin/route", "/system/xbin/rtcwake", "/system/xbin/run-parts", "/system/xbin/runlevel", "/system/xbin/runsv", "/system/xbin/runsvdir", "/system/xbin/rx", "/system/xbin/script", "/system/xbin/scriptreplay", "/system/xbin/sed", "/system/xbin/sendmail", "/system/xbin/seq", "/system/xbin/setarch", "/system/xbin/setconsole", "/system/xbin/setfont", "/system/xbin/setkeycodes", "/system/xbin/setlogcons", "/system/xbin/setsid", "/system/xbin/setuidgid", "/system/xbin/sha1sum", "/system/xbin/sha256sum", "/system/xbin/sha512sum", "/system/xbin/showkey", "/system/xbin/slattach", "/system/xbin/sleep", "/system/xbin/softlimit", "/system/xbin/sort", "/system/xbin/split", "/system/xbin/start-stop-daemon", "/system/xbin/stat", "/system/xbin/strings", "/system/xbin/stty", "/system/xbin/sulogin", "/system/xbin/sum", "/system/xbin/sv", "/system/xbin/svlogd", "/system/xbin/swapoff", "/system/xbin/swapon", "/system/xbin/switch_root", "/system/xbin/sync", "/system/xbin/sysctl", "/system/xbin/syslogd", "/system/xbin/tac", "/system/xbin/tail", "/system/xbin/tar", "/system/xbin/tcpsvd", "/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/touch", "/system/xbin/tr", "/system/xbin/traceroute", "/system/xbin/true", "/system/xbin/tty", "/system/xbin/ttysize", "/system/xbin/tunctl", "/system/xbin/udpsvd", "/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/unzip", "/system/xbin/uptime", "/system/xbin/usleep", "/system/xbin/uudecode", "/system/xbin/uuencode", "/system/xbin/vconfig", "/system/xbin/vi", "/system/xbin/vlock", "/system/xbin/volname", "/system/xbin/watch", "/system/xbin/watchdog", "/system/xbin/wc", "/system/xbin/wget", "/system/xbin/which", "/system/xbin/who", "/system/xbin/whoami", "/system/xbin/xargs", "/system/xbin/yes", "/system/xbin/zcat", "/system/xbin/zcip");
show_progress(0.100000, 5);
show_progress(0.100000, 10);
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluz");
set_perm(0, 3003, 0755, "/system/bin/ip");
set_perm(0, 3003, 0755, "/system/bin/ipd");
set_perm(0, 3003, 02755, "/system/bin/netcfg");
set_perm(0, 3003, 06755, "/system/bin/netd");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06755, "/system/bin/reboot");
set_perm(0, 2000, 06755, "/system/bin/run-as");
set_perm(0, 0, 0777, "/system/bin/strt");
set_perm(0, 0, 0777, "/system/bin/ssts");
set_perm(0, 0, 0777, "/system/bin/prio");
set_perm(0, 0, 0777, "/system/bin/camprio");
set_perm(0, 0, 0777, "/system/bin/close");
set_perm(0, 0, 0777, "/system/bin/unionfs");
set_perm(0, 0, 0777, "/system/bin/nano");
set_perm(0, 0, 0777, "/system/bin/sysrw");
set_perm(0, 0, 0777, "/system/bin/sysro");
set_perm(0, 0, 0777, "/system/bin/optmz");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(0, 0, 0755, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");
set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 2000, 0755, "/system/xbin/sqlite3");
set_perm(0, 0, 06755, "/system/xbin/tcpdump");
set_perm(0, 0, 06755, "/system/xbin/librank");
set_perm(0, 0, 06755, "/system/xbin/procmem");
set_perm(0, 0, 06755, "/system/xbin/procrank");
delete_recursive("/data/data/com.noshufou.android.su");
set_perm(0, 0, 06755, "/system/xbin/su");
set_perm(0, 0, 04755, "/system/xbin/busybox");
set_perm(0, 0, 04755, "/system/bin/sysro");
set_perm(0, 0, 04755, "/system/bin/sysrw");
set_perm(0, 0, 04755, "/system/bin/fix_permissions");
symlink("/system/xbin/busybox","/system/xbin/bb/ifconfig");
symlink("/system/xbin/busybox","/system/xbin/bb/route");
set_perm(0, 0, 04755, "/system/xbin/openvpn");
set_perm(0, 0, 04755, "/system/etc/ppp/ip-up-vpn");
set_perm(0, 0, 04755, "/system/bin/bash");
set_perm(0, 0, 04755, "/system/xbin/dropbear");
set_perm(0, 0, 04755, "/system/xbin/flash_image");
set_perm(0, 0, 04755, "/system/xbin/dump_image");
set_perm (0, 0, 0777, "/system/bin/a2sd");
set_perm (0, 0, 0777, "/system/etc/init.d/99complete");
set_perm (0, 0, 0777, "/system/bin/launcha2sd");
set_perm (0, 0, 0777, "/system/bin/starta2sd");
set_perm (0, 0, 0777, "/system/bin/chka2sd");
set_perm (0, 0, 0777, "/system/bin/zipalign");
set_perm (0, 0, 0777, "/system/bin/sysinit");
set_perm (0, 0, 0777, "/system/bin/bash");
set_perm (0, 0, 0777, "/system/bin/busybox.a2sd");
set_perm (0, 0, 0644, "/system/bin/apps2sd.hlp");
set_perm (0, 0, 0777, "/system/bin/dtinstall");
set_perm (0, 0, 0777, "/data/dtinstall.launch");
set_perm (0, 0, 0777, "/system/bin/e2fsck");
set_perm (0, 0, 0777, "/system/bin/tune2fs");
set_perm (0, 0, 0777, "/system/etc/init.d/dtapp");
set_perm (0, 0, 0777, "/system/bin/fix_permissions");
symlink("dropbear","/system/xbin/dropbearkey");
symlink("dropbear","/system/xbin/dbclient");
symlink("dropbear","/system/xbin/ssh");
delete("/system/etc/resolv.conf");
symlink("/data/local/resolv.conf","/system/etc/resolv.conf");
set_perm(0, 0, 0644, "/data/local/resolv.conf");
set_perm(0, 0, 0755, "/data/xbin/set_resolvconf");
set_perm_recursive(0, 2000, 0755, 0755, "/system/etc/init.d");
delete("/system/bin/su");
symlink("/system/xbin/su","/system/bin/su");
package_extract_file("MS", "/tmp/MS");
set_perm(0, 0, 0777, "/tmp/MS");
run_program("/tmp/MS");
show_progress(0.200000, 0);
show_progress(0.200000, 10);
package_extract_file("boot.img","/tmp/boot.img");
write_raw_image("/tmp/boot.img", "boot");
delete("/tmp/boot.img");
assert(package_extract_file("boot.img","/tmp/boot.img"),
write_raw_image("/tmp/boot.img","boot"),
delete("/tmp/boot.img"));
show_progress(10.000000, 1);
ui_print("Done.Crossfingers!");
unmount("/system");
run_program("/sbin/busybox", "umount", "/sd-ext");
unmount("/data");
Click to expand...
Click to collapse
PLEASE MOVE TO Q&A.
Sorry i thought i was there!!!!
Plz can any1 help?
Sent from my HTC Sensation Z710e using XDA App
Same problem here...! I'm trying to do a porting from a Desire ROM to a Nexus One.
Solutions?? :-(
Iperzampem0 said:
Same problem here...! I'm trying to do a porting from a Desire ROM to a Nexus One.
Solutions?? :-(
Click to expand...
Click to collapse
Did you edit the updater script?
Sent via my rooted HTC Sensation.....

[Q] Sprint LG G2 Error Flashing Pac-Man 4.4.2

I have the Sprint LG G2 LS980ZV8 running 4.2.2 with kernel version 3.4.0 (all stock). A few months ago I followed some guides for rooting my phone. During the process, I ended up flashing loki and twrp 2.6.3.2. This is as far as I've gotten because shortly afterwards I received an OTA update (it's still pending). For fear of losing root access, I postponed the update indefinitely. I've waited to see if anyone would post a root option under the new update but it seems just flashing a ROM such as pac-man would be easier (or at least quicker).
Now, while following goldflame09's guide, I have downloaded all the necessary files to the appropriate locations, but after factory resetting my phone and trying to extract the .zip file, it says "error executing updater binary in zip" then immediately fails. I have to restore my previous data/system/boot/cache before the phone will successfully system reboot; otherwise, I can only tinker around in TWRP.
I thought maybe updating TWRP to 2.7.0 might solve the issue, but I am new to this so it seemed smarter to ask for advice before meddling around on my own. Does anyone know why I got the "error executing updater binary in zip" message, and if so, how can I avoid this error and continue flashing the ROM?
Could you type the whole error log or screenshot it (from another phone?)
There might be a bootloader or baseband mandatory update needed. Whole log will help to figure it out
bud77 said:
Could you type the whole error log or screenshot it (from another phone?)
There might be a bootloader or baseband mandatory update needed. Whole log will help to figure it out
Click to expand...
Click to collapse
Here is the complete log. Let me know if you can't read it.
ForceClosed said:
Here is the complete log. Let me know if you can't read it.
Click to expand...
Click to collapse
Good news, its not related to bootloader/baseband
Bad news, there is several explanation to this issue :
1) corrupted file
2) wrong file (meaning, you didn't download the file for your device)
3) others (which we will see later if it does not work)
For Sprint LG G2, download from here http://pacman.basketbuild.com/index.php?dir=main/ls980/nightly/
You will also find the sprint version thread there http://forum.xda-developers.com/showthread.php?t=2669074
Hope this helps
bud77 said:
Good news, its not related to bootloader/baseband
Bad news, there is several explanation to this issue :
1) corrupted file
2) wrong file (meaning, you didn't download the file for your device)
3) others (which we will see later if it does not work)
For Sprint LG G2, download from here http://pacman.basketbuild.com/index.php?dir=main/ls980/nightly/
You will also find the sprint version thread there http://forum.xda-developers.com/showthread.php?t=2669074
Hope this helps
Click to expand...
Click to collapse
Thanks for the good news. As for the bad news, I've tried both the 3/24 and 3/25 version, but neither get past that error. Should I try an older version or is there something better to try?
ForceClosed said:
Thanks for the good news. As for the bad news, I've tried both the 3/24 and 3/25 version, but neither get past that error. Should I try an older version or is there something better to try?
Click to expand...
Click to collapse
3 things came to my mind
1) your TWRP version. Current is 2.7.X.X (well, at least for my nexus5, but usually, it follows on all devices)
2) check the MD5 of the files you downloaded (with a file explorer or such) and compare the the MD5 on the basketbuild
24/03 : 6cb7acfcc6bdad65ebe3348eb958253c
25/03 : d106f8685e3fea9dfe46012aca662d6a
3) If none of the above works, yes, try a much older version
Also 4), can you unzip the rom, extract the updater script (located at META-INF\com\google\android), and paste it here
bud77 said:
3 things came to my mind
1) your TWRP version. Current is 2.7.X.X (well, at least for my nexus5, but usually, it follows on all devices)
2) check the MD5 of the files you downloaded (with a file explorer or such) and compare the the MD5 on the basketbuild
24/03 : 6cb7acfcc6bdad65ebe3348eb958253c
25/03 : d106f8685e3fea9dfe46012aca662d6a
3) If none of the above works, yes, try a much older version
Also 4), can you unzip the rom, extract the updater script (located at META-INF\com\google\android), and paste it here
Click to expand...
Click to collapse
I checked the MD5 sum and it returned the same hash, so the files seems to be fine.
I've also got the updater script you asked for:
assert(getprop("ro.product.device") == "ls980" || getprop("ro.build.product") == "ls980" ||
getprop("ro.product.device") == "g2" || getprop("ro.build.product") == "g2" ||
getprop("ro.product.device") == "galbi" || getprop("ro.build.product") == "galbi" || abort("This package is for \"ls980,g2,galbi\" devices; this is a \"" + getprop("ro.product.device") + "\".");
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);
ui_print("#############################################");
ui_print("# #");
ui_print("#______ ___ _____ ___ ___ ___ _ _ #");
ui_print("#| ___ \ / _ \ / __ \| \/ | / _ \ | \ | |#");
ui_print("#| |_/ // /_\ \| / \/| . . |/ /_\ \| \| |#");
ui_print("#| __/ | _ || | | |\/| || _ || . ` |#");
ui_print("#| | | | | || \__/\| | | || | | || |\ |#");
ui_print("#\_| \_| |_/ \____/\_| |_/\_| |_/\_| \_/#");
ui_print("# ______ _____ ___ ___ _____ #");
ui_print("# | ___ \| _ || \/ |/ ___| #");
ui_print("# | |_/ /| | | || . . |\ `--. #");
ui_print("# | / | | | || |\/| | `--. \ #");
ui_print("# | |\ \ \ \_/ /| | | |/\__/ / #");
ui_print("# \_| \_| \___/ \_| |_/\____/ #");
ui_print("# #");
ui_print("# #");
ui_print("#############################################");
ui_print("Device: ls980");
ui_print("#############################################");
ui_print("Formatting system");
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");
ui_print("Extracting system files...");
package_extract_dir("system", "/system");
ui_print("Making symlinks");
symlink("../bin/fsck.f2fs", "/system/bin/dump.f2fs");
symlink("../xbin/su", "/system/bin/su");
symlink("/data/misc/audio/wcd9320_anc.bin", "/system/etc/firmware/wcd9320/wcd9320_anc.bin");
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("logcat", "/system/bin/lolcat");
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/mkswap", "/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/readlink",
"/system/bin/renice", "/system/bin/restart", "/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/setfattr", "/system/bin/setprop",
"/system/bin/setsebool", "/system/bin/sleep", "/system/bin/smd",
"/system/bin/start", "/system/bin/stop", "/system/bin/swapoff",
"/system/bin/swapon", "/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_metadata_recursive("/system", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0");
set_metadata_recursive("/system/addon.d", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0755, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0");
set_metadata_recursive("/system/bin", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0755, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0");
set_metadata("/system/bin/app_process", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:zygote_exec:s0");
set_metadata("/system/bin/clatd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:clatd_exec:s0");
set_metadata("/system/bin/debuggerd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:debuggerd_exec:s0");
set_metadata("/system/bin/dhcpcd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:dhcp_exec:s0");
set_metadata("/system/bin/dnsmasq", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:dnsmasq_exec:s0");
set_metadata("/system/bin/drmserver", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:drmserver_exec:s0");
set_metadata("/system/bin/hostapd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:hostapd_exec:s0");
set_metadata("/system/bin/installd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:installd_exec:s0");
set_metadata("/system/bin/keystore", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:keystore_exec:s0");
set_metadata("/system/bin/mediaserver", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:mediaserver_exec:s0");
set_metadata("/system/bin/mksh", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:shell_exec:s0");
set_metadata("/system/bin/mtpd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:mtp_exec:s0");
set_metadata("/system/bin/netcfg", "uid", 0, "gid", 3003, "mode", 02750, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0");
set_metadata("/system/bin/netd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:netd_exec:s0");
set_metadata("/system/bin/ping", "uid", 0, "gid", 0, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_ring_exec:s0");
set_metadata("/system/bin/pppd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_rpp_exec:s0");
set_metadata("/system/bin/racoon", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:racoon_exec:s0");
set_metadata("/system/bin/rild", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:rild_exec:s0");
set_metadata("/system/bin/run-as", "uid", 0, "gid", 2000, "mode", 0750, "capabilities", 0xc0, "selabel", "ubject_r:runas_exec:s0");
set_metadata("/system/bin/sdcard", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:sdcardd_exec:s0");
set_metadata("/system/bin/servicemanager", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:servicemanager_exec:s0");
set_metadata("/system/bin/surfaceflinger", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:surfaceflinger_exec:s0");
set_metadata("/system/bin/vold", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:vold_exec:s0");
set_metadata("/system/bin/wpa_supplicant", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:wpa_exec:s0");
set_metadata_recursive("/system/etc/dhcpcd", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "ubject_r:dhcp_system_file:s0");
set_metadata("/system/etc/dhcpcd/dhcpcd-run-hooks", "uid", 1014, "gid", 2000, "mode", 0550, "capabilities", 0x0, "selabel", "ubject_r:dhcp_system_file:s0");
set_metadata_recursive("/system/etc/init.d", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0755, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0");
set_metadata("/system/etc/init.d", "uid", 0, "gid", 0, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0");
set_metadata_recursive("/system/etc/ppp", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0555, "capabilities", 0x0, "selabel", "ubject_rpp_system_file:s0");
set_metadata("/system/vendor", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0");
set_metadata_recursive("/system/vendor/etc", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0");
set_metadata("/system/vendor/etc/audio_effects.conf", "uid", 0, "gid", 0, "mode", 0644, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0");
set_metadata("/system/vendor/firmware", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0");
set_metadata("/system/vendor/lib", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0");
set_metadata_recursive("/system/vendor/lib/drm", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0");
set_metadata("/system/vendor/lib/drm/libdrmwvmplugin.so", "uid", 0, "gid", 0, "mode", 0644, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0");
set_metadata("/system/vendor/lib/egl", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0");
set_metadata("/system/vendor/lib/hw", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0");
set_metadata_recursive("/system/xbin", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0755, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0");
set_metadata("/system/xbin/librank", "uid", 0, "gid", 0, "mode", 06755, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0");
set_metadata("/system/xbin/procmem", "uid", 0, "gid", 0, "mode", 06755, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0");
set_metadata("/system/xbin/procrank", "uid", 0, "gid", 0, "mode", 06755, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0");
set_metadata("/system/xbin/su", "uid", 0, "gid", 0, "mode", 06755, "capabilities", 0x0, "selabel", "ubject_r:su_exec:s0");
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");
set_perm(0, 0, 0777, "/tmp/backuptool.sh");
set_perm(0, 0, 0644, "/tmp/backuptool.functions");
run_program("/tmp/backuptool.sh", "restore");
delete("/system/bin/backuptool.sh");
delete("/system/bin/backuptool.functions");
show_progress(0.200000, 10);
ui_print("Thanks for choosing PAC-MAN ROMS");
ui_print("Enjoy PAC-man now");
package_extract_file("boot.img", "/tmp/boot.img");
assert(run_program("/system/bin/loki.sh") == 0);
delete("/system/bin/loki.sh");
unmount("/system");
Finally, regarding my TWRP version, I have been having difficulty here. I've searched around and have found people suggest goomanager for flashing the recovery, but it does not show me an update for TWRP. The TWRP manager app also does not have an updated version for my phone, so apparently I have the most current version possible. However, when searching the official TWRP website they have a link for version 2.7.0.0 for Sprint ls980. I downloaded the zip file, as well as an img, but due to my computer illiteracy I don't know what to do next.
Here is what the official TWRP website says to do: "Download the above file and place it in /sdcard on your device. Using adb shell or terminal emulator:
su
dd if=/sdcard/recoveryfilename.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery
Make certain that you get this command right. Typing the wrong number could result in a brick!"
Now I used adb commands to flash the original img on my phone and it worked fine, so I repeated the same steps except I used the new img file in the command line. This didn't work, and I didn't want to try the instructions above unless I knew exactly what I was doing. I'm sorry for being such a noob; I'm trying to learn as much as possible on my own, but the chance of harming my phone worries me.
Should I continue trying to update to the newest TWRP version, or is there anything else you can suggest?
I've checked the script, and nothing seems to be wrong with it
For TWRP, try to use a "toolbox" if you're not confortable with adb
Did you try an older build ? It seems there is issues since 23th
bud77 said:
I've checked the script, and nothing seems to be wrong with it
For TWRP, try to use a "toolbox" if you're not confortable with adb
Did you try an older build ? It seems there is issues since 23th
Click to expand...
Click to collapse
Still getting the error message. I've tried 3/21 and 3/17 as well as 3/24 and 3/25 from before. They all result in the same error.
As for TWRP, I have tried numerous toolboxes such as goomanager, flashify, TWRP manager, and rom manager lite. None of them say I have a newer version available for my device even though the official TWRP website has 2.7.0.0 specifically for Sprint USA ls980. Updating the recovery is the last thing I can think of, but it seems I need to manually update it, which is risky according to various sources (such as the previous post).
I'll poke my head around some TWRP forums to see if anyone can help me update the recovery.
Thanks for all the help so far.
Ok for anyone following this, I have a quick question. Everything is telling me I have to manually update/flash TWRP. The best way to do this is by following the shell command dd if=/sdcard/recoveryfilename.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery
My question is in regards to the of= command. Am I supposed to type that exact path, or am I supposed to type something specific to my phone in the "by-name" or any other folders in the path?
EDIT: nevermind I just searched my files and found that exact path.
ForceClosed said:
Ok for anyone following this, I have a quick question. Everything is telling me I have to manually update/flash TWRP. The best way to do this is by following the shell command dd if=/sdcard/recoveryfilename.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery
My question is in regards to the of= command. Am I supposed to type that exact path, or am I supposed to type something specific to my phone in the "by-name" or any other folders in the path?
EDIT: nevermind I just searched my files and found that exact path.
Click to expand...
Click to collapse
Not sure if you are aware of it, so I'd better tell
To flash recovery, your device MUST be in bootloader mode for the toolbox to work (usually "vol up" (or down, it depends on devices) + power buttons when phone is shutdown)
If you flash it "the hard way" by typing command, take care, it's case sensitive
bud77 said:
Not sure if you are aware of it, so I'd better tell
To flash recovery, your device MUST be in bootloader mode for the toolbox to work (usually "vol up" (or down, it depends on devices) + power buttons when phone is shutdown)
If you flash it "the hard way" by typing command, take care, it's case sensitive
Click to expand...
Click to collapse
Thanks for the tip. Loki didnt unlock my bootloader completely, so I cannot boot into bootloader, only recovery or system. The vol down + power takes me to recovery automatically. I'll try to manually flash the img on Monday if nothing else comes up over the weekend.
ForceClosed said:
Thanks for the tip. Loki didnt unlock my bootloader completely, so I cannot boot into bootloader, only recovery or system
Click to expand...
Click to collapse
This may explain why toolbox don't work
For the flash, you can also forget ADB, since it also requires phone to be in bootloader mode
I'm not familiar with G2 at all, but isn't there any other root method than "loki" ?
I forgot to mention, but you can also post in the PAC man G2 thread, a dev might know the issue
bud77 said:
This may explain why toolbox don't work
For the flash, you can also forget ADB, since it also requires phone to be in bootloader mode
I'm not familiar with G2 at all, but isn't there any other root method than "loki" ?
I forgot to mention, but you can also post in the PAC man G2 thread, a dev might know the issue
Click to expand...
Click to collapse
Hmm, ADB has worked for me before. That's how I flashed the original recovery.img
I followed these commands from droidviews guide:
cd /data/local/tmp
chmod 777 loki_flash
./loki_flash recovery /data/local/tmp/openrecovery-twrp-2.6.3.2-g2xxx.img
exit
adb reboot recovery
The root method I used was "ioroot" but "loki" is like "odin" in that it is supposed to unlock the bootloader. Apparently on an LG device it's only a workaround so it gives you access even tho it's not actually unlocked. From what I've seen in the Pac-man ROM files it flashes with loki also.
Ya I'll post in the dev thread once I get 10+ posts... I'm not allowed to just yet, lol. Still a noob.
ForceClosed said:
Hmm, ADB has worked for me before. That's how I flashed the original recovery.img
I followed these commands from droidviews guide:
cd /data/local/tmp
chmod 777 loki_flash
./loki_flash recovery /data/local/tmp/openrecovery-twrp-2.6.3.2-g2xxx.img
exit
adb reboot recovery
The root method I used was "ioroot" but "loki" is like "odin" in that it is supposed to unlock the bootloader. Apparently on an LG device it's only a workaround so it gives you access even tho it's not actually unlocked. From what I've seen in the Pac-man ROM files it flashes with loki also.
Ya I'll post in the dev thread once I get 10+ posts... I'm not allowed to just yet, lol. Still a noob.
Click to expand...
Click to collapse
If abd works, try : "abd reboot bootloader"
(wait till phone reboots, you should be on a black screen with a droid)
Then, type "fastboot devices"
If you see a character string, it means you can then launch the recovery flash from toolbox
For the 10 post counts, you can spam this post, only 2 to go
bud77 said:
If abd works, try : "abd reboot bootloader"
(wait till phone reboots, you should be on a black screen with a droid)
Then, type "fastboot devices"
If you see a character string, it means you can then launch the recovery flash from toolbox
For the 10 post counts, you can spam this post, only 2 to go
Click to expand...
Click to collapse
"adb reboot bootloader" and "adb reboot-bootloader" both reboot the phone normally. I cannot access bootloader, but the command "adb reboot recovery" takes me to TWRP recovery. Other adb commands such as some shell commands, as well as pull/push work. I think it's because loki allows adb to work, but doesn't fully unlock the bootloader.
Well, I've tried to flash 2.7.0.0 by using the adb if= of= command, but when I try to reboot into recovery it says:
boot certification verify:
certification error
cause: boot certification verify
and then the screen stays black until I hold the power + volume down button for a few seconds, then it finally reboots normally.
I'm going to go out on a limb and say that twrp 2.7 is not compatible on my device. Back to the old version...
Fyi I don't think I saw this in here yet, but 2.7 comes off the twrp website as a zip which is able to be flashed via recovery like any other zip.
Sent from my LG-LS980 using Tapatalk
goldflame09 said:
Fyi I don't think I saw this in here yet, but 2.7 comes off the twrp website as a zip which is able to be flashed via recovery like any other zip.
Sent from my LG-LS980 using Tapatalk
Click to expand...
Click to collapse
Wow! Something so simple it's overlooked. I successfully updated TWRP to 2.7 and then pac-man also worked followed by gapps. I am now running the 3/17 version.
Turns out 2.6.3.2 version of TWRP doesn't work with your ROM on my phone.
Thanks for all the help everyone!
Actually 2.6.3.2 had issues with wiping and flashing any ROM. But make sure you can backup with twrp 2.7. I know for some reason I was having issues with it.
Sent from my LG-LS980 using Tapatalk

[HOWTO] Combined emulated storage for the Nexus S (LVM) [NEW CM11: 20150726-NIGHTLY]

Combined emulated storage for the Nexus S (LVM)
UPDATE! NEW CM11 ROM, version: 20150726-NIGHTLY
This is a guide to make your Nexus S use an internal emulated SDcard, and mount it using MTP (just like the Nexus 4 and newer smartphones)!
In order to do that, we have to enable the Logical volume partitioning (LVM) on our rom and recovery, using this great guide. Kudos to @steven676 because without him, this wouldn't be possible.
The end result is this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
in a Nexus S running latest CM11 M12
It’s going to be a long run, so take your time. This is a summary of what we are going to do:
Summary:
TAKE A FULL BACKUP OF EVERYTHING, INCLUDING SDCARD! EVERYTHING WILL BE ERASED! WE ABSOLUTELY NEED A TWRP BACKUP!
Create a modified recovery Use my custom built TWRP recovery, which will recognize the logical volumes and use the internal storage as SDcard
Create the specified logical volumes
Reboot into the recovery, and restore the twrp backup
Modify the updater-script of the ROM you want to use and change the partition directories
Create a modified boot image.
Archive the modified boot image inside the rom .zip
Create a modified framework-res.apk
Archive the modified framework-res.apk inside the ROM .zip
Copy the now-ready ROM .zip inside the mounted storage, and install it
Boot into CM11 with ~13GB data+sdcard combined storage!
Requirements:
My git repository: https://github.com/KreAch3R/crespo-lvm-emulated-storage
LVM repository: https://github.com/steven676/android-lvm-mod
A ROM .zip (CM11-M12)
A kernel boot.img (as of M12, I used stock)(Guru kernel)http://forum.xda-developers.com/nexus-s/development/kernel-guru-t2783561
A custom built TWRP recovery (you can download mine from the Downloads post, or build it yourself)
Android SDK tools configured on your PC (ADB running etc)
Android Image Kitchen
Apktool 2 (setup and ready, using this guide and this file (renamed to apktool.jar).
Basic linux, terminal, adb knowledge
This is my first guide, so any help is appreciated! I have used these steps and they worked for me, but YMMV. I will try to help you as much as I can, but you should be aware that using this guide may brick your phone. Please, be patient, read the guide carefully, take any precautions you want, and of course, I cannot be held responsible for whatever happens to your device. You are following this guide with your own risk (DISCLAIMER). Also, please excuse my wrong terminology, if there is any, and correct any mistakes.
So, if you are ready, let's start!
Instructions
BACKUP, BACKUP, BACKUP!
Backup everything you can, we need a nandroid backup, sdcard backup, etc. Try to imagine you have lost your phone, and backup what you would have missed!
[*]USE MY CUSTOM BUILT TWRP RECOVERY
Or, if you want to modify it yourself folllow the instructions:
If you only want to take an existing build of a recovery and modify it to accept and recognize LVM volumes, but you don't care about the internal media storage depicted as sdcard, follow the steps below:
Unpack the recovery image you want using the Android Image Kitchen
Copy the contents of lvm-bin/ in the lvm repository to lvm/ in the ramdisk folder
Copy devices/crespo/lvm.conf to lvm/etc/lvm.conf in the ramdisk folder
Intergrate the changes from my git files
(NOTE: I think fstab.herring and recovery.fstab should be identical to fstab.herring from boot.img, and twrp.fstab should be the only different, - but it is just a theory, not tested)
Repack
Flash using fastboot
If you want to compile your own TWRP build and make it accept LVM, you have to build TWRP from source using @daxxter 's build flags from this post (c/p here for clarity):
BoardConfig.mk (device_samsung_crespo):
Code:
PRODUCT_COPY_FILES += device/samsung/crespo/twrp.fstab:recovery/root/etc/twrp.fstab
DEVICE_RESOLUTION := 480x800
RECOVERY_SDCARD_ON_DATA := true
RECOVERY_GRAPHICS_USE_LINELENGTH := true
BOARD_HAS_NO_REAL_SDCARD := true
TW_NO_USB_STORAGE := true
TW_INTERNAL_STORAGE_PATH := "/data/media"
TW_INTERNAL_STORAGE_MOUNT_POINT := "data"
twrp.fstab
Code:
# mount point fstype device
/system ext4 /dev/lvpool/system
/cache yaffs2 cache
/data ext4 /dev/lvpool/userdata
/misc mtd misc
/boot mtd boot
/recovery mtd recovery
/bootloader mtd bootloader
/radio mtd radio
/efs yaffs2 efs flags=display="EFS";backup=1;canbewiped
You also have to include the other modifications needed for LVM, such as the LVM folder and the necessary changes to init.rc. I suppose you can incorporate them in the building process, possibly doing modifications in the crespo tree files, but I didn't build it this way because I didn't think of it at the time, so the process is undocumented. I just built the modified twrp and then used the above process (with apktool) to make the lvm changes. Gross and ugly, I know, but I learn with all of this, too. Next time will be better.
[*]CREATE SPECIFIED LOGICAL VOLUMES
I created 2 logical partitions on the device, on top of the mmcblk0p1, mmcblk0p2, mmcblk0p3 partitions.
LVs:
/dev/lvpool/system 1G
/dev/lvpool/userdata 13.5G
Gracious command sharing by @RappyBMX :
Code:
# adb shell
# /lvm/sbin/lvm pvcreate /dev/block/mmcblk0p1 /dev/block/mmcblk0p2 /dev/block/mmcblk0p3
# /lvm/sbin/lvm vgcreate lvpool /dev/block/mmcblk0p1 /dev/block/mmcblk0p2 /dev/block/mmcblk0p3
# /lvm/sbin/lvm lvcreate -L 1G -n system lvpool
# /lvm/sbin/lvm lvcreate -L 13G -n userdata lvpool
OLD WAY:
Android OS is supposed to only recognize and mount the first two, (/system and /userdata). SDcard is created and symlinked in the /data/media folder, as per official Google examples.
TWRP Recovery, on the other hand, can mount all three of them, and uses the "media" partition as sdcard storage. I had to hack it like that for now, because I could not build the twrp recovery from source, using the correct make-configs (32bit system only here!), and the current crespo recovery can't recognize the emulated storage correctly, at least as far as I could try.
NOTE #2:
The plan is to build a correctly modified twrp for this crespo configuration when I get to my main PC and ditch the /lvpool/media partition. At this point I should mention that /media/ for a recovery-only partition is a terrible name, but I was following the lvm guide to the point, and I didn’t have time to re-do it just for a name change. If you want to change it, also change it in every .fstab file / mount point you find it.
CURRENT WAY:
Android OS is recognizing and mounting /system and /userdata as /data. The SDcard is created and symlinked in the /data/media folder, as per official Google examples.
Steps:
Boot into the recovery you just created (hope it boots)
Use the LVM guide and give the necessary lvm commands to create the logical volumes (ATTENTION! THIS WILL ERASE EVERYTHING!)
Reboot
Advanced format /system to ext4
Advanced format /data (type "yes")
Full Wipe-factory reset
In general, format everything you can to ext4 to make TWRP recognize them. No harm done, as your device is empty.
Now our phone is ready to take our modified rom.zip, once we build it!
[*]ROM UPDATER-SCRIPT
Open the ROM .zip and navigate to the updater-script. Replace the block partitions with the logical ones (I didn’t mess with ‘EMMC’ tag at all). Example, from this:
Code:
mount("ext4", "EMMC", "/dev/block/platform/s3c-sdhci.0/by-name/userdata ", "/data")
To this:
Code:
mount("ext4", "EMMC", "/dev/lvpool/userdata", "/data")
Save the file.
This is an example of a working updater-script file (the one used in my latest LVM-CM11-M12 rom):
Code:
assert(getprop("ro.product.device") == "crespo" ||
getprop("ro.build.product") == "crespo" ||
abort("This package is for device: crespo; this device is " + getprop("ro.product.device") + "."););
mount("ext4", "EMMC", "/dev/lvpool/system", "/system");
package_extract_file("system/bin/backuptool.sh", "/tmp/backuptool.sh");
package_extract_file("system/bin/backuptool.functions", "/tmp/backuptool.functions");
set_metadata("/tmp/backuptool.sh", "uid", 0, "gid", 0, "mode", 0755);
set_metadata("/tmp/backuptool.functions", "uid", 0, "gid", 0, "mode", 0644);
run_program("/tmp/backuptool.sh", "backup");
unmount("/system");
show_progress(0.500000, 0);
mount("ext4", "EMMC", "/dev/lvpool/userdata", "/data");
package_extract_file("system/bin/otasigcheck.sh", "/tmp/otasigcheck.sh");
package_extract_file("META-INF/org/cyanogenmod/releasekey", "/tmp/releasekey");
set_metadata("/tmp/otasigcheck.sh", "uid", 0, "gid", 0, "mode", 0755);
run_program("/tmp/otasigcheck.sh");
sha1_check(read_file("/tmp/releasekey"),"7241e92725436afc79389d4fc2333a2aa8c20230") && abort("Can't install this package on top of incompatible data. Please try another package or run a factory reset");
unmount("/data");
format("ext4", "EMMC", "/dev/lvpool/system", "0", "/system");
mount("ext4", "EMMC", "/dev/lvpool/system", "/system");
package_extract_dir("recovery", "/system");
package_extract_dir("system", "/system");
symlink("../bin/fsck.f2fs", "/system/bin/dump.f2fs");
symlink("../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/chcon",
"/system/xbin/chgrp", "/system/xbin/chmod", "/system/xbin/chown",
"/system/xbin/chroot", "/system/xbin/chvt", "/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/deallocvt", "/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/fgconsole",
"/system/xbin/fgrep", "/system/xbin/find", "/system/xbin/findfs",
"/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/getenforce", "/system/xbin/getopt",
"/system/xbin/getsebool", "/system/xbin/grep", "/system/xbin/groups",
"/system/xbin/gunzip", "/system/xbin/gzip", "/system/xbin/halt",
"/system/xbin/head", "/system/xbin/hexdump", "/system/xbin/hwclock",
"/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/lspci",
"/system/xbin/lsusb", "/system/xbin/lzcat", "/system/xbin/lzma",
"/system/xbin/lzop", "/system/xbin/lzopcat", "/system/xbin/man",
"/system/xbin/matchpathcon", "/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/nmeter", "/system/xbin/nohup", "/system/xbin/nslookup",
"/system/xbin/ntpd", "/system/xbin/od", "/system/xbin/openvt",
"/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/rdate",
"/system/xbin/rdev", "/system/xbin/readlink", "/system/xbin/realpath",
"/system/xbin/renice", "/system/xbin/reset", "/system/xbin/resize",
"/system/xbin/restorecon", "/system/xbin/rev", "/system/xbin/rm",
"/system/xbin/rmdir", "/system/xbin/rmmod", "/system/xbin/route",
"/system/xbin/run-parts", "/system/xbin/runcon", "/system/xbin/rx",
"/system/xbin/sed", "/system/xbin/selinuxenabled", "/system/xbin/seq",
"/system/xbin/sestatus", "/system/xbin/setconsole",
"/system/xbin/setenforce", "/system/xbin/setfiles",
"/system/xbin/setkeycodes", "/system/xbin/setsebool",
"/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/smemcap", "/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("logcat", "/system/bin/lolcat");
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/mkswap", "/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/readlink",
"/system/bin/renice", "/system/bin/restart", "/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/setfattr", "/system/bin/setprop",
"/system/bin/setsebool", "/system/bin/sleep", "/system/bin/smd",
"/system/bin/start", "/system/bin/stop", "/system/bin/swapoff",
"/system/bin/swapon", "/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_metadata_recursive("/system", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata_recursive("/system/addon.d", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata_recursive("/system/bin", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/bin/app_process", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:zygote_exec:s0");
set_metadata("/system/bin/clatd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:clatd_exec:s0");
set_metadata("/system/bin/debuggerd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:debuggerd_exec:s0");
set_metadata("/system/bin/dhcpcd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:dhcp_exec:s0");
set_metadata("/system/bin/dnsmasq", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:dnsmasq_exec:s0");
set_metadata("/system/bin/drmserver", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:drmserver_exec:s0");
set_metadata("/system/bin/hostapd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:hostapd_exec:s0");
set_metadata("/system/bin/installd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:installd_exec:s0");
set_metadata("/system/bin/keystore", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:keystore_exec:s0");
set_metadata("/system/bin/mediaserver", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:mediaserver_exec:s0");
set_metadata("/system/bin/mksh", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:shell_exec:s0");
set_metadata("/system/bin/mtpd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:mtp_exec:s0");
set_metadata("/system/bin/netcfg", "uid", 0, "gid", 3003, "mode", 02750, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/bin/netd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:netd_exec:s0");
set_metadata("/system/bin/ping", "uid", 0, "gid", 0, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:ping_exec:s0");
set_metadata("/system/bin/pppd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:ppp_exec:s0");
set_metadata("/system/bin/racoon", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:racoon_exec:s0");
set_metadata("/system/bin/rild", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:rild_exec:s0");
set_metadata("/system/bin/run-as", "uid", 0, "gid", 2000, "mode", 0750, "capabilities", 0xc0, "selabel", "u:object_r:runas_exec:s0");
set_metadata("/system/bin/sdcard", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:sdcardd_exec:s0");
set_metadata("/system/bin/servicemanager", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:servicemanager_exec:s0");
set_metadata("/system/bin/surfaceflinger", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:surfaceflinger_exec:s0");
set_metadata("/system/bin/vold", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:vold_exec:s0");
set_metadata("/system/bin/wpa_supplicant", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:wpa_exec:s0");
set_metadata_recursive("/system/etc/dhcpcd", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "u:object_r:dhcp_system_file:s0");
set_metadata("/system/etc/dhcpcd/dhcpcd-run-hooks", "uid", 1014, "gid", 2000, "mode", 0550, "capabilities", 0x0, "selabel", "u:object_r:dhcp_system_file:s0");
set_metadata_recursive("/system/etc/init.d", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/etc/init.d", "uid", 0, "gid", 0, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/etc/install-cm-recovery.sh", "uid", 0, "gid", 0, "mode", 0544, "capabilities", 0x0);
set_metadata_recursive("/system/etc/ppp", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0555, "capabilities", 0x0, "selabel", "u:object_r:ppp_system_file:s0");
set_metadata("/system/recovery-from-boot.p", "uid", 0, "gid", 0, "mode", 0644, "capabilities", 0x0);
set_metadata("/system/vendor", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata_recursive("/system/vendor/bin", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0755, "capabilities", 0x0, "selabel", "u:object_r:gpsd_exec:s0");
set_metadata("/system/vendor/bin", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/vendor/bin/pvrsrvinit", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:pvrsrvinit_exec:s0");
set_metadata("/system/vendor/etc", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/vendor/firmware", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/vendor/lib", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/vendor/lib/egl", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/vendor/lib/hw", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata_recursive("/system/xbin", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/xbin/librank", "uid", 0, "gid", 0, "mode", 06755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/xbin/procmem", "uid", 0, "gid", 0, "mode", 06755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/xbin/procrank", "uid", 0, "gid", 0, "mode", 06755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/xbin/su", "uid", 0, "gid", 0, "mode", 06755, "capabilities", 0x0, "selabel", "u:object_r:su_exec:s0");
show_progress(0.200000, 0);
delete("/system/bin/otasigcheck.sh");
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");
set_metadata("/tmp/backuptool.sh", "uid", 0, "gid", 0, "mode", 0755);
set_metadata("/tmp/backuptool.functions", "uid", 0, "gid", 0, "mode", 0644);
run_program("/tmp/backuptool.sh", "restore");
delete("/system/bin/backuptool.sh");
delete("/system/bin/backuptool.functions");
show_progress(0.200000, 10);
package_extract_file("boot.img", "/tmp/boot.img");write_raw_image("/tmp/boot.img", "boot");
show_progress(0.100000, 0);
unmount("/system");
[*]MODIFY BOOT.IMG
Unpack boot.img
Copy the contents of lvm-bin/ in the git repository to lvm/ in the ramdisk folder.
2)Copy devices/crespo/lvm.conf to lvm/etc/lvm.conf in the ramdisk folder.
Intergrate the changes for the following files: fstab.herring, init.herring.rc, init.herring.usb.rc, default.prop
Repack
[*]UPDATE ROM .ZIP W/ NEW BOOT.IMG
Open the ROM .zip again and drag ‘n’ drop the kernel boot.img inside. It should replace the other one.
[*]MODIFY FRAMEWORK-RES.APK
Extract the .apk from the ROM .zip
Install the framework to apktool [apktool if ...]
Decode the framework-res.apk [apktool d ...]
Intergrate the changes
Build the .apk [apktool b ...]
Open simultaneously the created apk and the unmodified one. Drag ‘n’ drop the changed file from the created one to the unmodified. Save the unmodified file. Be careful to use the now-modified-previously-unmodified .apk from now on.
TIP: DO NOT use spaces in the apktool directories. Keep it simple to avoid errors.
[*]UPDATE ROM .ZIP W/ NEW FRAMEWORK-RES.APK
Open the ROM .zip again, drag ‘n’ drop the new framework-res.apk inside /system/framework, and save the file.
[*]INSTALLATION
Copy the modified ROM .zip inside the mounted USB storage. Install it using the recovery.
[*]BOOT
Let’s hope that everything went as planned and now you are rocking a Nexus S with a ~13GB combined internal storage! MTP should work, too.
Downloads
My TWRP, BOOT, ROM files, if you want to use them (MOVED TO AFH):
AFH LINK IS DOWN WITH NO LOCAL BACKUPS, SORRY
Current Download: CM11-20150726-NIGHTLY ROM (08/2015)
CM11-20150726-NIGHTLY ROM
Here is a CM11-M11 ROM File (11/2014) I found lying around:
CM11-M11-LVM-emulatedSD-guru101.zip
NEW FILE!: custom built 2.8.4.0 TWRP
@daxxter 's custom built TWRP 2.8.0.0 recovery (modifed by me for ext4)
CM11-M9 ROM Files (9/2014)
Mediafire links:
TWRP Recovery
BOOT img
CM11-M9 ROM
So, this is it. I hope I covered all edges, and did not make any mistakes (it is a big guide). Please let me know if something is wrong, or you have any suggestions or advice.
did the partition is compatible with art?can i install much app in art mode?
Hi!
I'm trying to follow your guide but i'm struck with the twrp recovery, i can boot in the twrp but the recovery doesn't mount any partition and i can't lunch the lvm commands from the other thread (i got "permission denied"). So i made successfully to the lvm partitions with the modded clockwork recovery, format the usb storage, copy the twrp backup and the reflash the modded twrp but even after that the twrp recovery won't mount anything and won't find the backup.
I'll attach my twrp img, can you post yours or help me someway?
cshnz said:
did the partition is compatible with art?can i install much app in art mode?
Click to expand...
Click to collapse
I have not tried ART at all, sorry. You can install many apps using the Dalvik runtime, though, just like any other phone.
Zeratul91 said:
Hi!
I'm trying to follow your guide but i'm struck with the twrp recovery, i can boot in the twrp but the recovery doesn't mount any partition and i can't lunch the lvm commands from the other thread (i got "permission denied"). So i made successfully to the lvm partitions with the modded clockwork recovery, format the usb storage, copy the twrp backup and the reflash the modded twrp but even after that the twrp recovery won't mount anything and won't find the backup.
I'll attach my twrp img, can you post yours or help me someway?
Click to expand...
Click to collapse
Hello!
Your twrp.img looks fine! I couldn't understand if you managed to actually create the lvm partitions though. Did you get past this "permission denied" error?
If you are using Linux, try:
Code:
adb kill-server
sudo adb start-server
In Windows try to launch it using administrator privileges
Also, after "adb shell" you can try to "su".
Code:
adb shell
su
If you think you managed to create the lvs successfully, use this command:
Code:
#/lvm/sbin/lvm lvs
to actually see what you have created.
Did you use the same partitions names as the guide? If you changed something, you also change it in all the fstabs, too.
I flashed your recovery, and you are right, no partition is mounted. Re-flashed back to mine and everything works. I can't find any difference though! I will keep searching. For now wait 5 mins for the upload.
I have started uploading my twrp.img, my boot.img and my ROM .zip, to help you test things, I didn't think of that earlier. I will post the links ASAP.
Hello!
Your twrp.img looks fine! I couldn't understand if you managed to actually create the lvm partitions though. Did you get past this "permission denied" error?
If you are using Linux, try:
Code:
adb kill-server
sudo adb start-server
In Windows try to launch it using administrator privileges
Also, after "adb shell" you can try to "su".
Code:
adb shell
su
If you think you managed to create the lvs successfully, use this command:
Code:
#/lvm/sbin/lvm lvs
to actually see what you have created.
Did you use the same partitions names as the guide? If you changed something, you also change it in all the fstabs, too.
I flashed your recovery, and you are right, no partition is mounted. Re-flashed back to mine though and everything works. I can't find any difference though! I will keep searching. For now wait 5 mins for the upload.
I have started uploading my twrp.img, my boot.img and my ROM .zip, to help you test things, I didn't think of that earlier. I will post the links ASAP.
Click to expand...
Click to collapse
I created the partitions with the names and sizes you said using the modded clockwork from the steven676's guide, I lunched #/lvm/sbin/lvm lvs under clockwork and everything was right and i formatted the 1gb media partition as FAT. TWRP wouldn't anything, not even mount the usb storage, and the adb shell would give me "~ # ←[6n" and permission denied with every command
Zeratul91 said:
I created the partitions with the names and sizes you said using the modded clockwork from the steven676's guide, I lunched #/lvm/sbin/lvm lvs under clockwork and everything was right and i formatted the 1gb media partition as FAT. TWRP wouldn't anything, not even mount the usb storage, and the adb shell would give me "~ # ←[6n" and permission denied with every command
Click to expand...
Click to collapse
Let's take this one step at a time. Grab the twrp image from the third post and test it. I can't understand what I forgot to include to the instructions. Testing now.
UPDATE: I think I found the culprit. Are you using Linux or Windows? your "lvm/sbin'lvm" file didn't have executing permissions.
Code:
cd /ramdisk/lvm/sbin
chmod +x lvm
Once I changed that, the twrp recovery worked. I don't know why yours was different from mine, I didn't have to change that.
KreAch3R said:
Let's take this one step at a time. Grab the twrp image from the third post and test it. I can't understand what I forgot to include to the instructions. Testing now.
UPDATE: I think I found the culprit. Are you using Linux or Windows? your "lvm/sbin'lvm" file didn't have executing permissions.
Code:
cd /ramdisk/lvm/sbin
chmod +x lvm
Once I changed that, the twrp recovery worked. I don't know why yours was different from mine, I didn't have to change that.
Click to expand...
Click to collapse
Unfortunately I'm on windows :S
BRB I'm going to try with your files
EDIT
I flashed your twrp, now i can use lvm commands and i created successfully the partitions:
Code:
C:\android-sdk-windows\platform-tools>adb shell
~ # ←[6n/lvm/sbin/lvm lvs
/lvm/sbin/lvm lvs
File descriptor 8 (/dev/__properties__) leaked on lvm invocation. Parent PID 120
: /sbin/sh
File descriptor 9 (socket:[1993]) leaked on lvm invocation. Parent PID 120: /sbi
n/sh
LV VG Attr LSize Pool Origin Data% Move Log Copy% Convert
media lvpool -wi-ao--- 1.00g
system lvpool -wi-a---- 552.00m
userdata lvpool -wi-a---- 13.00g
Now i should format the 1gb media to fat, but usb storage mount does nothing and i still get "unable to mount" error in the twrp log
Zeratul91 said:
Unfortunately I'm on windows :S
Click to expand...
Click to collapse
I guess Windows created the permission error, then.
Zeratul91 said:
I flashed your twrp, now i can use lvm commands and i created successfully the partitions:
...
Now i should format the 1gb media to fat, but usb storage mount does nothing
Click to expand...
Click to collapse
I don't know if that is going to work in Windows, but try to go to Disk Management, and see if your usb storage is seen. It shouldn't popup a "new removable media" detected, it has to be formatted first.
In Lubuntu, I had to go to the "Disks" program, and locate the usb storage there.
Zeratul91 said:
and i still get "unable to mount" error in the twrp log
Click to expand...
Click to collapse
Unable to mount what? /system or /data?
KreAch3R said:
I guess Windows created the permission error, then.
I don't know if that is going to work in Windows, but try to go to Disk Management, and see if your usb storage is seen. It shouldn't popup a "new removable media" detected, it has to be formatted first.
In Lubuntu, I had to go to the "Disks" program, and locate the usb storage there.
Unable to mount what? /system or /data?
Click to expand...
Click to collapse
Ok i managed to do the trick, i did a manual wipe from twrp then i rebooted the recovery and successfully mounted all the partitions, then I adb pushed your rom and simply flashed it and it booted with the single virtual partition . Now i copying all my stuff back again on the phone and i will try to flash the euroskank build i modded
Zeratul91 said:
Ok i managed to do the trick, i did a manual wipe from twrp then i rebooted the recovery and successfully mounted all the partitions, then I adb pushed your rom and simply flashed it and it booted with the single virtual partition . Now i copying all my stuff back again on the phone and i will try to flash the euroskank build i modded
Click to expand...
Click to collapse
I am glad! Good job.:good: Report back if everything is working correctly (or not ).
KreAch3R said:
I am glad! Good job.:good: Report back if everything is working correctly (or not ).
Click to expand...
Click to collapse
After the flash the rom would boot (the first boot takes very long) but most of the apps like camera crash and the MTP usb is somehow broken... I suppose I also messed up the framework-res.apk mod :crying:...
I attached the modded framework
Zeratul91 said:
After the flash the rom would boot (the first boot takes very long) but most of the apps like camera crash and the MTP usb is somehow broken... I suppose I also messed up the framework-res.apk mod :crying:...
I attached the modded framework
Click to expand...
Click to collapse
I have a working camera and MTP. Does this happen to my ROM, too? If it doesn't, that something is off in your edits. Did you make the appropriate boot changes to the euroskank boot.img? I don't know if the Guru boot .img is compatible.
Please share the unmodified framewok-res.apk from the euroskank build to let me help you. Did you follow the drag 'n' drop procedure?
EDIT The framework-res.apk you attached is not modded:
Code:
<storage android:mountPoint="/storage/sdcard0" android:storageDescription="@string/storage_usb" android:primary="true" android:allowMassStorage="true" android:maxFileSize="4096" />
KreAch3R said:
I have a working camera and MTP. Does this happen to my ROM, too? If it doesn't, that something is off in your edits. Did you make the appropriate boot changes to the euroskank boot.img? I don't know if the Guru boot .img is compatible.
Please share the unmodified framewok-res.apk from the euroskank build to let me help you. Did you follow the drag 'n' drop procedure?
Click to expand...
Click to collapse
Your rom works fine and guru is compatible (i used your boot.img), I used android multitool to decompile and recompile the apk then i used 7zip to copy androindmanifest.xml and resources.arsc from the old apk to the new
Zeratul91 said:
Your rom works fine and guru is compatible (i used your boot.img), I used android multitool to decompile and recompile the apk then i used 7zip to copy androindmanifest.xml and resources.arsc from the old apk to the new
Click to expand...
Click to collapse
Ah, I see. Android Image Kitchen has a windows version, why don't you try with that, too, to eliminate differences between our setups?
Nevertheless, using your setup (android multitool), try to just copy storage_list.xml from the new apk to the old one, and use this file.
The second attached framework-res.apk is still unmodded:
Code:
<?xml version="1.0" encoding="utf-8"?>
<StorageList
xmlns:android="http://schemas.android.com/apk/res/android">
<storage android:mountPoint="/storage/sdcard0" android:storageDescription="@string/storage_usb" android:primary="true" android:allowMassStorage="true" android:maxFileSize="4096" />
</StorageList>
KreAch3R said:
Ah, I see. Android Image Kitchen has a windows version, why don't you try with that, too, to eliminate differences between our setups?
Nevertheless, using your setup (android multitool), try to just copy storage_list.xml from the new apk to the old one, and use this file.
The second attached framework-res.apk is still unmodded:
Code:
<?xml version="1.0" encoding="utf-8"?>
<StorageList
xmlns:android="http://schemas.android.com/apk/res/android">
<storage android:mountPoint="/storage/sdcard0" android:storageDescription="@string/storage_usb" android:primary="true" android:allowMassStorage="true" android:maxFileSize="4096" />
</StorageList>
Click to expand...
Click to collapse
Sorry I attached the same file, my pc is full of frameworks at this point lol...
I used android image kitchen to mod the twrp img but as you have seen windows is no good to do this kind of stuff :S
BTW seems I made it :good:, I hope no geek reads this:
I opened with 7zip your rom and the untouched euroskank and I drag'n'dropped updater-script, boot.img and storagelist.xml to the latter and... it works!
Zeratul91 said:
Sorry I attached the same file, my pc is full of frameworks at this point lol...
I used android image kitchen to mod the twrp img but as you have seen windows is no good to do this kind of stuff :S
BTW seems I made it :good:, I hope no geek reads this:
I opened with 7zip your rom and the untouched euroskank and I drag'n'dropped updater-script, boot.img and storagelist.xml to the latter and... it works!
Click to expand...
Click to collapse
For reference only, Android Image Kitchen shouldn't be responsible for the "Permissions denied" error, it has to do with the Windows filesystem.
After all, well done! Enjoy your new storage! I will try to start a FAQ from our encounter, and I will include your tip!
I'm on slim rom with ART enabled and this lvm mod was working...now i can enjoying so much apps in ART mode...thanks to dev @steven676 and @KreAch3R for make some magic

[Q] Can't flash any ROMs

I have an i9507 and I've tried twrp and clockwork mod recoveries but every time I try to flash a ROM it says the zip is bad but it happens with every zip I try. Tried different ROMS and tried re-downloading them as well. Nothing seems to work.
I've tried the m10 snapshot of the official cyanogenmod and also the 4.6 paranoid android beta 1. These have been ROMs for the i9505 which have worked before on this device. I re-installed stock touchwiz a while ago with the official firmware. I then used the auto-root method to root my device and flashed twrp with a .tar through odin but ROMS wouldn't flash in recovery so tried flashing cwm through heimdall cmd prompt. Then tried to flash more ROMs but still a no go.
Any ideas on how to fix this?
Cheers
Hello,
you only need to open the file updater-script (in any flashable ZIP under META-INF/com/google/android) and delete any line like the followings:
Code:
assert.getprop
getprop
abort: "This package is for"
And just leave the mount as first line, then save the file and flash ZIP.
This disables the check of the device
Inviato dal mio GT-I9505
Hi
Thanks for the reply.
I tried this and I still get "bad zip".
Any other ideas?
Is there something I can do that will give a better idea of the problem?
kris-adams said:
Hi
Thanks for the reply.
I tried this and I still get "bad zip".
Any other ideas?
Is there something I can do that will give a better idea of the problem?
Click to expand...
Click to collapse
Redownload the ZIP and repeat the procedure. Read also on the net how to write an updater-script, so you could be sure of the modification to it, leave the "mount" line as first.
If you get bad ZIP it's not compressed well (have you decompressed to modify that file and recompressed?) or download is corrupted
Inviato dal mio GT-I9505
558
AntaresOne said:
Redownload the ZIP and repeat the procedure. Read also on the net how to write an updater-script, so you could be sure of the modification to it, leave the "mount" line as first.
If you get bad ZIP it's not compressed well (have you decompressed to modify that file and recompressed?) or download is corrupted
Inviato dal mio GT-I9505
Click to expand...
Click to collapse
I've tried re-downloading the zips and also other ROMs too.
I did decompress the zip and modify the updater-script file then recompress numerous times.
I also tried to do a repair on the zips on my winrar app as well.
Nothing has worked so far. I'll look up how to write the updater-script file and check if I'm doing it right.
Thanks
EDIT - So I decompressed the zip, made sure to delete what this http://en.miui.com/thread-13226-1-1.html told me to delete then reompressed and tried to flash, still the same "bad zip" error.
kris-adams said:
I've tried re-downloading the zips and also other ROMs too.
I did decompress the zip and modify the updater-script file then recompress numerous times.
I also tried to do a repair on the zips on my winrar app as well.
Nothing has worked so far. I'll look up how to write the updater-script file and check if I'm doing it right.
Thanks
EDIT - So I decompressed the zip, made sure to delete what this http://en.miui.com/thread-13226-1-1.html told me to delete then reompressed and tried to flash, still the same "bad zip" error.
Click to expand...
Click to collapse
Don't compress by clicking on the folder->compress, in this way it's normal that it's a bad flashable zip.
Compress by selecting all the files/folders, in this way:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Note that not all files/folders are the same in any flashable zip, but the correct procedure is this
AntaresOne said:
Don't compress by clicking on the folder->compress, in this way it's normal that it's a bad flashable zip.
Compress by selecting all the files/folders, in this way:
Note that not all files/folders are the same in any flashable zip, but the correct procedure is this
Click to expand...
Click to collapse
Yep, that's how I've been doing it
kris-adams said:
Yep, that's how I've been doing it
Click to expand...
Click to collapse
Can you paste here your modified updater-script? Between HIDE & CODE tags
Inviato dal mio GT-I9505
AntaresOne said:
Can you paste here your modified updater-script? Between HIDE & CODE tags
Inviato dal mio GT-I9505
Click to expand...
Click to collapse
I don't really know enough to know what you mean by CODE and HIDE tags sorry so I'll just paste the whole thing.
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_metadata("/tmp/backuptool.sh", "uid", 0, "gid", 0, "mode", 0755);
set_metadata("/tmp/backuptool.functions", "uid", 0, "gid", 0, "mode", 0644);
run_program("/tmp/backuptool.sh", "backup");
unmount("/system");
show_progress(0.500000, 0);
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/userdata", "/data");
package_extract_file("system/bin/otasigcheck.sh", "/tmp/otasigcheck.sh");
package_extract_file("META-INF/org/cyanogenmod/releasekey", "/tmp/releasekey");
set_metadata("/tmp/otasigcheck.sh", "uid", 0, "gid", 0, "mode", 0755);
run_program("/tmp/otasigcheck.sh");
sha1_check(read_file("/tmp/releasekey"),"7241e92725436afc79389d4fc2333a2aa8c20230") && abort("Can't install this package on top of incompatible data. Please try another package or run a factory reset");
unmount("/data");
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("../bin/fsck.f2fs", "/system/bin/dump.f2fs");
symlink("../xbin/su", "/system/bin/su");
symlink("/firmware-mdm/image/acdb.mbn", "/system/etc/firmware/acdb.mbn");
symlink("/firmware-mdm/image/apps.mbn", "/system/etc/firmware/apps.mbn");
symlink("/firmware-mdm/image/dsp1.mbn", "/system/etc/firmware/dsp1.mbn");
symlink("/firmware-mdm/image/dsp2.mbn", "/system/etc/firmware/dsp2.mbn");
symlink("/firmware-mdm/image/dsp3.mbn", "/system/etc/firmware/dsp3.mbn");
symlink("/firmware-mdm/image/efs1.mbn", "/system/etc/firmware/efs1.mbn");
symlink("/firmware-mdm/image/efs2.mbn", "/system/etc/firmware/efs2.mbn");
symlink("/firmware-mdm/image/efs3.mbn", "/system/etc/firmware/efs3.mbn");
symlink("/firmware-mdm/image/mdm_acdb.img", "/system/etc/firmware/mdm_acdb.img");
symlink("/firmware-mdm/image/rpm.mbn", "/system/etc/firmware/rpm.mbn");
symlink("/firmware-mdm/image/sbl1.mbn", "/system/etc/firmware/sbl1.mbn");
symlink("/firmware-mdm/image/sbl2.mbn", "/system/etc/firmware/sbl2.mbn");
symlink("/firmware/image/q6.b00", "/system/etc/firmware/q6.b00");
symlink("/firmware/image/q6.b01", "/system/etc/firmware/q6.b01");
symlink("/firmware/image/q6.b03", "/system/etc/firmware/q6.b03");
symlink("/firmware/image/q6.b04", "/system/etc/firmware/q6.b04");
symlink("/firmware/image/q6.b05", "/system/etc/firmware/q6.b05");
symlink("/firmware/image/q6.b06", "/system/etc/firmware/q6.b06");
symlink("/firmware/image/q6.mdt", "/system/etc/firmware/q6.mdt");
symlink("/firmware/image/tzapps.b00", "/system/etc/firmware/tzapps.b00");
symlink("/firmware/image/tzapps.b01", "/system/etc/firmware/tzapps.b01");
symlink("/firmware/image/tzapps.b02", "/system/etc/firmware/tzapps.b02");
symlink("/firmware/image/tzapps.b03", "/system/etc/firmware/tzapps.b03");
symlink("/firmware/image/tzapps.mdt", "/system/etc/firmware/tzapps.mdt");
symlink("/firmware/image/vidc.b00", "/system/etc/firmware/vidc.b00");
symlink("/firmware/image/vidc.b01", "/system/etc/firmware/vidc.b01");
symlink("/firmware/image/vidc.b02", "/system/etc/firmware/vidc.b02");
symlink("/firmware/image/vidc.b03", "/system/etc/firmware/vidc.b03");
symlink("/firmware/image/vidc.mdt", "/system/etc/firmware/vidc.mdt");
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/chcon",
"/system/xbin/chgrp", "/system/xbin/chmod", "/system/xbin/chown",
"/system/xbin/chroot", "/system/xbin/chvt", "/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/deallocvt", "/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/fgconsole",
"/system/xbin/fgrep", "/system/xbin/find", "/system/xbin/findfs",
"/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/getenforce", "/system/xbin/getopt",
"/system/xbin/getsebool", "/system/xbin/grep", "/system/xbin/groups",
"/system/xbin/gunzip", "/system/xbin/gzip", "/system/xbin/halt",
"/system/xbin/head", "/system/xbin/hexdump", "/system/xbin/hwclock",
"/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/lspci",
"/system/xbin/lsusb", "/system/xbin/lzcat", "/system/xbin/lzma",
"/system/xbin/lzop", "/system/xbin/lzopcat", "/system/xbin/man",
"/system/xbin/matchpathcon", "/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/nmeter", "/system/xbin/nohup", "/system/xbin/nslookup",
"/system/xbin/ntpd", "/system/xbin/od", "/system/xbin/openvt",
"/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/rdate",
"/system/xbin/rdev", "/system/xbin/readlink", "/system/xbin/realpath",
"/system/xbin/renice", "/system/xbin/reset", "/system/xbin/resize",
"/system/xbin/restorecon", "/system/xbin/rev", "/system/xbin/rm",
"/system/xbin/rmdir", "/system/xbin/rmmod", "/system/xbin/route",
"/system/xbin/run-parts", "/system/xbin/runcon", "/system/xbin/rx",
"/system/xbin/sed", "/system/xbin/selinuxenabled", "/system/xbin/seq",
"/system/xbin/sestatus", "/system/xbin/setconsole",
"/system/xbin/setenforce", "/system/xbin/setfiles",
"/system/xbin/setkeycodes", "/system/xbin/setsebool",
"/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/smemcap", "/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("logcat", "/system/bin/lolcat");
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/mkswap", "/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/readlink",
"/system/bin/renice", "/system/bin/restart", "/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/setfattr", "/system/bin/setprop",
"/system/bin/setsebool", "/system/bin/sleep", "/system/bin/smd",
"/system/bin/start", "/system/bin/stop", "/system/bin/swapoff",
"/system/bin/swapon", "/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_metadata_recursive("/system", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0");
set_metadata_recursive("/system/addon.d", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0755, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0");
set_metadata_recursive("/system/bin", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0755, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0");
set_metadata("/system/bin/app_process", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:zygote_exec:s0");
set_metadata("/system/bin/clatd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:clatd_exec:s0");
set_metadata("/system/bin/debuggerd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:debuggerd_exec:s0");
set_metadata("/system/bin/dhcpcd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:dhcp_exec:s0");
set_metadata("/system/bin/dnsmasq", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:dnsmasq_exec:s0");
set_metadata("/system/bin/drmserver", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:drmserver_exec:s0");
set_metadata("/system/bin/efsks", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:kickstart_exec:s0");
set_metadata("/system/bin/hostapd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:hostapd_exec:s0");
set_metadata("/system/bin/installd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:installd_exec:s0");
set_metadata("/system/bin/keystore", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:keystore_exec:s0");
set_metadata("/system/bin/ks", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:kickstart_exec:s0");
set_metadata("/system/bin/mediaserver", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:mediaserver_exec:s0");
set_metadata("/system/bin/mksh", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:shell_exec:s0");
set_metadata("/system/bin/mtpd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:mtp_exec:s0");
set_metadata("/system/bin/netcfg", "uid", 0, "gid", 3003, "mode", 02750, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0");
set_metadata("/system/bin/netd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:netd_exec:s0");
set_metadata("/system/bin/ping", "uid", 0, "gid", 0, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_ring_exec:s0");
set_metadata("/system/bin/pppd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_rpp_exec:s0");
set_metadata("/system/bin/qcks", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:kickstart_exec:s0");
set_metadata("/system/bin/racoon", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:racoon_exec:s0");
set_metadata("/system/bin/rild", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:rild_exec:s0");
set_metadata("/system/bin/run-as", "uid", 0, "gid", 2000, "mode", 0750, "capabilities", 0xc0, "selabel", "ubject_r:runas_exec:s0");
set_metadata("/system/bin/sdcard", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:sdcardd_exec:s0");
set_metadata("/system/bin/servicemanager", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:servicemanager_exec:s0");
set_metadata("/system/bin/surfaceflinger", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:surfaceflinger_exec:s0");
set_metadata("/system/bin/vold", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:vold_exec:s0");
set_metadata("/system/bin/wpa_supplicant", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:wpa_exec:s0");
set_metadata_recursive("/system/etc/dhcpcd", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "ubject_r:dhcp_system_file:s0");
set_metadata("/system/etc/dhcpcd/dhcpcd-run-hooks", "uid", 1014, "gid", 2000, "mode", 0550, "capabilities", 0x0, "selabel", "ubject_r:dhcp_system_file:s0");
set_metadata_recursive("/system/etc/init.d", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0755, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0");
set_metadata("/system/etc/init.d", "uid", 0, "gid", 0, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0");
set_metadata("/system/etc/install-cm-recovery.sh", "uid", 0, "gid", 0, "mode", 0544, "capabilities", 0x0);
set_metadata_recursive("/system/etc/ppp", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0555, "capabilities", 0x0, "selabel", "ubject_rpp_system_file:s0");
set_metadata("/system/recovery-from-boot.p", "uid", 0, "gid", 0, "mode", 0644, "capabilities", 0x0);
set_metadata("/system/vendor", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0");
set_metadata_recursive("/system/vendor/etc", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0");
set_metadata("/system/vendor/etc/audio_effects.conf", "uid", 0, "gid", 0, "mode", 0644, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0");
set_metadata("/system/vendor/firmware", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0");
set_metadata("/system/vendor/lib", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0");
set_metadata_recursive("/system/vendor/lib/drm", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0");
set_metadata("/system/vendor/lib/drm/libdrmwvmplugin.so", "uid", 0, "gid", 0, "mode", 0644, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0");
set_metadata("/system/vendor/lib/egl", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0");
set_metadata_recursive("/system/vendor/lib/mediadrm", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0");
set_metadata("/system/vendor/lib/mediadrm/libwvdrmengine.so", "uid", 0, "gid", 0, "mode", 0644, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0");
set_metadata_recursive("/system/xbin", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0755, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0");
set_metadata("/system/xbin/librank", "uid", 0, "gid", 0, "mode", 06755, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0");
set_metadata("/system/xbin/procmem", "uid", 0, "gid", 0, "mode", 06755, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0");
set_metadata("/system/xbin/procrank", "uid", 0, "gid", 0, "mode", 06755, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0");
set_metadata("/system/xbin/su", "uid", 0, "gid", 0, "mode", 06755, "capabilities", 0x0, "selabel", "ubject_r:su_exec:s0");
show_progress(0.200000, 0);
delete("/system/bin/otasigcheck.sh");
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");
set_metadata("/tmp/backuptool.sh", "uid", 0, "gid", 0, "mode", 0755);
set_metadata("/tmp/backuptool.functions", "uid", 0, "gid", 0, "mode", 0644);
run_program("/tmp/backuptool.sh", "restore");
delete("/system/bin/backuptool.sh");
delete("/system/bin/backuptool.functions");
show_progress(0.200000, 10);
package_extract_file("boot.img", "/tmp/boot.img");
assert(run_program("/sbin/sh", "/system/etc/loki.sh") == 0);
ifelse(is_substring("I337", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox cp -R /system/blobs/gsm/* /system/"));
ifelse(is_substring("I545", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox cp -R /system/blobs/cdma/* /system/"));
ifelse(is_substring("I545", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox cp -R /system/blobs/vzw/* /system/"));
ifelse(is_substring("I545", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox sed -i 's/ro.com.google.clientidbase=android-google/ro.com.google.clientidbase=android-verizon/g' /system/build.prop"));
ifelse(is_substring("L720", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox cp -R /system/blobs/cdma/* /system/"));
ifelse(is_substring("M919", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox cp -R /system/blobs/gsm/* /system/"));
ifelse(is_substring("R970", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox cp -R /system/blobs/cdma/* /system/"));
ifelse(is_substring("I9505", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox cp -R /system/blobs/gsm/* /system/"));
ifelse(is_substring("I9507", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox cp -R /system/blobs/gsm/* /system/"));
ifelse(is_substring("I9508", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox cp -R /system/blobs/gsm/* /system/"));
unmount("/system");
kris-adams said:
I don't really know enough to know what you mean by CODE and HIDE tags sorry so I'll just paste the whole thing.
Code:
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_metadata("/tmp/backuptool.sh", "uid", 0, "gid", 0, "mode", 0755);
set_metadata("/tmp/backuptool.functions", "uid", 0, "gid", 0, "mode", 0644);
run_program("/tmp/backuptool.sh", "backup");
unmount("/system");
show_progress(0.500000, 0);
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/userdata", "/data");
package_extract_file("system/bin/otasigcheck.sh", "/tmp/otasigcheck.sh");
package_extract_file("META-INF/org/cyanogenmod/releasekey", "/tmp/releasekey");
set_metadata("/tmp/otasigcheck.sh", "uid", 0, "gid", 0, "mode", 0755);
run_program("/tmp/otasigcheck.sh");
sha1_check(read_file("/tmp/releasekey"),"7241e92725436afc79389d4fc2333a2aa8c20230") && abort("Can't install this package on top of incompatible data. Please try another package or run a factory reset");
unmount("/data");
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("../bin/fsck.f2fs", "/system/bin/dump.f2fs");
symlink("../xbin/su", "/system/bin/su");
symlink("/firmware-mdm/image/acdb.mbn", "/system/etc/firmware/acdb.mbn");
symlink("/firmware-mdm/image/apps.mbn", "/system/etc/firmware/apps.mbn");
symlink("/firmware-mdm/image/dsp1.mbn", "/system/etc/firmware/dsp1.mbn");
symlink("/firmware-mdm/image/dsp2.mbn", "/system/etc/firmware/dsp2.mbn");
symlink("/firmware-mdm/image/dsp3.mbn", "/system/etc/firmware/dsp3.mbn");
symlink("/firmware-mdm/image/efs1.mbn", "/system/etc/firmware/efs1.mbn");
symlink("/firmware-mdm/image/efs2.mbn", "/system/etc/firmware/efs2.mbn");
symlink("/firmware-mdm/image/efs3.mbn", "/system/etc/firmware/efs3.mbn");
symlink("/firmware-mdm/image/mdm_acdb.img", "/system/etc/firmware/mdm_acdb.img");
symlink("/firmware-mdm/image/rpm.mbn", "/system/etc/firmware/rpm.mbn");
symlink("/firmware-mdm/image/sbl1.mbn", "/system/etc/firmware/sbl1.mbn");
symlink("/firmware-mdm/image/sbl2.mbn", "/system/etc/firmware/sbl2.mbn");
symlink("/firmware/image/q6.b00", "/system/etc/firmware/q6.b00");
symlink("/firmware/image/q6.b01", "/system/etc/firmware/q6.b01");
symlink("/firmware/image/q6.b03", "/system/etc/firmware/q6.b03");
symlink("/firmware/image/q6.b04", "/system/etc/firmware/q6.b04");
symlink("/firmware/image/q6.b05", "/system/etc/firmware/q6.b05");
symlink("/firmware/image/q6.b06", "/system/etc/firmware/q6.b06");
symlink("/firmware/image/q6.mdt", "/system/etc/firmware/q6.mdt");
symlink("/firmware/image/tzapps.b00", "/system/etc/firmware/tzapps.b00");
symlink("/firmware/image/tzapps.b01", "/system/etc/firmware/tzapps.b01");
symlink("/firmware/image/tzapps.b02", "/system/etc/firmware/tzapps.b02");
symlink("/firmware/image/tzapps.b03", "/system/etc/firmware/tzapps.b03");
symlink("/firmware/image/tzapps.mdt", "/system/etc/firmware/tzapps.mdt");
symlink("/firmware/image/vidc.b00", "/system/etc/firmware/vidc.b00");
symlink("/firmware/image/vidc.b01", "/system/etc/firmware/vidc.b01");
symlink("/firmware/image/vidc.b02", "/system/etc/firmware/vidc.b02");
symlink("/firmware/image/vidc.b03", "/system/etc/firmware/vidc.b03");
symlink("/firmware/image/vidc.mdt", "/system/etc/firmware/vidc.mdt");
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/chcon",
"/system/xbin/chgrp", "/system/xbin/chmod", "/system/xbin/chown",
"/system/xbin/chroot", "/system/xbin/chvt", "/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/deallocvt", "/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/fgconsole",
"/system/xbin/fgrep", "/system/xbin/find", "/system/xbin/findfs",
"/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/getenforce", "/system/xbin/getopt",
"/system/xbin/getsebool", "/system/xbin/grep", "/system/xbin/groups",
"/system/xbin/gunzip", "/system/xbin/gzip", "/system/xbin/halt",
"/system/xbin/head", "/system/xbin/hexdump", "/system/xbin/hwclock",
"/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/lspci",
"/system/xbin/lsusb", "/system/xbin/lzcat", "/system/xbin/lzma",
"/system/xbin/lzop", "/system/xbin/lzopcat", "/system/xbin/man",
"/system/xbin/matchpathcon", "/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/nmeter", "/system/xbin/nohup", "/system/xbin/nslookup",
"/system/xbin/ntpd", "/system/xbin/od", "/system/xbin/openvt",
"/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/rdate",
"/system/xbin/rdev", "/system/xbin/readlink", "/system/xbin/realpath",
"/system/xbin/renice", "/system/xbin/reset", "/system/xbin/resize",
"/system/xbin/restorecon", "/system/xbin/rev", "/system/xbin/rm",
"/system/xbin/rmdir", "/system/xbin/rmmod", "/system/xbin/route",
"/system/xbin/run-parts", "/system/xbin/runcon", "/system/xbin/rx",
"/system/xbin/sed", "/system/xbin/selinuxenabled", "/system/xbin/seq",
"/system/xbin/sestatus", "/system/xbin/setconsole",
"/system/xbin/setenforce", "/system/xbin/setfiles",
"/system/xbin/setkeycodes", "/system/xbin/setsebool",
"/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/smemcap", "/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("logcat", "/system/bin/lolcat");
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/mkswap", "/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/readlink",
"/system/bin/renice", "/system/bin/restart", "/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/setfattr", "/system/bin/setprop",
"/system/bin/setsebool", "/system/bin/sleep", "/system/bin/smd",
"/system/bin/start", "/system/bin/stop", "/system/bin/swapoff",
"/system/bin/swapon", "/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_metadata_recursive("/system", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata_recursive("/system/addon.d", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata_recursive("/system/bin", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/bin/app_process", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:zygote_exec:s0");
set_metadata("/system/bin/clatd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:clatd_exec:s0");
set_metadata("/system/bin/debuggerd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:debuggerd_exec:s0");
set_metadata("/system/bin/dhcpcd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:dhcp_exec:s0");
set_metadata("/system/bin/dnsmasq", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:dnsmasq_exec:s0");
set_metadata("/system/bin/drmserver", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:drmserver_exec:s0");
set_metadata("/system/bin/efsks", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:kickstart_exec:s0");
set_metadata("/system/bin/hostapd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:hostapd_exec:s0");
set_metadata("/system/bin/installd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:installd_exec:s0");
set_metadata("/system/bin/keystore", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:keystore_exec:s0");
set_metadata("/system/bin/ks", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:kickstart_exec:s0");
set_metadata("/system/bin/mediaserver", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:mediaserver_exec:s0");
set_metadata("/system/bin/mksh", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:shell_exec:s0");
set_metadata("/system/bin/mtpd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:mtp_exec:s0");
set_metadata("/system/bin/netcfg", "uid", 0, "gid", 3003, "mode", 02750, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/bin/netd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:netd_exec:s0");
set_metadata("/system/bin/ping", "uid", 0, "gid", 0, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:ping_exec:s0");
set_metadata("/system/bin/pppd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:ppp_exec:s0");
set_metadata("/system/bin/qcks", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:kickstart_exec:s0");
set_metadata("/system/bin/racoon", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:racoon_exec:s0");
set_metadata("/system/bin/rild", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:rild_exec:s0");
set_metadata("/system/bin/run-as", "uid", 0, "gid", 2000, "mode", 0750, "capabilities", 0xc0, "selabel", "u:object_r:runas_exec:s0");
set_metadata("/system/bin/sdcard", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:sdcardd_exec:s0");
set_metadata("/system/bin/servicemanager", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:servicemanager_exec:s0");
set_metadata("/system/bin/surfaceflinger", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:surfaceflinger_exec:s0");
set_metadata("/system/bin/vold", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:vold_exec:s0");
set_metadata("/system/bin/wpa_supplicant", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:wpa_exec:s0");
set_metadata_recursive("/system/etc/dhcpcd", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "u:object_r:dhcp_system_file:s0");
set_metadata("/system/etc/dhcpcd/dhcpcd-run-hooks", "uid", 1014, "gid", 2000, "mode", 0550, "capabilities", 0x0, "selabel", "u:object_r:dhcp_system_file:s0");
set_metadata_recursive("/system/etc/init.d", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/etc/init.d", "uid", 0, "gid", 0, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/etc/install-cm-recovery.sh", "uid", 0, "gid", 0, "mode", 0544, "capabilities", 0x0);
set_metadata_recursive("/system/etc/ppp", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0555, "capabilities", 0x0, "selabel", "u:object_r:ppp_system_file:s0");
set_metadata("/system/recovery-from-boot.p", "uid", 0, "gid", 0, "mode", 0644, "capabilities", 0x0);
set_metadata("/system/vendor", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata_recursive("/system/vendor/etc", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/vendor/etc/audio_effects.conf", "uid", 0, "gid", 0, "mode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/vendor/firmware", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/vendor/lib", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata_recursive("/system/vendor/lib/drm", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/vendor/lib/drm/libdrmwvmplugin.so", "uid", 0, "gid", 0, "mode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/vendor/lib/egl", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata_recursive("/system/vendor/lib/mediadrm", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/vendor/lib/mediadrm/libwvdrmengine.so", "uid", 0, "gid", 0, "mode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata_recursive("/system/xbin", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/xbin/librank", "uid", 0, "gid", 0, "mode", 06755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/xbin/procmem", "uid", 0, "gid", 0, "mode", 06755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/xbin/procrank", "uid", 0, "gid", 0, "mode", 06755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/xbin/su", "uid", 0, "gid", 0, "mode", 06755, "capabilities", 0x0, "selabel", "u:object_r:su_exec:s0");
show_progress(0.200000, 0);
delete("/system/bin/otasigcheck.sh");
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");
set_metadata("/tmp/backuptool.sh", "uid", 0, "gid", 0, "mode", 0755);
set_metadata("/tmp/backuptool.functions", "uid", 0, "gid", 0, "mode", 0644);
run_program("/tmp/backuptool.sh", "restore");
delete("/system/bin/backuptool.sh");
delete("/system/bin/backuptool.functions");
show_progress(0.200000, 10);
package_extract_file("boot.img", "/tmp/boot.img");
assert(run_program("/sbin/sh", "/system/etc/loki.sh") == 0);
ifelse(is_substring("I337", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox cp -R /system/blobs/gsm/* /system/"));
ifelse(is_substring("I545", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox cp -R /system/blobs/cdma/* /system/"));
ifelse(is_substring("I545", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox cp -R /system/blobs/vzw/* /system/"));
ifelse(is_substring("I545", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox sed -i 's/ro.com.google.clientidbase=android-google/ro.com.google.clientidbase=android-verizon/g' /system/build.prop"));
ifelse(is_substring("L720", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox cp -R /system/blobs/cdma/* /system/"));
ifelse(is_substring("M919", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox cp -R /system/blobs/gsm/* /system/"));
ifelse(is_substring("R970", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox cp -R /system/blobs/cdma/* /system/"));
ifelse(is_substring("I9505", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox cp -R /system/blobs/gsm/* /system/"));
ifelse(is_substring("I9507", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox cp -R /system/blobs/gsm/* /system/"));
ifelse(is_substring("I9508", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox cp -R /system/blobs/gsm/* /system/"));
unmount("/system");
Click to expand...
Click to collapse
Do you have an empty line after "unmount("/system");"? It's needed
By the way, your device is officially supported as jflte so you should be able to install without editing anything.
Maybe your recovery version is old? Flash the latest Philz touch and retry without editing the zip
2184
I just tried to flash the recovery you mentioned and it came up with this:
Can’t copy META-INF/com/google/android/update-binary installation aborted
kris-adams said:
I just tried to flash the recovery you mentioned and it came up with this:
Can’t copy META-INF/com/google/android/update-binary installation aborted
Click to expand...
Click to collapse
You can find in the same folder where you found the zip an Odin-flashable .tar.md5 of Philz, use it
Inviato dal mio GT-I9505
Installed philz touch tar file through odin with no problem but still getting the same errors :/
EDIT - I did a clean wipe after installing philz touch through odin and it now works!!! Finally have CM on my phone again
Thanks for the help

G6 plus blankflash no response error

Hiya
I recently tried to unbrick my G6 plus again and got more progress than I ever had. I found a blankflash from a post on XDA here but I get a "no response" error when I run it. I've ran it 3 times now and each time I've gotten the same error. Now I'm no expert by any means so I don't know if this is just the end of the line for me or if this can be saved. Here's the last log entry It's pretty big but just in case I'll provide everything.
**** Log buffer [000001] 2022-08-16_23:27:40 ****
[ 0.000] Opening device: \\.\COM4
[ 0.002] Detecting device
[ 0.004] ...cpu.id = 172 (0xac)
[ 0.004] ...cpu.sn = 768239553 (0x2dca67c1)
[ 0.005] Opening singleimage
[ 0.005] Loading package
[ 0.007] ...filename = pkg.xml
[ 0.008] Loading programmer
[ 0.008] ...filename = programmer.elf
[ 0.008] Sending programmer
[ 0.198] Handling things over to programmer
[ 0.199] Identifying CPU version
[ 0.199] Waiting for firehose to get ready
[ 61.296] Waiting for firehose to get ready
[122.365] ...SDM630 unknown
[122.365] Determining target secure state
[122.365] Waiting for firehose to get ready
[183.395] ...secure = no
[183.416] Initializing storage
[183.417] Waiting for firehose to get ready
[244.490] Configuring device...
[244.491] Waiting for firehose to get ready
[305.510] Waiting for firehose to get ready
[366.600] Waiting for firehose to get ready
[427.591] Waiting for firehose to get ready
[488.603] Initializing storage
[488.605] Waiting for firehose to get ready
[549.662] Configuring device...
[549.664] Waiting for firehose to get ready
[610.782] Waiting for firehose to get ready
[671.804] Waiting for firehose to get ready
[732.820] Waiting for firehose to get ready
[793.914] Waiting for firehose to get ready
[854.953] Configuring device...
[854.954] Waiting for firehose to get ready
[916.014] Waiting for firehose to get ready
[977.064] Waiting for firehose to get ready
[1038.161] Waiting for firehose to get ready
[1099.235] ERROR: do_package()->do_recipe()->do_configure()->fh_send()->get_fh()->no response
[1099.235] Check qboot_log.txt for more details
[1099.236] Total time: 1099.237s
[1099.237] There were some hiccups in backup and restore.
[1099.237] Please save the following files and see a Bootloader member.
[1099.237] 1) ./qboot_log.txt
[1099.238] 2) ./backup_0x2DCA67C1_2022-08-16_233043.img
[1099.238]
[1099.239]
[1099.239] qboot version 3.86
[1099.239]
[1099.239] DEVICE {
[1099.239] name = "\\.\COM4",
[1099.239] flags = "0x64",
[1099.239] addr = "0x62FD54",
[1099.239] sahara.current_mode = "0",
[1099.239] api.buffer = "0x286F020",
[1099.239] cpu.serial = "768239553",
[1099.239] cpu.id = "172",
[1099.239] cpu.sv_sbl = "1",
[1099.239] cpu.name = "SDM630",
[1099.239] storage.type = "eMMC",
[1099.239] sahara.programmer = "programmer.elf",
[1099.239] module.firehose = "0x1FEA50",
[1099.239] cpu.ver = "0",
[1099.239] cpu.vername = "unknown",
[1099.239] api.bnr = "0x27A7F28",
[1099.239] }
[1099.239]
[1099.239]
[1099.239] Backup & Restore {
[1099.239] num_entries = 32,
[1099.239] restoring = "false",
[1099.239] restore_error = "not started",
[1099.239] entries[00] = { skipped = 0, backup_tried = 0, backup_failed = 0, restore_tried = 0, restore_failed = 0, name ="cid"},
[1099.239] entries[01] = { skipped = 0, backup_tried = 0, backup_failed = 0, restore_tried = 0, restore_failed = 0, name ="frp"},
[1099.239] entries[02] = { skipped = 0, backup_tried = 0, backup_failed = 0, restore_tried = 0, restore_failed = 0, name ="hw"},
[1099.239] entries[03] = { skipped = 0, backup_tried = 0, backup_failed = 0, restore_tried = 0, restore_failed = 0, name ="misc"},
[1099.239] entries[04] = { skipped = 0, backup_tried = 0, backup_failed = 0, restore_tried = 0, restore_failed = 0, name ="persist"},
[1099.239] entries[05] = { skipped = 0, backup_tried = 0, backup_failed = 0, restore_tried = 0, restore_failed = 0, name ="utags"},
[1099.239] entries[06] = { skipped = 0, backup_tried = 0, backup_failed = 0, restore_tried = 0, restore_failed = 0, name ="devinfo"},
[1099.239] entries[07] = { skipped = 0, backup_tried = 0, backup_failed = 0, restore_tried = 0, restore_failed = 0, name ="sp"},
[1099.239] entries[08] = { skipped = 1, backup_tried = 0, backup_failed = 0, restore_tried = 0, restore_failed = 0, name ="abl_a"},
[1099.239] entries[09] = { skipped = 1, backup_tried = 0, backup_failed = 0, restore_tried = 0, restore_failed = 0, name ="cmnlib_a"},
[1099.239] entries[10] = { skipped = 1, backup_tried = 0, backup_failed = 0, restore_tried = 0, restore_failed = 0, name ="cmnlib64_a"},
[1099.239] entries[11] = { skipped = 1, backup_tried = 0, backup_failed = 0, restore_tried = 0, restore_failed = 0, name ="devcfg_a"},
[1099.239] entries[12] = { skipped = 1, backup_tried = 0, backup_failed = 0, restore_tried = 0, restore_failed = 0, name ="hyp_a"},
[1099.239] entries[13] = { skipped = 1, backup_tried = 0, backup_failed = 0, restore_tried = 0, restore_failed = 0, name ="keymaster_a"},
[1099.239] entries[14] = { skipped = 1, backup_tried = 0, backup_failed = 0, restore_tried = 0, restore_failed = 0, name ="storsec_a"},
[1099.239] entries[15] = { skipped = 1, backup_tried = 0, backup_failed = 0, restore_tried = 0, restore_failed = 0, name ="tz_a"},
[1099.239] entries[16] = { skipped = 1, backup_tried = 0, backup_failed = 0, restore_tried = 0, restore_failed = 0, name ="rpm_a"},
[1099.239] entries[17] = { skipped = 1, backup_tried = 0, backup_failed = 0, restore_tried = 0, restore_failed = 0, name ="pmic_a"},
[1099.239] entries[18] = { skipped = 1, backup_tried = 0, backup_failed = 0, restore_tried = 0, restore_failed = 0, name ="prov_a"},
[1099.239] entries[19] = { skipped = 1, backup_tried = 0, backup_failed = 0, restore_tried = 0, restore_failed = 0, name ="xbl_a"},
[1099.239] entries[20] = { skipped = 1, backup_tried = 0, backup_failed = 0, restore_tried = 0, restore_failed = 0, name ="abl_b"},
[1099.239] entries[21] = { skipped = 1, backup_tried = 0, backup_failed = 0, restore_tried = 0, restore_failed = 0, name ="cmnlib_b"},
[1099.239] entries[22] = { skipped = 1, backup_tried = 0, backup_failed = 0, restore_tried = 0, restore_failed = 0, name ="cmnlib64_b"},
[1099.239] entries[23] = { skipped = 1, backup_tried = 0, backup_failed = 0, restore_tried = 0, restore_failed = 0, name ="devcfg_b"},
[1099.239] entries[24] = { skipped = 1, backup_tried = 0, backup_failed = 0, restore_tried = 0, restore_failed = 0, name ="hyp_b"},
[1099.239] entries[25] = { skipped = 1, backup_tried = 0, backup_failed = 0, restore_tried = 0, restore_failed = 0, name ="keymaster_b"},
[1099.239] entries[26] = { skipped = 1, backup_tried = 0, backup_failed = 0, restore_tried = 0, restore_failed = 0, name ="storsec_b"},
[1099.239] entries[27] = { skipped = 1, backup_tried = 0, backup_failed = 0, restore_tried = 0, restore_failed = 0, name ="tz_b"},
[1099.239] entries[28] = { skipped = 1, backup_tried = 0, backup_failed = 0, restore_tried = 0, restore_failed = 0, name ="rpm_b"},
[1099.239] entries[29] = { skipped = 1, backup_tried = 0, backup_failed = 0, restore_tried = 0, restore_failed = 0, name ="pmic_b"},
[1099.239] entries[30] = { skipped = 1, backup_tried = 0, backup_failed = 0, restore_tried = 0, restore_failed = 0, name ="prov_b"},
[1099.239] entries[31] = { skipped = 1, backup_tried = 0, backup_failed = 0, restore_tried = 0, restore_failed = 0, name ="xbl_b"},
[1099.239] simg = {
[1099.239] filename = "backup_0x2DCA67C1_2022-08-16_233043.img",
[1099.239] entries[00] = { size = 606912, name = "programmer.elf" },
[1099.239] }
[1099.239] }
[1099.239]
Now, to give you a little bit of background info, I didn't try to root my device or anything One day it just simply rebooted itself when it was just lying on my desk next to me being idle (or whatever android does when it's idling) and it kept rebooting, Every time it restarted and got into android it froze after 10 seconds or so and just rebooted again, until at some point it didn't boot anymore at all. At that point I tried messing with the fastboot menu (I think it's called, volume down + lock) but I couldn't do anything there. After trying that a couple times it just refused to get into that many and now won't turn on anymore at all. It did still show up on my PC as QUSB_BULK, and now after installing the Qloader thing it shows up as qualcom something with no driver errors (I disabled test singing in Windows). But now as mentioned, the blankflash runs for over 1000 seconds and then givers me the no response error. I've attached the latest backup it tried to make just in case that gives any info. Again I'm no expert so I don't know if this can be saved or not. It's not my main phone or anything, it already died in like 2019 or early 2020 or so.
If anyone can offer any help that would be greatly appreciated!
Thanks!

Categories

Resources