yashsingh1/xdaforums huggingface dataset:
[Droid 2 Android Development] Stephan_:
What exactly is theme in the launcherpro? Sorry to have to ask but couldn't the image be provided for the app drawer from the screenshot? Thanks for the great work! :D
[Droid 2 Android Development] chrstdvd:
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system

cp /sdcard/app/* /system/app/

cp /sdcard/framework/* /system/framework/

rm /system/app/*.odex

rm /system/framework/*.odex

mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system

reboot

Questions:

1. Could you explain the Mount line?

2. When you "rm" the odex files what happens. I mean have you done something to the associated .apx files?

If not, does that mean I could just use these commands and remove my .odex files and I would be what is called deodex'ed?

3. What is the benefit of de oxed' ing?

I am keeping an text file with abd instructions for different categories and do not understand some of the commands like the mount line that is the same in most of the procedures.

I have been googleing around trying to find a tutorial or lesson plan for adb and keep bookmarks on sites I find. Most of the info on the net that I find, you can get by typing adb help. That is fine, except it does not really explain what the commands mean or do.

Understand you are busy man, so if you do not have time for this, I'll understand. I am retired and have nothing else to do. Ha!
[Droid 2 Android Development] goliathvt:
This is probably more information than you wanted to know, but you seem to be interested in learning so...

This line mounts the /system partition in read-write instead of the default read-only. In linux, hardware has special device files that are housed in the /dev/ directory. These devices get "mounted" for use to a mount point which usually has a nice, human-readable name. In this case, "/system". The "-t ext3" part defines the file system type. Typical linux file systems are ext2 and ext3. Winblows file systems are things like FAT32 and NTFS.

So, the command spelled out is something like this: remount in read-write mode the block device at "/dev/block/mmcblk1p21" to the mount point "/system" using the file system type "ext3".

Yes something has been done. Deodexing is a lengthy process that, in part, converts the .odex files back to .dex files and reincorporates that data back into the associated .apk file. This is necessary for theme creation and some other kinds of development. The .odex files tend to prevent modification of .apk's, which is required for things like themes. The default .apk's are also signed zip files with a signature to prevent against tampering. In other words, although you can rename an .apk to .zip and extract it, you can't decompress an .apk, modify its contents (change an image or icon, for example) and then recompress without some consequences. Deodexing removes the signature stuff, making it far easier for developers to get at the guts of the content within the .apks.

No. Simply removing the .odex files without replacing the .apk's with modified (deodexed) versions would leave you with non-functioning applications. The .odex files contain code that has been removed from the .apk files by developers in an effort to compress data and speed up the initial boot process.

Basically, when you phone boots for the first time, a lot of information is being decompressed into the /data directory for easy, quick access. The .odex files help streamline this process. With their data reincorporated into the .apk's, booting takes longer, but the benefits, like themes and other fixes that probably won't ever be available to non-deodexed phones, usually far outweigh the drawbacks.

For now, the ability to install custom themes is the main benefit. However, community developers are often able to provide fixes to problems on deodexed phones that the official devs will not, like the HTC Hero's stock lock screen issues.

If you're interested in learning more about adb, you will probably want to swan dive into some linux documentation. Without a linux background, the adb stuff will seem pretty foreign. I'd include links to some sources, but I'm new here and that's been restricted.
[Droid 2 Android Development] Angdroid:
All that is themed in launcher pro are the icons when you long home press the home screen. So Shortcuts, Widgets, Folders and Wallpapers are using the same icons as Blur Home. Also the people and phone icons have been replaced to match the blur icons when you are using the default icons.
[Droid 2 Android Development] Angdroid:
He took the words right out of my mouth ;)

Thanks!
[Droid 2 Android Development] chrstdvd:
Thank you so much for the info. Linux huh, guess I will dive right in. My background is Basic, FORTRAN, COBAL AND Visual Basic for Apps (Excel only). I quit trying to keep up with Visual Basic because Object Oriented Programming was really starting to irritate me. I was fairly good in DOS back in the day. These adb commands remind me of DOS, so hopefully I will catch on and understand.

At least in the olden days you got a manual to explain the commands with some examples.

Anyway, Thank you. I will start Googleinh Linux.

Found this site and I am in pig heaven. Thanks again, things are starting to make sense, from the "old days perspective".

http://www.linux-tutorial.info/
[Droid 2 Android Development] Juanito_08:
can i install this in top of a custom rom? i just want the black status bar. Would i still have to push the app files or just push the framework? FYI: I have the epic rom, i really dont like the statusbar icon lol
[Droid 2 Android Development] :
It depends what version his ROM is based on. If it is 2.2.2 then it may work. You can always try and make a back up before.
[Droid 2 Android Development] goliathvt:
One thing you may want to mention when using the adb method is that at the execution of the final mount command (before reboot), adb may report "Device or resource busy." Here, I just waited a minute to ensure everything was done writing, then executed the reboot command.

Didn't want anyone to freak out if they saw that when going through the process.
[Droid 2 Android Development] chrstdvd:
One more question so I understand

rm /system/app/*.odex

rm /system/framework/*.odex

My first impression is that if the files are already deodex'ed, why do we need to use the above instructions?

I think the reason is because we are not flashing an spf, rather overwriting the apx files on our system with your new files. Then we erase/remove the original odex files that came with the system with the above instructions.
[Droid 2 Android Development] goliathvt:
If you look at the file sizes between the Droid 2's original .apk's and the ones contained in this package, you'll see these new ones are larger. That's because the .apk's included in this release have been deodexed--meaning the associated .odex files were converted back to .dex files and then reinjected into the .apks.

Since we're overwriting the old .apk's with the copy statement, we're free to delete the .odex files because they are no longer needed.
[Droid 2 Android Development] local_crack_dealer:
man, thank you all for this.

edited because for some reason the droid was switching to usb mass storage. thanks to everyone in this thread.
[Droid 2 Android Development] :
No problem dealer...

Dont smoke your own product ;)
[Droid 2 Android Development] Thornfulless Rose:
can someone please help????????:confused:

i dont mean to whine but everything that ever involved adb i always avoided since i had an eris>droid1>now droid2. IT NEVER WORKS FOR ME!:mad: i get so frustrated. anything i ever tried, i never get pass the first step because it always says adb is not recognized blah blah blah, every single time i try it:confused:. i have the latest android sdk and everything, what is the problem:confused:?

and also, usb debugging doesnt show up when in pc mode on my droid 2. the only time it shows up is on charge only.

plzzzzzzzzz help me:eek:! i really want to install the galaxy s theme on my droid

thnx in advance!:)
[Droid 2 Android Development] :
When you are in PC mode you will not see the debug icon. Give it a minute or two, then open command prompt and type adb devices, if you are connected it will list your device.
[Droid 2 Android Development] Thornfulless Rose:
when i enter these commands↓ it says "no such file or directory"

rm /system/app/*.odex

rm /system/framework/*.odex

i put them (app and framework) on my sd card so why would it say that?
[Droid 2 Android Development] Stephan_:
Those commands remove .odex files from you're phone. If you applied another theme/rom already then more then likely the files are already removed.
[Droid 2 Android Development] :
That command is to remove the odex files in the phone's system/app and framework folder. Are you rooted? If so then check to see if you have any files that end with odex in app and framework folder.
[Droid 2 Android Development] Thornfulless Rose:
i just went ahead and applied the theme and everything is a ok.

did some research and found that i had to change the path in 'my computer' for adb to work.

thanks you guuys!
[Droid 2 Android Development] :
No problem...glad it worked out for you!
[Droid 2 Android Development] bluek24a4:
Just did this, worked great, thanks. Quick question though, it may be a stupid one. Do we have to keep the app and framework folders on the sd card after deodexing?
[Droid 2 Android Development] alterego712:
when i copy over the system i get a bunch of unknown error:0s then the last couple say no space left on device and then when i copy the framework they are all no space left on device.... anyone know how i can fix this?
[Droid 2 Android Development] :
Nope

Make sure you have followed all instructions correctly and that you have root so the files can be removed. Or you can just jump on the 2.4 ROM that is already deodexed...
[Droid 2 Android Development] alterego712:
pretty sure i followed the directions....

do i got to remove the system/apps and framework b4 i try to copy?

and are u talkin about the 2.4 r2d2?
[Droid 2 Android Development] :
Yes you should remove all apps and framework files.

Yes the r2d2 2.4. The version I have up is stripped of Star Wars stuff...
[Droid 2 Android Development] bluek24a4:
So just to make sure, we may delete the app and framework folders off the root of the sd card after we have deodexed?
[Droid 2 Android Development] :
Yes you can remove them from SD Card after you copied them to phone.

I suggest to get with the new 2.4 ROM. It is the latest build from Verizon and it is already deodexed. It solves a few issues too like the wifi.
[Droid 2 Android Development] djhcmd:
Anyone else getting a Gmail force close after this?
[Droid 2 Android Development] plasticmajestic:
I was getting Gmail FCs with the black status bar DEODEX along with Kangerade's Blude Theme. I fixed it by using appmanger to remove Gmail updates, rebooting phone, then updating GMAIL through the market.
[Droid 2 Android Development] sapko:
I cant get this to work, performing this process with a macbook. Do I open terminal via sdk or regular terminal, new to all this.
[Droid 2 Android Development] New Guy:
Might be a noob question that I should just keep researching, but I'm tired and am hoping to catch a break.

I got adb working, got rooted, installed the bootstrap program (and donated ;)), made a back-up. Did the launcher pro deal and got the new icon's and what not....

Is there an easy way to turn my status bar black and keep launcher pro? I don't have photoshop (I read some way to do it with that, but needed deodexed or whatever to change the clock).... After all this, I love they way everything is, but I want to change the status bar and back all of that up before I try a custom ROM or any of that....

Thank you for the help so far, you guys are awesome!

Edit: After reading my rambling... I want my phone to look like your black pictures from the original post, but keep the launcher pro features and widgets. Is that possible?
[Droid 2 Android Development] New Guy:
So I decided to experiment, and after I installed the LP, I did the first package too. It worked exactly like I wanted it to. I have the black status bar, and the scrolling dock and LP widgets. I'm LOVING the new look, I don't even think I'm going to do a new ROM now.

Thanks a million!
[Droid 2 Android Development] GeorgeHahn:
Will this work with 2.3.20 update?
[Droid 2 Android Development] botnryan:
how long does the reboot typically take? does it stay on the motorola M screen for a while? like mine hasnt even made it to the droid eye

edit: dammit..if i did this to a d2g am i screwed?
[Droid 2 Android Development] :
Should have not done this on D2G :(

You might be screwed...try pulling battery and see if you can get into recovery or booting up while holding down power key.
[Droid 2 Android Development] botnryan:
i got it to go to recovery, so i just stuck an empty sd card into my mem card slot on my computer, downloaded fission for the d2g, put that on the sd card, put it in phone, flashed the rom and everythings back to..almost normal, with the exception i cant go back to stock rom yet, but at least it works.
[myTouch 3G, Magic General] K3n H1mur4:
Hi there, I'd like to know if there is any way for the system to prompt me if I want the app to be installed in the main memory or in the SD card. I know you can change the settings to make the system install automatically wherever you want, but I want some apps installed to the main memory (specially those that has widgets, so the widgets don't crash at reboot or resetting Launcher), and others to be installed at the SD card (those apps which I don't care about losing performance, but I'd like to have my phone running smoothly, so I don't want to install many apps to the main memory).

Plus, whenever I reboot (actually turning off then on again), the shortcut icons to the apps installed in SD card all go to that standard app icon (the .apk system icon), and I have to reset Launcher to get the icons again. That happens almost always. Is there any way to fix it?

System info: running Froyo (FroyoRedux CM6 Mod), Magic 32A (even though I don't think this last info matters).
[EVO 4G Q&A, Help & Troubleshooting] ellis125:
I can edit the framework-res.apk and it works but I'm wanting to edit it more and every time I push it my accounts get deleted (google, facebook,etc.) Is there any way to keep this from happening?
[EVO 4G Q&A, Help & Troubleshooting] dglowe343:
I don't believe so.

Sent from my SUPERSONIC
[EVO 4G Q&A, Help & Troubleshooting] ellis125:
Ok well I know when I flash zips that edit the framework it doesn't effect my accounts so how would I be able make flashable zip files to edit the framework?

Swyped from my VaelPaked Evo 4G
[EVO 4G Q&A, Help & Troubleshooting] dglowe343:
You need a signing tool. Search for Ava's toolbox. Before signing, I believe, you need to delete the 3 cert files inside of the meta-inf folder. Then just place the framework file in the toolbox and sign it. Then it will be flashable.

Sent from my SUPERSONIC
[EVO 4G Q&A, Help & Troubleshooting] nebenezer:
Yep, signing is really easy. Like dglowe said you do need to delete the 3 files in META-INF but you also need to open the update_script with notepad++ just to make sure it won't do something you don't want, like wiping /data or something. Most theme .zips should be fine to use as a template, just double check it before you sign and flash it.
[EVO 4G Q&A, Help & Troubleshooting] ellis125:
Alright thx a ton! I'll c wut I can do with this whole signing business.

Swyped from my VaelPaked Evo 4G
[HD2 General] Limit Breaker:
Hi everyone, I'm new to this and I been experimenting with my TMOUS HD2. I changed my clock to a new clock style with CTHE and now I can't change it back to the normal clock. And if I uninstall CTHE my phone stays on a blank screen until I reinstall CTHE. How can I fix this?
[HD2 General] Scabes24:
Try installing this cab. (or both of the Touch X Cabs)
[HD2 General] Limit Breaker:
Thanks, I appreciate it. Again, sorry if I'm reposting questions. I'm so new to this I don't know where to begin. I'm trying to get all this flashing roms, radios, and cabs together. I guess I'll start experimenting and reading about this. Any help or links would be much appreciated, thanks.
[HD2 General] gaarry:
Flashing Guide

http://ip208-100-42-21.static.xda-developers.com/showthread.php?t=653614

Radio

http://ip208-100-42-21.static.xda-developers.com/showthread.php?t=669733
[HD2 General] Limit Breaker:
Ok, I've read over everything and I think I'm ready to try flashing a hspl and trying out some roms out. But first I have a few question:

1. Must I have wmdc 6.1 on my laptop to flash the hspl, or should connecting with activsync through a usb cable enough?

2. After I flash a rom, do I have uninstall it before installing another rom? Or do I just install a rom over the previous rom?

Those are the only two I can think of for now. As always thanks for any and all help, it's much appreciated.
[HD2 General] mrkevinhall:
no you dont have to have wm6.1 on laptop/pc

rom will uninstall old one automatically

see post; [TUT] Flashing your First GSM 512LEO Rom (For Noobs)

http://xdaforums.com/showthread.php?t=609477
[HD2 General] Limit Breaker:
Hey everyone, I'm back with a few more questions. I searched through the treads and I couldn't find the answers I was looking for. First off, I installed the GTX Theme over cookies home tad to try it out. I like it, but I still can't seem to get the volume icon to show. I downloaded all the different cabs and tried them and it still didn't work. Secondly I tried to unistall it once, but once I did the menu soft key wouldn't work on my screen. Last I couldn't unistall the android task bar. I tried but it's still there. I would once again appreciate any help,thanks.
[Captivate General] lildoggs:
I downloaded Avatar from the net in .mkv format at 1080p. The video looks very choppy and the audio sounds ok. I also downloaded another version .mkv format at 720p. This one the video looks good but the audio starts ok for the first 10 seconds but then it goes away. I've tried rockplayer and mvideoplayer and nothing seems to work. please help me.
[Captivate General] irus:
use the samsung player that built in. i know for a fact that plays mkv @ 720p
[Captivate General] lildoggs:
you mean the video player that comes with the captivate.
[Captivate General] lildoggs:
Any help please.
[Captivate General] pside15:
Yea, the video player that is stock on the Captivate.

I'm just curious how you got a file that big on your phone. I've never been able to transfer anything bigger than 4GB to my captivate. A 720p or 1080p rip of Avatar both have to be bigger than 4GB.
[Captivate General] rixter213:
720p

You will be surprised that a 720p video is less than 2gb in size.

The video player that comes built into the Captivate will play .mkv videos.

When I play a movie, I usually go to "My Files"> folder where I have the movies> and play it from there. It will open the Captivates Video player.

Hope this helps.

-Rixter :)
[Epic 4G General] sultan.of.swing:
Has anyone ran into an issue where about 5 minutes after you plug your phone into the charger the phone locks up? Mine has done this now three times i think. I think it is something to do with the phone already being hot then plugging it in is making it hot enough to lock up or something. I dunno
[Epic 4G General] APOLAUF:
Never had this issue - what charger are you using?
[Epic 4G General] sultan.of.swing:
Its a sanyo 800ma charger. Didn't think about trying the included charger to see if it still does it. Will try that
[Epic 4G General] APOLAUF:
Give it a shot, see how that turns out. Some chargers can have poor voltage control (wouldn't expect that problem from a Sanyo), others are actually wired differently. Please post to let us know what the answer was.
[Nexus One Accessories] LunatikBunnie:
I just bought the OB commuter from ebay, bargained at $22.95(before delivery costs. It seemed strange, now that i think about it, since OB sells them at $34.95. I'm wondering of the case might be an imitation or a knock-off. Can anyone enlighten me as to whether OB's cases are ever imitated(yet)

Any other discussion on regards with OB commuter usage is welcome too =D.
[Nexus One Accessories] jota164:
Price seems fair.

Walmart has that case for $21.70 and you could pay through Paypal.

I ordered my Defender case from Walmart for $29 and it arrived in 5 days. 2 thumbs up for Walmart. lol.
[Nexus One Accessories] LunatikBunnie:
I don't have walmart here at Malaysia =(
[Nexus One Accessories] spielnicht:
Na, that's the going price on Amazon (where I got mine) and Newegg.

Perfect case.
[Nexus One Accessories] chowlala:
I ordered mine from ebay bro. I'm from Malaysia too. Lol.
[Nexus One Accessories] Beezkneez:
I have the defender and I find I get dust and dirt in through the speaker hole and it creeps down over the screen. So I don't use it anymore.. back to the neo case for me.
[Nexus One Accessories] LunatikBunnie:
Commuter arrived!

The provided screen protector is bubbling from pressure from my keys. I'll need to order more screen protects. Will be posting images to the first post for other users to gaze at in case they'd want to know what it's like
[Nexus One Accessories] chowlala:
Haha. Nice bro. Where'd you get yours from?

My screen protector has no issues.
[Vibrant Themes and Apps] bobofosho123:
Hey everyone-

I don't believe this question has been posted before, I did do a quick search before posting so don't shoot me, lol. Anyway, I downloaded the APK for the media hub from the JI2 update, and I currently have Eugene373's daily driver rom installed. The previews work and everything, but when I rented a movie, the Blues Brothers, and I try to play it I get an error message saying: "Your device does not support the requested file format." If anyone can help me I'd be much ablidged, thanks.

-bobofosho123
[Vibrant Themes and Apps] jumaaneface:
saw a thread on it in the general section. i think someone just used a different video player. ill see if i can find the thread with the exact player they used instead

Edit: found it in themes and apps section lol http://xdaforums.com/showthread.php?t=785816 mplayer works for me fyi. I bought Pooty Tang
[Vibrant Themes and Apps] bobofosho123:
I RENTED a movie so I believe it works differently. I know if you buy a movie it can few viewed offline so maybe it works differently.
[Vibrant Themes and Apps] bobofosho123:
Ok so this is really weird, I opened the video through the stock video player and It showed the time length of the movie but not video or audio
[Vibrant Themes and Apps] oswade:
do you have voodoo kernel installed? I read in the voodoo thread that some videos wouldn't play on voodoo kernel wheras they would on stock kernels.
[Vibrant Themes and Apps] Dbryon:
I installed the whole JI2 and the hub player worked fine, bought Iran Man and watched the whole thing. Did take around an hour or two download. Try playing while connected to WI-Fi I kind of remember that you need to do that for the first minute or so. Otherwise Sorry
[Vibrant Themes and Apps] rexrbgh:
Where are these files stored? Is there a specific folder?
[Vibrant Themes and Apps] spacecasespiff:
I'm having the same problem. Maybe its because its not made for the vibrant. I've tried other video players frome the app store and got nothing. They all want to play off the sd card and the movie is only on the media hub app.
[Vibrant Themes and Apps] masterotaku:
Though this is merely an educated guess (as really I have no clue, and no desire to pay for DRM-ware just to check), but it's likely there are at least a few system integrity checks built into the playback capabilities of video downloaded via MediaHub in an attempt to thwart hacks.

Remember, Samsung has a vested self interest in making MediaHub a closed system, and this may include their app doing enough integrity checks to say "no way Jose" when running this app on a non-standard rom. Granted, I have no way of knowing for certain if this is indeed the case, but it wouldn't suprise me if it was.

This is generally how DRM laden systems work.
[Vibrant Themes and Apps] bobofosho123:
although this thread is old news, you are correct my friend, it only worked once i was on the stock JI2 rom.