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
Related
i asked in few threads but seems people are not willing to answer this question, and in threads with roms whom includes custom themes, do not have instructions how to install. So how to do that?
newestuser said:
i asked in few threads but seems people are not willing to answer this question, and in threads with roms whom includes custom themes, do not have instructions how to install. So how to do that?
Click to expand...
Click to collapse
Always search first post of specific thread for answers you will find your answer, or at least search your question before posting
you are not specific to your question
Q.1 Which Firmware are you using
Q.2 Is it Rooted
Q.3 what kind of theme is that (a CWM Flashable, xRecovery Flashable or Manual)
If you are using stock firmware then you will have to root, then you find a compatible theme and apply it according to the method provided by the theme maker
same applies to Custom ROM but they are already rooted and you might already have a recovery software installed
e.g
if its flashable by xRecovery you can go to xRecovery and flash it
if its flashable by CWM you can go to CWM and flash it
if you don't want to flash it go to Root Explorer copy that Framework-res.apk and replace it in system/framework directory and change permission to rw-r--r-- and reboot your device
and above all Backup your device before doing these because first time you might do it wrong and stuck up in boot loop
im using cm mini 7 v20 for rooted mini pro, i dont know if themes are flashable or not, they dont write that:
http://forum.xda-developers.com/showthread.php?t=1217611
not everyone are captain obvious to know what type they are
thanks for responding!
http://forum.xda-developers.com/showpost.php?p=18818162&postcount=35
newestuser said:
im using cm mini 7 v20 for rooted mini pro, i dont know if themes are flashable or not, they dont write that:
http://forum.xda-developers.com/showthread.php?t=1217611
Click to expand...
Click to collapse
its a Flashable zip, can be done via CWM
or you can manually copy & Replace those apks to their respective destination after extracting
and change permission to rw-r--r--
but be sure to backup first
ahub1988 said:
its a Flashable zip, can be done via CWM
or you can manually copy & Replace those apks to their respective destination after extracting
and change permission to rw-r--r--
but be sure to backup first
Click to expand...
Click to collapse
thanks, but can you tell step by step instruction ? because last time i did that via CWM... i got a bootloop :X
newestuser said:
thanks, but can you tell step by step instruction ? because last time i did that via CWM... i got a bootloop :X
Click to expand...
Click to collapse
so you want to do it manually.
first i must tell you as it is for older miniCM version it might cause problems
First extract your zip in SD card
copy apks from framework and apps folders
mount /system to rw and paste them to system folder
change permission of each apk to rw-r--r-- by press-holding and clicking permission in root explorer
make sure all apks have permission of rw-r--r--
move and replace framework-res.apk from /system to /system/farmework/
move and replace all other apks from /system to /system/apps/
Reboot
Thats it; if you done it correctly then it will go fine
or you can try themes from here by installing apks Here
The apks can be extracted and installed directly, no copying and setting permissions needed. However the core framework of cm7 must have changed since these were made as they don't render properly on newer cm7 based roms
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.
i have made rom for my s duos using xda kitchenn but i get status 1 error when i flash the rom
i have searched a lot but i can't find satisfied answer
can any one help me solve this error?
i'm using this guide
http://forum.xda-developers.com/showthread.php?t=1801690
Vaibhav Chauhan said:
i have made rom for my s duos using xda kitchenn but i get status 1 error when i flash the rom
i have searched a lot but i can't find satisfied answer
can any one help me solve this error?
i'm using this guide
http://forum.xda-developers.com/showthread.php?t=1801690
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2230733
Status 1 Error:
"Well this is one of the most rarest error that a person can get...but with my experience I came to know that this occurs because you don't have correct permissions set. Use correct perms in updater-script and done "
Grab another rom that is the same base you are using and look at the META-INF/com/google/android folder which contains the updater script and binary to use as your reference points. Compare and contrast yours with that one.
es0tericcha0s said:
http://forum.xda-developers.com/showthread.php?t=2230733
Status 1 Error:
"Well this is one of the most rarest error that a person can get...but with my experience I came to know that this occurs because you don't have correct permissions set. Use correct perms in updater-script and done "
Grab another rom that is the same base you are using and look at the META-INF/com/google/android folder which contains the updater script and binary to use as your reference points. Compare and contrast yours with that one.
Click to expand...
Click to collapse
can i use another rom's updater script in my rom which has same base??
Should be able to. Wouldn't hurt to look at the differences though so then you can understand what things affect the install to help build knowledge.
es0tericcha0s said:
Should be able to. Wouldn't hurt to look at the differences though so then you can understand what things affect the install to help build knowledge.
Click to expand...
Click to collapse
i tried to replace updater script but not working
i also have tried to compare set perms but i am unable to find fault in it
@es0tericcha0s
please tell me what to do??
Sorry, that was my main idea. Are you getting the same error code? Did you unzip and re-zip the rom? If so, you should use an archive manager like 7zip to move the update script into the zip without needing to unzip the whole thing, otherwise you'll break the signature on the rom and have to re-sign it.
es0tericcha0s said:
Sorry, that was my main idea. Are you getting the same error code? Did you unzip and re-zip the rom? If so, you should use an archive manager like 7zip to move the update script into the zip without needing to unzip the whole thing, otherwise you'll break the signature on the rom and have to re-sign it.
Click to expand...
Click to collapse
actually i am using android kitchen to make the rom
and when i use the cosmic rom's updater script in it the status 1 error was solved
but it stuck on boot animation
@es0tericcha0s
my stuck on bootloops can you tell me how to logcat?
Vaibhav Chauhan said:
@es0tericcha0s
my stuck on bootloops can you tell me how to logcat?
Click to expand...
Click to collapse
Not all phones have adb access while in a bootloop. But to do so you would need adb set up on your computer, change directories to the adb folder (or if it's enabled globally, then where ever), and type:
adb logcat
You'll want to save it somewhere like:
http://pastebin.com/
and upload the link.
I am not skilled at reading logcats, so not sure if I can be of any more help after that.
If you don't have adb set up already, then just use this one: http://forum.xda-developers.com/showthread.php?t=2317790
hello,
Can someone help me why i cant install my modded settings.apk to lollipop 5.1?
i did not mod any XML files but edited 2 images from res and signed the apk and tried to install. no positive result.
Someone told me that settings.apk should not be signed.
someone help in this thing.
Thanks in advance
Settings must be signed with the platform key.
MasterAwesome said:
Settings must be signed with the platform key.
Click to expand...
Click to collapse
Can you please detail the step by step.?
When i tried it by signapk.jar I'am getting error while signing the apk after creating .keystore. When i Google'd it i got an info that it is already signed. What should i do to sign and install?
shmshd12 said:
Can you please detail the step by step.?
When i tried it by signapk.jar I'am getting error while signing the apk after creating .keystore. When i Google'd it i got an info that it is already signed. What should i do to sign and install?
Click to expand...
Click to collapse
You don't sign it at all. And you can't install it. You have to flash it with a zip in recovery.
zelendel said:
You don't sign it at all. And you can't install it. You have to flash it with a zip in recovery.
Click to expand...
Click to collapse
When i flashed the zip file it installed well in recovery but when i came to the system from recovery i couldn't find the settings apk installed.
Can you create a working signed zip file to flash in recovery for the attached apk.
Thnaks in Advance
There are plenty of tuts on how to do it yourself. The mount points are very different for each device so you will have to get a zip for your device that works and then just add your apk.
zelendel said:
There are plenty of tuts on how to do it yourself. The mount points are very different for each device so you will have to get a zip for your device that works and then just add your apk.
Click to expand...
Click to collapse
Now im confused on 1 simple thing.
should i add the apk in system/priv-app/settings or system/app/settings ??
shmshd12 said:
Now im confused on 1 simple thing.
should i add the apk in system/priv-app/settings or system/app/settings ??
Click to expand...
Click to collapse
Send me the apk i'll sign it install it using
Bash:
adb push ../Settings.apk /sdcard/
adb shell
su
mount -o remount,rw /system
rm pathToSettings.apk
cp /sdcard/Settings.apk pathToSettings.apk
chmod 0644 pathToSettings.apk
reboot
MasterAwesome said:
Send me the apk i'll sign it install it using
Bash:
adb push ../Settings.apk /sdcard/
adb shell
su
mount -o remount,rw /system
rm pathToSettings.apk
cp /sdcard/Settings.apk pathToSettings.apk
chmod 0644 pathToSettings.apk
reboot
Click to expand...
Click to collapse
Bro, here is the apk
the above mentioned apk is the wrong one!!!
please find the right apk from below attachment
thanks a lot
note that this is the settings.apk for hammerhead running LP 5.1
shmshd12 said:
Bro, here is the apk
the above mentioned apk is the wrong one!!!
please find the right apk from below attachment
thanks a lot
note that this is the settings.apk for hammerhead running LP 5.1
Click to expand...
Click to collapse
Aosp?
MasterAwesome said:
Aosp?
Click to expand...
Click to collapse
YES...EXTRACTED FROM GROGG'S rom 5.1
@MasterAwesome
Waiting for your signed settings.apk !!!
when will i get it ?
shmshd12 said:
@MasterAwesome
Waiting for your signed settings.apk !!!
when will i get it ?
Click to expand...
Click to collapse
Crap, I totally forgot about it... I was building something else. I'll upload it soon
Can someone else sign this or make a flashable zip?
shmshd12 said:
Can someone else sign this or make a flashable zip?
Click to expand...
Click to collapse
Relax and give him time. You would have had it by now had you done your own research and docent yourself.
zelendel said:
Relax and give him time. You would have had it by now had you done your own research and docent yourself.
Click to expand...
Click to collapse
I google'd a lot and I'm tired!!
That's the reason i started thread!!
shmshd12 said:
I google'd a lot and I'm tired!!
That's the reason i started thread!!
Click to expand...
Click to collapse
I think you mistake this for a support site. If you searched then you really didnt look very hard
http://forum.xda-developers.com/gal...tutorial-making-flashable-zips-edify-t1611615
That gives you everything you need to know to make it.
zelendel said:
I think you mistake this for a support site. If you searched then you really didnt look very hard
http://forum.xda-developers.com/galaxy-nexus/themes-apps/tutorial-making-flashable-zips-edify-t1611615
That gives you everything you need to know to make it.
Click to expand...
Click to collapse
Parsing error occurs while installing!!
So i need to sign the apk right?
In the above mentioned thread it only shows how to create a flashable zip or signed zip!!! I need to sign the apk!!
shmshd12 said:
Parsing error occurs while installing!!
So i need to sign the apk right?
In the above mentioned thread it only shows how to create a flashable zip or signed zip!!! I need to sign the apk!!
Click to expand...
Click to collapse
First off. No you should never sign a system APK. If you do it will conflict with the system Sig that all system apps use.
I told you once already. You cant install the apk that way. It has to be flashed in recovery.
zelendel said:
First off. No you should never sign a system APK. If you do it will conflict with the system Sig that all system apps use.
I told you once already. You cant install the apk that way. It has to be flashed in recovery.
Click to expand...
Click to collapse
but @MasterAwesome said that Settings must be signed with the platform key in the second post!! so are you telling that he is wrong?
I did a flashable zip by ZipMe app from playstore and flashed it...still the settings apk was not found in the app drawer!!!
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