Problem installing CWM - Sony Ericsson XPERIA X10 Mini

Hello
I keep getting the same problem when i try to instal CWM with CWM installer v5
this is the error:
i48.tinypic.com/a9kzgy.png
Can someone please help me?
Thx in advance

nicknol said:
Hello
I keep getting the same problem when i try to instal CWM with CWM installer v5
this is the error:
i48.tinypic.com/a9kzgy.png
Can someone please help me?
Thx in advance
Click to expand...
Click to collapse
There is an error in the script-file pointing to the folders where the various tools and files should be found. Find the directory-structure where you unpacked the files and check if the paths in the script match the directory-structure
First it can't find the exploit 'rageagainstthecage' in the files folder (cannot stat /files/rageagainstthecage, which means it cannot get proper permissions to do the other steps (Mount system R/W, mount: Operation not permitted)
And on top of that it can't find the files that are needed for CWM (files/recovery.tar, chargemon and busybox)
so put those four files in a 'files' folder in the directory where you run the command from, or edit the script file to point to the directory where those tools actually are.
If you provide the link to where you downloaded the tool from, i will inform them of the error too so they can fix it

thanks for your answer but i have found the problem,
the script was alright but I opened it as administrator, but when I open it as normal user it works
thx anyway

Related

editing an update script to flash a rom

hi i followed this guide posted here http://forum.xda-developers.com/showthread.php?t=1064074
but i dont understand the script part i downloaded the cm7 rom and opened the script in that with note pad and changed it to the one from the guide but when i install the rom i get
"E:Syntac error in update-script"
Installation aborted.
so can someone tell me what im doing wrong
sorry if its in the wrong forum but i thought since its x10 development then i should ask here mods feel free to delete
and i know im going to get people saying i shouldn't try this unless i know what im doing but i have a spare x10 so just wanna give it a try
thanks for any help
rls190687 said:
hi i followed this guide posted here http://forum.xda-developers.com/showthread.php?t=1064074
but i dont understand the script part i downloaded the cm7 rom and opened the script in that with note pad and changed it to the one from the guide but when i install the rom i get
"E:Syntac error in update-script"
Installation aborted.
so can someone tell me what im doing wrong
sorry if its in the wrong forum but i thought since its x10 development then i should ask here mods feel free to delete
and i know im going to get people saying i shouldn't try this unless i know what im doing but i have a spare x10 so just wanna give it a try
thanks for any help
Click to expand...
Click to collapse
How come you didn't post it there instead of creating an entirely new thread
Sent from my X10project using XDA App
can u post the contents of the update-script here?
also are u using amend or edify syntax?
rls190687 said:
hi i followed this guide posted here http://forum.xda-developers.com/showthread.php?t=1064074
but i dont understand the script part i downloaded the cm7 rom and opened the script in that with note pad and changed it to the one from the guide but when i install the rom i get
"E:Syntac error in update-script"
Installation aborted.
so can someone tell me what im doing wrong
sorry if its in the wrong forum but i thought since its x10 development then i should ask here mods feel free to delete
and i know im going to get people saying i shouldn't try this unless i know what im doing but i have a spare x10 so just wanna give it a try
thanks for any help
Click to expand...
Click to collapse
The Tutorial is for MIUI 2.2 so why you use it on CM 7 (2.3)?
DooMLoRD said:
can u post the contents of the update-script here?
also are u using amend or edify syntax?
Click to expand...
Click to collapse
update-script (7.17 KB) http://www.multiupload.com/KF64P2PXIR
updater-script (15.91 KB) http://www.multiupload.com/PSIF0CNN6I
update-binary (254.04 KB) http://www.multiupload.com/C4UNKXBW32
these are the files from the 2 roms
the 1st on is js script
Delete updater-script and update-binary
rdannar said:
make sure you delet updater and update binary from folder and replace with update-script
Click to expand...
Click to collapse
realunited123 said:
Delete updater-script and update-binary
Click to expand...
Click to collapse
tryed that followed the guide
the 2 roms im trying to mix are
cm7 js rom
and
RCMixS_v1.1_++_CM7Hboot
http://forum.xda-developers.com/showthread.php?t=988570
its probly not ganna work but 4t id give it a try
rls190687 said:
tryed that followed the guide
the 2 roms im trying to mix are
cm7 js rom
and
RCMixS_v1.1_++_CM7Hboot
http://forum.xda-developers.com/showthread.php?t=988570
its probly not ganna work but 4t id give it a try
Click to expand...
Click to collapse
Sense! Its probably not going to boot with that tutorial. Better to try with an AOSP build.
rls190687 said:
update-script (7.17 KB) http://www.multiupload.com/KF64P2PXIR
updater-script (15.91 KB) http://www.multiupload.com/PSIF0CNN6I
update-binary (254.04 KB) http://www.multiupload.com/C4UNKXBW32
these are the files from the 2 roms
the 1st on is js script
Click to expand...
Click to collapse
u need only amend script (update-script)
here is the modified one:
http://dl.dropbox.com/u/8691868/test/update-script
please test it...
also u are certain of the following things:
1) toolbox binary is copied to /system/bin
2) busybox binary is copied to to /system/bin or /system/xbin
3) iwmulticall binary is copied to to /system/xbin
DooMLoRD said:
u need only amend script (update-script)
here is the modified one:
http://dl.dropbox.com/u/8691868/test/update-script
please test it...
also u are certain of the following things:
1) toolbox binary is copied to /system/bin
2) busybox binary is copied to to /system/bin or /system/xbin
3) iwmulticall2 binary is copied to to /system/xbin
Click to expand...
Click to collapse
thanks ill test it now
the files are there in the right folders
iwmulticall2 is just called iwmulticall
tho
DooMLoRD said:
u need only amend script (update-script)
here is the modified one:
http://dl.dropbox.com/u/8691868/test/update-script
please test it...
also u are certain of the following things:
1) toolbox binary is copied to /system/bin
2) busybox binary is copied to to /system/bin or /system/xbin
3) iwmulticall2 binary is copied to to /system/xbin
Click to expand...
Click to collapse
thanks i tested it
i get
e:cant symlink /system/bin/reboot
e:failure at line 29:
symlink toolbox system:bin/reboot
i checked the files and the reboot file is in the bin folder
rls190687 said:
thanks i tested it
i get
e:cant symlink /system/bin/reboot
e:failure at line 29:
symlink toolbox system:bin/reboot
i checked the files and the reboot file is in the bin folder
Click to expand...
Click to collapse
well then u have to manually check every file of the update.zip in /system/bin & /system/xbin to verify that there are no files with same name as the new symbolic links that are being created...
View attachment META-INF.rar
here is one to compare and remember to use notepad++ to edit, not regular notepad
if you get a can't symlink error
that means the file is still in the folder
when that happens you can do one of two things.. on delete the line from update script
or two... the one I prefer... delete the file from the actuall rom folder
ex.. cannot symlink ifconfig
I would go to bin and delete ifconfig
another tip is once the rom starts installing you will want to install another rom that is working... the farther you get in the installation the better the chances are you messed up it going into recovery... then you can be sure that after the error you reboot into recovery.. this has saved me many times of having to reflash the whole bb with flashtool wich takes a lot longer than a recovery restore

[Q] Could not locate custom rom in TRWP recovery?

Hello everyone,
I pasted a custom rom (Trickdroid zip) file in sdcard of my HTC one, but when i go to recovery mode to locate and install the rom, i don't find it?
I search every file in sdcard while in recovery mode, still not found.
Although i can still see the zip file when connected to computer
What seems to be the problem?
I hope i can find an answer here
Try pasting it in the 0 sub directory on your sdcard
mcfarlan said:
Try pasting it in the 0 sub directory on your sdcard
Click to expand...
Click to collapse
Thanks for your replay.
I will try it and give my feedback.
I really did not realized that I was pasting in the wrong folder!!!
Thanks for the tip :good:

Help editing "/sys/devices/virtual/switch/hdmi/state"

Hi,
I tried to edit the file "state" in "/sys/devices/virtual/switch/hdmi/" to unlock HDMI checking according to some internet posts I found. The problem is that it won't let me edit the file. I used Root explorer. My phone is rooted.
I also tried using Terminal emulator + Busybox to directly edit the file but it still didn't work. The file can be copied to other directory, and the copied file in the new directory can be edited, but the original file cannot be deleted or edited. When I tried to delete it, the message showed "Operation not permitted".
Any idea? Do I have to use "mount" command ? If so, please suggest. I am new to android and linux.
naiponnoi said:
Hi,
I tried to edit the file "state" in "/sys/devices/virtual/switch/hdmi/" to unlock HDMI checking according to some internet posts I found. The problem is that it won't let me edit the file. I used Root explorer. My phone is rooted.
I also tried using Terminal emulator + Busybox to directly edit the file but it still didn't work. The file can be copied to other directory, and the copied file in the new directory can be edited, but the original file cannot be deleted or edited. When I tried to delete it, the message showed "Operation not permitted".
Any idea? Do I have to use "mount" command ? If so, please suggest. I am new to android and linux.
Click to expand...
Click to collapse
Interested too. I m exactly at the same point, even with sys mounted RW
Hi. Any news oh this? Thanks

How to install CronMod (status 7 error)

How can i install CronMod INT2EXT4 script?
I want to install it on xperia ray with carbon rom. If i try to install it from cwm, i get status 7 error. I saw a post of someone saying he installed it manually, but i do not know where to put which files. i searched the forum but cannot find anything 100%. can anyone please help me
enlev said:
How can i install CronMod INT2EXT4 script?
I want to install it on xperia ray with carbon rom. If i try to install it from cwm, i get status 7 error. I saw a post of someone saying he installed it manually, but i do not know where to put which files. i searched the forum but cannot find anything 100%. can anyone please help me
Click to expand...
Click to collapse
easy bro. status 7 error is just a small thing.
to install manally: extract the file(s) from the zip & simply push it to the same folders as they was in the zip.file
example a init.d script is in system/etc/init.d IN THE ROM, AND THE zip-flash-file... so push it there & set permissions & done
bejunk said:
easy bro. status 7 error is just a small thing.
to install manally: extract the file(s) from the zip & simply push it to the same folders as they was in the zip.file
example a init.d script is in system/etc/init.d IN THE ROM, AND THE zip-flash-file... so push it there & set permissions & done
Click to expand...
Click to collapse
thanks
i was confused because of META_INF folder, then i read a bit more about it and i learned that META-INF is used only for zip data and i shouldn't copy it anywhere.
i will try it and report when i will have access to a notebook, so that i can repartiton sd card.
bejunk said:
easy bro. status 7 error is just a small thing.
to install manally: extract the file(s) from the zip & simply push it to the same folders as they was in the zip.file
example a init.d script is in system/etc/init.d IN THE ROM, AND THE zip-flash-file... so push it there & set permissions & done
Click to expand...
Click to collapse
Hi I'm a newbie, please guide me how to do this.
Thanks in advance.

[Q] Android L custom ROM symlinks & permissions

Hey!
I have some questions. With Android L arrived the custom ROMs with files packed into image files (like system.img). And I saw that cm12(just an example) doesn't need anymore to set permissions and create symlinks because they are already stored inside the image file.
And my question is: how can I store the system files into a image file with all symlinks created and permissions set? And also which files require symlinks and what permission should be set for folders/files ?..and into a image files, where are stored the symlinks?
I'm using Windows 7 and I want to make a custom ROM based on stock LG G2 firmware.
I have other ROM's as reference(with system packed into an image file, and with system unpacked) and I can look inside them to see which files needs symlinks..but my main question is, why these files need symlinks?
Thanks!
My two cents :
Cmd to find symlinks (in term emulator, you can remove the end of the cmd if you just want to see the result in the terminal instead of creating a file fic.txt)
ls -lR /system | grep ^l | grep " -> " > fic.txt
Note : in cloudyfa's rom you can see symlinks in updater script (same as stock + busybox)
6ril1 said:
My two cents :
Cmd to find symlinks (in term emulator, you can remove the end of the cmd if you just want to see the result in the terminal instead of creating a file fic.txt)
ls -lR /system | grep ^l | grep " -> " > fic.txt
Note : in cloudyfa's rom you can see symlinks in updater script (same as stock + busybox)
Click to expand...
Click to collapse
Thanks for help ..I understand better now..I searched more and the system.img is the stock image from kdz(I think).. and it contains the necessary symlinks and permissions.
raulx222 said:
Thanks for help ..I understand better now..I searched more and the system.img is the stock image from kdz(I think).. and it contains the necessary symlinks and permissions.
Click to expand...
Click to collapse
Can you help me,how do you get the symlinks and permissions from the system.img;
Thank you very much,I searched this issue long time
austinycl said:
Can you help me,how do you get the symlinks and permissions from the system.img;
Thank you very much,I searched this issue long time
Click to expand...
Click to collapse
Try running that command and see the output. It's been a long time, I don't quite remember right now. Try looking into cloudyfa's ROM zip, it might help
raulx222 said:
Try running that command and see the output. It's been a long time, I don't quite remember right now. Try looking into cloudyfa's ROM zip, it might help
Click to expand...
Click to collapse
Thank you very much,I will try it!
U can use SuperR kitchen

Categories

Resources