problem chown/mod flashing AOSP over HTC Desire - Android Software/Hacking General [Developers Only]

Hello, I have a problem when I try to flash the AOSP compiled for the HTC Desire,
I'm using the recovery ClockworkMod 2.5.0.7
and when I flash the update.zip I get the following error:
E: Can't chown/mod /system/keyspa.sh
(No such file or directory)
E:Failure at line 14:
set_perm 0 0 06755 SYSTEM:keyspa.sh
Installation aborted
somebody know what's happening?
Thanks in advance..

Check whether the below link helps u..
http://forum.xda-developers.com/showthread.php?t=530900

Hey, thanks for the response, but I already check it.
But I dont perceive any solution from there.

now the problem is the update-script / updater-script
I think the problem is the update-script. Well I try replacing the update-script by a updater-script from customized roms like Oxygen1.04 or CyanogenMod 6. But when I try to apply the update.zip I get the following error:
can't open /dev/tty0: No such file or directory
So I'm using the ClockworkMod recovery 2.5.0.7, and I don't know if that recovery can work with "updater-script" or just update-script.
Hope anybody can help me

how can I generate the update-binary for my updater-script
I figured that maybe the problem is because I dont have a udpate-binary file next to my updater-script.
someone can told how can I generate this file?
Thanks in advance..

Related

Help with symbolic links

Hey, looking for a little bit of input here...
(Made the ROM from this tutorial)
Code:
http://forum.xda-developers.com/showthread.php?t=566235
Everytime I try to flash it, it throws an error.
Code:
E:Can't symlink /system/bin/bugreport
E:Failure at line 7: symlink dumpstate SYSTEM:bin/bugreport
Installation Aborted
Any help would be appreciated.
Also, I've compiled unyaffs so that it wouldn't create duplicate symbolic links, and its still throwing the error.
DarkOne951 said:
Hey, looking for a little bit of input here...
(Made the ROM from this tutorial)
Code:
http://forum.xda-developers.com/showthread.php?t=566235
Everytime I try to flash it, it throws an error.
Code:
E:Can't symlink /system/bin/bugreport
E:Failure at line 7: symlink dumpstate SYSTEM:bin/bugreport
Installation Aborted
Any help would be appreciated.
Also, I've compiled unyaffs so that it wouldn't create duplicate symbolic links, and its still throwing the error.
Click to expand...
Click to collapse
Does the image contain "dumpstate"? If you're just trying to make it go away, modify META-INF/com/google/android/update-script to remove the offending script line, or make sure that the thing it's trying to symlink is in your image.
Removing the conflicting lines did enable it to flash properly, I'm just wondering what exactly was lost in the process of removing those steps. I'll see if I cant figure more of it out. Thanks though

Make your own updater-script!

To create updater-script or to edit updater-script you need Notepad++ (don’t use notepad). Download it from Here and install in your pc
updater-script is located in Meta-inf/com/google/android/updater-script
To create your own updater-script
Open notepad++ and from file menu select new and create the commands and create your own updater-script with this tutorial
After typing the commands save it as all types(*.*) and name it as updater-script and click save and put it in folder Meta-inf/com/google/android/updater-script
In this tutorial i will explain you all commands used in updater-script so that you can edit or create updater-script
ui_print – This command prints the prints the word inside the quotations
Example – ui_print(“xolo – next level”); prints xolo next level in your cwm recovery
mount – This command mounts the partition, if you want to add files to system partition you have to mount system partition, data for data partition
To mount system - mount(“ext4″, “EMMC”, “/dev/block/mmcblk0p5″, “/system”);
Here mmcblk0p5 is the name of system partition for mtk 6589 chipsets (this name varies from device to device)
To mount data - mount(“ext4″, “EMMC”, “/dev/block/mmcblk0p7″, “/data”); (partition name varies from device to device)
format - This command formats the partition specified
It is highly recommended to include this command to format system and data if you are making updater-script for ROM
To Format system - format(“ext4″, “EMMC”, “/dev/block/mmcblk0p5″, “0″);(partition name varies from device to device)
To Format data - format(“ext4″, “EMMC”, “/dev/block/mmcblk0p7″, “0″);(partition name varies from device to device)
package_extract_dir(” “, “/”) – This command extracts all the files from the folder mentioned inside first quotation to the partition or directory inside second quotation
For system - package_extract_dir(“system”, “/system”);
(this copies all files from system folder in zip to system partition in phone)
For data - package_extract_dir(“data”, “/data”);
package_extract_file(” “,”/”) - This command extract the single file inside between first quotation from zip to the partition or directory inside second quotation
symlink – This command creates links to its executable files
Here is an example
for super su binaries - symlink(“/system/xbin/su”, “/system/bin/su”);
set_perm_recursive - This command sets permission for folders
here android uses unix permission system
in unix
4 – read
2 – write
1 – execute
so
rwx is 4+2+1 = 7
rw is 4+2 = 6
rx is 4+1 = 5
Example - set_perm_recursive(0, 0, 0755, 0644, “/system”);
In this 0 is a user id for owner that refers to root. It means that permission owner for system folder. and 0 is root user means it unrestricted access to system. it is given in order to run programs to run properly
second 0 also refers to root. but here it refers to group id 0
we are only seeing about folders because “set_perm_recursive” is a command that sets permission to folders
next 0755 it means rwxr-xr-x permission has been given to system folder and rw-r-r is set for all folders inside system folder
set_perm – This command sets permission for a specific file
Example - set_perm(1000, 1000, 0640, “/system/etc/bluetooth/auto_pairing.conf”);
here the 1000 refers to user id system and 0640 is rw-r—–
and this command sets the permission rw-r—– for the file auto_pairing.conf
unmount – This command unmounts the partition
Example - unmount(“/system”); – unmounts system
General rule in updater-script – all commands should end with semi colon ; otherwise it will show error and if cwm or twrp shows status 7 error the error is in updater-script:laugh:
try fixing it by going through this thread
Use zipme app from Playstore to Make .Zip Flashable Files....
----------Signature---------
Need Some Cool Guides Visit Hmpshah Guides
Zeuscluts said:
Use zipme app from Playstore to Make .Zip Flashable Files....
----------Signature---------
Need Some Cool Guides Visit Hmpshah Guides
Click to expand...
Click to collapse
i use kitchen always
anyways thanks for the info :good:
and do you know any app to decompile in phone like apk multitool in pc?
Renaming is the Option
pradeepxtremehacker said:
i use kitchen always
anyways thanks for the info :good:
and do you know any app to decompile in phone like apk multitool in pc?
Click to expand...
Click to collapse
Bro its not possible,
but if you rename the .apk to .zip
you can decompile it,
but you need a PC to recompile.
Eg
sms.apk to sms.zip
then just Unzip sms.zip
you can get the Details.
Zeuscluts said:
Bro its not possible,
but if you rename the .apk to .zip
you can decompile it,
but you need a PC to recompile.
Eg
sms.apk to sms.zip
then just Unzip sms.zip
you can get the Details.
Click to expand...
Click to collapse
bro i think you are saying like extract
in fact we no need even to rename to extract we can directly extract with es file explorer from .apk but when we extract the xml will not be editable it will show like boxes
i am asking like a app like apk multi tool
No not Possible in Mobile.
Yet
Hope anyone Make this Possible In Future.
:Fingercrossed:
Let's Hope for the Better. ..
----------Signature---------
Need Some Cool Guides Visit Hmpshah Guides
OK thanks
Sent from my GT-I9070 using xda app-developers app
I have a question, i and my friend both port the rom for HTC One International to HTC One J (the japan variant of HTC One) and we edit the updater-script the same way but then my friend's rom can be flashed without any error and my, it's stuck at format step, the log file say:
Code:
format() expects 4 args, got 5
format() expects 4 args, got 5
here is the command line that was corrupted:
HTML:
format("ext4", "EMMC", "/dev/block/mmcblk0p38", "0", "/system")
my friend use the same and he has no error @@
Can you tell me why i can't make the rom to be able to flashed
Very helpful... Thanks.
KuroKeita said:
I have a question, i and my friend both port the rom for HTC One International to HTC One J (the japan variant of HTC One) and we edit the updater-script the same way but then my friend's rom can be flashed without any error and my, it's stuck at format step, the log file say:
Code:
format() expects 4 args, got 5
format() expects 4 args, got 5
here is the command line that was corrupted:
HTML:
format("ext4", "EMMC", "/dev/block/mmcblk0p38", "0", "/system")
my friend use the same and he has no error @@
Can you tell me why i can't make the rom to be able to flashed
Click to expand...
Click to collapse
The format command depends on the update-binary you are using. If you use the one your friend is using it will probably work with the existing command. If you would like to keep using your existing update-binary, change the above line to
Code:
format("ext4", "EMMC", "/dev/block/mmcblk0p38");
SuperR. said:
The format command depends on the update-binary you are using. If you use the one your friend is using it will probably work with the existing command. If you would like to keep using your existing update-binary, change the above line to
Code:
format("ext4", "EMMC", "/dev/block/mmcblk0p38");
Click to expand...
Click to collapse
Yeah, i changed to that and the rom was flashed properly, thanks guys
Sent from my HTC J One using Tapatalk
Zeuscluts said:
No not Possible in Mobile.
Yet
Hope anyone Make this Possible In Future.
:Fingercrossed:
Let's Hope for the Better. ..
----------Signature---------
Need Some Cool Guides Visit Hmpshah Guides
Click to expand...
Click to collapse
Yes I think so. Even Stericson's NinjaMorph can't do it.
Hello. I am making a flashable zip that flashes a modified build.prop. i dont know much about how to do it. the screenshot attached below, shows the code i already have. All i want is an updater script that will delete the build.prop and replace it with the modified one.
[HELP] generic updater script
I do have a "strange" question: is possible to update (overwrite) just specific files/dir ?
This could allow to make "generic" roms for a whole class of devices (for example all MT65xx).
Thanks in advice for any suggestion you can provide.
How to delete files in order to replace them with new ones? You didn't specify any commands for that one.
Sent from my Nokia_XL
I need help porting a ROM that always gives me status 7 and error setting permissions.
I think it is having problems identifying my device and I might've erased the get_prop commands.
Any help?
thank you
Hey. was wondering if you had any idea what im doind wrong by this log:
AROMA INSTALLER version 2.70B6
(c) 2013 by amarullz xda-developers
ROM Name : Project Unity
ROM Version : Google Apps
ROM Author : LiquidSmokeX64
Device : Any Device
Start at : Sat Aug 9 19:34:06 2014
Installing Google Core Apps
Mounting system...
Copying files...
Extract: /system/app/GoogleContactsSyncAdapter.apk
Extract: /system/etc/permissions/com.google.android.ble.xml
Extract: /system/etc/permissions/com.google.android.camera2.xml
Extract: /system/etc/permissions/com.google.android.maps.xml
Extract: /system/etc/permissions/com.google.android.media.effects.xml
Extract: /system/etc/permissions/com.google.widevine.software.drm.xml
Extract: /system/etc/permissions/features.xml
Extract: /system/etc/preferred-apps/google.xml
Extract: /system/framework/com.google.android.ble.jar
Extract: /system/framework/com.google.android.camera2.jar
Extract: /system/framework/com.google.android.maps.jar
Extract: /system/framework/com.google.android.media.effects.jar
Extract: /system/framework/com.google.widevine.software.drm.jar
Extract: /system/lib/libAppDataSearch.so
Extract: /system/lib/libconscrypt_gmscore_jni.so
Extract: /system/lib/libgames_rtmp_jni.so
Extract: /system/lib/libgcastv2_base.so
Extract: /system/lib/libgcastv2_support.so
Extract: /system/lib/libgmscore.so
Extract: /system/lib/libgoogle_hotword_jni.so
Extract: /system/lib/libgoogle_recognizer_jni_l.so
Extract: /system/lib/libjgcastservice.so
Fixing Permissions...
Installing Google Chrome
package_extract_file: can't open /system/app/Chrome.apk for write: Read-only file system
package_extract_file: can't open /system/lib/libchrome.1985.128.so for write: Read-only file system
Installing Cloud Print
package_extract_file: can't open /system/app/CloudPrint.apk for write: Read-only file system
Installing Google Play Music
package_extract_file: can't open /system/app/Music2.apk for write: Read-only file system
Installing Gmail
package_extract_file: can't open /system/app/Gmail.apk for write: Read-only file system
Installing YouTube
package_extract_file: can't open /system/app/YouTube.apk for write: Read-only file system
package_extract_file: can't open /system/lib/libm2ts_player.so for write: Read-only file system
Fixing permissions again...
Finished
script result was [@Finished]
Installer Sucessfull (Status 0)
End at : Sat Aug 9 19:34:06 2014
Problems with script
Greetings, I am new to the forum and have a question, I use a program to change my boot image, this generates me an update.zip and works perfect, but using as a basis the same script and copy any file to the same path, the script does nothing at all.
this is the script that changes the boot image
ui_print("Flashing logo...");
show_progress(0.200000, 0);
package_extract_file("logo.bin", "/dev/logo");
ui_print("Patched!");
ui_print("");
ui_print("Now you can reboot your phone");
Click to expand...
Click to collapse
and this is my script
ui_print("Flashing logo...");
show_progress(0.200000, 0);
package_extract_file("test.txt", "/dev/test.txt");
ui_print("Patched!");
ui_print("");
ui_print("Now you can reboot your phone");
Click to expand...
Click to collapse
i don't see what the problem is, any ideas?
Gorgonitte said:
Greetings, I am new to the forum and have a question, I use a program to change my boot image, this generates me an update.zip and works perfect, but using as a basis the same script and copy any file to the same path, the script does nothing at all.
this is the script that changes the boot image
and this is my script
i don't see what the problem is, any ideas?
Click to expand...
Click to collapse
if understood correctly, your script should extract to /tmp/scriptname.sh or /temp/scriptname.sh
after which your updater script in you meta-inf/com/google/android directory of your update.zip
need to include instruction to set permission and execute the script that actually performs the function.
m

[MOD][ATT][4.4] Remove unsafe volume warning

I did this for myself, and thought I would share. I got tired of the "Raise volume above safe level?" warning, and I removed it. I like to learn, so rather than use the existing xposed framework mod, I built a flashable zip to make the change via framework-res.apk.
WARNING: I AM NOT RESPONSIBLE IF YOU MESS UP YOUR PHONE
Prerequisite:
ATT Moto X running stock official 4.4 kitkat (140.44.5)
TWRP or CWM (safestrap for those who don't have an unlocked bootloader, thanks Hashcode)
backup all of your data in case something goes horribly wrong
Instructions:
using your choice of file manager, backup /system/framework/framework-res.apk
Download or copy flashable zip (below) to sdcard
Reboot to [safestrap] TWRP recovery
flash zip file
Below are the 'broad strokes' of how I did this in linux: (Each of these steps below require various skills, and my intent is not to do too much 'hand holding.')
DUMP AND DECOMPILE framework-res.apk
make sure java 7 is installed
download/extract apktool_2.0.0b7.jar (thanks brut.all)
move /system/framework/framework-res.apk to apktool directory
install framework: java -jar apktool_2.0.0b7.jar if framework-res.apk
dump framework-res.apk: java -jar apktool_2.0.0b7.jar d framework-res.apk
--
CHANGE SETTING IN TWO FILES:
edit this file: framework-res/res/values/bools.xml
search for the line with this info: config_safe_media_volume_enabled
change the value to: false
repeat with framework-res/res/values-mcc310/bools.xml
--
DELETE DIRECTORY STRUCTURE (not sure why framework wouldn't compile with this, but it is unused on AT&T phones)
delete this directory: framework-res/values-mcc310-1
--
RECOMPILE AND COPY EXISTING SIGNATURE:
recompile: java -jar apktool_2.0.0b7.jar b framework-res -o framework-res-new.apk
move META-INF structure from inside the original framework-res.apk to the new framework-res-new.apk (I used 7z)
--
ZIPALIGN NEW FILE:
zipalign -f -v 4 framework-res-new.apk framework-res.apk
--
CREATE FLASHABLE ZIP WITH NEW framework-res.apk
you can use mine as a template and just replace my framework-res.apk under /system/framework
TWRP/CWM flashable zip: http://www.androidfilehost.com/?fid=23252070760973197
(Replaces /system/framework/framework-res.apk with my modified version.)
Trying this now on my Rogers ATT KK based Moto X. Ill update soon.
Updated script brakes at device check.
Sent from my XT1058 using XDA Premium 4 mobile app
slimdizzy said:
Updated script brakes at device check.
Sent from my XT1058 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Do you mean the updater-script in the flashable zip? If so, you can modify those checks for your phone if you can see the error. I used twrp->advanced->copy logs to /sdcard to see the error messages.
Ctrl-Freak said:
Do you mean the updater-script in the flashable zip? If so, you can modify those checks for your phone if you can see the error. I used twrp->advanced->copy logs to /sdcard to see the error messages.
Click to expand...
Click to collapse
Will do. Ill post shortly.
Update:
Installing '/sdcard/motox-att-140.44.5-framework-res-1.zip'...
Checking for MD5 file...
I:Cannot find file /sdcard/motox-att-140.44.5-framework-res-1.zip.md5
Skipping MD5 check: no MD5 file found.
I:Zip does not contain SELinux file_contexts file in its root.
script aborted: This package is for "ghost" devices; this is a "xt1060".
This package is for "ghost" devices; this is a "xt1060".
E:Error executing updater binary in zip '/sdcard/motox-att-140.44.5-framework-res-1.zip'
My build.prop shows 1058 for the record.
slimdizzy said:
Will do. Ill post shortly.
Update:
Installing '/sdcard/motox-att-140.44.5-framework-res-1.zip'...
Checking for MD5 file...
I:Cannot find file /sdcard/motox-att-140.44.5-framework-res-1.zip.md5
Skipping MD5 check: no MD5 file found.
I:Zip does not contain SELinux file_contexts file in its root.
script aborted: This package is for "ghost" devices; this is a "xt1060".
This package is for "ghost" devices; this is a "xt1060".
E:Error executing updater binary in zip '/sdcard/motox-att-140.44.5-framework-res-1.zip'
My build.prop shows 1058 for the record.
Click to expand...
Click to collapse
Did you build this from your Rogers framework? (If not, keep in mind my framework-res if from an AT&T phone. I have no idea if there are any differences.)
To continue, you can edit the updater-script and make the change from "ghost to "xt1060".
I have a rogers phone but ATT firmware. This is just what happens when I flash your zip. Your updated script asks for a 1058, which is my model but breaks and says my device is a 1060. That is nowhere in my prop. This should flash no problem and it doesn't. I even tried to manually overwrite using root explorer and my phone wouldn't boot after. I replaced original file and all is well.
Sent from my XT1058 using XDA Premium 4 mobile app
Thanks, this worked like a charm for my Moto G.
I used Advanced ApkTool v2.0.0 to decompile 'framework-res.apk',
I used Notepad++ to set all 'config_safe_media_volume_enabled' entries to false,
After the recompilation, I extracted the content of the original 'framework-res.apk' with 7-zip, and just replaced 'resources.arsc' with the modified one. (can be found in the '\build\apk' directory)
Recompressed again with 7-zip (compression level: store) and used adb to replace the file:
adb push framework-res.apk /sdcard/Download/framework-res.apk
adb shell
Code:
su
mount -o remount,rw -t ext4 /dev/block/platform/msm_sdcc.1/by-name/system /system
mv /system/framework/framework-res.apk /system/framework/framework-res.apk.bak
cat /sdcard/Download/framework-res.apk > /system/framework/framework-res.apk
chmod 644 /system/framework/framework-res.apk
sync
reboot

[SOLVED]Need file System/bin/debuggerd for 4.4.2 update

i need this file System/bin/debuggerd from the 4.4.1, i tried using the krt16m stock image, used this to extract it and get the debuggerd file, used es file explorer and even total commander to replace it, change its permissions to chmod 755 and root shell, but this ota just doesn't install, in twrp still getting error debuggerd file problem, i use stick mount and i dont know why but i deleted the debuggerd.backup file:crying::crying::crying:
Update: I used this which I extracted from 4.4.2 odexed rom from here, I can confirm it is working, just check the sha1sum which should be 1A008709F0945E8EACA2166D143622EB8D94C3D0
Also i used adb commands to push the file from here
Hi,
If that helps: https://www.dropbox.com/s/eu2x01fkr11x9rh/debuggerd.
Don't forget to set the correct permissions, like this:
viking37 said:
Hi,
If that helps: https://www.dropbox.com/s/eu2x01fkr11x9rh/debuggerd.
Don't forget to set the correct permissions, like this:
Click to expand...
Click to collapse
Thanks a lot for the quick reply, it still doesnt work, i dont freaking undrerstand what the problem is, i double checked the md5 checksum through adb command even of the file, it matched but it the ota still shows
"system/bin/debuggerd" has unexpected contents.
E:Error in /tmp/update.zip
(status 7)
Installation aborted
imrock said:
i need this file System/bin/debuggerd from the 4.4.1, i tried using the krt16m stock image, used this to extract it and get the debuggerd file, used es file explorer and even total commander to replace it, change its permissions to chmod 755 and root shell, but this ota just doesn't install, in twrp still getting error debuggerd file problem, i use stick mount and i dont know why but i deleted the debuggerd.backup file:crying::crying::crying:
Update: I used this which I extracted from 4.4.2 odexed rom from here, I can confirm it is working, just check the sha1sum which should be 1A008709F0945E8EACA2166D143622EB8D94C3D0
Also i used adb commands to push the file from here
Click to expand...
Click to collapse
Thank you, it works! Although I had the debuggerd.backup file, renamed it to debuggerd and still failed. But with your file, I upgrade to 4.4.2 successfully. BTW, I use Root Explorer to change the right.

HTC Sensation: Can't install zip from SD card & WiFi "Error" stopped working.

HTC Sensation: Can't install zip from SD card & WiFi "Error" stopped working.
Hello
I recently rooted my HTC Sensation (Pyramid) Z710e using KINGORoot and it was a successful root, unlocked bootlader and got SuperUser.
Security is still on (S-ON) as I don't need or wish to turn this off.
I have tried using CWM recovery 5.8.0.9 but flashing the ROM which was MADE for the Pyramid failed, then I tried using TWRP 2.1.0 but I got the same result, and then I also tried CWM recovery 5.0.2.0 but still the same result (error below).
The problem: When I try flashing a new custom ROM after doing data wipe, cache wipe and dalvik cache wipe it gives me the following error message:
' E: Error in /sdcard/'zipname'.zip
(Status 0 )
Installation Aborted. '
All recoveries downloaded were specific to my phone (obvoiusly) so all were named with Pyramid in them (ex. "twrp-pyramid-2.1.0.img") and so were the custom ROMs, specific to the sensation.
I read something about changing the META-INF File from the new ROM zip to a working META-INF file for the Pyramid but when I tried this it didn't work either, got me an error Status 1 message if I remember correctly.
I'm currently running a downloaded zip of ICS (Ice Cream Sandwich) Android 4.0.3 which is like the OS I had before I formatted everything except SD Card. However my WiFi isn't working anymore since I flashed this downloaded ICS zip and what I mean by not working I mean that when you flip the switch to turn WiFi on it flips to On and then to Off again immediately, and in the settings menu it says there's an Error, but that's it. I tried using the Wifix manager app with the code but that didn't work at all.
Any help is greatly appreciated as to what I can do regarding why I can't install a zip successfully from recovery or as to how I can fix my WiFi problem on my Sensation.
Thanks
Hello
Please wait for the moderation team to move this thread to relevant section.
Do register an account on xda for better access and privileges.
Have a good day !
Flash the boot.img of the rom via fastboot command
The command is fastboot flash boot boot.img
And I suggest to use 4ext recovery since you are on S-ON
Still not working :/
Thank you for the reply
Ok I did what you said, I'm currently trying to get the new latest version of CM12 - Lollipop for my sensation.
And yes I'm using 4ext recovery aswell.
I flashed the boot.img file in my phone and it was a success, however after wiping cache, davlik, and data and formatting all partitions except sd card I go to flash the CM12 ROM but it's giving me a status 0 error again.
Am I missing something?
Here is the log of when I try installing the CM12 zip
"
Installing: /sdcard/cm-12-20150203-UNOFFICIAL-pyramid.zip
Finding update package...
I:Update location: /sdcard/cm-12-20150203-UNOFFICIAL-pyramid.zip
Opening update package...
Installing update...
Warning: No file_contextsminzip: Extracted 3 file(s)
about to run program [/tmp/install/bin/backuptool.sh] with 2 args
grep: /system/build.prop: No such file or directory
Not backing up files from incompatible version: 12
run_program: child exited with status 127
about to run program [/tmp/install/bin/otasigcheck.sh] with 1 args
about to run program [/tmp/install/bin/backuptool.sh] with 2 args
grep: /system/build.prop: No such file or directory
Not backing up files from incompatible version: 12
could not detect filesystem for /dev/block/platform/msm_sdcc.1/by-name/system, assuming ext4
mount: failed to mount /dev/block/platform/msm_sdcc.1/by-name/system at /system: No such file or directory
unmount of /system failed; no such volume
could not detect filesystem for /dev/block/platform/msm_sdcc.1/by-name/userdata, assuming ext4
mount: failed to mount /dev/block/platform/msm_sdcc.1/by-name/userdata at /data: No such file or directory
unmount of /data failed; no such volume
could not detect filesystem for /dev/block/platform/msm_sdcc.1/by-name/system, assuming ext4
mount: failed to mount /dev/block/platform/msm_sdcc.1/by-name/system at /system: No such file or directory
E:Error in /sdcard/cm-12-20150203-UNOFFICIAL-pyramid.zip
(Status 0)
Installation aborted.
"
Thanks
Spitfire98 said:
Thank you for the reply
Ok I did what you said, I'm currently trying to get the new latest version of CM12 - Lollipop for my sensation.
And yes I'm using 4ext recovery aswell.
I flashed the boot.img file in my phone and it was a success, however after wiping cache, davlik, and data and formatting all partitions except sd card I go to flash the CM12 ROM but it's giving me a status 0 error again.
Am I missing something?
Here is the log of when I try installing the CM12 zip
"
Installing: /sdcard/cm-12-20150203-UNOFFICIAL-pyramid.zip
Finding update package...
I:Update location: /sdcard/cm-12-20150203-UNOFFICIAL-pyramid.zip
Opening update package...
Installing update...
Warning: No file_contextsminzip: Extracted 3 file(s)
about to run program [/tmp/install/bin/backuptool.sh] with 2 args
grep: /system/build.prop: No such file or directory
Not backing up files from incompatible version: 12
run_program: child exited with status 127
about to run program [/tmp/install/bin/otasigcheck.sh] with 1 args
about to run program [/tmp/install/bin/backuptool.sh] with 2 args
grep: /system/build.prop: No such file or directory
Not backing up files from incompatible version: 12
could not detect filesystem for /dev/block/platform/msm_sdcc.1/by-name/system, assuming ext4
mount: failed to mount /dev/block/platform/msm_sdcc.1/by-name/system at /system: No such file or directory
unmount of /system failed; no such volume
could not detect filesystem for /dev/block/platform/msm_sdcc.1/by-name/userdata, assuming ext4
mount: failed to mount /dev/block/platform/msm_sdcc.1/by-name/userdata at /data: No such file or directory
unmount of /data failed; no such volume
could not detect filesystem for /dev/block/platform/msm_sdcc.1/by-name/system, assuming ext4
mount: failed to mount /dev/block/platform/msm_sdcc.1/by-name/system at /system: No such file or directory
E:Error in /sdcard/cm-12-20150203-UNOFFICIAL-pyramid.zip
(Status 0)
Installation aborted.
"
Thanks
Click to expand...
Click to collapse
did you flash the latest version of 4ext recovery?
if not take it from here
http://d-h.st/rG7
extract the recovery.img and flash it via fastboot command
Spitfire98 said:
Thank you for the reply
Ok I did what you said, I'm currently trying to get the new latest version of CM12 - Lollipop for my sensation.
And yes I'm using 4ext recovery aswell.
[]
E:Error in /sdcard/cm-12-20150203-UNOFFICIAL-pyramid.zip
(Status 0)
Installation aborted.
Click to expand...
Click to collapse
1.) Make sure you have at least 4ext recovery v1.0.0.6 RC2 in order to install new ROMs. Otherwise you will very likely get a status 0 error with most ROMs.
2.) I suggest to use CM11 as a daily driver, Lollipop so far has not been stable enough on the Sensation, I had different kinds of problems. Still seems to be a bit experimental to me.
WiFi + ROM (status 0) ~ Problem SOLVED!
Okay, first of all, a huge thanks to everyone that replied and took the time to help me with my problem!
The WiFi problem occurred because I had the incorrect ROM Build name even though it was like the old untampered Ice Cream Sandwich (my stock O.T.A.update ICS was 3.32.x and the one I had downloaded and flashed myself was a stock ICS to bring back my phone's old OS but it was 3.33.x).
The problem of the status 0 error was that at first I was forgetting to flash the Boot.img file in the phone, but then it was because I had version 1.0.0.5 of 4ext recovery not 1.0.0.6 (the latest) as you guys suggested. I can't believe it was that simple but it's solved atleast now and I am infact currently running the latest CM12 Lollipop on my Sensation which looks amazing but since its still unofficial it has a few small bugs.
Once again Thanks all
Happy Devving!

Categories

Resources