Help... How do I add a folder to my rom so when its flashed it will be on the SD card - EVO 4G Q&A, Help & Troubleshooting

Ok, my bAdDroid 2.0 rom is done, but want to add a folder with the "extras" so when its flashed, it will be on the SD card, I have seen it done, but not sure where to put the code, and what is needed... can anyone help, want to get my rom posted today... Thanks.

lexknight said:
Ok, my bAdDroid 2.0 rom is done, but want to add a folder with the "extras" so when its flashed, it will be on the SD card, I have seen it done, but not sure where to put the code, and what is needed... can anyone help, want to get my rom posted today... Thanks.
Click to expand...
Click to collapse
If I remember correctly you simply put a folder called "SDCard" in your working folder. From there anything your put in that folder will be put on the SDCard when it's flashed.

Thanks figured it out...
you need that, but then you have to do some editing in the updater script to make it all work right...

Related

[Q] Default SMS sound

Does anyone have the default SMS notification sound? I flashed a new rom and it doesn't have it. Thanks!
I have it somewhere on the sd card but honestly, I forgot what it sounded like and the name of it. Was it "notice me"? I can't help you at this moment because the phone won't let me upload. The only other thing I could think of if nobody else comes through for you is to do a COMPLETE nandroid backup in recovery, reinstall the previous rom, find the sounds and copy them to your card. Then go back into recovery and restore the full nandroid backup.
Or another way is to extract the rom zip file on the sd card or computer and then look in system/media/audio of the extracted zip and that's where they are at. Put them in (make these directories if you don't already have them) /sdcard/media/audio/notifications. After a reboot, they "should" show up in the place to change notifications. If that doesn't work the program called "aring" should set things up for you. I think you still might need a reboot. Sorry I couldn't be more help, I'm at work now.
herbthehammer said:
I have it somewhere on the sd card but honestly, I forgot what it sounded like and the name of it. Was it "notice me"? I can't help you at this moment because the phone won't let me upload. The only other thing I could think of if nobody else comes through for you is to do a COMPLETE nandroid backup in recovery, reinstall the previous rom, find the sounds and copy them to your card. Then go back into recovery and restore the full nandroid backup.
Or another way is to extract the rom zip file on the sd card or computer and then look in system/media/audio of the extracted zip and that's where they are at. Put them in (make these directories if you don't already have them) /sdcard/media/audio/notifications. After a reboot, they "should" show up in the place to change notifications. If that doesn't work the program called "aring" should set things up for you. I think you still might need a reboot. Sorry I couldn't be more help, I'm at work now.
Click to expand...
Click to collapse
That's fine. That's help enough. Thanks again.
extract not flash
Like I said, make new folders on the sdcard media/audio/notifications
unzip file(s)
put files into the directory above
reboot
phone should see them now
I think the sound you wanted was little, here's all the original notification sounds anyways
And if you act right now, we'll throw in a bonus gift!

[Q] How to add apps to a rom?

Hey!
I was wondering, is there a way of adding apps to a rom... theres a few apk's i practially have to have installed, so i was wondering is there a way to add these files to a zipped rom so they install within the the system folder on the phone takin up dedicated rom space instead of dedicated phone storage....
been searching for a while about this, an theres a few close threads but they stopped before it was answered.
Also i have tried unzipping the rom, adding the apks, then rezipping an it didnt work, it started installing an finished within 2 seconds so obviously it didnt install the rom.
Thanks in advance!
You should just be able to add them to the /system/app folder. You just have to use a custom recovery to flash it, because the original zip is signed, where yours isn't. So if you turn the check for signature off in the recovery it should work just fine.
Alternatively you can learn how to sign your zip file, but that's far more time consuming.
i tried doing that, toggled it off in clockworkmod and still does the same thing. so not entirely sure wat i'm doing wrong, all i'm doing is rezipping it to a zip file using winrar.... should i try somethin else?
and yeah i made sure it did it to a zip file an not a rar file
360nitrous said:
i tried doing that, toggled it off in clockworkmod and still does the same thing. so not entirely sure wat i'm doing wrong, all i'm doing is rezipping it to a zip file using winrar.... should i try somethin else?
and yeah i made sure it did it to a zip file an not a rar file
Click to expand...
Click to collapse
I had a similar problem like yours.
Here is where we were wrong. We unzipped the .zip, added whatever we did, and then selected the folder and added to zip, which is wrong. You have to select ALL the folders and files WITHIN the folder unzipped and add it to archive.
Meaning, I have for ex. update-OD4.0.10.zip, after I unzip it it gets a folder containing all the files and folders of the ROM. You have to go one level in, select them all (files and folders in there) and add it to zip. Et voila!
Hope you understand my English!
mi3x said:
I had a similar problem like yours.
Here is where we were wrong. We unzipped the .zip, added whatever we did, and then selected the folder and added to zip, which is wrong. You have to select ALL the folders and files WITHIN the folder unzipped and add it to archive.
Meaning, I have for ex. update-OD4.0.10.zip, after I unzip it it gets a folder containing all the files and folders of the ROM. You have to go one level in, select them all (files and folders in there) and add it to zip. Et voila!
Hope you understand my English!
Click to expand...
Click to collapse
Now that makes me feel stupid haha!!! your totally right, that sorted out the problem, thanks a lot!!! sometimes its the simplest things that you forget about
Yes you will of course have to add the folders in the same structure as before, as the update script are telling the recovery which folders to flash where, and you are leaving that script unchanged.
360nitrous said:
Now that makes me feel stupid haha!!! your totally right, that sorted out the problem, thanks a lot!!! sometimes its the simplest things that you forget about
Click to expand...
Click to collapse
My pleasure I loled as well! At least I went deeper in my feeling stupid, changing RAR tools, different compression types etc... and the answer was there all along.

[Q] Moving App from one ROM to another

Is it possible to move one Program from a ROM to another ROM? I've tried TB but it only see's that it's a backed up file but won't restore. Is this possible and if so, what is the process?
you can unzip both ROMS and drag the app from the Sys/app folder on one to the same folder on the other, rezip it and flash it and it will install with the flash
Titanium Backup is really the only way. What exactly happens when you try to restore? Does it give you an error.
HipKat...thanks! As soon as I posted this I found that I can get into the zipped APK folder, move it to my SD Card, and then use my file manager to install it. Worked great! This is the fix!
dfr867 said:
HipKat...thanks! As soon as I posted this I found that I can get into the zipped APK folder, move it to my SD Card, and then use my file manager to install it. Worked great! This is the fix!
Click to expand...
Click to collapse
Cool. I forgot about getting into the zipped folder with a file manager

[Q] Gingerburst - how can i use UOT Kitchen

Hi all
Just got Droidzone's Gingerburst ROM and it's not listed in the UOT Kitchen, so I used the upload settings only to get a bootloop. I read Fredalf's other way of doing it through Root Explorer but the instructions weren't so clear.
Right now I have the zip file ready and waiting on my sd card. What shall i do next?
Please post the instructions and tell us, until which point you do not understand them. On this way it's much easier to help you.
pairofpints said:
Hi all
Just got Droidzone's Gingerburst ROM and it's not listed in the UOT Kitchen, so I used the upload settings only to get a bootloop. I read Fredalf's other way of doing it through Root Explorer but the instructions weren't so clear.
Right now I have the zip file ready and waiting on my sd card. What shall i do next?
Click to expand...
Click to collapse
i don't use this ROM, but have flashed many a UOT theme successfully without bootloop
1. did you upload all 3 relevant files: com.htc.resources.apk, SystemUI.apk and framework-res.apk?
2. did you check the "Flashing folders for system files" in the file upload tab? look in your original ROM.zip to see which folders SystemUI.apk and framework-res.apk are located in.
3. might not help, but sometimes suggested to wipe cache and dalvik before flashing, although i've done it successfully without
4. another long shot, but there may be some other option you've accidentally ticked inside the UOT kitchen itself which isn't compatible with your ROM, like the AOSP lockscreen, best to check again
the root explorer method requires S-OFF, though i've never done it this way. i guess u gotta extract the zip on your computer, copy the 3 files onto your SD card, then manually copy and overwrite them wherever they are located on the phone using Root explorer (e.g. into system/framework), then rebooting. it's basically the long way round what flashing the zip is supposed to do.
thanks for the replies.
yes i've followed the uot method of uploading all 3 correct files and i think i may have even done the wipes too. The result was the black screen with pink circle constantly looping.
I do have s off and i had gotten up to the extract part, although it wasn't explained what to extract and where.
Just extracted on computer and the com.htc.resources file isn't there although the other 2 are.
pairofpints said:
thanks for the replies.
yes i've followed the uot method of uploading all 3 correct files and i think i may have even done the wipes too. The result was the black screen with pink circle constantly looping.
I do have s off and i had gotten up to the extract part, although it wasn't explained what to extract and where.
Just extracted on computer and the com.htc.resources file isn't there although the other 2 are.
Click to expand...
Click to collapse
strange,
may be related to point number 2 in my previous post. open up your original ROM.zip on your PC, then search which folders framework-res.apk and SystemUI.apk are located. look at the "Flashing folders for system files" in the UOT file upload tab, gives you the clues as to where they'll most likely be. probably system/framework and data/app(?) but varies from ROM to ROM.
put the framework-res.apk and SystemUI.apk from the extracted kitchen zip onto your SD card (ignore the com.htc.resources file if it's not included) then copy them over to their respective locations using root explorer and overwrite (remember to mount read/write).
reboot - this is assuming you have your nandroid backup just in case
if it still doesnt work then might be number 4 of my previous post, or it's just beyond my knowledge...search the UOT thread if anyone with Gingerburst has got it working? must be possible...
again i've not done it this way myself, but don't see why it shouldnt work, await the wise MatDrOiD to confirm...
eddiehk6 said:
strange,
may be related to point number 2 in my previous post. open up your original ROM.zip on your PC, then search which folders framework-res.apk and SystemUI.apk are located. look at the "Flashing folders for system files" in the UOT file upload tab, gives you the clues as to where they'll most likely be. probably system/framework and data/app(?) but varies from ROM to ROM.
put the framework-res.apk and SystemUI.apk from the extracted kitchen zip onto your SD card (ignore the com.htc.resources file if it's not included) then copy them over to their respective locations using root explorer and overwrite (remember to mount read/write).
reboot - this is assuming you have your nandroid backup just in case
if it still doesnt work then might be number 4 of my previous post, or it's just beyond my knowledge...search the UOT thread if anyone with Gingerburst has got it working? must be possible...
again i've not done it this way myself, but don't see why it shouldnt work, await the wise MatDrOiD to confirm...
Click to expand...
Click to collapse
That didn't work, there must be some kind of glitch in the rom. Guess I'll just have to make do with horizontal battery for now. Thanks anyway.

[Q] Cant Find ROM on SD card

okay guys this is my first android phone,first time rooting, first time for all of it basically.
i have a galaxy s3 i747m that i managed to root already. now i downloaded a ROM that i want and using android file exchange( I AM ON A MAC MAYBE MY PROBLEM?)
so i found the file on my mac,opended file exchange,put the file on my SD card.
now when i go into ROM manager i go to "install ROM from SD card" but it shows me everything thats on my phone not my SD card....i looked everywhere but the file is not there and i cant figure out why its doing this.
so i thought maybe if i save it to my phone i can find it,so i did that and i found the ROM file, but now when i open the file it just shows me
META-INF/ and system/ but on my computer it shows me something called BOOT.IMG.
im guessing this is the part of the file i need since nothing else works?
let me know guys im stuck, and sorry for the long post.
thanks guys!
alexx03 said:
okay guys this is my first android phone,first time rooting, first time for all of it basically.
i have a galaxy s3 i747m that i managed to root already. now i downloaded a ROM that i want and using android file exchange( I AM ON A MAC MAYBE MY PROBLEM?)
so i found the file on my mac,opended file exchange,put the file on my SD card.
now when i go into ROM manager i go to "install ROM from SD card" but it shows me everything thats on my phone not my SD card....i looked everywhere but the file is not there and i cant figure out why its doing this.
so i thought maybe if i save it to my phone i can find it,so i did that and i found the ROM file, but now when i open the file it just shows me
META-INF/ and system/ but on my computer it shows me something called BOOT.IMG.
im guessing this is the part of the file i need since nothing else works?
let me know guys im stuck, and sorry for the long post.
thanks guys!
Click to expand...
Click to collapse
DON'T touch this boot.img you taklking about.
Can you cannect phone by USB to your mac? ( sorry i'm PC guy). If you do just go open your phone with explorer in you mac then create folder on SD card "ROMS" in example , copy downloaded rom from your mac to phone this way you will know where it is. Now if you did not install CWM (clockwork mod recovery) install one from Rom Manager and reboot in it. Choose install from card and find roms folder you created and rom you copied in to folder choose this rom. Now follow instruction.
BTW. Before you start flashing roms READ more anthill you sure you know how is done for 100%. There are so many info how this should be done. READ this first :http://forum.xda-developers.com/showthread.php?t=1725839 Twice if you have to.
Good luck

Categories

Resources