[Q]How to Apply .Sh script to ROM Folder? - Android Q&A, Help & Troubleshooting

I am trying to develop a ROM and want to tweak it ,i want to know the developer way to add .sh script to rom folder in kitchen...Thanks in advance
Sent from my ST21i using XDA Premium 4 mobile app

Related

[Q] Rom Building Error

Hi
May i seek help to resolve this issue?
I created a rom by modifying on the phone and extracting the system folder using adb. Then I drag the system folder to a pre-existing rom zip. I tried to flash using cwm successfully but it just stuck at at the android logo. Many thanks for assistance.
Terry
it wasnt as simple as copy and paste, drag and drop like that.
u need to consider many thing. even one library missing or mismatched with the updater script in the zip file, it wont boot.
Oh ic.. so I have to modify the updater-script?
Sent from my GT-S5830 using xda premium
terrymcnuggets said:
Oh ic.. so I have to modify the updater-script?
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Technically , there's more than just editing the updater-script .
But at a basic level , yes .
Sent from my GT-S5830 using XDA App

[Q]What is the name of the text who appears while flashing

I am a newbie developer and i want to know what is the name of the text who appear while flasing a ROM in recovery and why i can modify the text .sorry for the bad
English
Sent from my GT-S5830 using XDA
Do you mean uiPrint("heresyourtext" )?
U can google a Bit.
sent from my icecream.
Mmm what is the location of the file in the ROM zip?
Sent from my GT-S5830 using XDA
Inside the zip - META-INF/com/google/android/updater-script. Open updater-script in a text editor and you can modify it. You can also add extra functions here if you know the syntax.
Sent from my Desire HD using xda premium

Can i make a flashable ZIP with this method?

So my question is whether i can make a flashable zip when i extract the System folder with root Explorer add meta inf and make a ZIP. Is this possible?
Sent from my SK17i using xda app-developers app
KhemaraS. said:
So my question is whether i can make a flashable zip when i extract the System folder with root Explorer add meta inf and make a ZIP. Is this possible?
Sent from my SK17i using xda app-developers app
Click to expand...
Click to collapse
That's all you need
go ahead
KhemaraS. said:
So my question is whether i can make a flashable zip when i extract the System folder with root Explorer add meta inf and make a ZIP. Is this possible?
Sent from my SK17i using xda app-developers app
Click to expand...
Click to collapse
Why not downloaded a flashable zip thats already present with meta info, and just add and delete what you want or don't want. 7Zip is amazing working this way.
Then you are sure to know it works.
Its my own Rom and im working with root Explorer to customize it
Sent from my SK17i using xda app-developers app
Yeah, extract that zip file, add or remove app as you want, then zip it again.
Sent from my Walkie-talkie
Ok thanks for your helps will soon release my Rom
Sent from my SK17i using xda app-developers app

How to edit Apk via my phone

Hi everybody.
i want to make some changes in framework-res.apk but i dont have a pc.can anyone telle how to edit the apk via my phone?
Sent from my GT-I9100 using xda premium
Thin_Bezel said:
Hi everybody.
i want to make some changes in framework-res.apk but i dont have a pc.can anyone telle how to edit the apk via my phone?
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
Use ES file explorer to open the file location and use an app like android to extract the apk. Then use a file editor like jota text editor to edit ur apk. Recompile the files using android again. Hope it helps.
Hit thanks if I have helped you in any ways.
Sent from my GT-P6800 using xda premium
You shouldn't modify apk in the phone because you can end up with force closes.
On PC of course.
Thanks buddy
Sent from my GT-I9100 using xda premium

Change Bootanimation

Hello everyone... a few days ago i bought from Google Play RomToolbox pro (great app for all root users) and i saw that with an app inside RomToolbox (this app is called Boot Animations) you can download, install and create Boot Animations...
I downloaded many bootanimation.zip files but when I turn off my phone to install them when it turns back on the bootanimation has not changed...
Later i tried to flash it from CWM recovery but it won't do it... so my question is How do we install custom boot animations??
leodani
Sent from my GT-S5310 using XDA Premium 4 mobile app
Swap with original, usually found in /system/media
Sent from my Nexus 7 using XDA Premium 4 mobile app
leodani said:
Hello everyone... a few days ago i bought from Google Play RomToolbox pro (great app for all root users) and i saw that with an app inside RomToolbox (this app is called Boot Animations) you can download, install and create Boot Animations...
I downloaded many bootanimation.zip files but when I turn off my phone to install them when it turns back on the bootanimation has not changed...
Later i tried to flash it from CWM recovery but it won't do it... so my question is How do we install custom boot animations??
leodani
Sent from my GT-S5310 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Are you using a Samsung phone?
In case of my Samsung Galaxy y, first I need to enable boot animation, then I can change it.
If you want I can give you files of GT-S5360 and you can try putting then in your phone.
Make a backup first
Press thanks if helped :thumbup: :thumbup: :thumbup:
Sent from my GT-S5360 Gadget of Mass Destruction using xda-app
Using CWM........Busybox Commands........No I use my hands
Yes i am using a rooted Samsung Galaxy Pocket Neo with CWM recovery installed... could you please give me these files please?? How do I install these files... thank you
leodani
Sent from my GT-S5310 using XDA Premium 4 mobile app
In your ROM toolbox app, you'll see a root file explorer, use this, go to /system/media
Here you should see bootanimation.zip
Remove it, replace with the one you wanted and change permissions
Sent from my Nexus 7 using XDA Premium 4 mobile app
demkantor said:
In your ROM toolbox app, you'll see a root file explorer, use this, go to /system/media
Here you should see bootanimation.zip
Remove it, replace with the one you wanted and change permissions
Sent from my Nexus 7 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Can you read above post? Samsung blocks installation of custom boot animations.
@leodani I will attach the files tomorrow when I am on computer
Sent from my GT-S5360 Gadget of Mass Destruction using xda-app
Using CWM........Busybox Commands........No I use my hands
Never had a Samsung device that I needed to do anything different for bootanimations for but if you say so, I've only had four Sammy's but I'm sure there's one or two out there that is special
I guess I should add to this, using ROM toolbox for changing bootanimations leaves original in place but pushes the new one to data/local which doesn't work for many devices, by manually replacing a bootanimation I can not see how it would be possible for the original to continue playing as it wouldn't be there and there would be a different one in its place
As a side note I have made aroma.zips for multiple devices including a few Samsung's that do exactly this, just I wrote scripts to do the manual parts for the user so they just tap buttons
So yes I can read your above post, I just don't find it to be accurate, but hey technology always surprise me
Sent from my Nexus 7 using XDA Premium 4 mobile app
Okay... thank you hnkotnis... i would press the thanks button but i can not find it on the mobile app...
Sent from my GT-S5310 using XDA Premium 4 mobile app
Files you require.
leodani said:
Okay... thank you hnkotnis... i would press the thanks button but i can not find it on the mobile app...
Sent from my GT-S5310 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Sorry for late. I was working on Aroma Kernel Backup Tool. XDA Mobile app doesn't allow uploading files except images.
DO NOT FLASH!!!!! EXTRACT AND COPY!!!!!
Here are the files from GALAXY Y GT-S5360. MAY OR MAY NOT BE COMPATIBLE WITH GT-S5310.
MAKE A BACKUP BEFORE DOING ANYTHING
Put bootanimation and samsungani in /system/bin by Root Explorer.
Permissions for bootanimation rwxr-xr-x
Permissions for samsungani rwxr-xr-x
Put your bootanimation.zip in /system/media
Its permissions are rwxr-xr-x
(OPTIONAL) If you want sound for bootanimation, put any sound file (must have name poweron.ogg)
Put poweron.ogg in /system/etc and permissions rw-r--r--
By the way, to press thanks from mobile app, click on writer's name; a menu will pop up and click thanks.
Thank you
Sent from my GT-S5310 using XDA Premium 4 mobile app
leodani said:
Thank you
Sent from my GT-S5310 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Please report me, are these files working or not?
They are not working.... they stopped my phone from working... it would boot only on recovery but now it's all fixed
Sent from my GT-S5310 using XDA Premium 4 mobile app
leodani said:
They are not working.... they stopped my phone from working... it would boot only on recovery but now it's all fixed
Sent from my GT-S5310 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Actually they enable boot animation on galaxy y.
Did you follow all steps? Did you give permissions?
Sent from my GT-S5360 Gadget of Mass Destruction using xda-app
Using CWM........Busybox Commands........No I use my hands
decided to do some research being i never heard of this issue before and it turns out your right @hnkotnis so sorry for saying it was inaccurate
there are some phones whose kernel blocks custom bootanimations, new to me as I have owned only a handful of Samsungs, but like i said technology surprises me
but i would strongly recommend not to flash any scripts or mods meant for one phone on another without combing through all the scripts, a quick brick will often be a likely outcome, turns out this one wouldn't cause a true brick so may be worth flashing.
For the vast majority of android devices this script should not be used, rather just replace bootanimation.zip and change permissions
and if you use or link the script try and respect the author @deathnotice01
as clearly laid out in first post HERE PLEASE CREDIT ME AND LINK THE FILES HERE
so @leodani be careful what you flash and try the standard way first (and always make a nandroid when unsure)
and hnkotnis, what is an aroma kernel backup tool? i mean what is the purpose? sounds unique
demkantor said:
what is an aroma kernel backup tool? i mean what is the purpose? sounds unique
Click to expand...
Click to collapse
@demkantor
I did not take files from deathnotice01, I took them from a custom ROM ported to Galaxy y from Galaxy Pocket.
For Samsung Galaxy y CWM is broken, it cannot backup/restore kernel.
There are other tools which can take backup or restore. But you need to use different tools which can conflict.
I mean different tool for backup, different tool or restore. There are bugs in boot.img renaming..........etc
There was a need of single tool. So I created it.
So I created Aroma Backup Tool for Kernel which can backup/restore the Kernel.
Click here to know more.
Yes... i did... i extracted the files with EasyUnrar Premium and then i copyed the files in system/bin using root browser.... i long pressed on the 2 files and changed permission I tried to reboot my phone...but it would only reboot into recovery but I managed to fix it since i have 2 pocket neos i tried on one( without doing a backup... noob) and i did a backup of the other one and did restore on the bricked one
Sent from my GT-S5310 using XDA Premium 4 mobile app
How can i change bootanimation??
Sent from my GT-S5310 using XDA Premium 4 mobile app
leodani said:
How can i change bootanimation??
Sent from my GT-S5310 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
just copy the bootanimation.zip file to /system/media/ in ur phone...
leodani said:
How can i change bootanimation??
Sent from my GT-S5310 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
It is disabled by Samsung. Now you have 2 options if you need to replace bootanimation
Flash a custom ROM having bootanimation.
If you don't want new ROM, then extract files from such ROM (They will be in place from where I gave you mine, check my old post) and replace in your current rom and give permissions.
If you want me to do it, give me link of ROM having bootanimation for Galaxy pocket neo. I will extract those files and (will try to create a CWM flashable zip for you)
Sent from my GT-S5360 Gadget of Mass Destruction using xda-app
Using CWM........Busybox Commands........No I use my hands
I have installed Pure Performances and Pure Audio ( you can find them in the developer only part of android development and hacking)
Sent from my GT-S5310 using XDA Premium 4 mobile app

Categories

Resources