E:Can't chown/mod/mod /system/ - Nexus One General

wasn't sure where to post this since i wasn't getting any responses in the Q&A section but i keep getting this error
E:Can't chown/mod/mod /system/
(No such file or directory)
E:Failure at line 343:
set_perm_recursive 0 0 0755 0644 SYSTEM:
Installation aborted.
is my system memory full? Is this fixable? I'm unable to flash almost any rom with the exception of cyanogen nightlies and Leofroyo Beta3. Is this because these betas and nightlies write files that aren't written by finished roms? Thanks.

Did you wipe first?

evilkorn said:
Did you wipe first?
Click to expand...
Click to collapse
Yes i did.

What recovery are you using? If you aren't using Amon_ra's try that.

I'm on Ra's. I found these threads if it helps
http://forum.xda-developers.com/showthread.php?t=530900
http://forum.xda-developers.com/showthread.php?t=527598

Anybody? Seems like maybe i partially lost root access? Would a re-root help?

Same probem here
Same problem here I have a Droid X2 with 2.3.4 and am able to root use OTA ES File and can write to /system from ES File Explorer. But when I go to upload ROM o it I get the same error. I already tried 3 different ROMs all with same perms error. What's Up?
---------- Post added at 12:34 AM ---------- Previous post was at 12:08 AM ----------
I found out my issue was that I had a backup of su using the OTA Rootkeeper. I deleted the su backup and then the ROM install worked perfect.

Related

unable to install OTA2 WE

I'm not able to install the new OTA2. A factory reset didn't fix it. I read the CWM DEV thread and updated my "old" CWM to the newest version for my Tablet (ventana64_recovery.img) (WE)
Trying to install the new OTA2 update it stops and Trying to install the OTA via the CWM i got although an Error (like before):
Installing update...
assert failed: getprop("ro.product.device") == "Indigo" || getprop("ro.build.product") == "Indigo"
E:Error in /sdcard/ThinkPatTablet_A310_02_0039_0086_WE.zip
(Status 7)
Installation aborted.
I read in an other Forum that perhaps the CWM and Voodoo RootKeeper in combination could cause some Problem, but I have no idea to solve it.
Is there a way to uninstall the CWM, install the OTA and reinstall the CWM ?
Did someone managed to install the OTA2 with CWM installed
Thanks
Antiheld
i had the same problem. solved it by restoring the original Recovery.
- you have to have superuser rights
- you should have a backup of the stock recovery in /system named recovery-from-boot.p
- put the file from the zip to /system/etc and do the following via adb:
Code:
$ su
# dd if=/system/recovery-from-boot.p of=/dev/block/mmcblk0p1
- do a reboot and try to install the OTA2 update.
for me it worked like a charm. hope for you too.
That didn't work for me. Now I can't get into Recovery-Mode. Can someone post the stock recovery?
which tablet version do you have? i can only give you the 16 gb Wifi only version. didn't you check to have /system/recovery-from-boot.p file? maybe it is called different at your tablet?
edit: attached stock recovery for 16gb wifi only model.
Yeah I tried it. I copied your command. I have the 64GB 3G model. The file /system/recovery-from-boot.p is only 343918 bytes big. Is this alright?
I tried Quick Reboot App and the Volume-Toggle, which always worked for me. Couldn't get into recovery.
Could it be the install-recovery is the wrong one? (I really should make backups before doing stuff like install CWR )
EDIT: I checked the new OTA-zip. There is a new recovery-image and a new install-recovery.sh in there. I think I'll try these? Or do you think it's a bad idea?
the file in /system should be all right. When you fully copied my commands then you should know that the $ and the # are already in your window.
but if you have some new files take them and do the following (now you really can copy the commands )!
-put your 2 files to the destinated place and hit the following code into your command tool :
Code:
adb shell
su
dd if=/system/recovery-from-boot.p of=/dev/block/mmcblk0p1
Hi,
I have the same problem as Noneus. After done your step, now I cannot get in to recovery mode anymore. I tried both, copy your file even copy from now OTA.zip to the destination. Anyway to solve it?
---------- Post added at 02:12 PM ---------- Previous post was at 02:03 PM ----------
OK now I'd managed to get back to CWR following this thread again http: //santafemods.com/Forum/ThinkpadForums/CWR_Port/C-TPT%20CWR%20port%20setup .pdf. But still stuck, cannot update new OTA2.5.

Restoring Stock Recovery

With the new OTA being released many are asking how to restore stock recovery. I think that the original /system/etc/install-recovery.sh file is required, unfortunately I did not make a backup. Does anyone have a copy of the original version of this file? Please post it here if you have it and anyone who knows how to restore stock recovery please post any helpful instructions here. If I get the file and proper instructions I will update the OP accordingly. Thanks.
I made a backup but have no idea how to extract that file.
You have to write which TPT you have.
US or....?
16, 32 or 64GB?
toenail_flicker said:
I made a backup but have no idea how to extract that file.
Click to expand...
Click to collapse
What did you backup with? If you backed it up after installing CWM then it was probably already gone (which is why I don't have it).
In the ROW instructions they cleverly added this line to the install instructions:
cp /system/etc/install-recovery.sh /system/etc/install-recovery.sh.backup
which creates a backup of the file in /system/etc/
If you did this then you should be able to copy the file install-recovery.sh.backup from /system/etc/ using root explorer or adb.
I have the US 32GB version, I'm not sure if the files are the same but I would guess that they are. Anyway if you can get the file that would be great.
I have 183827U 64GB. Yes, I made a Nandroid backup after installing CMW. I also have Titanium and MyBackup saves, but have no idea if they save the file. I'll go looking for it with RE and let you know what I find.
---------- Post added at 01:47 PM ---------- Previous post was at 01:41 PM ----------
Seems I have install-recovery.sh but the date is recent, so I guess it's from when I rooted. No backup of the same name.
Mine is:
#!/system/bin/sh
if ! applypatch -c EMMC:/dev/block/mmcblk0p1:2048:0a48c18ee1ca32bba5a785d8ea8b6976fc0a190e; then
log -t recovery "Installing new recovery image"
applypatch EMMC:/dev/block/mmcblk0p2:3170304:fa229b8ff37128302094316ea4ced3d68ad5edcf EMMC:/dev/block/mmcblk0p1 53a249cd150c483f9255eba03adccdf6e7c014a6 3524608 fa229b8ff37128302094316ea4ced3d68ad5edcf:/system/recovery-from-boot.p
else
log -t recovery "Recovery image already installed"
fi
WE-TPT-64GB

Stock Netflix.apk needed

I'm trying to upgrade my rooted TF101 to 9.2.1.11 and every zipI use complains on an assert failure for /system/app/Netflix.apk. Oddly, I can't get Ti backup to restore it, so I tried downloading it and putting it in that directory. This doesn't work. Does anyone have the stock Netflix.apk they can post so I can move past this? thx!!
Here ya go!
Title says it all.
Thanks! But no cigar!
I tried that, but it gives me the following error when I attempt to apply the zip from the sd card:
ClockworkMod Recovery v3.2.0.1 roach2010-tf101-r1
-- Installing: /sdcard/ics-us-8.6.5.21-to-9.2.1.11-CWM-rooted.zip
Finding update package...
Opening update package...
Installing update...
Verifying current system...
assert failed: apply_patch_check("/system/app/Netflix.apk", "459b736ea95188dd3500005f621b4fa22291c40c", "58c70e894dfc98166d16c64cb9555a7e83ceb7e4")
E:Error in /sdcard/ics-us-8.6.5.21-to-9.2.1.11-CWM-rooted.zip
(Status 7)
Installation aborted.
Click to expand...
Click to collapse
Any suggestions out there in the development community? I didn't think that uninstalling Netflix would cause such a hassle later on. Is there a different version of the .apk I can try? Or a different way of installing it (I just copied it over after remounting /system/app as rw).
Alternatively, can I unroot, then download the update, then re-root? Anybody have any practice with that, or will the Netflix.apk package.
Thank you! Have a nice day (or evening).
crinis said:
I tried that, but it gives me the following error when I attempt to apply the zip from the sd card:
Any suggestions out there in the development community? I didn't think that uninstalling Netflix would cause such a hassle later on. Is there a different version of the .apk I can try? Or a different way of installing it (I just copied it over after remounting /system/app as rw).
Alternatively, can I unroot, then download the update, then re-root? Anybody have any practice with that, or will the Netflix.apk package.
Thank you! Have a nice day (or evening).
Click to expand...
Click to collapse
That wasn't a zip file, it was an apk. And you don't flash those in recovery. Just put it in /data/app directory, then restart the tablet. Or you can try to execute it, and it will automatically install to the appropriate folder.
I solved it!
Yes, I just copied it over using scp (after remounting /system as rw). I'm no noob!
Here's what I did to get it to work.
I unzipped the rooted zip file, edited the updater-script to remove references to Netflix.apk (three of them), then rezipped it up, copied it to the sdcard , rebooted to recovery, then flashed it. Worked! Here's the exact steps took:
On my linux latop:
mkdir /tmp/ics-us-8.6.5.21-to-9.2.1.11-CWM-rooted
cd /tmp/ics-us-8.6.5.21-to-9.2.1.11-CWM-rooted
unzip ~/Download//tmp/ics-us-8.6.5.21-to-9.2.1.11-CWM-rooted.zip
vi ./META-INF/com/google/android/updater-script
# /Netflix\.apk finds the lines, I deleted two, and modified the third to remove the reference.
zip -r /tmp/ics-us-8.6.5.21-to-9.2.1.11-CWM-rooted.zip *
scp /tmp/ics-us-8.6.5.21-to-9.2.1.11-CWM-rooted [email protected]:/Removable/MicroSD
Click to expand...
Click to collapse
From there it's all Clockwork.
Thanks so much for the help of this forum. I love xda developers!

Error while installing sqlite3

Hey guys, i am trying to install sqlite3 using sqlite3 installer for root (available on play store) to get the preferred network on GSM instead of WCDMA but i'm getting this error: "Error in install process: /system/xbin/sqlite3: open failed: EROFS (Read-only file system)" although i've granted root permissions to the app. Any ideas?
Latest sqlite3-3.7.16
Use the attached sqlite3...extract & copy it to the /system/xbin folder...give execute permissions and it should work...
Just tested today with my Nexus 4 to read out whatsapp notification message contents via tasker...
blsrbl said:
Hey guys, i am trying to install sqlite3 using sqlite3 installer for root (available on play store) to get the preferred network on GSM instead of WCDMA but i'm getting this error: "Error in install process: /system/xbin/sqlite3: open failed: EROFS (Read-only file system)" although i've granted root permissions to the app. Any ideas?
Click to expand...
Click to collapse
cod3warrior said:
Use the attached sqlite3...extract & copy it to the /system/xbin folder...give execute permissions and it should work...
Just tested today with my Nexus 4 to read out whatsapp notification message contents via tasker...
Click to expand...
Click to collapse
Thanks bro. I'll try it when get back home.
Sent from my Nexus 4 using Tapatalk 4
cod3warrior said:
Use the attached sqlite3...extract & copy it to the /system/xbin folder...give execute permissions and it should work...
Just tested today with my Nexus 4 to read out whatsapp notification message contents via tasker...
Click to expand...
Click to collapse
Thanks. It worked. But unfortunately, i can't set the preferred network for some reason. Thanks for your help anyway :good:.
Hi, I am also trying to do this and get the error /system/xbin/sqlite3: open failed: EROFS (Read-only file system) when trying to install sqlite3 via the app SQLite Installer for Root. I just tried the method of manually putting the file in xbin but it told me it's read only.. My nexus 4 is rooted so any ideas why it isn't working? (I used to have it working before going to 4.3.3)
Mount the system as RW
lilfellabob said:
Hi, I am also trying to do this and get the error /system/xbin/sqlite3: open failed: EROFS (Read-only file system) when trying to install sqlite3 via the app SQLite Installer for Root. I just tried the method of manually putting the file in xbin but it told me it's read only.. My nexus 4 is rooted so any ideas why it isn't working? (I used to have it working before going to 4.3.3)
Click to expand...
Click to collapse
I think the system partition is in Read-Only mode. Mount the system in RW mode, move the sqlite3 binary and then do remember to remount in RO mode.
Sqlite3 is already attached in this XDA thread i guess. Try this set of instruction - http://stackoverflow.com/a/5022363
Happy Querying !!
Edit:
I think you should be pushing it in '/system/xbin', NOT '/system/bin' as mentioned in the above set of instruction
badhri said:
I think the system partition is in Read-Only mode. Mount the system in RW mode, move the sqlite3 binary and then do remember to remount in RO mode.
Sqlite3 is already attached in this XDA thread i guess. Try this set of instruction - http://stackoverflow.com/a/5022363
Happy Querying !!
Edit:
I think you should be pushing it in '/system/xbin', NOT '/system/bin' as mentioned in the above set of instruction
Click to expand...
Click to collapse
Thanks for the reply! I was hoping I could do this somehow without needing my computer (I tried using es file explorer). I don't particularly want to install the sdk - could I use a terminal app on the phone?
(Sorry for being a bit of a noob )
I haven't tried it.. But I think it should work.. Besides., you don't need to install the entire SDK.. You just have to have the adb exe..
Sent from my Nexus 4 using Tapatalk 4
cod3warrior said:
Use the attached sqlite3...extract & copy it to the /system/xbin folder...give execute permissions and it should work...
Just tested today with my Nexus 4 to read out whatsapp notification message contents via tasker...
Click to expand...
Click to collapse
Could you please list what the permissions are supposed to be?
thanks,
use file manager in super user mode
ap1618 said:
Could you please list what the permissions are supposed to be?
thanks,
Click to expand...
Click to collapse
See attached screenshots. I used X-plore.
binary not working
cod3warrior said:
Use the attached sqlite3...extract & copy it to the /system/xbin folder...give execute permissions and it should work...
Just tested today with my Nexus 4 to read out whatsapp notification message contents via tasker...
Click to expand...
Click to collapse
Well, this binary is no longer working..
I am using a Nexus 4, android 4.4.2, rooted, moved the binary to xbin, when I try to execute it, fails with below error:
Code:
CANNOT LINK EXECUTABLE: empty/missing DT_HASH in "sqlite3" (built with --hash-style=gnu?)
---------- Post added 16th December 2013 at 12:37 AM ---------- Previous post was 15th December 2013 at 11:39 PM ----------
Well, spent a lot of time browsing and searching for binaries, uploading them to phone, making system rw, moving, changing permissions and checking if working, and finally have found a binary that it working on my Nexus 4.. And it was on my phone already.. the one that gets downloaded from within romtoolbox is working great.. when root browser from rom toolbox is opened it asks to download some extra files, these include busybox, zip, unrar and sqlite3! Out of frustration I searched the entire phone for sqlite3 and found this.. :laugh:
tks very much!
cod3warrior said:
Use the attached sqlite3...extract & copy it to the /system/xbin folder...give execute permissions and it should work...
Just tested today with my Nexus 4 to read out whatsapp notification message contents via tasker...
Click to expand...
Click to collapse
tks very much!
I am the developer of the app. Please use : https://groups.google.com/forum/#!forum/sqlite-installer-for-root for further help. I do not look at these forums very often, but get replies on the group.

Workaround for the annoying "Parse error" apk

Hi guys,
Just got one of this cheap phones and after unlocking and rooting it (txs to PaulOBrien for that) I got the annoying:
Code:
Parse error
There was a problem while parsing the package
Tried a couple of things, reboots, settings, factory reset but nothing helped but found some easy workaround (Google Drive is not an option for me, not when I'm with no network)
Looks like all these problems are due some fancy security crap in new 4.2/.3 versions (never got it before in any of my previous devices)
Just move the APK to some other directory, adjust the permissions (need group read but just do 777) and install it from there.
"/mnt/obb" is a tmp dir, so anything there will disappear on the next book.
"/data/local/tmp" is what "adb install" uses so it is a good choice.
old post below
So for whoever still has the problem, go and try these steps:
1. Create a directory inside /mnt/obb/ (e.g: /mnt/obb/Apks)
Code:
d:\ADB>adb shell
[email protected]_umts:/ $ su
su
[email protected]_umts:/ # mount -o rw,remount /system
mount -o rw,remount /system
[email protected]_umts:/ # mkdir /mnt/obb/Apks
mkdir /mnt/obb/Apks
[email protected]_umts:/ # chmod 777 /mnt/obb/Apks
chmod 777 /mnt/obb/Apks
[email protected]_umts:/ # ls -la /mnt/obb
ls -la /mnt/obb
drwxrwxrwx root root 2023-12-09 18:46 Apks
[email protected]_umts:/ #
[email protected]_umts:/ # exit
exit
127|[email protected]_umts:/ $ exit
exit
d:\ADB>
2. Now, from whatever file browser you already have on your phone (I'm using Total Commander)
just copy the apk from your "sdcard" to the /mnt/obb/Apks directory
3. Adjust the permissions for the apk file (744 or rwxr--r--)
(I could added some pictures but I'm too lazy
Now it should allow you to install without the bloody error.
So to summarize the trick is to create a directory somewhere else and install the apk from there. It is not good as before, but at least I don't need an internet connection, just move the file, change permissions and install.
Will try to find out why the normal method fails (whenever I have some free time). Tthe way that is mounting the 'external' storage is causing this issue.
I guess in a couple of weeks we will get new builds or a original Motorola fix, but in the meantime this is good enough for me.
Note: /mnt/obb may go after a reboot so try to find a "permanent" one
You don't need adb to create the directory, you can do all these from the phone, just remember to adjust the permissons for the directory.
Another workaround is also to copy the apks to a usb stick and mount the usb stick with a otg cable.
Install then as usual the apks with a file explorer.
I tried that and it works fine!
Or you can just use Astro explorer. Works for me...
Enviado desde mi XT1032 mediante Tapatalk
DaRkToU said:
Or you can just use Astro explorer. Works for me...
Enviado desde mi XT1032 mediante Tapatalk
Click to expand...
Click to collapse
If you can install with Astro you can install with any other file manager, so unfortunately this does not apply to you
I does. I have the same problem, I was using Google drive but I tried with Astro and it works.
Sent from my Moto G
---------- Post added at 09:52 PM ---------- Previous post was at 09:37 PM ----------
Quick update, I've just tried on another phone and it didn't work...
Sent from my Moto G
DaRkToU said:
I does. I have the same problem, I was using Google drive but I tried with Astro and it works.
Sent from my Moto G
---------- Post added at 09:52 PM ---------- Previous post was at 09:37 PM ----------
Quick update, I've just tried on another phone and it didn't work...
Sent from my Moto G
Click to expand...
Click to collapse
The problem is with the permissions of the apk so the file manager should make no difference.
I did also tried with Astro before and got the same "Parse error", to me the only way to avoid it is use a external as vampy2k5 said, or a different directory in the file system.
solution
just upload the apk file to google drive and intall from there. works every time, no permissions mod no nothing
tampitzel said:
just upload the apk file to google drive and intall from there. works every time, no permissions mod no nothing
Click to expand...
Click to collapse
Good, can I apply your "solution" if I have no internet connection?
dubidu said:
Good, can I apply your "solution" if I have no internet connection?
Click to expand...
Click to collapse
i totally see how this could be a problem. i guess you're better off with moving the app in a folder with permissions set?
I dont think this belongs to "ANDROID DEVELOPEMENT" SECTION.. It would do good in General section..
Thread Reported !!
thank you,
Mr.Gm
Factory reset solved it for me
For me the "upload to google drive" thing doesn't work.
same here, im working on a custom version of the stock rom to try getting around it
crondom said:
For me the "upload to google drive" thing doesn't work.
Click to expand...
Click to collapse
Guys i've noticed that only certain apps doesn't work with google drive, others (majority of them) works.
crondom said:
Guys i've noticed that only certain apps doesn't work with google drive, others (majority of them) works.
Click to expand...
Click to collapse
Also, logging onto GDrive via ES Explorer, or whatever, won't work either
However, logging on directly using the G Drive App works OK, accessing and installing the same apk...weird.
I ve got this bug - Moto G 16 GB tesco
(As far as I remember retail germans got OTA with bugfix for this)
After factory resetting it 3 times and getting no joy, I did this and it worked:
Didn't backup settings, skipped wifi, skipped Google login, connected mobile to PC, transferred apk to mobile, logged into Play Store, downloaded a browser, opened and it worked.
No idea if I got lucky, or did something relevant, but it worked
Piaer said:
I ve got this bug - Moto G 16 GB tesco
(As far as I remember retail germans got OTA with bugfix for this)
Click to expand...
Click to collapse
I have a Tesco 16GB, have no problems with installing APPS placed in the internal storage, hard to explain why some are having problems.
ilike123 said:
I have a Tesco 16GB, have no problems with installing APPS placed in the internal storage, hard to explain why some are having problems.
Click to expand...
Click to collapse
This is the real workaround without needing to upload to GDrive.....
just copy or move the apk from /sdcard/xxx folder [wherever it is] to a folder in the system, like /data/any_temp_folder.
The apk will install normally then.....
irishpancake said:
This is the real workaround without needing to upload to GDrive.....
just copy or move the apk from /sdcard/xxx folder [wherever it is] to a folder in the system, like /data/any_temp_folder.
The apk will install normally then.....
Click to expand...
Click to collapse
I place the apk's in XT1032 > Internal storage, they install just fine from here, no need for any extra folders

Categories

Resources