Hi, when I install ASOP rom like Rootbox and if I'm inside TWRP it makes a new folder 0 for a sdcard. But when I'm in a Sense rom, it does not use this 0 folder.
http://forum.xda-developers.com/showthread.php?t=2294673&referrerid=3757947
This may help you.
Related
hi every body
can any one explain how to creat update script for galaxy s , im trying to cook rom based on xxjpy but usually i have problem with update script , i need to know how to create it incompatible with rom files and arrangment , whats the code and its functions we will write it in script and depend on what , finally in detail so i can create my own
thanksssssssssss
Well, the best thing to do is to google for some update scripts and modify ,but if you really want to write your own script from scratch don`t use notepad, use notepad++ or something like that.
here is an example and please try to understand it, follow line by line and see what it does :
show_progress 0.1 0 >this fills the progress bar
copy_dir PACKAGE:ghost TMP:/ghost > copy from your .zip (/ directory) to internal TMP folder which is in the ramdisk (all folders that are CAPITALISED are located in ramdisk)
set_perm 0 0 755 TMP:/ghost/test > setting permission to execute the test file
show_progress 0.1 10
copy_dir PACKAGE:system SYSTEM: this copies from /zip/system directory to that SYSTEM in ramdisk
show_progress 0.2 0
format CACHE: formats cache folder
delete_recursive SYSTEM: this deletes SYSTEM folder
symlink toolbox SYSTEM:bin/cat this creates virtual shortcuts google it for more
symlink toolbox SYSTEM:bin/chmod
what i`ve told you here is how i understand it... best for you is to try to download an update.zip and see what it does(opening that update script and see where it leads to)
Thanks my dear to reply me but is there web site that if i open it i will know and study and understand how to write it and create command to complete the script
yeah . google : how to make android update scripts
try to make some simple update.zips like adding an app to your phone via recovery .... put some print_ui in it so you can debug it...and furthermore try to flash your phone with another firmware...with a custom update script made by you.
Hello Everybody
I want to make a Custom ROM from three ROM's.
1) The most folder in /System I know, but the bin and the etc, I don't know.
2) I mix the files from a stock based and a cm based ROM. Which folder determine if the ROM ist cm or stock based?
3) How I can open the files in the bin and the framework folder?
Regards heubergen1
heubergen said:
Hello Everybody
I want to make a Custom ROM from three ROM's.
1) The most folder in /System I know, but the bin and the etc, I don't know.
2) I mix the files from a stock based and a cm based ROM. Which folder determine if the ROM ist cm or stock based?
3) How I can open the files in the bin and the framework folder?
Regards heubergen1
Click to expand...
Click to collapse
1. /bin and /etc are located in the /system subdirectories on most roms.
2. Not sure what you are doing here. With the exception of "some" files, most CM files cannot be mixed together.
3. You must decompile the files in the framework folder. Like framework-res.apk, services.jar, android.policy.jar before you can edit the xml files. You need to get apktool to do this.
MD
Thanks for your Answer.
1) I mean, what is there? What lose Android when I delete it? (e.g: In the system/lib folder are files there use many Apps and for the Performence and a clearly Code that will outsource.
2) I extract the ZIP for X-Gamer, CM7.2 and the Smart Xperia ROM. Then I take e.g. the Bluetooth files from CM, the charging driver from X-Gamer and the libary for share from the Smart Xperia ROM. Which files I must take from the same source? I hope it's no understandable.
Do NOT delete etc and bin folders
You can read the 'Introductionary Zip tweaking' guide in XDA-U.I have given a brief description about them there which you might found to be useful
printf("random signature because I have got nothing else in my mind right now");
Thanks for your answer.
Have somebody one for my second Question?
This is just a small script to compare two ROMs from the same series. It will find the difference of the two ROMs and build a zip file contains only the altered files.
Just tested with Omar-Avelar's 5.5 & 5.8 ROMs, the final "update.zip" is only about 7M.
Any feedback is welcomed.
INSTRUCTIONS
1. put the attached script in an empty folder
2. make two symbolic links to the unziped ROM folders, "new" for the newer ROM, "old" for the older one.
3. run the script in that folder
4. the result file will be called "update.zip"
5. DO NOT format system partation when use recovery to upgrade.
Setarcos said:
This is just a small script to compare two ROMs from the same series. It will find the difference of the two ROMs and build a zip file contains only the altered files.
Just tested with Omar-Avelar's 5.5 & 5.8 ROMs, the final "update.zip" is only about 7M.
Any feedback is welcomed.
INSTRUCTIONS
1. put the attached script in an empty folder
2. make two symbolic links to the unziped ROM folders, "new" for the newer ROM, "old" for the older one.
3. run the script in that folder
4. the result file will be called "update.zip"
5. DO NOT format system partation when use recovery to upgrade.
Click to expand...
Click to collapse
This might come in very handy, would it be compatible porting a Mediatek based ROM?
I can't find my flashable zips in 'choose zip from sdcard'. I tried to put it in a specific folder that I made but it is invisible in clockwork recovery. Also I noticed that old files are visible in clockwork recovery although I already deleted those old files. I can't flash custom rom because of this.
Also when I installed ARHD Google play edition 4.2.2 my virtual sdcard contents were all deleted and my backups gone. I don't know what happened, the aroma installer said that the virtual sdcard will remain untouched. Please help
Is it safe to just reflash CWM? I am having problems with cwm it can't find any file that I put in my sdcard.
-edit-
I restored my phone, safely returned from stock but problem not solved..
please help..
wagaca90 said:
please help..
Click to expand...
Click to collapse
Is there a 0/ entry in you CWM folder list?....... if so your files are in that folder
4.2.2 has a different folder structure to support multiple user.
When you copy a custom ROM.zip to the phone, you find it under SDcard/0/
Make yourself familiar with the new handling of SDcard under 4.2.2
It is explained in the forums
Sent from my HTC One using xda premium
its a script to swap sd card and works on XPERIA ZR 4.4.4
1. Get root
2. download busybox from playstore and install it (skip this if ur having dual recovery installed )
3. download Universal Init.d from playstore and activate and verify
4. Format external sdcard into FAT32. Don't forget to backup your files!
5. Create a folder name 0 on ur sdcard
6. move all data from your internal storage to the 0 folder in your sd card
7. download and extrat the file to system/etc/init.d
9. Set permissions with all 9 ticks
10. Reboot
Don't pay attention to info in Settings > Storage. It's incorrect.
Just check using any file manager
Any body have tried this?
nzeetech said:
its a script to swap sd card and works on XPERIA ZR 4.4.4
1. Get root
2. download busybox from playstore and install it
3. download Universal Init.d from playstore and activate and verify
4. Format external sdcard into FAT32. Don't forget to backup your files!
5. Create a folder name 0 on ur sdcard
6. move all data from your internal storage to the 0 folder in your sd card
7. download and extrat the file to system/etc/init.d
9. Set permissions with all 9 ticks
10. Reboot
Don't pay attention to info in Settings > Storage. It's incorrect.
Just check using any file manager
Click to expand...
Click to collapse
I have been searching for this from last one month. But i just want to know if it really works on Official CM11 [4.4.4].
it works on Official CM11 [4.4.4] i tested and no have bugs or error on CM, i put a big game on the obb folder and its works all apps from store intal on the sd so try on others roms but in CM works thax to the creators
I tried this method but when i excute the script my device rebot autmaticlly and did not want to open again i flashed a new stock rom again to make it work ... any help .. sorry for my bad english
Hudson118 said:
I tried this method but when i excute the script my device rebot autmaticlly and did not want to open again i flashed a new stock rom again to make it work ... any help .. sorry for my bad english
Click to expand...
Click to collapse
Try the rebootfix before installing the script
Bootloop
Something went wrong and got stuck in bootloop, had to start the whole thing right from the begining(xperifirm-flashtool and so on.)..
Hope the reboot fix works.
Anyone else who have tried this?
Any other methods to follow?
plz give some screenshot :/ for universal int.d
Does this Work on lollipop?
rabe3ab said:
Does this Work on lollipop?
Click to expand...
Click to collapse
I think not.