No ring tones after installing A2SD - Hero CDMA Themes and Apps

So... after install A2SD 2.5 last night (never had A2SD before)
Now I have no ring tones, neither custom or "factory"
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

To if see your "factory" ringtones are still there check the /system/media/audio/notifications/ directory. But as for your custom ones they got wiped off your sd when you partitioned it.
adb remount
adb shell
$su (**if needed)
# cd system/media/audio/notifications (or /ringtones)
# ls

hows that qoute go? a2sd demanded my wallet before stealing my girlfriend...? all ive heard is complaints about the new a2sd

If you have sounds in /sdcard/media/audio or /system/media/audio then restart and check again. If it's still empty, wait a couple of minutes. They will suddenly appear.
If they still don't appear, try moving one sound into /system/media/audio/ringtones and reboot again. When they all show up, you can leave the one sound in system memory or move it back.
This frustrated me for hours last night!

mountaindont said:
hows that qoute go? a2sd demanded my wallet before stealing my girlfriend...? all ive heard is complaints about the new a2sd
Click to expand...
Click to collapse
Most of the people complaining don't know much about a2sd or partitioning. That, and I'm thinking some of them also are creating an ext4 partition, whicn A2SD 2.5 doesn't recognize.
I'm working on another version that will recognize ext4 as well as attempt to be smarter.

Las_Vegas said:
If you have sounds in /sdcard/media/audio or /system/media/audio then restart and check again. If it's still empty, wait a couple of minutes. They will suddenly appear.
If they still don't appear, try moving one sound into /system/media/audio/ringtones and reboot again. When they all show up, you can leave the one sound in system memory or move it back.
This frustrated me for hours last night!
Click to expand...
Click to collapse
This has nothing to do with A2SD (on any version, including mine)...A2SD doesn't touch /system/media. Could it be the ROM?

tkirton said:
This has nothing to do with A2SD (on any version, including mine)...A2SD doesn't touch /system/media. Could it be the ROM?
Click to expand...
Click to collapse
This problem didn't exist before installing A2SD 2.5. I was using A2SD 2.0 previously with my sounds moved to the memory card and had no problems.

tkirton said:
...A2SD doesn't touch /system/media.
Click to expand...
Click to collapse
I think this guy knows what A2SD does and doesn't do considering he rebuilt it to 2.5.
Did u check the system/media/audio/ directories?

kyouko said:
I think this guy knows what A2SD does and doesn't do considering he rebuilt it to 2.5.
Did u check the system/media/audio/ directories?
Click to expand...
Click to collapse
Nobody said it does touch those files. I'm suspecting a slowdown in reading/changing the cache file(s) used to maintain these lists.
Having been a programmer for 30 years, I know that it's not uncommon to get unplanned and unusual side effects that don't seem related to the code. Just because I wrote it, doesn't mean I know how everything that someone else wrote is going to react to my code.

yeah my bad, i've been an ass lately on here. try clearing ur caches then and even the dalvik, i had a prob with things not showing up b4 and that helped me

Las_Vegas said:
Nobody said it does touch those files. I'm suspecting a slowdown in reading/changing the cache file(s) used to maintain these lists.
Having been a programmer for 30 years, I know that it's not uncommon to get unplanned and unusual side effects that don't seem related to the code. Just because I wrote it, doesn't mean I know how everything that someone else wrote is going to react to my code.
Click to expand...
Click to collapse
I think I got a little too defensive on it. You're right, each environment is different.
I think you may be onto something. The difference between 2.0 and 2.5 is the moving of the dalvik-cache. DamageControl uses the 2.0 version.
On 2.5, if he executes the following command on his phone: /system/bin/a2sd nocache, it will put the dalvik-cache back on internal memory.
I tested the program using a Class 6 card...not sure how the dalvik-cache reacts with, say, a Class 2 card. The write speed may be too slow to keep up.

Well....
/system/media has nothing but the bootscreen folder in it, and everything that was on my SD card prior to partitioning was put back on there. I really didn't have but a few songs for ringtones that I used ring tone trimmer (HTC). I was content with the "factory" ring tones.
Anybody feel like pulling the HTC ring tones and zipping them up? I'd appreciate it. A helluva lot easier than nandroiding back and forth some old ROM.
Thanks,
Jonathan

poor_red_neck said:
Well....
/system/media has nothing but the bootscreen folder in it, and everything that was on my SD card prior to partitioning was put back on there. I really didn't have but a few songs for ringtones that I used ring tone trimmer (HTC). I was content with the "factory" ring tones.
Anybody feel like pulling the HTC ring tones and zipping them up? I'd appreciate it. A helluva lot easier than nandroiding back and forth some old ROM.
Thanks,
Jonathan
Click to expand...
Click to collapse
Here you go:
http://www.darktremor.com/upload/htcmedia.zip
1. Unzip the contents to a folder
2. Open a command prompt or a terminal session. Navigate to the directory you extracted the contents of the zip
3. In the folder, remount the filesystem to read-write mode by typing adb remount
4. Create an audio file by typing adb shell "mkdir /system/media/audio"
5. Change the permissions of the folder by typing adb shell "chmod 777 /system/media/audio"
6. Push the files to the phone by typing adb push . /system/media/audio
Hopefully, that's it.
If you need help, let me know.

thanks. I pushed them and everythings back to normal.
Just for ****s and giggles... I re-flashed and installed A2SD and it did it again... dont know why but it deleted the /system/media/audio folder. Very strange.

poor_red_neck said:
thanks. I pushed them and everythings back to normal.
Just for ****s and giggles... I re-flashed and installed A2SD and it did it again... dont know why but it deleted the /system/media/audio folder. Very strange.
Click to expand...
Click to collapse
Wait...you reflashed the ROM? What ROM are you using?

Related

[ROM] "Official" SuperHero v2 Is Out!

Just want to make things clear on who's doing what on these builds.
(Me: Diaztradeinc For cooking porting and making these builds work.)
(Jrbourque: for helping out with ports ideas and with building, also working on lite build.)
(l3wish: for artwork, boot screens, boot sounds and creative Ideas.
Mods please close other threads as this is now the official thread for SuperHero v1....Thanks alot guys for your support, and plenty of thanks for other devs like haykuro, the dude, twisted, justanotherdev, marcus for leading the way and for inspiration.
We shall continue with our work and help android to grow.
SuperHero v1 Beta is out!!!
You must have new spl
Beta 1: http://herog3.wicholandia.com/download.php?list.15
The build is off of the leaked hero beta from xdan. Rosie.apk was ported over.
Includes: Super user, terminal, busybox, meltus v4 audio mod, lockscreen with updated wallpaper, l3wishes boot screen, new fonts, new colored app tab for rosie, updated boot.img with latest kernel unionfs supported.
Testing a couple apps so internal memory on first boot will be 12mb before apps2sd. Next update will have greater internal memory.
Intructions: rename to update.zip put on the root of your sdcard.
boot into recovery, home + Power
Alt w for wipe the Alt s to flash.
Build was built for speed, test it out and report back any bugs...Enjoy!
Beta 2 Full: http://herog3.wicholandia.com/download.php?list.15
New kernel using noatime, and unionfs
Supports ext2 and ext3 partitions.
Dalvik Vm from Ion build
Clocks and weather working now.
Apps2sd included
terminal,superuser,busybox,
all widgets were included
all stock fonts, boot screens, and rosie.apk
Beta 2 Lite: http://herog3.wicholandia.com/download.php?list.15
New kernel using noatime, and unionfs
Supports ext2 and ext3 partitions.
Dalvik Vm from Ion build
Clock works now.
(Weather widget and app are being fixed.)
Apps2sd included
terminal,superuser,busybox
No widgets included in lite.
all stock fonts, boot screens, and rosie.apk
SuperHero V2:http://herog3.wicholandia.com/download.php?list.17
Finally the long awaited SuperHero V2 Official Release
Change log:
Cleaned up things to make space, updated boot.img thanks to Detox
Drawables from ophone were added
Slightly themed in many places by me & L3wish
Flash player is back
Multitouch browser
Updated libs from ophone
Led code implemented in init.rc by detox will not be used untill leds are fully working thanks to shasty for the led coding.
All updated from beta 2 but now optomized to run very smooth and stable.
Htc chirp still not working will update soon.
Automatic apps to sd is pre loaded but not used unless you want just add the ap2sd.sh to bin
Special thanks to Jrbourque and L3wish for help and support.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Instuctions:
Rename to update.zip
put on root of sd
ALT-W to wipe
Then ALT-S to flash
After it boots use the apps to sd app as this is a must for this build!!!!
then move dalvik cache...reboot
If anyone has problems with market do this in terminal..
su
chown system.system /data/app
To get VK working goto settings enable touch input and reboot.
All builds and info available here: http://herog3.wicholandia.com/news.php
Screenshots:
View attachment 194498
Cool Sorry if this is a retarded question, but do I have to re-partition my SDcard if I'm coming from a different build? (cyanogen's)
if u have 2 partitions (fat32 and ext2 or 3), u don't....if not...u must
please link me to the Weather.apk file....i can't find it
This is running great... the existing apps were transfered to sd but now it tells me insufficient memory... any ideas.
how can i change that lock screen to default from v1?
beta 2 full running better than any hero build ive used so far especially after apps2sd, im not sure if its just me, but am i the only one getting "The process android.process.acore has stopped unexpectedly." whenever clicking on a facebook synced contact's photos? i know i keep asking this on threads but no one seems to answer me except the one person before who said it worked fine for them on a hero build...
rootkited said:
if u have 2 partitions (fat32 and ext2 or 3), u don't....if not...u must
please link me to the Weather.apk file....i can't find it
Click to expand...
Click to collapse
rootkitty
i sent you a private message with a link to my skydrive
DroidHead said:
This is running great... the existing apps were transfered to sd but now it tells me insufficient memory... any ideas.
Click to expand...
Click to collapse
Does it tell you that every time you try to download something from the market? cuz thats whats happening to me, even though it says i have 67MB available in the internal phone storage.
dmsaenz said:
Does it tell you that every time you try to download something from the market? cuz thats whats happening to me, even though it says i have 67MB available in the internal phone storage.
Click to expand...
Click to collapse
Go to terminal emulator and enter commands:
su <enter>
chown system.system /data/app <enter>
Read the whole first post.
dmsaenz said:
Does it tell you that every time you try to download something from the market? cuz thats whats happening to me, even though it says i have 67MB available in the internal phone storage.
Click to expand...
Click to collapse
do this in terminal
su
chown system.system /data/app
how can i change lock screen wallpaper to original?
how do we get the weather to work
My keyboard isnt showing up in full version
Not sure which I downloaded earlier when first released today, but I had 7mb left, which makes it a hog to run (not a fan of apps2sd, sd is just as slow).
We need to make a list of files with dependencies and which dont have any. I deleted about 15 or 16 files and had no problems yet, with 20mb free. I would like to delete more but some have wierd names so I dont know if they are requried by other files.
(IE. GoogleTalkService, I thought worked with the talk app. Nope, dont delete. I also read the IM.apk cannot be deleted because its required by gnabb or something?)
diaztradeinc said:
do this in terminal
su
chown system.system /data/app
Click to expand...
Click to collapse
it worked. for some reason it didnt work for me the first time, probably typed it in wrong.
I flashed Beta 2 and after moving apps I kept getting constant acore force closing afterwards
i cant get app2sd to work, it opens and i move apps 2 sd and it force closes. same thing with dalvik-cache all of the process stop working.
i have an ext2 partition because it freed some space, but it is not linking the files.
Please Help.
I have wiped and did a fresh install about 8 times,
peary27 said:
i cant get app2sd to work, it opens and i move apps 2 sd and it force closes. same thing with dalvik-cache all of the process stop working.
i have an ext2 partition because it freed some space, but it is not linking the files.
Please Help.
I have wiped and did a fresh install about 8 times,
Click to expand...
Click to collapse
its gonna say either force close or wait just choose wait and everything should work fine
Anyway to change the fruity lock screen?
it gives no option to wait, it just says force close, about 6 or 7 pop ups.
Do you have to set up directories for app, private app, and dalvik, or does the program do that for you.
i had this working on first hero rom.

Pushing modified apk files breaks them

I was trying to push a modified apk into /data/app but it broke the program and I had to re-install the original. All I did was modify the png files in the Pandora widget and some of the colors of Widgetlocker. I'm using terminal emulator as well. I've pushed framework, blur and swype files with no problem. Why is this happening?
Did you use 7zip? If not try it because it won't break it.
Sent from my DROIDX using Tapatalk
7zip isnt always the way to go, Sometimes it works in the data sometimes it doesnt. What string are you using to mount the data partition?
Have you tried pushing the same app to system/app? I have had that work when data wouldnt play well.
I'm using WinRAR to replace the res file and that worked with framework and blur. But I also tried putting a red background into Fancy Widgets and that broke the apk too. This is the string I'm using.
su
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
cp /sdcard/com.teslacoilsw.widgetlocker.apk /data/app
cp /sdcard/com.pandora.android.apk /data/app
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
reboot
Doesn't the modified apk have to overwrite the original installed one? If pandora and widgetlocker are both in /data/app how would pushing them to /system/app help? I'm not trying to sound like a jerk I have never messed with any type of Linux stuff literally just started Android hacking this week. I'm getting it for the most part. I've come back from the Dark Side of Windows Mobile.
Nah you dont sound like a jerk, always fun to learn. I only got heavy into changing pngs one I got my x. I hade the D1 for awhile but never did my own themes.
Winrar... not sure that might be your problem, I switched to 7zip since thats what everyone recommended.
Also that string is for mounting the system part, not the data.
for data use
su
mount -o rw,remount -t ext3 /dev/block/userdata /data
then push your file
mount -o ro,remount -t ext3 /dev/block/userdata /data
odds are it wont remount it will say busy
so type
reboot
sometime you have to push over the original, sometimes you have to uninstall the original, sometimes you have to uninstall the original and push the file to system/app instead, and the worst one I ran into.... left the original in data/app and had to push the modified one to system/app..... yeah that one sucked.... i was scratching my head for days!
i usually resign the app , uninstall the original and reinstall the modified one using astro or somethin.
xda has a autosign program in here somewhere that can resign the app
Link?
Sent from my DROIDX using Tapatalk
Hmm that killed the apps too. Any other ideas? This is the last bit of customizing I'm trying to do then my phone will have an awesome red theme which I'm sure you will appreciate bad.
Sent from my DROIDX using XDA App
Could you send me the modified and original apk? Ill see if I can finger it out. I'll pm you my email.
Sent via your mom and tapatalk
sorry took so long to reply
http://forum.xda-developers.com/showthread.php?t=473580
basically i have the .bat file in same folder as tools
so before i push an app back to sdcard or w/e i run the program real quick
then astro will install it successfully<sp>
sometimes even using 7z the app just breaks when you mess with it and the only way it will run is if you push it to /system or resign it
just my experience on this
good luck
Ehh I use Terminal Emulator, I haven't graduated to SDK yet...
not to be rude, but of course pushing modified files like that will cause them to not install. You HAVE to resign the app even if you are just messing with the res pics.
No worries, like I said, I started Androiding on Monday. I signed the apk using the method a couple posts ago, but I can't copy the file to the phone. It says the device has either stop responding or is disconnected. I can throw a regular apk like Fancy Widget on no problem. I tried pushing it to the phone but it says the phone isn't mounted, even when plugged in and I can explore it through windows. What am I doing wrong?
hmm make sure you have the proper drivers for the phone for pushing files.
also the phone has to be in pc mode for adb make sure you have debugging checked in applications > development in the phone settings.
or just plug in the phone and switch to mass storage and drop the file in the phone that way.
think if you dont have the proper drivers none of those will work, check motorola website for the drivers or somewhere in xda im sure theres a link.
edit: http://www.motorola.com/consumers/v/index.jsp?vgnextoid=bda09ec8009a0210VgnVCM1000008806b00aRCRD
explodee you get my reply email? All the images look the same. Double check those zips and get back to me.
yeah i sent it right back fixed
edit - I just sent another email
Oh **** I just got it! I've been schooling myself in SDK for the last day and got ADB goin on it with the resigner from the other post. First I sign the app I want to install and then in adb just to the adb install command. But... I couldn't get the modified Pandora to install. Check it out.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Just got Pandora working too. I un-installed and renamed to pandora.apk and just pushed it to \system\app in terminal emulator.
Explodee said:
Just got Pandora working too. I un-installed and renamed to pandora.apk and just pushed it to \system\app in terminal emulator.
Click to expand...
Click to collapse
was the new one signed? I just pushed my themed handcent and themed laucher pro to system, still have yet to sign anything.
Come to think of it the pandora i had to push to system/app was only named pandora...
Pandora was not signed. I uninstalled the official pandora and renamed the com.pandora.android.apk to just pandora.apk, then pushed it to \system\app. So now all that is left is to theme the google search widget and I might be done for a while...

SOLVED - Theming HtcClockWidget.apk

Phone: Froyo 2.2 with root and S-OFF
I am trying to theme the clock widget with no luck. All I am trying to do is replace the flip digits, AM, PM, and background with identical sized graphics. I have tried replacing them with WinZip and 7Zip. I am signing them with the test signature which works with every other type of apk file.
I mount the system partition and push the new version with adb and when I restart all I get is a blank widget. It also shows up in the widgets list as something like 01db as the name.
So, I suspect the signing is the problem. Could be some signature check within the widget causing it to fail.
Any thoughts?
If anyone has this widget working with a black background and silver digits I would be just as happy.
I'm afraid I can't be much help at the moment, since I'm away from my computer, but here is a mod from the hero forums that I used to use on my eris. It'll be mdpi instead of hdpi, but taking a look at its files might help you out.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
http://forum.xda-developers.com/showpost.php?p=6270955
EDIT: You might also try making a metamorph or update.zip to apply the new widget. Sometimes that works better than an adb install.
mixedlemon said:
EDIT: You might also try making a metamorph or update.zip to apply the new widget. Sometimes that works better than an adb install.
Click to expand...
Click to collapse
Thanks. I will give the update.zip approach a shot.
Have you tried pushing the modified apk file without signing it first?
Oddity said:
Have you tried pushing the modified apk file without signing it first?
Click to expand...
Click to collapse
Actually no I haven't. Worth a shot Thanks
Well, that was weird... Pushing it unsigned worked. I never thought to try that since any add on apk's I have done needed to be signed.
Thank you
So, to summarize:
Code:
1) Open apk with 7zip and leave it open
2) Extract res folder to desktop
3) Modify graphics or whatever (I only did graphics)
4) Drag the res folder over the zip window and drop
5) Exit 7zip
6) Go into recovery mode and mount /system
7) Connect phone to pc
8) Open cmd and cd to your sdk folder where you put the apk
9) Push to original folder (in this case adb push HtcClockWidget.apk /system/app) on phone in recovery mode
Happiness
Awesome, glad you got it to work. The way I usually do it is to push any apk unsigned first, and if I have problems try it again but sign first.
Oddity said:
Awesome, glad you got it to work. The way I usually do it is to push any apk unsigned first, and if I have problems try it again but sign first.
Click to expand...
Click to collapse
I guess I just got hung up on signing since I have never had luck with unsigned. However, this was my first attempt at a built in apk.
Thanks again
Just incase anyone likes the silver on black numbers for their clock like I do I decided to post my mods to HtcClockWidget.apk
This is based on the stock 2.2 widget but may work on 2.1 ROM's
Requires being rooted so just use adb to push it to /system/app folder
Back up your original just incase you want to go back
NilsP said:
Just incase anyone likes the silver on black numbers for their clock like I do I decided to post my mods to HtcClockWidget.apk
This is based on the stock 2.2 widget but may work on 2.1 ROM's
Requires being rooted so just use adb to push it to /system/app folder
Back up your original just incase you want to go back
Click to expand...
Click to collapse
looks awesome thxs
tried pushing. but it doesnt seem to be going to the /systems/apps folder using the (adb push HtcClockWidget.apk /system/app)
RLKirk said:
tried pushing. but it doesnt seem to be going to the /systems/apps folder using the (adb push HtcClockWidget.apk /system/app)
Click to expand...
Click to collapse
Have you tried to push it in recovery mode with system mounted.
NilsP said:
Have you tried to push it in recovery mode with system mounted.
Click to expand...
Click to collapse
yeah i went to recovery checked to make sure it seen my device mounted system and pushed it done the size and time thing in dos as if it pushed the apk but then when i went and looked in the folder it was not there and i cant push the original clock back either lol... idk what it is
RLKirk said:
yeah i went to recovery checked to make sure it seen my device mounted system and pushed it done the size and time thing in dos as if it pushed the apk but then when i went and looked in the folder it was not there and i cant push the original clock back either lol... idk what it is
Click to expand...
Click to collapse
Not sure how to help. I just boot into hboot start, recovery mode, go to mount and mount system then open the cmd prompt and do the adb push HtcClockWidget.apk /system/app and all goes well. Have done it multiple times with changes
I am assuming you have the USB drivers installed and not HTC Sync.
When I ran SRS 2.5.2 it had the MOD for the silver clock widget, I now have 3.1 RC3 but when I try your method, "adb push HtcClockWidget.apk /system/app" it uninstalls the stock one but does not install the new one. I have to flash a Nandroid backup to restore it. What am I doing wrong? I really liked the one from 2.5.2 and want it again.
Update.zip
Sent from my ADR6300 using Tapatalk
Yeah, tried that. No good. I uninstalled the original and still no good. Now I have to reflash again. Any other ideas?
i pushed the file from post number 9 into system app and it shows up as being in system/app in root explorer but i no longer have it in my widgets list. i even tried pushing the old one back and i still have no clock in my widget list. what do i do?
jasonb1985 said:
i pushed the file from post number 9 into system app and it shows up as being in system/app in root explorer but i no longer have it in my widgets list. i even tried pushing the old one back and i still have no clock in my widget list. what do i do?
Click to expand...
Click to collapse
I can understand it not working if you are on other than a stock 2.2 ROM since it is from the stock. What I don't understand is why pushing you original backup back isn't working.
Can you reinstall it from your Nand backup?
NilsP said:
I can understand it not working if you are on other than a stock 2.2 ROM since it is from the stock. What I don't understand is why pushing you original backup back isn't working.
Can you reinstall it from your Nand backup?
Click to expand...
Click to collapse
i did a nandroid restore, back to where i was before. its just weird that its not working.

Problem porting Bionix

Guys I tried this without any success
Vibrant ROM = Bionix
Galaxy S 4G ROM = KD1 Deodexed (CWM Ready)
1. I decompiled, swapped many lines in Environment.smali (only file where I saw differences)
2. Re-compiled them into new classes.dex files
3. Removed old classes.dex file from each of the four files (services.jar, framework.jar, settings.apk and android_policy.jar)
Note on step 3 - I don't know why I had to do this for the other 3 files if the Environment.smali in framework.jar was the only file that apparently needed modification...but I moved on
4. Moved over (copy and paste) all the wifi files, modem & kernel
5. Finally, compiled the updated Vibrant ROM into a new ZIP file
6. Used Amend2Edify to sign the zip
Now, when I tried to flash this, it hangs at "Mounting mount point" for a minute or two, then it goes through a flash process...it eventually finishes with no errors, I clear cache and reboot the phone....the phone loops at the "Samsung Galaxy S 4G" screen (initial screen when powering on device).........and it sits there forever, never boots into anything.
Now when I was making edits in the Environment.smali, there were some entries for the sd card with subdirectory attached (otg_disk)...I changed from /mnt/sdcard/otg_disk to /mnt/sd/external_sd/otg_disk
I followed through each step carefully, I even downloaded an app that scans files within a provided directory for certain text, I scanned all the other files besides framework.jar for "INTERNAL" and it did not find anything pertaining to INTERNAL_STORAGE.....
Here is a screenshot of some more "INTERNAL" stuff I found..particularly in MediaScanner.smali
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Would we be changing language such as this also?
i hope Krylon,DrHonk, or robbbbit can chime in. Which version of Bionix you trying to port?
Beefvvl said:
i hope Krylon,DrHonk, or robbbbit can chime in. Which version of Bionix you trying to port?
Click to expand...
Click to collapse
It is the 1.3.1 Touchwiz version..
mikeDCMDVA said:
Guys I tried this without any success
Vibrant ROM = Bionix
Galaxy S 4G ROM = KD1 Deodexed (CWM Ready)
1. I decompiled, swapped many lines in Environment.smali (only file where I saw differences)
2. Re-compiled them into new classes.dex files
3. Removed old classes.dex file from each of the four files (services.jar, framework.jar, settings.apk and android_policy.jar)
Note on step 3 - I don't know why I had to do this for the other 3 files if the Environment.smali in framework.jar was the only file that apparently needed modification...but I moved on
4. Moved over (copy and paste) all the wifi files, modem & kernel
5. Finally, compiled the updated Vibrant ROM into a new ZIP file
6. Used Amend2Edify to sign the zip
Now, when I tried to flash this, it hangs at "Mounting mount point" for a minute or two, then it goes through a flash process...it eventually finishes with no errors, I clear cache and reboot the phone....the phone loops at the "Samsung Galaxy S 4G" screen (initial screen when powering on device).........and it sits there forever, never boots into anything.
Now when I was making edits in the Environment.smali, there were some entries for the sd card with subdirectory attached (otg_disk)...I changed from /mnt/sdcard/otg_disk to /mnt/sd/external_sd/otg_disk
I followed through each step carefully, I even downloaded an app that scans files within a provided directory for certain text, I scanned all the other files besides framework.jar for "INTERNAL" and it did not find anything pertaining to INTERNAL_STORAGE.....
Click to expand...
Click to collapse
the .smali given.in the op completed the framework.jar classes.dex. if u dont see any differences in the other two .jar files, great! changes have to be made in settings. apk, tho... our you wont be able to mount.
Sent from my SGH-T959V using XDA Premium App
mikeDCMDVA said:
It is the 1.3.1 Touchwiz version..
Click to expand...
Click to collapse
People actually like TW?
robbbbit said:
the .smali given.in the op completed the framework.jar classes.dex. if u dont see any differences in the other two .jar files, great! changes have to be made in settings. apk, tho... our you wont be able to mount.
Sent from my SGH-T959V using XDA Premium App
Click to expand...
Click to collapse
What changes in Settings.apk? I searched that for the INTERNAL string...I did not find anything partaining to INTERNAL_STORAGE like in the OP, but I'll screenshot what the search application found below for Settings.apk:
How do you think this should be handled?
mikeDCMDVA said:
What changes in Settings.apk? I searched that for the INTERNAL string...I did not find anything partaining to INTERNAL_STORAGE like in the OP, but I'll screenshot what the search application found below for Settings.apk:
How do you think this should be handled?
Click to expand...
Click to collapse
switch to external. everything.
Sent from my SGH-T959V using XDA Premium App
Damn.... Getting close, mikes way further than i got,
sent from my not so stock SGS4G
dude id test flash after that, btw... after you boot up (hopefully...) check your memory in settings. see if everything adds up.
Sent from my SGH-T959V using XDA Premium App
if it does work after that will you be uploading to this site?
Of course. Just re-compiled everything and swapping some necessary files, then I will sign the zip and try again. I really hope this works guys.....
Me too bro im starting to sweat!!! Ur getting so close dude!!! Thanks for stickin with it!!!!!!!!!!!!
mikeDCMDVA said:
Of course. Just re-compiled everything and swapping some necessary files, then I will sign the zip and try again. I really hope this works guys.....
Click to expand...
Click to collapse
hey, just to make, "extra-sure" you're up do date on cwm and able to restore, right?
Sent from my SGH-T959V using XDA Premium App
Yeah bro, I been up to date on CWM for sure. Hmm, I have used CWM to restore on this phone before...haven't tried on the CWM final yet..we'll see
Well, after the additional edits, still getting frozen at the initial "Galaxy S 4G" screen.
I don't know why, but it really hangs for awhile at "Mounting mount points..." during the beginning of the flash in CWM. Could this be a mount issue still??
Ugh...glad I did a nandroid backup this time..
Also, when I pop the battery and boot back into Android Recovery, I get a mounting issue:
Install default apk-files, please wait
E:Can't mount /dev/block/mmcblk0p2
(No such file or directory)
E:copy_data_default_apk:Can't mount DATA:
your storage is not prepared yet, please use UI menu for format and reboot actions
Cannot restore either..
" E:format_volume failed to unmount "/system" "
SOAB!!
***EDIT***
Actually just turned the phone completely off, and then booted into CWM again... /system is no longer mounted....so it is restoring now
mikeDCMDVA said:
Here is a screenshot of some more "INTERNAL" stuff I found..particularly in MediaScanner.smali
Would we be changing language such as this also?
Click to expand...
Click to collapse
I honestly don't remember if I change that or not .. lol .. I think I did.
mikeDCMDVA said:
Cannot restore either..
" E:format_volume failed to unmount "/system" "
SOAB!!
***EDIT***
Actually just turned the phone completely off, and then booted into CWM again... /system is no longer mounted....so it is restoring now
Click to expand...
Click to collapse
You're not using kernel and modem from the original Bionix right?
Well, I tried flashing again and then it boots up, but no picture on screen, keeps vibrating FC's every few seconds...and the key lights are on...going back to restore..

Dark Tremor's Apps2sd

I DO NOT TAKE ANY CREDIT FOR THIS JUST HELPING THOSE WHO WANT TO USE dtapps2sd​
I have seen alot of people asking where to get dtapps2sd on various ROMS so I am posting a Link.​
http://www.facebook.com/note.php?not...58809660835039
Instructions:
-Download dark tremors apps2sd and place it on the Root of your SD Card
-Boot your phone into Recovery *Power Button + Volume Down*
-Select Install zip from SD
-Flash dtapps2sd-2.7.5.3-beta04-signed.zip
-Reboot Phone
-Open up terminal Emulator (if you dont have it get it from the market its free)
-In Terminal Emulator type su *make sure its in lowercase* hit Enter
-Type in a2sd reinstall, your phone will reboot
-*Optional* once rebooted you can go back into Terminal Emulator and type in su hit enter and then type in a2sd datasd and let it run and reboot.
-*Optional* once rebooted you can go back into Terminal Emulator and type in su hit enter and then type in a2sd cachesd and let it run and reboot.
-*Optional once rebooted you can go back into Terminal Emulator and type in su hit enter and then type in a2sd cachedata and let it run and reboot.​
You will then notice a major difference in Internal Space.​
After I ran those 4 commands I have 222MB Used and 206MB Free
If this has helped you all I ask is you please hit the thanks button​
http://forum.xda-developers.com/showthread.php?t=715938
I was just looking 4 this
Thanks for making this available for others, I just happens to come to get the link from the Bliss Rom.
lithid-cm said:
http://forum.xda-developers.com/showthread.php?t=715938
Click to expand...
Click to collapse
Hey Thanks Lithid.. I did a search for dta2sd and dtapps2sd and Dark Tremor and it either brought up nothing found or threads of u stalking about it.
If a Mod can delete this thread that would be cool
---------- Post added at 02:04 PM ---------- Previous post was at 01:53 PM ----------
The Rubenator said:
Thanks for making this available for others, I just happens to come to get the link from the Bliss Rom.
Click to expand...
Click to collapse
no problem, I myself hated searching thru threads looking for the download link. I couldnt find the actual post using Search and posted it up here.. Lithid did bring it to my attention though the actual link for the Script which is awesome so im hoping a mod can delete this thread and maybe make that script a sticky as it is very very useful and I know as more people will want this script
Elw00d said:
Hey Thanks Lithid.. I did a search for dta2sd and dtapps2sd and Dark Tremor and it either brought up nothing found or threads of u stalking about it.
Click to expand...
Click to collapse
Really?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
-*Optional* once rebooted you can go back into Terminal Emulator and type in su hit enter and then type in a2sd datasd and let it run and reboot.
Click to expand...
Click to collapse
In my experience, I'd recommend not moving data to SD: many users have noticed performance suffers when doing this. You'll gain plenty of space just moving apps and dalvik, it may not be worth the hit to move data as well.
Also, I think you left out a key step: for this to work, you have to partition your SD card beforehand--might include that in your guide. I do this from AmonRa recovery (32mb cache, 2048mb ext2, then convert ext2 to ext3, then flash everything.)
I don't know if this thread will get removed in favor of the older one, but in case anybody else stumbles in here, it's worth having these points noted, imo.
edit to add: complete setup guide here (post#2 in the dtapps dev thread)
http://forum.xda-developers.com/showpost.php?p=7021325&postcount=2
lithid-cm said:
Really?
Click to expand...
Click to collapse
lol I never thought to use Google
I used the search on this forum. Why didnt I use google to search? Honestly I have no clue I just wasnt thinking properly. Well I kind of was thinking correct as this Forum does have its own Search Function, but apparently it doesnt bring up anything when you type in a2sd or dta2sd
Elw00d said:
lol I never thought to use Google
I used the search on this forum. Why didnt I use google to search? Honestly I have no clue I just wasnt thinking properly. Well I kind of was thinking correct as this Forum does have its own Search Function, but apparently it doesnt bring up anything when you type in a2sd or dta2sd
Click to expand...
Click to collapse
I have never used this search function. Doesn't compare to googles!
lithid-cm said:
I have never used this search function. Doesn't compare to googles!
Click to expand...
Click to collapse
that is correct, I have tried to search lots of things pertaining to ROMS and it doesnt help me at all.. I went to Google and Damn wouldnt you know it brings what im looking for up within seconds.
Thanks again for reminding me GOOGLE = my FRIEND!!!!
Will this work with CM7?
Sent from my Evil EVO
tinpaul said:
Will this work with CM7?
Sent from my Evil EVO
Click to expand...
Click to collapse
I use simple2ext (s2e) with CM7. It's an app that handles the script for you, simpler and with a nice GUI (you still have to partition SD yourself beforehand.) Same dev has another nice app called FreeSpace that you might want to check out as well.
https://market.android.com/details?id=ru.krikun.s2e&feature=search_result
Thanks for the info.
Sent from my Evil EVO
Ok so i followed all the steps to partition and then flashed the latest zip and rebooted. Now i cant find most of my apps which i presume to be on the partitioned part of my SDcard. My question is how do i get to them to use them? i tried redownloading TB so i could reinstall but that doesnt even show up in my apps drawer. Could someone explain to me where i went wrong and I apologize if this has already been mentioned. I did do a thread search and could not find the info I was looking for...
Im running Synergy RLS1 if that makes a difference with stock kernel.
Do I need to do this everytime I install new apps or do I just need to reboot my phone and it will work automatically?
Sent from my PC36100 using xda premium
Invalid command?
ok everything worked but "a2sd cachedata" it says invalid command?
Hey brother,i love this mod,i was definitely having memory problems before i installed this.Excelent work.There is a little app that was developed to help people that don't know how to use ADB.... A2sdgui and heres the flashable zips.. Flashable Zip
7DSINS said:
ok everything worked but "a2sd cachedata" it says invalid command?
Click to expand...
Click to collapse
I don't think that one is valid anymore but was used on the older versions. Here are all the current commands...not sure if you are trying to move cache or data. "nocache" moves it to internal storage and nocacherest will move it as well as rebuild davik on reboot....cachesd moves to sdcard
http://www.facebook.com/note.php?note_id=158826790833326
Sent from my PC36100 using Tapatalk
can you convert ext 3 to ext 4 after everything is installed or will it wipe the SD partition and mess up my rom install?
Here's a link to a gui interface for a2sd. To really use this you need a class6 sd and sd speed increase from market.
http://forum.xda-developers.com/showthread.php?t=991684
Contains a complete write up on usage of a2sd.
Been using it for over a year. Since day one of my root. 700 mb ext partition.
Or maybe give this a shot too?
http://therootofallevo.com/2011/04/10-step-guide-properly-set-darktremors-a2sd/

Categories

Resources