I'm usin Zeus 6.35 ROM and I want to use framework.jar from V20B stock ROM.
I deodexed it using dsixda kitchen and when I push it using QtADB I get bootloop.
Can anyone help me with this?
Maybe you need to chmod the permissions to 644? Dont exactly know, just guessing. Maybe it is simply incompatible...
N00BY0815 said:
Maybe you need to chmod the permissions to 644? Dont exactly know, just guessing. Maybe it is simply incompatible...
Click to expand...
Click to collapse
how?
http://lmgtfy.com/?q=adb+chmod
N00BY0815 said:
http://lmgtfy.com/?q=adb+chmod
Click to expand...
Click to collapse
So the code would be "#chmod 644 /system/framework/framework.jar" ?
Can I write this in shell in QtADB?
Looks good to me, but you might need su before, so you can edit files in system partition. Dunno, if you also need to mount it as writeable... Just test it
N00BY0815 said:
Looks good to me, but you might need su before, so you can edit files in system partition. Dunno, if you also need to mount it as writeable... Just test it
Click to expand...
Click to collapse
Okay I'll try it tomorrow tell if it didn't work.
Thanks for your help
Related
Hi all.
I posted this at Cyanogen's own forums, but it's much quieter over there than here at XDA, so hopefully someone here can help...
I'm trying to change the boot animation on a Nexus One running CyanogenMod 6 RC2.
I put the bootanimation.zip on my SD card and from Better Terminal Emulator pro ran the command(s):
su
cp /sdcard/bootanimation.zip /data/local/
I then rebooted and no change.
I then used Root Explorer and went and renamed /system/media/bootanimation.zip to zzbootanimation.zip.old in case it was using that one, still, no change after another reboot.
What could be wrong here?
Thanks.
Just back up the old bootanimation.zip and the replace it.
McFroger3 said:
Just back up the old bootanimation.zip and the replace it.
Click to expand...
Click to collapse
I tried. I've put the custom boot animation in both /system/media/ and /data/local. Checked permissions, but every time I just get the normal CM6 boot animation.
Make sure your bootanimation.zip does not have a capital B
liam.lah said:
Make sure your bootanimation.zip does not have a capital B
Click to expand...
Click to collapse
It doesn't, but thanks for the suggestion.
You could probably extract the ZIP of CM6 to some directory and search for bootanimation.zip, see where is it located, and replace on the phone.
Jack_R1 said:
You could probably extract the ZIP of CM6 to some directory and search for bootanimation.zip, see where is it located, and replace on the phone.
Click to expand...
Click to collapse
Good idea. I'll give that a go. Thanks.
Mmmm, well it's in /system/media, but I have already replaced that file, still no joy :-S
Can anyone confirm for me what the permissions on the zip file should be?
SOLVED! Total brain fart on my part. Thanks for the help chaps.
edesignuk said:
Mmmm, well it's in /system/media, but I have already replaced that file, still no joy :-S
Can anyone confirm for me what the permissions on the zip file should be?
SOLVED! Total brain fart on my part. Thanks for the help chaps.
Click to expand...
Click to collapse
For the sake of anyone else who has this problem... What was your solution?
liam.lah said:
For the sake of anyone else who has this problem... What was your solution?
Click to expand...
Click to collapse
+1 I hate when people get the issue solved and then don't post a solution.
gqstatus0685 said:
+1 I hate when people get the issue solved and then don't post a solution.
Click to expand...
Click to collapse
chmod 777 bootanimation.zip
it works for me..
i have tried to modify the froyobylaszlo by removing a couple of system/app
and put my own apps
after that i tried to flash it but i had some errors im not familiar with
hope someone could help me out
im attaching the recovery.log files
EDIT: btw im a complete idiot hahaha... im just starting out
marchking said:
i have tried to modify the froyobylaszlo by removing a couple of system/app
and put my own apps
after that i tried to flash it but i had some errors im not familiar with
hope someone could help me out
im attaching the recovery.log files
EDIT: btw im a complete idiot hahaha... im just starting out
Click to expand...
Click to collapse
which apps did u place in system apps?
did u remove the apps fromm data/app as well?
maximo360 said:
which apps did u place in system apps?
did u remove the apps fromm data/app as well?
Click to expand...
Click to collapse
yeah i think only 1 app is there in data/app = gallery i think i removed that thinking that it was the gallery3d
i changed the launcher and a couple of things in the system/app
are there limitations of which apps that i could put there...
btw is it ok if i change the updater-script to update-script?
or i shouldnt have change that... the kitchen was requesting to change it
hey if you are only removing some apk's you dont need kitchen.. just unzip file.. take out what you want than re-zip and than Sign it! should be able to flash no problem
marchking said:
yeah i think only 1 app is there in data/app = gallery i think i removed that thinking that it was the gallery3d
i changed the launcher and a couple of things in the system/app
are there limitations of which apps that i could put there...
btw is it ok if i change the updater-script to update-script?
or i shouldnt have change that... the kitchen was requesting to change it
Click to expand...
Click to collapse
You should just do what LDrifta said if your still having problems.
OH and regarding the update-script, heres your answer straight from the op of the kitchen:
QUESTION: Why do I need to convert the ROM's updater-script to an update-script when using the kitchen?
The kitchen can only perform operations on an update-script. UpdateR-scripts are too complicated to check because there are so many combinations of parameters for every command and for different devices; plus they can be written in different formatting styles. Thus the kitchen converts them to update-script so that there is one universal method to modify any device's configuration. If we didn't convert the updater-script then it would take months of work to overhaul the dozens of scripts (plus doubling my work) to accept updater-scripts, which would really NOT make a difference in the end anyway and would likely slow down the kitchen due to extra checks made in the updater-script. So please do not request this again and again, there is no gain in doing it (I also don't have that much free time ...).
When you build the ROM you have the option of converting it back to an updater-script, or the kitchen will convert it automatically if it decides it's necessary. The conversion back to the original updater-script is near-perfect, as I have already spent months on the implementation to get it right.
QUESTION: I have converted my update-script to an updater-script, but after flashing I still have the original ROM on the device.
That means your updater-script did not have the proper mount points defined for the system (and/or data) partition. Refer to this post for more info.
QUESTION: My device only supports ROMs with the updater-script/update-binary files but not the update-script
If you extract a ROM that contains an updater-script, then the kitchen will ask you if it should convert it to an update-script. You *must* use an update-script while customizing the ROM, as the kitchen is not capable of modifying updater-scripts. When you are ready to build the ROM, though, you will need to convert it back to an updater-script if the device requires it. Use the option in the Advanced menu to convert update-script to updater-script, or else the kitchen will ask you to convert it while building the ROM.
Click to expand...
Click to collapse
ldrifta said:
hey if you are only removing some apk's you dont need kitchen.. just unzip file.. take out what you want than re-zip and than Sign it! should be able to flash no problem
Click to expand...
Click to collapse
ok... so im also adding a few apks at the system/app what you suggested will that still work?
btw
just to clarify, i unzip, then remove the apks
then zip it again
then i put it in the kitchen to get signed?
marchking said:
ok... so im also adding a few apks at the system/app what you suggested will that still work?
btw
just to clarify, i unzip, then remove the apks
then zip it again
then i put it in the kitchen to get signed?
Click to expand...
Click to collapse
ok well depending on what apk's you are putting in.. if they are system required like a sense app.. it wont work on a froyo base rom.. but if its something like superuser or mail or something and is compatible with your rom than put it in system/app folder.. if its something that you want the choice to uninstall later on like a 'task killer' apk or something, place it in data/app folder..
and to sign it you dont need kitchen, you can download an auto-sign.zip file for windows here on xda.. all you do is unzip it directly to C: drive, place zip file in filder rename it to 'update.zip' than run the 'sign.bat' and it will sign the zip file. than you can flash it
marchking said:
ok... so im also adding a few apks at the system/app what you suggested will that still work?
btw
just to clarify, i unzip, then remove the apks
then zip it again
then i put it in the kitchen to get signed?
Click to expand...
Click to collapse
did u do this on Kitchen?
If you want to add Market or non-stock apps (*.apk) to your ROM (which can be uninstalled or updated from your device later) then select the kitchen's menu option that adds "/data/app functionality". Afterwards you can copy these .apk files to the new /data/app folder of your working folder.
EDIT; After your done adding/deleting all the apps, dont forget to use the sign apk command to sign.
maximo360 said:
did u do this on Kitchen?
If you want to add Market or non-stock apps (*.apk) to your ROM (which can be uninstalled or updated from your device later) then select the kitchen's menu option that adds "/data/app functionality". Afterwards you can copy these .apk files to the new /data/app folder of your working folder.
EDIT; After your done adding/deleting all the apps, dont forget to use the sign apk command to sign.
Click to expand...
Click to collapse
would apps from a 2.2 hero would work? they have a mdpi format???
or do you think i will encounter lots of problems? ^_^
marchking said:
would apps from a 2.2 hero would work? they have a mdpi format???
or do you think i will encounter lots of problems? ^_^
Click to expand...
Click to collapse
Which kind of apps? Like sense apps? I guess they might work, try it out, make a nand backup first tho.
Sent from my COS-DS using XDA App
maximo360 said:
Which kind of apps? Like sense apps? I guess they might work, try it out, make a nand backup first tho.
Sent from my COS-DS using XDA App
Click to expand...
Click to collapse
its actually system/app from miui ported to mdpi...
i was able to flash it but its going into a bootloop...
im not sure how to gather logcat... i dont use adb hahaha...
i only use droid explorer... anyways
i checked the logcat console while it was on the bootloop
it appears to me that the apps that i used is not signed...
any suggestions?
marchking said:
its actually system/app from miui ported to mdpi...
i was able to flash it but its going into a bootloop...
im not sure how to gather logcat... i dont use adb hahaha...
i only use droid explorer... anyways
i checked the logcat console while it was on the bootloop
it appears to me that the apps that i used is not signed...
any suggestions?
Click to expand...
Click to collapse
sign them using the sign apk/zip command in the kitchen
maximo360 said:
sign them using the sign apk/zip command in the kitchen
Click to expand...
Click to collapse
i signed them that seemed to be one problem... based on what im seeing on the logcat it seems now its having lots of problems while installing... FYI im trying to make a miui ported from nexus 1 to hero... trying to make it run on froyo by laszlo... i think there is much more complications here not as easy as i think it would be... but i like challenges ^_^ do you have any idea how we could do this maximo? try checking this link http://forum.xda-developers.com/showthread.php?t=858935
marchking said:
i signed them that seemed to be one problem... based on what im seeing on the logcat it seems now its having lots of problems while installing... FYI im trying to make a miui ported from nexus 1 to hero... trying to make it run on froyo by laszlo... i think there is much more complications here not as easy as i think it would be... but i like challenges ^_^ do you have any idea how we could do this maximo? try checking this link http://forum.xda-developers.com/showthread.php?t=858935
Click to expand...
Click to collapse
I read the thread, and he said he dropped some of the phones he was porting miui for, he was still doing the eris/hero. So seems to me he maybe dropped the g1, not sure tho. I guess you're gonna have to wait til either delsa is done porting it to the g1 or drakko.
Sent from my COS-DS using XDA App
Hi guys. How can i execute scripts found in "miui-bin" folder? A simple drag'n drop didn't solve that:laugh:
XDRdaniel said:
Hi guys. How can i execute scripts found in "miui-bin" folder? A simple drag'n drop didn't solve that:laugh:
Click to expand...
Click to collapse
It's automatically executed on boot. But i think you can execute it by :
Code:
su
then
Code:
cd /system/miui-bin
then execute the script by mentioning it's name.
Never tried it, but worth a shot !
F4uzan said:
It's automatically executed on boot. But i think you can execute it by :
Code:
su
then
Code:
cd /system/miui-bin
then execute the script by mentioning it's name.
Never tried it, but worth a shot !
Click to expand...
Click to collapse
i tried this
su
cd /system/miui-bin
bootsound
it says
bootsound: not found
my guess is that there is another script that activates miui-bin folder, but wich one?
Try:
export PATH=/system/miui-bin:$PATH
Before doing the rest
XDRdaniel said:
Hi guys. How can i execute scripts found in "miui-bin" folder? A simple drag'n drop didn't solve that:laugh:
Click to expand...
Click to collapse
This means that you are working on an MIUI ROM?
ast00 said:
This means that you are working on an MIUI ROM?
Click to expand...
Click to collapse
yes
XDRdaniel said:
i tried this
su
cd /system/miui-bin
bootsound
it says
bootsound: not found
my guess is that there is another script that activates miui-bin folder, but wich one?
Click to expand...
Click to collapse
Try this
su
cd /system/miui-bin/
./bootsound
If it gives an error other than file not found then check your permissions ...
To change permissions use chmod
If it gives file not found error then use root explorer and see if the path of file is correct ...also if the script boot sound has an extension (like .sh ) then you must mention it in the 3rd line ....
Good luck
Sent from my GT-S5570 using Tapatalk 2
Hey Guys,
I got a simply question, I got root but I don't know if I got FULL ROOT, How to check that?
Yes, on Play Store there are 1000 of apps but I don't trust them.
Any commands from Terminal to Determine if I have Full Root?
eclyptos said:
Hey Guys,
I got a simply question, I got root but I don't know if I got FULL ROOT, How to check that?
Yes, on Play Store there are 1000 of apps but I don't trust them.
Any commands from Terminal to Determine is I have Full Root?
Click to expand...
Click to collapse
Uhm open a terminal and make a file in "/system" I guess. You can do that using the following command: "touch /system/roottest.txt".
Better answer provided here.
B1nny said:
Uhm open a terminal and make a file in "/system" I guess. You can do that using the following command: "touch /system/roottest.txt".
Click to expand...
Click to collapse
I executed that command but I don't get anything, not even the file in Device>System..
See the Pic..
eclyptos said:
I executed that command but I don't get anything, not even the file in Device>System..
See the Pic..
Click to expand...
Click to collapse
Get root in terminal first by typing
Code:
su
Then mount system as RW and make a directory by typing
Code:
mount -o remount,rw system
mkdir /system/test
or, mount system using root explorer and then do this
Code:
su
mkdir /system/test
Trust me, you have full root....
Ok.
I just Check in.
gregbradley said:
Get root in terminal first by typing
Code:
su
Then mount system as RW and make a directory by typing
adb shell mount -o remount,rw system
mkdir /system/test[/code]
Trust me, you have full root....
Click to expand...
Click to collapse
A bit confused here with that code....
adb shell mount -o remount,rw system
mkdir /system/test[/code]
It have to be like that in Terminal?
eclyptos said:
I just Check in.
A bit confused here with that code....
adb shell mount -o remount,rw system
mkdir /system/test[/code]
It have to be like that in Terminal?
Click to expand...
Click to collapse
Check his post again, he corrected himself.
I edited my post
@gregbradley
I think I have a problem, what you think? It tells me that system/test is Read-Only..
use root explorer to mount system then try the mkdir again
or just root explorer to mount system..as soon as you can do that you have root.....
Full root just means you keep root after a reboot and the security of the RIC has been disabled
gregbradley said:
use root explorer to mount system then try the mkdir again
or just root explorer to mount system..as soon as you can do that you have root.....
Full root just means you keep root after a reboot and the security of the RIC has been disabled
Click to expand...
Click to collapse
I am not familiar with that, which Root Explorer are you referring too?
eclyptos said:
I am not familiar with that, which Root Explorer are you referring too?
Click to expand...
Click to collapse
root explorer
look on the play store
or use any explorer that can gain root...and just modify something in system...change permission, delete or make a file...
if you just reboot your phone and run an app that requires root and it works then you have full root.
gregbradley said:
if you just reboot your phone and run an app that requires root and it works then you have full root.
Click to expand...
Click to collapse
ok...I will try...at the moment I was using ES File Explorer and it not allow me to make or paste any file in system folder...
..I will keep you updated...
eclyptos said:
ok...I will try...at the moment I was using ES File Explorer and it not allow me to make or paste any file in system folder...
Click to expand...
Click to collapse
then you have root, and if you reboot and can still do this you have "full" root
..I will keep you updated...
Click to expand...
Click to collapse
There is no need... I am really unsure on why you are asking this. Seeing as you have posted loads of help posts about this I would expect you to know the difference and know that you have full root.
Trust me, you have it.
eclyptos said:
ok...I will try...at the moment I was using ES File Explorer and it not allow me to make or paste any file in system folder...
..I will keep you updated...
Click to expand...
Click to collapse
If you are not allowed to modify system that's because is not mounted as Rw. Go to ES, make sure you have turned on root explorer and then click on root explorer. A pop up will appear, then select where says mount system as Rw.
gregbradley said:
then you have root, and if you reboot and can still do this you have "full" root
Click to expand...
Click to collapse
This I don't get it...
gregbradley said:
There is no need... I am really unsure on why you are asking this. Seeing as you have posted loads of help posts about this I would expect you to know the difference and know that you have full root.
Trust me, you have it.
Click to expand...
Click to collapse
I know, sometime I cooking my brain instead of my phone and I missing stupid things...and learn small thing.
luis4ever said:
If you are not allowed to modify system that's because is not mounted as Rw. Go to ES, make sure you have turned on root explorer and then click on root explorer. A pop up will appear, then select where says mount system as Rw.
Click to expand...
Click to collapse
You see! OMG! That was the stupid thing...sooo stupid! You are the man. Now everything is working.
ES was granted by Su and it now allow me to modified System files and folders.
After executing the commands in Terminal I find a new folder named "test" in System. Thanx to @gregbradley
Thank you all!
You see! OMG! That was the stupid thing...sooo stupid! You are the man. Now everything is working.
ES was granted by Su and it now allow me to modified System files and folders.
After executing the commands in Terminal I find a new folder named "test" in System.
Thank you all!
Click to expand...
Click to collapse
Glad you solved the problem
wow....
gregbradley said:
wow....
Click to expand...
Click to collapse
lol...
Hi, I'm s-off, rooted, busy box installed and custom kernel with wpmod. I have to write in sys to overwrite the awb_cal file in /sys/android_camera_awb_cal, but i can't write in sys. I can't even create a new folder. Can i push the file in sys using fast boot and adb? I had the idea to change the file in custom rom zip, but the folder sys is not present in there..Please help me!
Root explorer
Mount RW
yatindroid said:
Root explorer
Mount RW
Click to expand...
Click to collapse
Tried with a lot of file manager, does not work..
RyuzakiTA said:
Tried with a lot of file manager, does not work..
Click to expand...
Click to collapse
try TWRP copy paste and then chmod in advance setting
yatindroid said:
try TWRP copy paste and then chmod in advance setting
Click to expand...
Click to collapse
It still fails..
RyuzakiTA said:
It still fails..
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2230341
I'm already on a kernel with wpmod..