[Q] Can't install rom's - Desire Q&A, Help & Troubleshooting

The only rom I can restore from backup or install from zip is CyanogenMod-6.1.
LeeDrOiD_V2.3b_A2SD - instals fine but freeze on boot
Today I tried to install Pays-Desire-Froyo-Sense_v2.2 and I got this:
E:Can't symlink /system/xbin/bb
E:Failure at line 43:
symlink /system/xbin SYSTEM:xbin/bb
Any other rom I try and I end up with this error:
E; can't chown/mod /system/bin (no such file or directory)
E:Failure at line 6: set_perm_recursive 0 2000 0755 0755 SYSTEM:xbin
Installation aborted.
AuraxTSense_8.2_Official_OTA_2.2_FRF91_A2SD+
pinky-desire-1.8_signed
r9-bravo-desire-modacocustomrom-withadditions-a2sd-signed
2.10.405.2-initd-rooted-stock-v2
Before I could install any rom I wanted until now and all was working fine. I must mess up something trying to create apps2ext.
I have tried:
different ROMS
wiping cache, dalvik, battery etc every time
formating SD
different SD
Fixing ext
Using ClockworkMod and RA-desire-v2.0.0 [GSM]
Run out of ideas now ...what else can I do ?

Well according to your sig you have N1 table, all the sense rom's won't fit on there. Don't know for the others but for leedroid you need the stock bravo layout (the rest probably needs the same).

Thanks. Sorted.

Related

[Q] Create update.zip for apps to data partition

I've succesfully created an update.zip to install apps to system/app, but can't create other one to install to data/app.
I've tried with this update-script:
show_progress 0.1 0
copy_dir PACKAGE:data DATA:
set_perm_recursive 0 0 0755 0644 DATA:app
show_progress 0.1 10
Click to expand...
Click to collapse
I don't know where is the problem.
Now i'm using 2.5.0.7 ClockworkMod recovery, AuraxTSense v8.0
My goal is to create an universal update.zip with some of my apps to use with different roms.
Edit:
It worked well after a fresh ROM install, but after the first boot can't apply the zip. Is it possible to make it work?

[SOLVED?] Busybox causes /system to be read-only?

First, my Euro Desire Z is S-Off (using the gfree method) and perm-rooted.
I was messing with installing some new keyboard layouts to the /system folder, when I found and installed busybox from the market to use its cp command...
Then I discovered I could no longer write to /system -- I could before busybox
I booted to recovery, installed my nandroid backup (taken before installing busybox), and I still can't get write access to /system
I did a factory wipe (still have S-Off) ran visionary to root and permroot ( I get the # prompt just fine) and still no write access to /system.
I restored my nandroid to get my apps back and still can't seem to get write access.
Any ideas
Hmm -- I just found and installed "mount /system" from the market and that did it -- I can now write to /system.
Not sure why it stopped working before... Busybox may have been a red herring.
I think it was just that you still had /system mounted as read-only, and that app just mounted it as read-write (i.e. "mount /system -o rw, remount" )
steviewevie said:
I think it was just that you still had /system mounted as read-only, and that app just mounted it as read-write (i.e. "mount /system -o rw, remount" )
Click to expand...
Click to collapse
Yeah -- I had it RW and something must have remounted it to RO --perhaps when I was doing an adb session...
Speaking of BusyBox -- whats the best version people are using for the DZ?

Adfree not working

It's more of a question as to how some ROMs get it working without S-OFF (such as MIUI). How is this achieved?
I've made my own ROM and it's all up and running nicely and AdFree installs/updates to /data by symlinking but ads still appear. Anyone have a solution as I don't really wanna S-OFF unless absolutely neccessary (nearly bricked my phone reverting to stock last time so cba to do it again)
And I've search 'adfree not working' and didn't get an answer for this query so don't flame me - if I'd found the answer this thread wouldn't exist. If there IS a thread detailing how to fix it then if you can direct me I'd appreciate it
OK, I'm a dumbass. Changed my search criteria and found the fix but no idea how to write it into the ROM (want everything in one ROM so don't have to flash multiple ZIPs). Anyone wanna give me a hand or is it as simple as adding it the update script?
I know there is an update.zip in the old cm6 nightly thread for setting up adfree. I think it just copied hosts to data then created the link. There's no reason why you can't add this to the end of the update.zip in your rom...but clearing data will probably break adfree so you may aswell make a second update.zip for adfree so you can flash it when you clear data.
Sent from my HTC Desire using XDA App
Use root tools to manage not to get ads from the integrated ad blocker.
Sent from my LeeDroided Desire HD
I've rooted (last night) on my Desire using unrevoked 3.21 - S-On still - installed AdFree and it didn't seem to do anything - still seem to be getting Ads - is this because I need to S-Off then or install a custom rom instead of the standard 2.29.405.5?
You either need S-OFF or use a ROM which includes the symlink from the /system/etc location to your SD card. I can't work out how to include it in a ROM myself but others have successfully
Can't you push the hosts file using ADB?
ok I thought as much from my googling...
is there a 'newbie's guide to S-Off' anywhere obvious?
Just started downloading the ISO from here: http://alpharev.nl/ just couldn't see any instructions...
cheers
EddyOS said:
You either need S-OFF or use a ROM which includes the symlink from the /system/etc location to your SD card. I can't work out how to include it in a ROM myself but others have successfully
Click to expand...
Click to collapse
just use this symlink in ur Rom script.
for old update-script...
Code:
symlink /data/data/hosts SYSTEM:etc/hosts
for new edify updater-script
Code:
symlink("/data/data/hosts", "/system/etc/hosts");
for manually...
Boot into recovery. mount sdcard, system n data then
cp /sdcard/hosts /data/data/hosts
rm /system/etc/hosts
ln -s /data/data/hosts /system/etc/hosts
but u need to have hosts file in ur sdcard for that...
symlink("/data/data/hosts", "/system/etc/hosts");
I did that the other way round - d'oh!!
This happens if I run a check on the update-script:
66/120: symlink /data/data/hosts SYSTEM:etc/hosts
>> WARNING: data/data/hosts not found in working folder
And then I get this if I do add it:
66/120: symlink /data/data/hosts SYSTEM:etc/hosts
>> ERROR: system/etc/hosts found in working folder
EDIT: Sorted, deleted from /system/etc
EddyOS said:
This happens if I run a check on the update-script:
66/120: symlink /data/data/hosts SYSTEM:etc/hosts
>> WARNING: data/data/hosts not found in working folder
And then I get this if I do add it:
66/120: symlink /data/data/hosts SYSTEM:etc/hosts
>> ERROR: system/etc/hosts found in working folder
EDIT: Sorted, deleted from /system/etc
Click to expand...
Click to collapse
No.No...
just remove hosts file from system/etc and place ur ad block hosts file in data/data folder thats all...n symlink it
Code:
symlink /data/data/hosts SYSTEM:etc/hosts
if u trying to run 9. check update-script for errors than u always getting this error...
Code:
66/120: symlink /data/data/hosts SYSTEM:etc/hosts
>> WARNING: data/data/hosts not found in working folder
forget it...

[Q] Need help deleting a directory

So here's the thing i've been exploring the possibilities of USBHost and decided to try an usb stick so i installed Paragon https://play.google.com/store/apps/details?id=com.paragon.mounter
It took me a while to get the hang of things. At first my usbstick was formatted in fat32. I specified in paragon i would like the default mount point to be USBStorage instead of /paragonNTFS. I made a small typo at first and named the folder usbStorage
now here comes the problem.
for some reason the app created 2 subfolders called sdb1 and sdb2 and i cannot remove them
Things i've tried:
cyanogenmod file manager in root access mode
-- delete directory > "This operation needs elevated permissions. Try switching to root access mode" (translated from dutch so wording may be a bit off
-- modifying permissions of folders > denied > changing permissions failed. for security reasons some filesystems, such as on sdcards do not allow changing permissions
Same problem for Astro file manager
Same problem when attaching the tablet to computer. parent directory (and sub dirs) get "removed" in windows but when checking the file system on the tablet, the opposite is true and the directories is still present
and now it's starting to piss me off. I want that folder "usbStorage" and it's subfolders "sdb1" and "sdb2" removed. so my guess is it'll have to be done by terminal commands but my terminal experience is ZERO.
in preperation of you guys helping me installed https://play.google.com/store/apps/details?id=jackpal.androidterm the same one used in cyanogenmod roms. I tried a bit of tinkering myself but prob doing something wrong
what i've tried (in sequence, --ok behind the command means it was succesfully executed)
su --ok
cd sdcard --ok
*rm -rf /usbStorage >> *rm: not found
rm -rf /usbstorage --ok, but folder was still present
rm -rf usbstorage --rm failed for usbStorage, Directory not empty
cd usbStorage --ok
rm -rf sdb1 --ok, rm failed for sdb1, Permission denied
at that point i gave up. I hope you guys can help me out
I do have paragon configured properly now and my USBstick in NTFS is getting recognised. Upon mounting of the usbstick, it now creates a folder called "USBStorage" where the contents of the usb stick is properly displayed.
so where are those android terminal / linux masters to help me out
only thing i can add is that when opening paragon with the stick attached but unmounted i do see a line above it /dev/block/sda1 but that doesn't seem to affect mounting in the specified directory
Bump, anyone? I want and need this folder removed
Verstuurd vanaf mijn Nexus 7 met Tapatalk
From my understanding of your post.
You are rooted and using cyanogenmod?
Did you try going into the app information and clear data?
In the app drawer hold the app and then drag it to App Info
Clear data.
Did that solve it? If not continue below.
Make sure you don't have the USB stick mounted and or plugged in.
Then go into terminal and type
su
Then type.
mount
The mount command shows all listed mount points. If you don't see the usbStorage or whatever mounted.
Then type.
busybox rm -rf usbStorage
Or whatever the main directory is...
For example directory is at.
/sdcard/usbStorage
cd /sdcard
rm -rf usbStorage
Let me know how you make out.
Sent from my Galaxy Nexus using xda app-developers app
nope, my phone is running CM 10.2 (not relevant to the question) this is the nexus section and its my nexus 7 2013 running stock rom but rooted yes that needs the folders removed.
The folders i need to delete according to the Nexus 7 mount main mount path SD content
main path: /storage/emulated/0 or /storage/emulated/legacy (both are the same according according to ParagonNTFS as a folder the mount path /sdcard/USBStorage = /storage/emulated/0/USBStorage or /storage/emulated/legacy/USBStorage
important lines?
/dev/fuse /storage/emulated/0/ fuse rw,nosuid,nodev,realtime, user_id=1023, default_permissions,allow_other 0 0
/def/fuse /storage/emulated/legacy fuse rw,nosuid,nodev,relatimeuser,user_id=1023, group_id=1023,default_permissions,allow_other 0 0
folders to delete are
/storage/emulated/0/usbStorage
/storage/emulated/0/usbStorage/sdb1 <= can select these just fine
/storage/emulated/0/usbStorage/sdb2
/storage/emulated/0/ParagonNTFS <= simply selecting this folder prompts CM manager "this operation needs elevated priviledges. Try switching to rootmodus, even when the CM filemanager already is in root mode
so i went
Opening terminal
su
cd sdcard (command ok)
cd usbStorage (commando ok)
busybox rm -rf sdb1
rm: can't remove 'sdb1': permission denied
Then i tried
cd /sdcard
rm -rf usbStorage
rm failed for usbStorage, Directory not empty
cd usbStorage
rm -rf sdb1
rm failed for sdb1, Permisison denied
busybox rm -rf sdb1
rm: can't remove 'sdb1': Permision denied
According to Cyanogen mod file manager:
Filesysteminfo:
Status: rw
linkpath?: /storage/emulated/0
Device: /dev/fuse
Type: fuse
Options: rw,nosuid,nodev,relatime,user_id=1023,default_permissions,allow_other
Dump / Pass: 0 / 0
even with the app ParagonNTFS uninstalled it doesnt work
hmm
try
close the app ParoganNTFS and uninstall it.
then try to delete those directories.
Also when you type
mount
does it show any of the directories you are trying to delete as mounted?
if it is try
umount /sdcard/usbStorage/sdb1
rm -rf /sdcard/usbStorage/sda1
were you able to delete the dir?
I had the same problems under very similar circumstances. Stickmount rather than paragon. The only way I could delete the dir was to boot into recovery (team win recovery project v2.7.1.1) and delete it with TWRP's terminal command. Something in the OS apparently locks on to the mount and simply will not let it go ever. It has to be done before android starts. It's very annoying. I am beginning to really be disgusted with many of the decisions google is making with regard to android. Why do they hate sdcard expansion so much? its absurd.
---------- Post added at 04:22 AM ---------- Previous post was at 04:17 AM ----------
Oh and by the way, even though the OS latched on to that folder as if its very existence depended on it, I was never able to even see the files on the USB memory stick with any file explorer. Worked just fine in kit kat and before. In some ways lollipop really sucks.

[Q] Troubleshot with v6 supercharger HELP!

Hi all the comunity
i have problems in v6 supercharger :S (log file of ultimatic patcher included)
i have a Htc Desire HD running SVHD 2.0.0 (it not have native supercharger)
i have flashed the starter kit
i tried today(28/01/2014) the last script
in Smanager when running the script i have some fails after select cache sd size, (cp: cannot create '/v6_supercharger/data/v6_supercharger: no such file or directory) and some more after this error at diferents driver configuration stages.
i dont know if i have to run the 99super.sh after the v6 script finished.. as the 97bulletprof...
rebooting 2 times i had 50% supercharger (im on 4.0.4) so when i go for ultimatic patcher in windows it says an error* (i have all the drivers for device and developer option enabled, i know that something is broken, because the SVHD 1.7.5 had native Scharger, and when i ran the script all was done and the patcher too)
Pls help :'(
sorry for my bad english
*error: ================================================== ========
Storage partition is /emmc
================================================== ========
sh: cannot create /emmc/ultimatic.tmp: No such file or directory
================================================== ========
/emmc is NOT accessible... Abort! Abort!
================================================== ========
It says that my storage is emmc, but my storage partition is sdcard (triying on svhd 1.7.5 all the patcher process is done and put sucess the ultimatic.temp on /sdcard/ultimatic.tmp, and nothing error too in v6 script on Script Manager)
I tried this on SVHD 2.0.0 and 2.1.0... dont worked, i thing that mygamers has encrypted some in the root of the memory phone... :S
and offtopic: SVHD 2.0.0 have the play store 4.3, but it no goes for auto-update, so i had to install the new market from the file explorer...
i dont know if this will auto-update now when new version will release, any idea?
i think that i have found the problem
At least in the directory /system when I execute the command "chmod 0777 /system" says that the directory is for Read-Only.
i dont know how to fix it, because i have fixed permissions 43763*8945/86&[email protected]=9 times, and at startup the internal memory comes another time read-only. Trying "mount -o remount,rw /system" all the changes that i do on system works (except the v6 script)
I think that /data and /mnt/sdcard are read-only. I want to fix it!! T.T
ok, and the default storage appears as /emmc LOL!
my default storage is /sdcard !! dhd dont have /emmc -.-
i dont know hoy to swap /sdcard to default storage, i tried some tweaks on "/system/etc/vold.fstab" but nothing
i think that for swap this, is needed to edit another archive of /system bu i need help, in this forum there are incredible people that makes the roms incredibles with their knowledge!
pls i only request some help :crying:
any suggestion?

Categories

Resources