I get a lot of requests to remove the NavBar. I'm posting this mod at each phone's forum themes section. TWRP flashable zip. Restore zip will be created in a folder named ozop on your sdcard.
8.1 February update
https://www.androidfilehost.com/?fid=818070582850494336
8.0 November update
https://www.androidfilehost.com/?fid=817906626617946322
8.1 preview
https://www.androidfilehost.com/?fid=745849072291689241
Installation instructions for those of you that have root, but do not have TWRP. Busybox must be installed first.
1. Download the enclosed vrthemeADBversion zip and readme.txt for copying and pasting purposes.
2. Unzip the vrthemeADBversion zip to your sdcard. Rename folder to vrtheme
3. Put the readme.txt on your PC where you use adb.
4. Download appropriate NavBar Gone zip. Unzip and copy the system folder that is inside the vrtheme folder to the root of your sdcard.
5. On the root folder of your phone, find the data folder and create a folder inside it named tmp
6. Copy the vrtheme folder you earlier extracted to your sdcard to newly created data/tmp folder (/data/tmp/vrtheme)
7. On PC, with your phone connected and in file transfer mode, open CMD prompt and type "adb devices" without quotes. If your serial number comes up you can proceed.
8. Copy and paste the command lines from the readme.txt (include quotes)
adb shell su -c "mount -o rw,remount /system"
Hit enter
First time you will be promoted by SuperSU to give adb permission.
Copy and paste the second line in readme.txt
adb shell su -c sh /data/tmp/vrtheme/installtheme.sh
There is also a Mod installer zip. If on Windows operating system you can unzip it where adb is running and run the bat file instead of typing or copying and pasting the commands.
Wait until everything runs, after a pause of a few seconds your phone will reboot and your NavBar should be gone.
Tulsadiver said:
I get a lot of requests to remove the NavBar. I'm posting this mod at each phone's forum themes section. TWRP flashable zip. Restore zip will be created in a folder named ozop on your sdcard.
8.0 November update
https://www.androidfilehost.com/?fid=817906626617946322
Click to expand...
Click to collapse
What's the difference between these two downloads? The one attached and the link posted above?
Sent from my [device_name] using XDA-Developers Legacy app
zer0se7en said:
What's the difference between these two downloads? The one attached and the link posted above?
Sent from my [device_name] using XDA-Developers Legacy app
Click to expand...
Click to collapse
They are the same. Easier to add files from AFH to keep track of and because of the 20mb limit but this one was under 20mb and I was having trouble at the time with AFH. Names are different I believe but same thing.
Tulsadiver said:
They are the same. Easier to add files from AFH to keep track of and because of the 20mb limit but this one was under 20mb and I was having trouble at the time with AFH. Names are different I believe but same thing.
Click to expand...
Click to collapse
Okay. Thanks. Any screenshot when this is applied?
Sent from my [device_name] using XDA-Developers Legacy app
zer0se7en said:
Okay. Thanks. Any screenshot when this is applied?
Sent from my [device_name] using XDA-Developers Legacy app
Click to expand...
Click to collapse
Not much to see.
{
"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"
}
does it work for Oreo
headphone jack said:
does it work for nougat
Click to expand...
Click to collapse
I thought on another thread you mentioned you were on Oreo?
Regardless, this is phone specific.
Tulsadiver said:
I thought on another thread you mentioned you were on Oreo?
Regardless, this is phone specific.
Click to expand...
Click to collapse
I just correct it ? i am working to upload the files you told me , I even know how to do that but i will use google to find the files you told me then i will pit them in a winrar file then i will upload it via google drive , thanks in advance ?
I didn't had BusyBox installed, busybox always caused bootloops but ur mods.zip from other forum worked just fine. Navbar is gone. No bugs or nothing.
It worked for me without busybox...strange Anyway thanks bud!!
@Tulsadiver Good day, i am unable to make this mod work with Oreo 8.1 December security update. I haven't tried it with the latest security patch because i am waiting for the February update.
Anyway i tried both methods the TWRP and the CMD one. After looking at the code it seems there are two issues one there is a directory issue instead of sdcard/system it should be /system since from the CMD log its reports it can't locate it so i did the change and that worked at the first stage but when it came to theme the framework or apply the changes it seems it couldn't locate the needed files.
Anyway i ended in 2 boot-loops after trying the zip version and after i did the change to the directory.
By the way i am using Magisk for root, and i have installed busybox but the i had to change the directory to bin instead of xbin on Oreo.
Thanks.
Rashad83 said:
@Tulsadiver Good day, i am unable to make this mod work with Oreo 8.1 December security update. I haven't tried it with the latest security patch because i am waiting for the February update.
Anyway i tried both methods the TWRP and the CMD one. After looking at the code it seems there are two issues one there is a directory issue instead of sdcard/system it should be /system since from the CMD log its reports it can't locate it so i did the change and that worked at the first stage but when it came to theme the framework or apply the changes it seems it couldn't locate the needed files.
Anyway i ended in 2 boot-loops after trying the zip version and after i did the change to the directory.
By the way i am using Magisk for root, and i have installed busybox but the i had to change the directory to bin instead of xbin on Oreo.
Thanks.
Click to expand...
Click to collapse
First of all, this is for the November update. Secondly, if you read the instructions correctly, you were to copy the system folder to your sdcard, hence, /sdcard/system
I have an Aroma installer that has Navbar gone in it but it is for January update.
Tulsadiver said:
First of all, this is for the November update. Secondly, if you read the instructions correctly, you were to copy the system folder to your sdcard, hence, /sdcard/system
I have an Aroma installer that has Navbar gone in it but it is for January update.
Click to expand...
Click to collapse
Actually based on the instruction you stated:
5. On the root folder of your phone, find the data folder and create a folder inside it named tmp
6. Copy the vrtheme folder you earlier extracted to your sdcard to newly created data/tmp folder (/data/tmp/vrtheme)
You see the "Data" folder location is in the root of the directory and not in sdcard bescuase sdcard doesn't have a data folder, i think in step 6 you meant your phone instead of sdcard.
Any way i will wait for the February update and if you need any files once the update is here let me know, thank you for the work.
P.S :I would love it if you could do a step by step tutorial on how to minimize the navigation bar height and width to 0 and all the needed changes.
Thanks for your time and work.
Rashad83 said:
Actually based on the instruction you stated:
5. On the root folder of your phone, find the data folder and create a folder inside it named tmp
6. Copy the vrtheme folder you earlier extracted to your sdcard to newly created data/tmp folder (/data/tmp/vrtheme)
You see the "Data" folder location is in the root of the directory and not in sdcard bescuase sdcard doesn't have a data folder, i think in step 6 you meant your phone instead of sdcard.
Any way i will wait for the February update and if you need any files once the update is here let me know, thank you for the work.
P.S :I would love it if you could do a step by step tutorial on how to minimize the navigation bar height and width to 0 and all the needed changes.
Thanks for your time and work.
Click to expand...
Click to collapse
You forgot this line
4. Download appropriate NavBar Gone zip. Unzip and copy the system folder that is inside the vrtheme folder to the root of your sdcard.
Tulsadiver said:
You forgot this line
4. Download appropriate NavBar Gone zip. Unzip and copy the system folder that is inside the vrtheme folder to the root of your sdcard.
Click to expand...
Click to collapse
Sorry, i think i misunderstood that step. Thx
Rashad83 said:
Sorry, i think i misunderstood that step. Thx
Click to expand...
Click to collapse
I'm not saying those instructions aren't the most convoluted instructions ever written, LOL. I actually made a adb installer with a menu for all the mods I had at the time and all you had to do was run the installer bat file, pick what you wanted and reboot. Everything was done for you. 8.1 got a working TWRP so I only posted it where TWRP wasn't available yet.
I know, i tried the twrp method first but the device will always boot to the recovery that's why I tried the alternative method in hopes it will work.
This had been updated to February update.
Tulsadiver said:
This had been updated to February update.
Click to expand...
Click to collapse
What about lineage os?? Is it working or should I give it a go??
sethukrishnan said:
What about lineage os?? Is it working or should I give it a go??
Click to expand...
Click to collapse
Doubtful, this is for stock.
Tulsadiver said:
Doubtful, this is for stock.
Click to expand...
Click to collapse
Well I'll give it a try anyway:silly:
Related
I did some searching but didn't find anything.
Is there a way to bulk install applications if you have all the apks for those applications?
Mr17 said:
I did some searching but didn't find anything.
Is there a way to bulk install applications if you have all the apks for those applications?
Click to expand...
Click to collapse
Emm haven't tried it but it should work.
You could use wildcards.
So let's say you have a bunch of .apk's all in one folder, you could use adb to install them on your phone using this syntax:
Code:
adb install folder/*.apk
This should install all files ending with .apk in the folder
sweet, I'll give that a try and let you know how it works. Would make testing different roms alot easier.
Do you think this would bypass the market? If it did notification of updates would not work. hmm, ill have to test.
Mr17 said:
Do you think this would bypass the market? If it did notification of updates would not work. hmm, ill have to test.
Click to expand...
Click to collapse
use atrackdog
Create a batch script with:
Code:
for %%f in ("C:\path\to\apks\*.apk") do adb install "%%f"
The easiest way (imo) if you are rooted:
1. Put all the apks into a folder structure \data\app
2. Create a text file with the following and rename it update-script (with no extension) then put it into a folder structure \META-INF\com\google\android
Code:
show_progress 0.5 0
copy_dir PACKAGE:data DATA:
show_progress 0.5 10
3. Zip both folder structures into a zip file (you should have folders data and META-INF at the root of the zip).
4. Sign it with signapk and you're done
Whenever you want to bulk reinstall, just put the signed zip file into your sdcard and reboot into recovery. When you want to add or remove apks from the bulk installer, just drag it into your zip file and resign.
Or you can backup all your apps into one folder on your sdcard and run this in terminal:
Code:
su
cd sdcard/apps
busybox install *.apk /data/app
I might add this feature into my ADB File Explorer app
I've added a basic feature to install apps into my ADB file explorer, it can do one off apk's or bulk install from a directory. See my sig for more details.
wow, that was fast! thanks!
jashsu said:
The easiest way (imo) if you are rooted:
1. Put all the apks into a folder structure \data\app
2. Create a text file with the following and rename it update-script (with no extension) then put it into a folder structure \META-INF\com\google\android
Code:
show_progress 0.5 0
copy_dir PACKAGE:data DATA:
show_progress 0.5 10
3. Zip both folder structures into a zip file (you should have folders data and META-INF at the root of the zip).
4. Sign it with signapk and you're done
Whenever you want to bulk reinstall, just put the signed zip file into your sdcard and reboot into recovery. When you want to add or remove apks from the bulk installer, just drag it into your zip file and resign.
Click to expand...
Click to collapse
Thank you for this. This will come in handy a LOT next ROM flashes :]
Seems so easy looking back on it, not sure why I didn't think of it earlier. I may even just edit the rom files to include my installed apps if I need to wipe.
someone made an app for the computer if you have the .apks you just plug in your phone double click the apk and run it and itll install on to your phone, try looking for that.
Bavilo said:
Emm haven't tried it but it should work.
You could use wildcards.
So let's say you have a bunch of .apk's all in one folder, you could use adb to install them on your phone using this syntax:
Code:
adb install folder/*.apk
This should install all files ending with .apk in the folder
Click to expand...
Click to collapse
I just wiped my phone completely clean and reflashed to Cyanogen 3.6.1.
When I try this method, it gives me an error that I don't have enough space. Again, this is after a *complete* wipe.
Screenshots:
{
"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"
}
-----
I'm not sure whether it's using the 5 MB free or the 42 MB space, but Any Cut is 32 kb, so that's a non-issue.
Any ideas on why it's not working?
Paul22000 said:
I just wiped my phone completely clean and reflashed to Cyanogen 3.6.1.
When I try this method, it gives me an error that I don't have enough space. Again, this is after a *complete* wipe.
Screenshots:
-----
I'm not sure whether it's using the 5 MB free or the 42 MB space, but Any Cut is 32 kb, so that's a non-issue.
Any ideas on why it's not working?
Click to expand...
Click to collapse
Do you have your sdcard partitoned to fat32 as the first one and then ext2(3) as your next partition?
PlatinumMOTO said:
Do you have your sdcard partitoned to fat32 as the first one and then ext2(3) as your next partition?
Click to expand...
Click to collapse
I don't think so. If there is an ext2 or ext3 partition, I didn't set it up.
By the way, I got InstallAPK, which lets you double click on APKs on your PC and install them to phone immediately.
http://forum.xda-developers.com/showthread.php?t=521295
It worked just fine at installing all my apps after the wipe.
Minus the fact that I had to double click on an app, wait for it to install, double click the next, wait for it to install, double click.... ad nauseum.........
I'm still interested in finding out why the method I posted in the screenshots isn't working.
Has anyone actually gotten it to work?
We're getting off topic but this is what you need to do in all likelihood you're gonna have to reflash Cy 3.6.1 again but before you do you're gonna need to setup your sdcard like this:
you can use either Paragon Partition Manager (above) Gparted, or SDSplit but you should set it up like the picture to run apps to sd and to fully get the Cy experience
PlatinumMOTO said:
We're getting off topic but this is what you need to do in all likelihood you're gonna have to reflash Cy 3.6.1 again but before you do you're gonna need to setup your sdcard like this:
you can use either Paragon Partition Manager (above) Gparted, or SDSplit but you should set it up like the picture to run apps to sd and to fully get the Cy experience
Click to expand...
Click to collapse
I'm not trying to do apps to sd though.
All I want to do is run "adb install apk".
well how many apps are you trying to install?
PlatinumMOTO said:
well how many apps are you trying to install?
Click to expand...
Click to collapse
29 apps
Which is why I'd like to get a quick adb install *.apk, 1 command and done.
Here is a pack of 3 files that, if pushed to your rom will give you the white task bar. This will change status icons and is just a work in progress "fill in the the gap" type of thing until I can write a proper update script for an update.zip. Currently this has only been tested to work 100% with:
Evil Eris 2.0.1 (It will, however, break the Sense launcher. So if you want the white bar, use another launcher)
Ic3Rom 2.0
It DOES NOT work on
TaintedVanilla 1.3.1
Or any rom that has it's System/Framework apk's and jar's odexed.
Please let me know if it works with any others.
Also, please not that this will change the status bar highlights to green.
http://www.multiupload.com/4YV5D61YRX
Click to expand...
Click to collapse
Just push the three files and reboot. Reboot will take about 5 min, so don't freak out if it takes forever. If you get into a boot loop, however, it didn't work.
DISCLAIMER: I'm not responsible if this bricks your phone. Please don't yell at me if it does. Also, be smart: do a nandroid backup before you try this.
Click to expand...
Click to collapse
This tutorial is for a white menu bar. It's still kind of a work in progress, but it works for the most part. When done, it looks like this:
{
"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"
}
Ok. Here is the extremely long way to do this, but it should work with any rom and will give you a full (date/time/notifications) white/vanilla task bar.
(Seriously, this may take 30 minutes or more if you're unfamiliar with some of these commands)
DOWNLOAD: http://www.multiupload.com/VZWCE0A0FN
Unzip the files and there should be 4 folders and 1 file: framework-res, com.htc.resources, PCSCII, Tools, and StatusBarIcon.smali.
Also included are the tools needed to crack open the .dex file from services.jar, smali.jar and backsmali.jar
First you'll need to pull the proper files to modify from whatever rom you're using. Open up your command line program of choice and do this:
cd [your tools folder in the android sdk]
adb remount
adb pull /system/framework/framework-res.apk framework-res.apk
adb pull /system/framework/com.htc.resources.apk com.htc.resources.apk
adb pull /system/app/PCSCII.apk PCSCII.apk
adb pull /system/framework/services.jar services.jar
Click to expand...
Click to collapse
Copy all these files into a new folder.
Things can get messy so name them whatever you'd like to keep things organized.
After all this you can start copying files. First we need to open up services.jar. Easiest way is to change the .jar ending to .zip and expand it with whatever program you'd like. Copy the classes.dex into a new folder. Keep the original folder of the expanded services.jar, it makes things easier in a few minutes.
Here is where things get a little complicated. You'll need to open up the classes.dex file with backsmali.jar. First, make sure Backsmali.jar is in the same folder as classes.dex. Next enter this command into the terminal:
cd [the folder with backsmali and classes.dex file]
java -Xmx512M -jar baksmali.jar -o classes/ classes.dex
Click to expand...
Click to collapse
This will expand classes.dex into a folder. Click through this folder until you find a folder called Status. Now drag the StatusBarIcon.smali into the Status folder. Allow the replacement.
Now we need to close the classes.dex file back up. Make sure smali.jar is in the same folder as the classes folder (make a new folder just to avoid a conflict with your original files) and use these commands:
cd [the folder with smali and the classes folder]
java -Xmx512M -jar smali.jar -o classes.dex classes/
Click to expand...
Click to collapse
You should have a fresh classes.dex file now. Now put this new classes.dex file into the original services.jar folder (that you expanded from a zip) and rezip that file. Then change the name from a .zip to .jar.
Step 1: done.
The next few parts are a lot easier, so stick with me here.
Now we need to open up the Framework-res.apk and replace all of the image files needed for a sexy white menu bar. All of the needed files are in the folder named (you guessed it) framework-res. First, you'll need to expand this .apk, do so by changing it into a .zip. After you expand it, copy the files from my folder to the matching folders. Don't drag and drop the folders, it won't work. Select all inside them and paste/drag/whatever over to the one from your phone. There should be a folder of image files, and a folder with two xml files. Once done return to the top folder of the framework-res.zip you expanded and re-zip the contents. Make sure you select the contents and zip them.
**DO NOT ZIP THE FRAMEWORK-RES FOLDER ITSELF, SELECT THE FILES INSIDE THE FOLDER AND RE-ZIP THEM**
You should now how have a new archive. Rename it to framework-res.apk and set it aside for later use.
The last parts are essentially the same things, but with the other two folders I've included: PCSCII and com.htc.resources. Copy the files, and re-zip them into .apk files.
Ok. Almost done.
Now it's time to send the files back to your phone. Place the new versions of these files into your Tools folder in the Android SDK.
Now let's push them back to your phone:
cd [your tools folder... again]
adb remount
adb push PCSCII.apk /system/app/PCSCII.apk
adb push framework-res.apk /system/framework/framework-res.apk
adb push com.htc.resources.apk /system/framework/com.htc.resources.apk
adb push services.jar /system/framework/services.jar
adb reboot
Click to expand...
Click to collapse
Reboot can take a while, so be patient. I'm thinking rebooting into recovery and clearing your dalvik cache may help, but haven't tried it.
If everything worked correctly, you should have a brand spankin' new notification bar.
Just a note, I have tested this on Evil Eris 2.0 and IceRom 2.0 and it works perfectly. However, it should work with whatever rom you're using. Also, this will change some of your icons to Vanilla ones. If you don't want them changed, don't copy the files that will change them. Those should be apparent when copying the image files from the folders I've included.
If you have any questions, feel free to ask.
Also, if anyone knows how to wrap this all up into a nice little update.zip, please do it or let me know how to do it. It would be greatly appreciated.
Hello, I appreciate the tutorial! I'm attempting to get this set up for my Tainted Vanilla rom and ran into a snag at the beginning. Our services.jar file contains no classes.dex file. All it contains is MANIFEST.MF. Any ideas about how I should proceed?
Ok, I think I've figured it out.
The .odex file is basically the .dex file in an uncompressed format. To break it open you do the same thing you would do with a dex file. Plug it into baksmali and it should yield you a Classes folder. You do have to reassemble it though, which requires you to first deodex it... and it's kind of a pain in the ass. I've figured out the first portion of it, but deodexing the file is decently complicated for a n00b like me. I'll continue to work on it and will hopefully have a solution tomorrow.
Here's where I'm stuck if anyone wants to figure it out:
$ java -Xmx512m -jar baksmali.jar -x services.odex
Error while disassembling method Lcom/android/server/ConnectivityService;-><init>(Landroid/content/ContextV. Continuing.
org.jf.dexlib.Code.Analysis.ValidationException: class Lcom/htc/connectivity/DummyStateTracker; cannot be resolved.
at org.jf.dexlib.Code.Analysis.ClassPath$UnresolvedClassDef.unresolvedValidationException(ClassPath.java:535)
at org.jf.dexlib.Code.Analysis.ClassPath$UnresolvedClassDef.getClassDepth(ClassPath.java:543)
at org.jf.dexlib.Code.Analysis.ClassPath.getCommonSuperclass(ClassPath.java:383)
at org.jf.dexlib.Code.Analysis.RegisterType.merge(RegisterType.java:274)
at org.jf.dexlib.Code.Analysis.AnalyzedInstruction.mergeRegister(AnalyzedInstruction.java:199)
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.propagateRegisterToSuccessors(MethodAnalyzer.java:479)
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.setPostRegisterTypeAndPropagateChanges(MethodAnalyzer.java:459)
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInvokeDirectCommon(MethodAnalyzer.java:2968)
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInvokeDirectRange(MethodAnalyzer.java:2927)
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:856)
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:202)
at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefinition.java:290)
at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.java:130)
at org.jf.baksmali.Adaptors.ClassDefinition.writeMethods(ClassDefinition.java:322)
at org.jf.baksmali.Adaptors.ClassDefinition.writeDirectMethods(ClassDefinition.java:291)
at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java:135)
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:187)
at org.jf.baksmali.main.main(main.java:277)
opcode: invoke-direct/range
CodeAddress: 811
Method: Lcom/android/server/ConnectivityService;-><init>(Landroid/content/ContextV
Click to expand...
Click to collapse
I know that in order for successfully deodex, all the file paths have to be correct. I, however, do not have them yet.
More info here for anyone interested: http://code.google.com/p/smali/wiki/DeodexInstructions
Good work, this should be an update.zip once we have confirmed it working successfully.....
stopxstart said:
Ok, I think I've figured it out.
The .odex file is basically the .dex file in an uncompressed format. To break it open you do the same thing you would do with a dex file. Plug it into baksmali and it should yield you a Classes folder. You do have to reassemble it though, which requires you to first deodex it... and it's kind of a pain in the ass. I've figured out the first portion of it, but deodexing the file is decently complicated for a n00b like me. I'll continue to work on it and will hopefully have a solution tomorrow.
Here's where I'm stuck if anyone wants to figure it out:
I know that in order for successfully deodex, all the file paths have to be correct. I, however, do not have them yet.
More info here for anyone interested: http://code.google.com/p/smali/wiki/DeodexInstructions
Click to expand...
Click to collapse
I get the same error. I posted a issue about this on the project page.
EDIT: Figured it out. Add -c :com.htc.resources.jar
You will need to deodex it first thou.
Can we see screenshots of this notification bar
If you look at the IC3 rom screenshots, this should be the same.
Also, stopxstart, thanks for the hard work! Really appreciate it. Should the phone be connected this whole time? Thanks!
gritts said:
If you look at the ICQ rom screenshots, this should be the same.
Also, stopxstart, thanks for the hard work! Really appreciate it. Should the phone be connected this whole time? Thanks!
Click to expand...
Click to collapse
ICQ ROM do you mean IC3 ROM?
Yes, thanks, I corrected it.
gritts said:
If you look at the IC3 rom screenshots, this should be the same.
Also, stopxstart, thanks for the hard work! Really appreciate it. Should the phone be connected this whole time? Thanks!
Click to expand...
Click to collapse
It's easy just to keep it connected but it's not required. Just make sure you adb remount before pushing and pulling the files.
Going to try out a workaround for all of this, I'll report back sometime tonight.
Also, if this works it will allow me to write a sufficient update.script for a standalone zip.
For those following the progress of this, I am currently testing some standalone files to push that should make this whole process easier.
So far works on: Evil Eris 2.0 and Ic3Rom 2.0 (well, fixes it).
Testing others now.
I'm looking forward to your testing on Tainted Vanilla
hoban_eris said:
Hello, I appreciate the tutorial! I'm attempting to get this set up for my Tainted Vanilla rom and ran into a snag at the beginning. Our services.jar file contains no classes.dex file. All it contains is MANIFEST.MF. Any ideas about how I should proceed?
Click to expand...
Click to collapse
I second that.
ok so these are the things i can't get
the verizon wireless text is white
and the clear button is black with white text
how can i fix these
Re: [Tutorial] White Notification Bar
Did you follow the tut
-------------------------------------
Sent via the XDA Tapatalk App
gritts said:
Did you follow the tut
-------------------------------------
Sent via the XDA Tapatalk App
Click to expand...
Click to collapse
ok ive tried several times and failed every time could someone put up the final zip I could flash
iloveandroid said:
ok so these are the things i can't get
the verizon wireless text is white
and the clear button is black with white text
how can i fix these
Click to expand...
Click to collapse
Let me double check the XML files in the Framework-res.apk to make sure I put the right ones in. I literally have 60 folders filed with the same file from different testing so I could have easily posted the wrong one.
Also, there isn't a zip to flash because I haven't written the update script for it. If you would like to, please do.
stopxstart said:
Let me double check the XML files in the Framework-res.apk to make sure I put the right ones in. I literally have 60 folders filed with the same file from different testing so I could have easily posted the wrong one.
Also, there isn't a zip to flash because I haven't written the update script for it. If you would like to, please do.
Click to expand...
Click to collapse
I would make a flashable but i dont know how
Ok, I fixed the button problem.
You're using Ic3Rom right? Pretty sure the files I have will work with it straight up but let me test it.
Also, I added screenshots to first page.
Ok guys here's my first contribution to the community I guess.
First of all thanks to;
frostman89 - for the iphone pngs
zHk3r - for the new iphone pngs
teslacoil - for the widgetlocker for sure!
others - those that contributed that i forgot.
I take no credit at all, i created this thread because many people have PM'ed me for the pngs and tutorial.
Ok lets start shall we? You will need;
- Widgetlocker(Buy it first cuz its not free)
- Root Explorer(Buy it too and this is optional if you dont know adb)
- the PNG files;
Original Post :
1) http://forum.xda-developers.com/showpost.php?p=8731533&postcount=31 >> Thanks frostman89!
2) http://forum.xda-developers.com/showpost.php?p=8933650&postcount=56 >>Thanks zHk3r! - check it out, its not as in my screenshot.
OR from my dropbox;
frostman89 :
slider - http://dl.dropbox.com/u/11246427/Android/Mod/Widgetlocker iphone mod/slider_iphone.png
background - http://dl.dropbox.com/u/11246427/Android/Mod/Widgetlocker iphone mod/slider_iphone_background.png
zHk3r :
slider - http://dl.dropbox.com/u/11246427/Android/Mod/Widgetlocker iphone mod/slider_iphone-1.png
background - http://dl.dropbox.com/u/11246427/Android/Mod/Widgetlocker iphone mod/slider_iphone_background-1.png
Here's some alternatives/goodies/pngs' contributed by other members;
- http://forum.xda-developers.com/showpost.php?p=8869261&postcount=59
- http://forum.xda-developers.com/showpost.php?p=8872442&postcount=61
- http://forum.xda-developers.com/showpost.php?p=8875029&postcount=28
- http://forum.xda-developers.com/showpost.php?p=8894543&postcount=30
Thanks guys!
Because you want this;
{
"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"
}
Got 2 steps on how to do this;
1) ADB
2) Root Explorer
3) My own steps(this is what i did to get it working!!)
4) Ninjamorph(S-OFF required)
5) Paypal buyer~~
6) Easier method - simple script
7) What if FC after applied the mod? Link to original post - http://forum.xda-developers.com/showpost.php?p=8928204&postcount=51
BEFORE THAT, NANDROID first!!!!!!!!!!!!!
-------------------------------------------------------------------------
1) ADB(google would help a lot)
*Btw make sure you have your widgetlocker completely removed/uninstalled before doing this.
a. You will need Android SDK installed (google for it will ya?).
b. "adb pull" your widgetlocker(anyone who did this can tell me please?)
c. Open your "pulled" apk using winrar.
d. Browse to /res/drawable-hdpi
e. Drop those 2 images you downloaded in there(make sure it is the exact name as the original so it will overwrite it.
f. Now for adb push part(make sure you in the recovery mode and make sure the widgetlocker.apk is put inside android-sdk-windows/tools folder - the default folder for adb);
Code:
adb remount
adb push com.teslacoilsw.widgetlocker-1.apk /system/app/com.teslacoilsw.widgetlocker-1.apk
adb reboot
g. Tada! Enjoy!
---------------------------------------------------------------------------
2) Root Explorer
*Btw make sure you have your widgetlocker completely removed/uninstalled before doing this.
a. Browse the app in data/app, it is called com.teslacoilsw.widgetlocker-1.apk
b. Copy it to your SD card.
c. Modify it(see step d and e above)
d. Put it back into system/app(you need to be in R/W mode)
e. After that, long click the app, select permissions, and do checkmarks like this: (the * represents a checkmark) - this is courtesy of frostman89
* . * . -
* . - . -
* . - . -
f. Reboot and voila!
==========================================================
3. My own steps!
Actually my steps is mixed between those 2 because, I can't pull using adb so i had to pull using Root Explorer. Then I cant push it using Root Explorer so i had to adb push them.
So there you go, if you have problems like me, just did what i did.
a. Browse the app in data/app, it is called com.teslacoilsw.widgetlocker-1.apk
b. Copy it to your SD card.
c. Modify it(see step d and e above)
f. adb push(make sure you in the recovery mode and make sure the widgetlocker.apk is put inside android-sdk-windows/tools folder - the default folder for adb);
Code:
adb remount
adb push com.teslacoilsw.widgetlocker-1.apk /system/app/com.teslacoilsw.widgetlocker-1.apk
adb reboot
I'll tell you guys too why i cant use adb pull and push using root explorer;
adb pull - easy, i dont know how to adb at that time...haha~~
paste using root explorer - i pasted it but nothing appeared? i was like wtf and that leads me to learn how to adb.
--------------------------------------------------------------------------------------
4) Ninjamorph(S-OFF required)
I'm not sure how but here is what faceqt told me;
Or, if you have S-OFF you can use Ninjamorph to replace the 2 .png's and reboot your phone.
Click to expand...
Click to collapse
-------------------------------------------------------------------------------------
5) Paypal buyer~~
Quoted from jayhan73;
For people who have purchaed WidgetLocker off paypal, the steps to do this only involves replacing the png files (i.e. opening the apk file sent to your email and adding the png files into the required directory). After that, reinstall the widgetlocker. You may also choose to push the apk via adb. Either way, it works.
Click to expand...
Click to collapse
But i believe once you mod it you can't install it normally, so its either adb or root explorer.
6)Easier method - Smple script as posted by brady;
brady1uk said:
There is a much easier way to get this on your phone using the files from the OP without faffing around on adb, rom manager etc...
download APK manager from here
http://forum.xda-developers.com/showthread.php?t=695701
put the apk file in the "place-apk-here-for-modding"
run the script.bat and extract it, (basically unzips it) drop the new PNG files in /res/drawable-hdpi (replace already existing) then run zip.apk from script and (select option 2 Regular apk) then use option 4 sign apk.
look in the pace-apk-here-for-modding folder will be a new file called 'something'-signed.apk. (this is the new edited Widgetlocker
This file you can put on your SD card and Install and Uninstall like a normal apk using ASTRO etc. no need for ADB and root explorer.
Takes literally 5 minutes to do with NO RISK to your phone
Click to expand...
Click to collapse
7) What if FC after applying the mod? - link to original post - http://forum.xda-developers.com/showpost.php?p=8928204&postcount=51
Is WidgetLocker Force Closing after you've applied the mod?
Quoted from zHK3r
Then try these steps:
Requirements:
Android SDK
HTC Sync Drivers
WidgetLocker
Two PNGs
7zip/WinRAR
1) ADB pull /data/app/com.teslacoilsw.widgetlocker-1.apk
2) Rename the .apk to .zip and open the folder - Drop the two PNGs in drawable-hdpi
3) Rename the .zip back to .apk
On your phone: Uninstall WidgetLocker and then re-install.
Start WidgetLocker, but once you've started it. Press home.
Don't apply any settings or continue the tutorial
4) ADB push com.teslacoilsw.widgetlocker-1.apk /data/app/teslacoilsw.widgetlocker-1-apk
On your phone: Start WidgetLocker > Menu > Settings > Look and Feel > Slider & Layout > iPhone
Code:
adb devices
adb remount
adb pull data/app/teslacoilsw.widgetlocker-1-apk
adb push com.teslacoilsw.widgetlocker-1.apk /data/app/teslacoilsw.widgetlocker-1-apk
Click to expand...
Click to collapse
Btw if you have any problems pushing an apk, try this;
Quoted from Zaphyr;
Ok, so I figured out the problem.
/system wasn't mounted. Even in recovery when I tried to push it over, I needed to go in the Clockwork settings and choose mount system before I could push it.
But now it works perfectly! YAY!!
Click to expand...
Click to collapse
*I'm pretty sure it'll work the same for other lockscreen you wanted as long as you have the needed files.
Feel free to comment and give feedbacks, and correct me if i got wrong in some part. Enjoy!
good what is the name of the clock?
^ That's Semicuda's TypoClock widget. Check out his creation here.
http://forum.xda-developers.com/showthread.php?t=814054
what am i doing wrong? i have pulled the apk, edited and pushed it back... but it does not get installed
ahh... never mind, got it done, at last
Miister-Ot said:
what am i doing wrong? i have pulled the apk, edited and pushed it back... but it does not get installed
ahh... never mind, got it done, at last
Click to expand...
Click to collapse
Nice. glad you got it working. Enjoy!
What about apkmanager to extract the apk from your phone and unbundle it for editing. Its alot easier in my opinion, and it easily re compresses the file and can push it back to the phone for you.
Sorry I don't have a link, but just do a search.
Sent from my HTC Magic using XDA App
It worked like a charm! Thanks, I LOVE IT!!
twigster said:
What about apkmanager to extract the apk from your phone and unbundle it for editing. Its alot easier in my opinion, and it easily re compresses the file and can push it back to the phone for you.
Sorry I don't have a link, but just do a search.
Sent from my HTC Magic using XDA App
Click to expand...
Click to collapse
Will consider this when I confirm it is confirmed done by other members. cuz i'm not really sure how it works so better not include this yet. But thanks for the info!
qureshali said:
It worked like a charm! Thanks, I LOVE IT!!
Click to expand...
Click to collapse
Cool. Enjoy!
Worked brilliantly
Thanks .. worked very nicely ...
Btw got any plans for new mods ??
Hehe i learned this mod from other guys but i'll post/update this thread when i have another mod.
I'm just sharing as i'm not a dev/designer(yet). Still a student studying software engineering.
methodes with adb doesn work for me =( and either do Root Explorer trick, nothing happend
adb remount first or not? and you need to be inside the recovery.
Can anyone mod the custom slider to make it fit better with this? thanks
Hi
I am having trouble when pushing the apk in adb
I already managed to pull the apk and edited the png files
after that i uninstalled the widgetlocker
the adb remount gives me error "remount failed: Invalid argument" if i run it from recovery mode.
so i run it when the phone on.
then i go to recovery mode and run the push command, which is successful.
then i reboot the phone, but nothing happened.
no widget locker installed.
any idea?
thanks
bloody_mary said:
Hi
I am having trouble when pushing the apk in adb
I already managed to pull the apk and edited the png files
after that i uninstalled the widgetlocker
the adb remount gives me error "remount failed: Invalid argument" if i run it from recovery mode.
so i run it when the phone on.
then i go to recovery mode and run the push command, which is successful.
then i reboot the phone, but nothing happened.
no widget locker installed.
any idea?
thanks
Click to expand...
Click to collapse
Easy, go into the Clockwork settings and choose mount system. then adb remount, and adb push. Should be working 100%!
great, it works.
thanks a lot for your help
bloody_mary said:
great, it works.
thanks a lot for your help
Click to expand...
Click to collapse
cool, glad it worked out for you.
adb not found in Apk Manager
Im trying to run this for my Droid x but i keep getting "adb not found, you will not be able to manipulate the files on your phone" everytime i open it. Im in a man down situation. Lol. Please show me the way.
awesome work. Got this up and running on my droid1 in minutes using the root explorer method. Thanks OP.
ckeyes1106 said:
Im trying to run this for my Droid x but i keep getting "adb not found, you will not be able to manipulate the files on your phone" everytime i open it. Im in a man down situation. Lol. Please show me the way.
Click to expand...
Click to collapse
Do you have android sdk installed btw? And if you have, have u cd to the adb directory?
Sent by S-OFF International Postage
Instructions for how to install Gapps on your Gtablet.
Install:
1) Download the latest gapps update.zip from here: http://wiki.cyanogenmod.com/index.php?title=Latest_Version
The link you are looking for is near the bottom, shown in the red rectangle:
{
"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"
}
Options A: Stock Recovery:
2a) Download this recovery file for your install location
--SDCARD: http://www.multiupload.com/LURU5RRYKI
--SDCARD2: http://www.multiupload.com/31HBVXHB19
3a) Unpack the recovery zip file to your sdcard or sdcard2.
You should see /sdcard/recovery/command
4a) Copy your gapps update.zip to /sdcard
5a) Hold volume + and power to boot into recovery
Install should start automatically and reboot
Option B: Clockworkmod Recovery:
2b) Copy download to SDCARD
3b) Hold volume + and power to boot into recovery
4b) Choose, choose zip from sdcard
5b) Choose the zip to be applied as an update
Market Fix(Enable Full Market):
Follow this post: http://forum.xda-developers.com/showthread.php?t=861044&highlight=market+fix
EXTRAS:
TnT KB Standalone: http://www.megaupload.com/?d=KUEXY5OA
Saved for additional growth.
rothnic said:
This is an update.zip that you can run from recovery. Meant to get you up and running with commonly added things over a base
After install, long press an input area to select the new input option.
TnT Kb: http://www.megaupload.com/?d=KUEXY5OA
TnT Kb + Live WP + Gapps: http://www.megaupload.com/?d=EJQP1OW5
Click to expand...
Click to collapse
Roth, Does this build include the standard e-mail app which I can sync with exchange and my contacts with the contacts app shown here as well or does this build only include g-mail and standtard TnT mail appliation which does not let you sync calendar and contacts?
Thanks for the great work!
insight3fl said:
Roth, Does this build include the standard e-mail app which I can sync with exchange and my contacts with the contacts app shown here as well or does this build only include g-mail and standtard TnT mail appliation which does not let you sync calendar and contacts?
Thanks for the great work!
Click to expand...
Click to collapse
This isn't a ROM, just an update.zip. What you see in that image is what is copied to /system/app
rothnic said:
This isn't a ROM, just an update.zip. What you see in that image is what is copied to /system/app
Click to expand...
Click to collapse
I made a copy of the TnT Kb + Live WP + Gapps zip, put it in /sdcard and rename it update.zip, turn off the unit and then press power+volume up, but nothing happens -- it does says recovery and I got that triangle with an "!". I'm on stock TnT with adw launcher.
Any suggestions and help are most appreciative!
case-sensitive said:
I made a copy of the TnT Kb + Live WP + Gapps zip, put it in /sdcard and rename it update.zip, turn off the unit and then press power+volume up, but nothing happens -- it does says recovery and I got that triangle with an "!". I'm on stock TnT with adw launcher.
Any suggestions and help are most appreciative!
Click to expand...
Click to collapse
You need to have clockworkmod recovery to just use the update.zip.
Otherwise you need to grab the /recover/command off of a different update. I think the clockworkmod recovery update.zip comes with it.
Using the stock recovery, it needs to see the command file to work.
case-sensitive said:
I made a copy of the TnT Kb + Live WP + Gapps zip, put it in /sdcard and rename it update.zip, turn off the unit and then press power+volume up, but nothing happens -- it does says recovery and I got that triangle with an "!". I'm on stock TnT with adw launcher.
Any suggestions and help are most appreciative!
Click to expand...
Click to collapse
rothnic said:
You need to have clockworkmod recovery to just use the update.zip.
Otherwise you need to grab the /recover/command off of a different update. I think the clockworkmod recovery update.zip comes with it.
Using the stock recovery, it needs to see the command file to work.
Click to expand...
Click to collapse
I get pretty much the same thing as case-sensitive. Except, after copying the recovery directory from the cwm update.zip to the sdcard root, I get an image of a box with a down arrow and an animated progress bar at the bottom and then the triangle ! after a couple seconds or so.
Any ideas?
The file appears to have disappeared.
Updated, changes in post.
Is there a way to uninstall the apps I'm not using? I was gunning just for Calendar and Contacts, which aren't picking up my Gmail accounts, and I'm not using the other apps, so would like to get them away from my OCD. But it's still way cool!
jacindc said:
Is there a way to uninstall the apps I'm not using? I was gunning just for Calendar and Contacts, which aren't picking up my Gmail accounts, and I'm not using the other apps, so would like to get them away from my OCD. But it's still way cool!
Click to expand...
Click to collapse
root explorer will do it. i think androotfile will do it to. just go into system/app and delete the but make sure its mounted as r/w
I can't get these to install. Running CM6.1 beta2. There are no errors during the install in CWM recovery but when the device boots, none of the programs are there.
Do I need to run clockworkmod inorder to put it in recovery?
foreverknight said:
Do I need to run clockworkmod inorder to put it in recovery?
Click to expand...
Click to collapse
No, but it would be easier for you to go ahead and get clockworkmod installed. I have a post that links to a v0.8 version update.zip that will apply clockwork from the stock recovery.
Thank you. I have 2 questions. 1. I have "androotfile" installed and cant seem to get it to mount as R/W in order to copy and paste the files needed to get the android market to work right I get "unable to chmod/system/framework:read only file system. 2. Now forgive me I am a newbie but how do you get the g tablet in recovery and why.
Thank you for all the help.
foreverknight said:
Thank you. I have 2 questions. 1. I have "androotfile" installed and cant seem to get it to mount as R/W in order to copy and paste the files needed to get the android market to work right I get "unable to chmod/system/framework:read only file system. 2. Now forgive me I am a newbie but how do you get the g tablet in recovery and why.
Thank you for all the help.
Click to expand...
Click to collapse
Follow this: http://forum.xda-developers.com/showthread.php?t=844088
Then follow the first post in this thread.
I'm unsure what you are trying to copy exactly. This post doesn't talk about manually copying anything.
I've tried this twice already with a factory reset in between each try, and it's worked both times!
Attached is a bunch of files you will need to make this work.
1.Download the attached Zip file and extrat the contents to your desktop
2.Mount your G and upload the "G Tablet" folder to your G's internal SD card
3.Using AndRootFile or any other file manager that supports root access, mount as R/W, and copy the contents of G Tablet\permissions to System\etc\permissions.
4.Copy the contents of G Tablet\framework to System\Framework
5.Copy the contents of G Tablet\lib to System\lib
6.Copy all the APK's found inside G Tablet\APK into your system\app folder.
7.Install them in this order:
1.GoogleServicesFramework.apk
2.OneTimeInitializer.apk
3.SetupWizard.apk
4.Talk.apk
5.Vending.apk
6.Gmail.apk
7.Maps.apk
8.Make sure you remount it as R/O when you're done!
9.Restart your G, Connect to Wifi, then launch Market.
10.Follow the standard Google Account setup procedure and enjoy your newly installed Market.
I got these instructions on another thread and all worked untill I got to the part about coping files to other directorys. Thats when I got that error in andfileroot.
foreverknight said:
I've tried this twice already with a factory reset in between each try, and it's worked both times!
Attached is a bunch of files you will need to make this work.
1.Download the attached Zip file and extrat the contents to your desktop
2.Mount your G and upload the "G Tablet" folder to your G's internal SD card
3.Using AndRootFile or any other file manager that supports root access, mount as R/W, and copy the contents of G Tablet\permissions to System\etc\permissions.
4.Copy the contents of G Tablet\framework to System\Framework
5.Copy the contents of G Tablet\lib to System\lib
6.Copy all the APK's found inside G Tablet\APK into your system\app folder.
7.Install them in this order:
1.GoogleServicesFramework.apk
2.OneTimeInitializer.apk
3.SetupWizard.apk
4.Talk.apk
5.Vending.apk
6.Gmail.apk
7.Maps.apk
8.Make sure you remount it as R/O when you're done!
9.Restart your G, Connect to Wifi, then launch Market.
10.Follow the standard Google Account setup procedure and enjoy your newly installed Market.
I got these instructions on another thread and all worked untill I got to the part about coping files to other directorys. Thats when I got that error in andfileroot.
Click to expand...
Click to collapse
You are mixing two separate guides. You do not have to manually copy anything.
The thread you copied those instructions from is very old, and will not work as well as the one from this thread. I put together an update.zip that copies everything that needs to be copied, so you don't have to do those step.
It is very very simple:
Load the gapps update.zip to sdcard, run update.zip.
Do i need clock work mod to run this .zip cause the only option is to extract and there is no run.
PS really, thank you for your time
foreverknight said:
Do i need clock work mod to run this .zip cause the only option is to extract and there is no run.
PS really, thank you for your time
Click to expand...
Click to collapse
The download here will have two files in the zip.
One file will be an update.zip, the other is a folder that looks like this: /recovery/command. The folder with command in it tells the stock recovery to flash the update.zip on the sdcard.
If you want to keep stock recovery, then rename the gapps update.zip to literally "update.zip" and put the folder /recovery/command on your SDCARD. Then you will hold volume + and power to run it.
If you want clockwork, just unzip the download here to your SDCARD. It will have the update.zip and /recovery folder to flash clockwork.
I first wrote this guide here on my site and thought I should put it here as well.
I am going to write this post to show how "easy", yet time-consuming, converting an RUU into a custom, de-odexed ROM can be as long as you can follow directions. I am doing this to hopefully help with development of ROMs for people who may be a bit intimidated on doing this. Before you start, you’ll need:
1. A Windows installation
2. VirtualBox installed in Windows
3. Ubuntu 10.04 (at least) installed in VirtualBox
4. dsixda’s Android Kitchen set up properly in Ubuntu
5. Java JDK installed in Ubuntu (Search openjdk in Synaptic Package Manager)
6. No fear of taking your time with this
I am suggesting the above because that’s what I’ll be using for this guide. Some devs frown at the use of kitchens but de-odexing manually can be a real pain in the ass and very time consuming.
First things first, you need to have Ubuntu up and running inside VirtualBox and you’ll need to get the Android Kitchen set up properly. To do this, extract the Android Kitchen zip file you downloaded. Rename the extracted folder to just “kitchen”. Copy that folder into your Ubuntu “home” directory. The final path will be “/home/username/kitchen”. You can test this by opening Terminal and typing:
Code:
cd kitchen
./menu
If the Android Kitchen starts, then you’re good to go. It’s that easy.
Now, going back to your Windows installation, download the RUU you want to build from. Once downloaded, you’ll need to double-click the RUU to run it. You’ll get a window that opens to allow you to continue installing the RUU. You need to not click anything there. Leaving that window open, open a Windows Explorer window. In the address bar type:
Code:
%temp%
and hit enter. This will take you into your Temp directory where the rom.zip is extracted. You can now do a search for rom.zip. Once found, copy the rom.zip to another directory (ie. Desktop). You can now close out of the RUU installer.
You’ll need to now copy your rom.zip to your Ubuntu virtual machine. How you do that is up to you. The easiest way is to set up Shared Folders in VirtualBox and copy it from within Ubuntu.
Once you have this file in Ubuntu, for simplicity, copy it to your desktop. Next, you’ll need to extract it. Simply right-click the rom.zip and select “Extract Here”.
If you now open you extracted folder, you should see a bunch of .img files. The 2 we are looking for are system.img and boot-signed.img. For now, create a new folder on your desktop, we’ll call it “custom”, and copy the boot-signed.img into that folder (I usually rename boot-signed.img to boot.img). Also create a folder called “system” in the same directory. Next we need to mount the system.img so we can extract the contents into the “system” folder you just created. Back in Terminal, type:
Code:
sudo mkdir -p /mnt/temp
sudo mount -o loop ~/Desktop/rom/system.img /mnt/temp
and then
sudo cp -r /mnt/temp/* ~/Desktop/custom/system
After several minutes, you should have a folder called “custom” on your desktop and inside of that should be “boot.img” and a “system” folder with a bunch of files and folders in it. You now need to change permissions on the folder so you can zip it up and copy it all. Back in Terminal type:
Code:
sudo chown -R username ~/Desktop/custom
Next step is to zip it all up so we can get it into the kitchen. Highlight both the “boot.img” and “system” folders, right-click them, and select “Compress”. Change the extension to .zip and click OK. Once zipped, drag (or copy) that folder into /home/username/kitchen/original_update.
Open Terminal and type:
Code:
cd ~/kitchen
./menu
Once the kitchen starts, you’ll need to set up a Working Folder, so select option “1″. If you only have 1 ROM zip in there you can just hit Enter. Follow through the prompts to rename your working folder if you want. I’m not going to guarantee that it will always work but it has worked for me in the past to select option “2″ from the main menu to “Add root permissions”. Moving on to de-odexing, select option “0 – ADVANCED OPTIONS”. Next, select option “11 – Deodex files in your ROM”. I usually do this by deodexing framework first and then system. If you’re de-odexing the ATT ROM, “PirateGhost” from xda clued me in that you need to temporarily remove the “com.att.vmm.sharedlib.jar” from /system/framework otherwise de-odexing will fail. When you get into the de-odexing option it will have you set your API level. The default is 10 which is Android 2.3.4 however, ICS can be 14 or 15. If on the latest 4.0.3, it’s API Level 15. Google can also help you here. If you’ve done everything right it will de-odex for 20 minutes or so depening on your hardware and should say “0 .odex files remain”. If you have any that remain, you can do them manually or not at all. Up to you on how you do it.
Since that’s basically all we’re discussing for right now on creating this ROM, we’ll continue on to building a flashable zip. Back at the main menu, select option “99 – Build ROM from working folder”. I recommend using the default “Interactive Mode”. Select yes to optimizing/zip-aligning all apks. When asked to add Updater-script to ROM, select yes. Here’s the thing with the updater-script that it builds. It’s only partially right. You need to fix the partition format section for the Vivid (or for whatever phone you’re building for). It’s best to look at some other’s scripts to see how it’s done. When asked by the wizard to sign your ROM, don’t do it. It’s not necessary. Feel free to rename it to whatever you want. After you’ve fixed the updater-script and I do mean AFTER, you can try flashing the ROM. And don’t forget to flash the boot.img as well.
There you have it. You now have a base ROM for you to work from. Obviously, this is just scratching the surface of what can be done but it’s a start. This is just how I do it. There are other ways to accomplish the same thing but this method has worked for me. Attached is a sample updater-script that I pulled from my AT&T stock ICS ROM. Use it only as a template and modify it to fit your needs and obviously, remove the txt extension.
Jirv311 said:
I first wrote this guide here on my site and thought I should put it here as well.
I am going to write this post to show how "easy", yet time-consuming, converting an RUU into a custom, de-odexed ROM can be as long as you can follow directions. I am doing this to hopefully help with development of ROMs for people who may be a bit intimidated on doing this. Before you start, you’ll need:
1. A Windows installation
2. VirtualBox installed in Windows
3. Ubuntu 10.04 (at least) installed in VirtualBox
4. dsixda’s Android Kitchen set up properly in Ubuntu
5. Java JDK installed in Ubuntu (Search openjdk in Synaptic Package Manager)
6. No fear of taking your time with this
I am suggesting the above because that’s what I’ll be using for this guide. Some devs frown at the use of kitchens but de-odexing manually can be a real pain in the ass and very time consuming.
First things first, you need to have Ubuntu up and running inside VirtualBox and you’ll need to get the Android Kitchen set up properly. To do this, extract the Android Kitchen zip file you downloaded. Rename the extracted folder to just “kitchen”. Copy that folder into your Ubuntu “home” directory. The final path will be “/home/username/kitchen”. You can test this by opening Terminal and typing:
Code:
cd kitchen
./menu
If the Android Kitchen starts, then you’re good to go. It’s that easy.
Now, going back to your Windows installation, download the RUU you want to build from. Once downloaded, you’ll need to double-click the RUU to run it. You’ll get a window that opens to allow you to continue installing the RUU. You need to not click anything there. Leaving that window open, open a Windows Explorer window. In the address bar type:
Code:
%temp%
and hit enter. This will take you into your Temp directory where the rom.zip is extracted. You can now do a search for rom.zip. Once found, copy the rom.zip to another directory (ie. Desktop). You can now close out of the RUU installer.
You’ll need to now copy your rom.zip to your Ubuntu virtual machine. How you do that is up to you. The easiest way is to set up Shared Folders in VirtualBox and copy it from within Ubuntu.
Once you have this file in Ubuntu, for simplicity, copy it to your desktop. Next, you’ll need to extract it. Simply right-click the rom.zip and select “Extract Here”.
If you now open you extracted folder, you should see a bunch of .img files. The 2 we are looking for are system.img and boot-signed.img. For now, create a new folder on your desktop, we’ll call it “custom”, and copy the boot-signed.img into that folder (I usually rename boot-signed.img to boot.img). Also create a folder called “system” in the same directory. Next we need to mount the system.img so we can extract the contents into the “system” folder you just created. Back in Terminal, type:
Code:
sudo mkdir -p /mnt/temp
sudo mount -o loop ~/Desktop/rom/system.img /mnt/temp
and then
sudo cp -r /mnt/temp/* ~/Desktop/custom/system
After several minutes, you should have a folder called “custom” on your desktop and inside of that should be “boot.img” and a “system” folder with a bunch of files and folders in it. You now need to change permissions on the folder so you can zip it up and copy it all. Back in Terminal type:
Code:
sudo chown -R username ~/Desktop/custom
Next step is to zip it all up so we can get it into the kitchen. Highlight both the “boot.img” and “system” folders, right-click them, and select “Compress”. Change the extension to .zip and click OK. Once zipped, drag (or copy) that folder into /home/username/kitchen/original_update.
Open Terminal and type:
Code:
cd ~/kitchen
./menu
Once the kitchen starts, you’ll need to set up a Working Folder, so select option “1″. If you only have 1 ROM zip in there you can just hit Enter. Follow through the prompts to rename your working folder if you want. I’m not going to guarantee that it will always work but it has worked for me in the past to select option “2″ from the main menu to “Add root permissions”. Moving on to de-odexing, select option “0 – ADVANCED OPTIONS”. Next, select option “11 – Deodex files in your ROM”. I usually do this by deodexing framework first and then system. If you’re de-odexing the ATT ROM, “PirateGhost” from xda clued me in that you need to temporarily remove the “com.att.vmm.sharedlib.jar” from /system/framework otherwise de-odexing will fail. When you get into the de-odexing option it will have you set your API level. The default is 10 which is Android 2.3.4 however, ICS can be 14 or 15. If on the latest 4.0.3, it’s API Level 15. Google can also help you here. If you’ve done everything right it will de-odex for 20 minutes or so depening on your hardware and should say “0 .odex files remain”. If you have any that remain, you can do them manually or not at all. Up to you on how you do it.
Since that’s basically all we’re discussing for right now on creating this ROM, we’ll continue on to building a flashable zip. Back at the main menu, select option “99 – Build ROM from working folder”. I recommend using the default “Interactive Mode”. Select yes to optimizing/zip-aligning all apks. When asked to add Updater-script to ROM, select yes. Here’s the thing with the updater-script that it builds. It’s only partially right. You need to fix the partition format section for the Vivid (or for whatever phone you’re building for). It’s best to look at some other’s scripts to see how it’s done. When asked by the wizard to sign your ROM, don’t do it. It’s not necessary. Feel free to rename it to whatever you want. After you’ve fixed the updater-script and I do mean AFTER, you can try flashing the ROM. And don’t forget to flash the boot.img as well.
There you have it. You now have a base ROM for you to work from. Obviously, this is just scratching the surface of what can be done but it’s a start. This is just how I do it. There are other ways to accomplish the same thing but this method has worked for me. Attached is a sample updater-script that I pulled from my AT&T stock ICS ROM. Use it only as a template and modify it to fit your needs and obviously, remove the txt extension.
Click to expand...
Click to collapse
Thanks, I've De-odexed ICS 4.0.3 ROM from WEE RUU. But. When I flash to Phone. The boot was successfully. And Everything works. But in the Sense Desktop. Any of ICON's Title Couldn't Display in the Sense Homescreen. It's totally naked!! including widgets. What's Problem? The others text display is work.
My Lab: Windows 7 with JDK&JRE
Cygwin+Kitchen 1.92
---------- Post added at 11:26 AM ---------- Previous post was at 11:24 AM ----------
Should I Cooking ICS with Ubuntu?
ChunD.K said:
Thanks, I've De-odexed ICS 4.0.3 ROM from WEE RUU. But. When I flash to Phone. The boot was successfully. And Everything works. But in the Sense Desktop. Any of ICON's Title Couldn't Display in the Sense Homescreen. It's totally naked!! including widgets. What's Problem? The others text display is work.
My Lab: Windows 7 with JDK&JRE
Cygwin+Kitchen 1.92
---------- Post added at 11:26 AM ---------- Previous post was at 11:24 AM ----------
Should I Cooking ICS with Ubuntu?
Click to expand...
Click to collapse
Can you grab a screenshot? Seems pretty strange.
I find problems out。When I tried to Extract All files form a Stock RUU。Than pack it up without any touching。flash to phone。Boot Successfully...
But IT'S JUST NAKED!!! I really confused!
RUU Version:Australian RUU-HOLIDAY-ICS-35-S-Telstra-WWE-3.25.841.4-Radio-3.02.4740.09-34.20.701040.19
Everything is fine when I Run RUU.exe to update。
Jirv311 said:
Can you grab a screenshot? Seems pretty strange.
Click to expand...
Click to collapse
Where you are? I need your Reply.
ChunD.K said:
Where you are? I need your Reply.
Click to expand...
Click to collapse
I need your screenshot.
Jirv311 said:
I need your screenshot.
Click to expand...
Click to collapse
Finally, Here is the Problem Screenshot. SO WERIED
I‘ve also use the latest Touch RECOVERY。 Problem is still。。。
{
"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"
}
You gotta help me!
I mean i Pack them pu without any touching。
Where are you?
If I had to guess, I'd say you're using an unsupported language? I honestly am not sure.
Sent from my HTC PH39100 using xda premium
No, Itried switch to English. It jut naked.
Thanks alot for the thread! Is there anyway you could go into more detail about fixing the updater script for vivid?
bennykudos said:
Thanks alot for the thread! Is there anyway you could go into more detail about fixing the updater script for vivid?
Click to expand...
Click to collapse
I attached the updater-script to the OP. The main thing that needs fixing when your building it is putting in the correct format commands for the Vivid.
Do you know how to decompile the apks? I have expiernce with decompiling
Apks on the Samsung infuse but I can not figure out how do it for this phone...I can't even successfully install the framework...and yes I'm using an ics apktool...I've tried on both windows 7 and ubuntu 11.04
Could someone please link me to an apktool that works with this phones stock ics apks and tell me any special/extra steps I need to do to install framework and decompile apks
Sent from my HTC PH39100 using xda app-developers app
mg2195 said:
Do you know how to decompile the apks? I have expiernce with decompiling
Apks on the Samsung infuse but I can not figure out how do it for this phone...I can't even successfully install the framework...and yes I'm using an ics apktool...I've tried on both windows 7 and ubuntu 11.04
Could someone please link me to an apktool that works with this phones stock ics apks and tell me any special/extra steps I need to do to install framework and decompile apks
Sent from my HTC PH39100 using xda app-developers app
Click to expand...
Click to collapse
i think its called apk manager now.. sorry to revive