Related
As someone who came from a Nexus One, I prefer to flash on the go. I usually take a Zip I have on my phone with ua_redbend in it, edit the update script on the go and drop the appropriate Modem.bin or zImage into it. But for those who haven't done this on the go, all you'll have to do is unpack the tar file most people upload, drop it in the respective ZIP file below using an appropriate program on your phone (unrar, astrozip, astro file manager for a few) and use Clockwork to flash on the go...
Of course, I am not liable for any misflashing that may occur, I just thought that this would help out on the go...
The folder to drop your respective file into will be the kernel_update folder.
Enjoy guys! And flash on the go Go GO!
Edit: Works as well with Infuse. It saved my Bacon when making my 1.0 Infusion so that I could reupload it quickly.
I just download the files to my computer that are flashable with clock and copy them all onto my sd and flash while i drive lol
Sent from my SAMSUNG-SGH-I897 using XDA App
That works too. I just thought that everyone would love to have these.... I love being able to flash anything anytime without sitting down at my computer.
Thanks bedwa, ive been looking for a method like this! All I ever really have to use my ext. Sd for is priority files and a handful of things for post-flash care such as my ever-so-loved launcher 2 apk, setiron's kernel, and a few others so when I help someone flash I put my sd in there phone and install the basics.
So I just drop zimage in w/ no edit?
I appreciate it. Thanks.
Sent from my SAMSUNG-SGH-I897 using XDA App
Flash a z4 kernel and you are kind of stuffed lol. Well it's more of a nandroid and ROMs on the internal SD on my side of the world.
tiger4j said:
Thanks bedwa, ive been looking for a method like this! All I ever really have to use my ext. Sd for is priority files and a handful of things for post-flash care such as my ever-so-loved launcher 2 apk, setiron's kernel, and a few others so when I help someone flash I put my sd in there phone and install the basics.
So I just drop zimage in w/ no edit?
I appreciate it. Thanks.
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
Download the respective zip and drop it in the "kernel_update" folder in the zip. No other work needed..... I just wanted to make it quicker for others to do this on the go....
so is there a way for this method to restore my captivate back to JF6? i'm on a mac and don't have access to windows all the time, so one click back to JF6 isn't a common option for me
Thats a bit trickier.... I would assume that you could redbend the whole thing, but you would need ALL the partitions and all the proper locations. Though it may be easier with hiemdal.....
lolgrec said:
so is there a way for this method to restore my captivate back to JF6? i'm on a mac and don't have access to windows all the time, so one click back to JF6 isn't a common option for me
Click to expand...
Click to collapse
Idk about JF6 but I've been using the stock OTA UCJH7 as my jump-off for flashing ROMs. I always do it through CWR and (as long as I remember to disable lagfixes) I've never had a problem.
Made my phone a damn good brick by forgetting to disable the lagfix and trying to flash back to stock, but as long as you're not as dumb as me you shouldn't have a problem.
When I first got the phone I spent hours trying to get my computer to recognize it in download mode before eventually coming to the conclusion that I was having hardware problems in my USB ports. I've only ever used Odin to go to stock *once* and I did it on a friend's laptop. So, figure that you and I have about the same access to Odin. I feel pretty confident with this on-the-go method of returning to stock and flashing.
Edit:
Also, now that I think about it, you can probably find a stock JF6 update.zip to be used with CWR. You may even find it somewhere linked to that thread that I posted.
This seems very interesting.
I came from the HTC Legend background and i was always flashing on the go then. I bricked the Cappy when i tried flashing on the go (as i was so used to on the legend).
However, looking at your files, i really have NO IDEA how to use this.
Could you post a step by step guide as to how to use this?
Would be great if you could dummy proof this so users like me won't mis-flash.
At the moment, i'm looking at your files, and i have no idea what order of flashing should another custom rom be.
However, i can only assume that these files are flashed BEFORE the custom ROM?
As in -> recovery -> Kernel & modem -> Custom Rom.
In this order?
These aren't flashable update.zips they're just guts to insert into a pre-made update.zip.
As far as on-the-go flashing with a Captivate... it's the only way to fly ;D
Still confused on how to use this
so the kernel is the zimage file in the update folder, is that correct? and the modem is the modem.bin? those are the files I would need to replace
wvumaniac79 said:
Still confused on how to use this
Click to expand...
Click to collapse
I think I've got it. So i drop the zimage inside the kernel_update folder and leave the redband thing?
I would very much like to try this but am a bit confuzzled Can I download and flash or do I have to do some adding and things. I"m under the impression that I have to mod some more after I download these... would be quite nice to have these w/ the stock zimage or whatever already in the zip...that's just me..mostly because I'm at work and would really like to reflash a rom right now.
Someone please post a step-by-step guide to using this please...
Am confused and without help right now...
Thanks
i agree a step by step would be great
+1 for a step by step!!!
I saw this thread and it made me gain interest in this again. I know many do not like three ringtone volume increasing.
If this is possible on the international version, we should be able to do the same right?
http://forum.xda-developers.com/showthread.php?t=759537
This would be great i hate that volume increase in ringtones. Any dev plz port this for Vibrant.
The meat of it
The meat of what they are doing appears to be in >> THIS << post, which I will quote below. If any developer that knows what they are doing wants to attempt this for the Vibrant the quoted post should give them an quick idea of its feasibility. If it looks like it is doable there is more info in the original I9000 thread that is linked in the OP.
the_ozyrys said:
Hello,
I've just found a (not easy) way to disable increasing ring.
This involves using Apk Manager to backsmali Phone.apk,
which then have to be replaced by patched version, either by root access or creation of update.zip.
Procedure:
1. Get your Phone.apk (\system\app\Phone.apk) and copy it to computer.
2. Use Apk Manager to decompile it.
3. Open folder with Phone source (<Apk Manager folder>\projects\Phone.apk\smali\com\android\phone).
4. Open file Ringer$1.smali with your favourite text editor.
5. Find line that reads:
Code:
invoke-virtual {v1, v5, v4, v3}, Landroid/media/AudioManager;->setStreamVolume(III)V
6. Delete this line, save the file.
7. Compile Phone.apk, put it back to phone.
8. Enjoy constant-volume ringtones.
Side effects:
- currently not known
- if you have problem decompiling Phone.apk, >here< is the solution
Maybe somebody will make pre-patched packages, I'm currently using JM5
so I can only provide one for this firmware.
Click to expand...
Click to collapse
are you guys talking about when someone calls you and the ringtone is like quiet almost, and then goes super loud? if so, i want that too, its annoying as hell.
xriderx66 said:
are you guys talking about when someone calls you and the ringtone is like quiet almost, and then goes super loud? if so, i want that too, its annoying as hell.
Click to expand...
Click to collapse
Yes
4 5 6 7 8 9
I will work on this tomorrow after I get off work unless someone beats me to it. This ringer volume issue has been bothering me a lot with this phone.
That would be amazing man. It would have to be incorporated into every rom (as an option)!
This thread should be en dev section.
pretty sure that is where I posted this initially..... must have been a mod moving it.
OK so this fix rrequires that use the .apk's from a deodexed rom which I don't have on hand so I will down download a few and edit the .apk's. Gonna take a bit more time than previously thought but I will get it done soon.
YetisAreReal said:
OK so this fix rrequires that use the .apk's from a deodexed rom which I don't have on hand so I will down download a few and edit the .apk's. Gonna take a bit more time than previously thought but I will get it done soon.
Click to expand...
Click to collapse
Thank you for this. Please log your work. With a good writeup and good understanding of what is going on it would be nice to see devs put this in as a option on all the deodexed ROMs.
Some good news and some bad for now. I have successfully decompiled and recompile the APK as told but no luck so far in fixing the ringtone. Ran into a similar issue that the i9000 users were with each build being different. I am testing on JL4 first with other builds to follow once I am successful. In my Phone.apk I found two lines similar to the line mentioned in the OP for the i9000 but removing either one or both has has no effect for me so I am digging deeper and trying test builds. Java isn't exactly my thing so if anyone with java know how would like to look at the decompiled script I can forward it to them.
EDIT: added the file for peer review just remove the .txt and open with any text editor.
After reading this last night, seemed easy enough, I was determined to try this. Dl'd the apkmanager, extracted my phone.apk, and began playing. Apparently, this is listed in the About/Tips/Debug (menu selection 23) inside of apk manager, you cannot decompile themed apk's, which is exactly what i was trying to do with my Ginger Clone phone.apk. Oh well, back to the drawing board, or at least something with a stock phone.apk i can play around with. Anyone have one, unthemed, from froyo (preferrably jl4 as thats the basis for the current rom I'm running) they want to post?
Br1cK'd said:
After reading this last night, seemed easy enough, I was determined to try this. Dl'd the apkmanager, extracted my phone.apk, and began playing. Apparently, this is listed in the About/Tips/Debug (menu selection 23) inside of apk manager, you cannot decompile themed apk's, which is exactly what i was trying to do with my Ginger Clone phone.apk. Oh well, back to the drawing board, or at least something with a stock phone.apk i can play around with. Anyone have one, unthemed, from froyo (preferrably jl4 as thats the basis for the current rom I'm running) they want to post?
Click to expand...
Click to collapse
Here you go stock JL4 Phone.apk, please let me know if you get this working I had no luck.
YetisAreReal said:
Here you go stock JL4 Phone.apk, please let me know if you get this working I had no luck.
Click to expand...
Click to collapse
Thx! I'll be giving it a go in the morning when I get to my pc.
Ginger Clone's of the World Unite! Via the XDA App
Epic Fail. I successfully decompiled, edited, and recompiled the APK. The exact line in the script that was linked instructions from T313C0mun1s7 was removed, script file saved, apk recompiled properly, and pushed to the phone. Rebooted phone, the stock jl4 i just edited actually works and doesn't fc on Ginger Clone R2 Final, but the ascending ringtone is still there. I'll post the edited apk if anyone is interested, but it seems to not work. I see, more research in my near future.
Edited - spoke too soon, fc's on outbound calls. Gonna try again granted I have the time this morning, if not, I might have to wait until I get back in town after the holidays to play around with this.
Edit 2 - No more fc's on outbound calls with the newly edited phone.apk, but also, still having the ascending ringer. I removed both lines in the script that echoed the linked post on page 1, tried with removing one or the other first, then both, and still the ascending ringer persists through all attempts. Hrm.
I see you ran into the exact same problems I did using JL4 stock. I am on JL5 now so I am going to test a few things on this build now in the hopes I can fix this.
YetisAreReal said:
I see you ran into the exact same problems I did using JL4 stock. I am on JL5 now so I am going to test a few things on this build now in the hopes I can fix this.
Click to expand...
Click to collapse
First of all I have no idea what I am doing. Second I am not sure of all the issues you guys are having. I am just trying to think outside the box. I found this not sure if it applies or not.
apks can be re-edited a few different ways. The easiest example is by replacing the individual files within the apk by dragging and dropping the files in a program such as 7zip or winrar. In this manner the signature of the apk isnt broken. If you must unpack the apk file then when you pack it back up you must resign the app to have in install successfully. Do a google search for Stericson's apk sign application (its over on xda forums). I usually prefer the first way, but have also done the second method and it works as well.
yetis - yeah, same place you were getting stuck. let me know what your results are for the jl5 attempt. i tried with both the jl4 stock and ginger clone apk's this morning, all with the same results.
nomad - thx for the heads up, i am admittedly a novice in the android world, but have been in IT for years and am a self professed computer geek. With the apkmanager posted earlier in this thread, it will do all of the uncompiling and decompiling for you, as well as signing and a ton of other things written into the script, all based on user choices. it does warn about signing system apps after recompile, unless you want to resign all of the other system apps. Never had a problem with the installing of the modded phone.apk, just push it to the system/app folder and reboot, and the last one i did worked flawlessly without and fc's, but did not fix the problem of the ascending ringer.
Yetis, I was over reading through the thread on this in the i9000 forums, and I dug up some information that might help us here. I'm away from my pc so can't verify any of this right now.
-Make sure the rom is deodexed.
-Delete the line that matches what was posted earlier, I think it was the first one in that script, not the one way down at the bottom, leave that one be.
-When recompiling, set the compression in apk manager to 0 (not sure how to do that without the program in front of me)
When you go to push the file, put your phone in airplane mode first, push, then reboot.
Let me know if any of this helps, good luck.
Ginger Clone's of the World Unite! Via the XDA App
A while back when I didn't know what I was doing, I downloaded Root Explorer and went into /system/app to delete some At&t bloatware. I was dumb not to rename the extension or 'freeze' them, so now when I update it gets stuck on error AttMusic40.apk (which is one of several At&t apps I removed). So anyways, I need the original Bravo apps so I can move them back over to /system/app, that way the update can complete it's self.
Thanks in advanced
NVM. Found HERE: http://forum.xda-developers.com/showthread.php?t=955075&page=13
That BDX is already on it (thanks)
Sorry for the n00b behavior.
I also did something quite stupid. I changed my boot animation without saving a back up. If someone can give me the original to animation. Or just the sound file that goes with it? I would really appreciate it. thanks
Ok guys here you go. This is from a system dump someone linked me to a while back of 2.1. It looks good and legit so I am posting it up on a server and giving you the ability to grab whatever you need AND see how it supposed to be stock.
enjoy.
http://46.4.232.120/bravo/
(if you find this useful consider buying my donation version of my app
Any chance you could zip the apps, taking forever to download them one at a time
this is where I am stuck, I went and looked at that guys linked dump, but can't find attmusic40.apk or any of the other bloatware apps that I deleted.
I tried the factory reinstall, but it didnt restore the att bloatware I deleted, how can I get a hold of those files?
is there an image of the 2.1, or a work around the file check to install 2.2
edit: nm, I used the 2.2 stock sbf.
I'm in the process of deodexing the stock ROM (4.5.1-134_DFP-82) on my Defy+. I've tried a number of the deodexing tools posted around XDA and elsewhere but nothing would run anything like clean, so I've been building my own script to do it.
I've successfully deodexed everything in /system/framework/ and 151 out of 155 odexes in /system/app/. It has been quite interesting, tracking down the missing classes when something doesn't deodex clean first time with the default BOOTCLASSPATH files. Unfortunately, though, four of the .odexes in /system/app/ have got me beat.
The first one is Settings.odex. This is reporting:class Lcom/motorola/android/mirrorservice/IMirrorService; cannot be resolved.I can't locate that class anywhere. I've tried disassembling everything in both directories and searching the results but it just doesn't seem to be there. Settings seems rather too important to just allow baksmali to ignore the error.
The other three - DLNA.odex, MediaGallery.odex and VideoPlayer.odex - all display the same symptom. Trying to deodex with just the standard BOOTCLASSPATH files gives the error:class Lcom/motorola/android/extdispservice/IExtDispService; cannot be resolved.Adding /system/framework/com.motorola.blur.library.service.odex to the BOOTCLASSPATH files makes that go away, but instead gives the error:Could not find superclass Lcom/google/protobuf/GeneratedMessage$BuildeI've seen that one several times and the way to fix it has always been to add /system/framework/com.motorola.blur.library.utilities.odex to the BOOTCLASSPATH files. But in this case I end up with the error:class Lcom/motorola/android/extdispservice/IExtDispService; cannot be resolved.again. It's taking me round in circles! I've tried reversing the order of utilities and service but that doesn't fix it either.
Anyone able to suggest how I might get rid of these errors? The second one in particular is doing my head in!
OK, so I've done a bit more digging around online and it seems that both those classes are to do with the HDMI interface, which of course the Defy doesn't have. baksmali continues anyway and creates the out folder, so I'm assuming that it should be OK to zip those back in to the relevant apks and try those. Does that sound right?
Hi ejstubbs
thanks for starting this thread...i was wanting to start deodexing roms on my own. can you please help me with the apps needed and/or some link where i can get a thorough knowhow about deodexing roms for my Defy?
Questions go in the Q&A section, not the Dev section.
I was watching the video and following all the steps here "How to Get Free Native Wifi Hotspot on the Sprint Samsung Galaxy S4"
I did the root just like showed on the previews video. got root access and all. that was perfect. but my problem was with the Hotspot video. is a mistake that I made on my part. I downloaded both of the .JAR and .ODEX files into my phone. Got "Rom Toolbox" just like he said, now this is the part of my problem. both of those two files downloaded I have to paste into the "System/Framework" folder. just like in the video, he said to rename both of the original files with a ".BAK" extension just in case. well, the first file that I renamed was by mistake the one just over the first one. "secocsp.odex" so now that file has a .BAK extension. this is my first time using that problem and I did see my mistake the second the file was renamed. i was going to remove the .bak after renaming the two right files "services.jar and .odex" the second i was done adding the back up extensions i forgot to rename the first file back and now my phone won't boot up. is stucked on the yellow sprint booth up page and the blue led solid on :crying:
how can i go back and rename that first file back and get my phone to work again???
thanks for all your help guys!
Since i'm new to the forum i can't post links at all whole under 10 count post but the youtube video is the same title i posted
How to Get Free Native Wifi Hotspot on the Sprint Samsung Galaxy S4
by qbking77
eyes rmtone
this was all my mistake and fault. i knew the first file was wrong the second i added the extension and after renaming the two right now i completely forgot to rename the first one back before restarting the phone
Questions and help issues go in Q&A and Help section
Thread moved
FNM
i'm really lost here. I did a Master reset thinking that would fix the problem but even after the reset it won't load pass that yellow sprint screen.
what can I do now to get the phone to work again?
I really need help with this
cesardrgn said:
i'm really lost here. I did a Master reset thinking that would fix the problem but even after the reset it won't load pass that yellow sprint screen.
what can I do now to get the phone to work again?
I really need help with this
Click to expand...
Click to collapse
I'm not sure what all you have done but can you get into recovery currently? If so, should be able to do a full wipe and flash a rom (either stock or custom) or restore a backup.
If you cannot get into recovery I would just Odin back to factory stock and start over from scratch. Use this thread for reference: http://forum.xda-developers.com/showthread.php?t=2277480
Also, if you are going to be flashing mods should always have a nandroid handy just in case things like this happen.