[APP] Switch RamHack - for ROM Devs - G1 Android Development

Hi
I wrote a small app which allows you enable/disable RamHack after tap on one button.
I wrote this application primarily for ROM Devs.
INSTRUCTIONS:
Copy the file "switch_rh.zip" to /data/
Contents of the archive /data/switch_rh.zip:
rh_on.img
rh_off.img
rh_on.ko (if required)
rh_off.ko (if required)
How does it work?
1. If the file switch_rh.zip is in /data/ then it is copied to /sdcard/switch_rh/
2. Next, the file /data/switch_rh.zip is removed.
3. The file IMG is flashing and the file KO is copied as a /system/lib/modules/wlan.ko
Notices:
- File /sdcard/switch_rh/switch_rh.zip not be removed if someone wanted to switch RamHack.
- If you are using a ROM and you want to "manually" use this application, you copy the zip package (contents as above) to /SDCard/switch_rh/
I hope this program will be useful for someone
PS. This is my first app

nice job !

Nice job, i am going to have something like this in 2.2 but its in spareparts

Hey lol seems you visited my profile got to say nice apps keep up the good work

where is the zip package ????????????????

fox12345 said:
where is the zip package ????????????????
Click to expand...
Click to collapse
wow, you do not deserve to know how wrong you just sounded

so I created the right folder, put the right files in, installed the app, hit disable, and it does absolutely nothing.

Good concept but doesn't work. I have my 4 file in the .zip. the program extracts them properly but doesn't apply them. My script does work so its not an error on my part. Good luck, man!

Could any1 tell me where is the zip file?

20015jjw said:
Could any1 tell me where is the zip file?
Click to expand...
Click to collapse
fail#2
rename the apk to .zip. then just extract it. but a word of advice, if you didnt know how to do that maybe you shouldnt be messing around with your phone

thanks ;-)

adelco93 said:
fail#2
rename the apk to .zip. then just extract it. but a word of advice, if you didnt know how to do that maybe you shouldnt be messing around with your phone
Click to expand...
Click to collapse
thank's mom

great idea
But not working on G1 running super ds latest with RH.
Phone reboots like it should. cat proc/meminfo shows 10mb memory still.
And app shows ramhack is still enabled.
So...

adelco93 said:
fail#2
rename the apk to .zip. then just extract it. but a word of advice, if you didnt know how to do that maybe you shouldnt be messing around with your phone
Click to expand...
Click to collapse
ACTUALLY... you are incorrect. This app doesn't contain any .img or .ko files.
you have to create them yourself. the reason the op didn't create any files or the zip is because they will vary between different roms. you can't make one universal zip that contains 1.img 1.ko 2.img 2.ko this app is merely an interface not the guts. You get it now, jerk?!
that's why it says for developers. not senior members who post alot of snappy comments and don't really contribute or their info is always wrong. back in the day, senior member actually meant something. now it means nothing generally.

This is awesome! Ive been working on something like this for a while. Glad to see someone got an app to do it Now you just gotta get some devs to implement it
PSHHH....SuperD, CM

sino8r said:
ACTUALLY... you are incorrect. This app doesn't contain any .img or .ko files.
you have to create them yourself. the reason the op didn't create any files or the zip is because they will vary between different roms. you can't make one universal zip that contains 1.img 1.ko 2.img 2.ko this app is merely an interface not the guts. You get it now, jerk?!
that's why it says for developers. not senior members who post alot of snappy comments and don't really contribute or their info is always wrong. back in the day, senior member actually meant something. now it means nothing generally.
Click to expand...
Click to collapse
That explains it. I retract my previous comment.
Total jerk, btw.

sevuth said:
That explains it. I retract my previous comment.
Total jerk, btw.
Click to expand...
Click to collapse
Hey, no problem dude. People can be so rude and the funny thing was he had no idea what he was talking about.

zimphishmonger said:
This is awesome! Ive been working on something like this for a while. Glad to see someone got an app to do it Now you just gotta get some devs to implement it
PSHHH....SuperD, CM
Click to expand...
Click to collapse
yeah its a great idea. it needs a fix currently but once that's done, it'll be great!
a few guys are already working on adding ramhack toggle into spare parts one of the den you mentioned is already doing so. Ben... cough...ahem... but Laszlo already has one made but its activated via script in terminal emulator. A nice interface like this would be more helpful or spare parts intergrading.

sino8r said:
Hey, no problem dude. People can be so rude and the funny thing was he had no idea what he was talking about.
Click to expand...
Click to collapse
My mistake, i can admit when im wrong. but i dont think i was being a jerk. but you on the other hand. but hey, im willing to be the better man
god bless you

Thanks for the explanation . In the next version will add the information if there is no package zip in /sdcard/switch_rh/ or /data/.

Related

Modding ROM

Hi Guys,
I just wanna ask if you can mod a rom before the update.zip install to your own preferences.
Example you download HERO Batman ROM with its own dock,bar,bootscreen.
Then you open up the files you wanna change, example dock bar colour make it green then save it and then update the rom so that it will come in as you modded it.
Is that ok to do, or will the install of the update.zip fail if we play with the files from the downloaded rom?
Thanks in advance
you need to resign the zip-file after change
modding
Thanx bro`
I just think I will leave that alone, since "signing" isnt ringing a bell.
I done some research on the net and I see its a very delicate process.
So, before I mess up my phone I will leave it alone.
Thanx for the feedback!
it's not that delicate. check out the theme forum. loads of guides on how to resign a zip.
HI
bjehsus said:
it's not that delicate. check out the theme forum. loads of guides on how to resign a zip.
Click to expand...
Click to collapse
I swear I have done everything stericson tells in his how to.
Somehow I dont get the option RESIGN if I click on my mouse.
Maybe we dont understand eachother bcuz of my bad english.
Is it also good if I click on the map (with the files meta, framework, app etc.) and then make a new zip update file? Or is that bad shi*?
dizzydix said:
I swear I have done everything stericson tells in his how to.
Somehow I dont get the option RESIGN if I click on my mouse.
Maybe we dont understand eachother bcuz of my bad english.
Is it also good if I click on the map (with the files meta, framework, app etc.) and then make a new zip update file? Or is that bad shi*?
Click to expand...
Click to collapse
i think he means recreate the zip.. so you need to make the files/folders into 1 zip file.
OK
Ace42 said:
i think he means recreate the zip.. so you need to make the files/folders into 1 zip file.
Click to expand...
Click to collapse
OK, I just hope I wont F** up my phone.
Cheers
dizzydix said:
OK, I just hope I wont F** up my phone.
Cheers
Click to expand...
Click to collapse
You can't brick by flashing an ROM. Worst that will happen is that the phone won't boot, in that case go to recovery, wipe and flash a ROM. That's it.

[TUTORIAL] User-Friendly Custom Lock-Rings for Sense 3.0 (EVO 4G)

After going through many of the different lock ring tutorials, I have noticed that they all have something in common: They are too user intensive and prone to user-error. Sure, once you have it down, it's easy. But it can be daunting to start out.
All I have done here is make it EXTREMELY user friendly.
No more copying and pasting into ZIPs and APKs!!
No more fishing around the Templates tree in M10 Tools!!!
Simply run the BATCH file, get a cup of coffee, and then flash!
Here are the detailed instructions... (also in the Read-Me)
0. Make sure you have installed Microsoft .net 4 framework on your machine.
http://www.microsoft.com/net
1. Unpack User_Friendly_Lock_Screen_Kit_v1.04.zip (Where you put the file does not matter anymore!!!! For example purposes, I will use C:\Lock_Ring_Kit)
2. Copy your image into C:\Lock_Ring_Kit and name it LockRing.png
Image requirements:
a. Must be a PNG file
b. Image must be 271 x 270 pixels (If it is not the right size, it will come out looking funny (270x271 WILL NOT WORK)
c. The image must be rotated 180 degrees and reflected horizontally.
3. Double-click "LockRingCreator.bat" and let it do its thing.
4. Flashable.zip was just created for you. Rename it whatever you wish.
5. Copy it to the root of your SD card, boot into recovery, and flash
The BATCH file cleans up after itself. You don't have to go through and delete any of the old files. If you want to make another one, just change out the PNG and run it again. My desktop is pretty old, and the BATCH takes about 2 minutes to run.
I have only tested this on Synergy, but I assume that it will work on similar ROMs. I also believe that it will work on the Thunderbolt (can someone confirm that?)
All files are included in the ZIP.
User_Friendly_Lock_Ring_Kit_v1.05.zip
Error Reporting
This is a work in progress. If you have an issue, please post it on the thread. Also, please copy and paste the output from the command prompt so we can get to the bottom of it. (Right click on command prompt, Select All, the then press ENTER. It is now ready to paste.)
Acknowledgments:
jmaher1023 - I used his process as a template. All that my BATCH file does is automate his process
Flemmard and DiamondBack2010- I have no idea what M10 Tools does or how much trouble they had to go through to make it, but I do know that it is the heart and soul of this whole operation.
Confirmed ROMS
Gingeritis3d
Synergy RLS 1
InCompatible ROMS
Kinged Shooter RLS 2.3
I'll try this out, thanks alot dude.
One thing you didn't mention is that the images still need to be 271 X 270 or they won't look right. Other than that this works on Gingeritis3d. (And if I want to say I was the one to create the lock ring I might edit the script) lol. Very good work though man. Very useful tool. Have you been able to find where the images are located for the Amazing sense skin? I haven't found those yet and want to use that semi transparent tool bar at the bottom but dont want to use a different launcher
somehow i cant get it to work ive followed every step but when i run the
"LockRingCreator.bat" it just goes into cmd really fast and nothing happens
TDubKong said:
One thing you didn't mention is that the images still need to be 270 X 270 or they won't look right.
Click to expand...
Click to collapse
Fixed in OP. I put that in the ReadMe, but forgot it on the thread Thanks for the reminder.
TDubKong said:
Other than that this works on Gingeritis3d.
Click to expand...
Click to collapse
Thanks for letting me know. I'll add a lit of confirmed ROMS that this works for.
TDubKong said:
(And if I want to say I was the one to create the lock ring I might edit the script) lol.
Click to expand...
Click to collapse
Navigate to C:\Lock_Ring_KitTemplate\META-INF\com\google\android
There is a file named "updater-script" Rename it updater-script.txt, and open it for editing. Just look for my name and replace it with yours. Make sure you take the .txt off after saving
TDubKong said:
Have you been able to find where the images are located for the Amazing sense skin? I haven't found those yet and want to use that semi transparent tool bar at the bottom but dont want to use a different launcher
Click to expand...
Click to collapse
No Idea
IDRFT95S14 said:
somehow i cant get it to work ive followed every step but when i run the
"LockRingCreator.bat" it just goes into cmd really fast and nothing happens
Click to expand...
Click to collapse
What operating system are you running? Do you have Microsoft .net 4 framework installed on your system?
When it is working properly, after you run the BATCH file you should see a command window running various commands for a little while.
did you
IDRFT95S14 said:
somehow i cant get it to work ive followed every step but when i run the
"LockRingCreator.bat" it just goes into cmd really fast and nothing happens
Click to expand...
Click to collapse
did you make sure the file was named LockRing and was a png format? Something else to consider is that if you named a png image lockring.png then when it looks for the file it will see lockring.png.png so make sure it is a png format image but only name it LockRing.Hope this helps
gamendorf said:
Fixed in OP. I put that in the ReadMe, but forgot it on the thread Thanks for the reminder.
Thanks for letting me know. I'll add a lit of confirmed ROMS that this works for.
Navigate to C:\Lock_Ring_KitTemplate\META-INF\com\google\android
There is a file named "updater-script" Rename it updater-script.txt, and open it for editing. Just look for my name and replace it with yours. Make sure you take the .txt off after saving
No Idea
Click to expand...
Click to collapse
Thanks brudda. I was only kidding about renaming the script. I knew where to find it. I can run a couple other ROMS if you want. I got nothing better to do tonight. Let me know which ones you want to add to your list and i'll do a couple.
just downloaded will test in a minute on mik3d beta1, but in the read me file, no sizes for pic you intend to use (just a heads up).
Forgot to mention I am running Gingeritis 3D Beta VIII. And I do have .net 4 installed. Maybe thats why i didn't have any issues. Also I didn't even read the read me file. oops.
life_420 said:
just downloaded will test in a minute on mik3d beta1, but in the read me file, no sizes for pic you intend to use (just a heads up).
Click to expand...
Click to collapse
You're right. Oops. Zip file has been updated
life_420 said:
just downloaded will test in a minute on mik3d beta1, but in the read me file, no sizes for pic you intend to use (just a heads up).
Click to expand...
Click to collapse
Love my DropBox. Tried a few other apps like Minus and another but they are just not so user friendly and helpful. Although a couple have more GB.
gamendorf said:
What operating system are you running? Do you have Microsoft .net 4 framework installed on your system?
When it is working properly, after you run the BATCH file you should see a command window running various commands for a little while.
Click to expand...
Click to collapse
windows 7 i looked it up and it does have the Microsoft .net 4 framework intalled ,im thinking i just didnt name something right ill try what TDubKong suggested VVV and ill get back
TDubKong said:
did you make sure the file was named LockRing and was a png format? Something else to consider is that if you named a png image lockring.png then when it looks for the file it will see lockring.png.png so make sure it is a png format image but only name it LockRing.Hope this helps
Click to expand...
Click to collapse
TDubKong said:
Love my DropBox. Tried a few other apps like Minus and another but they are just not so user friendly and helpful. Although a couple have more GB.
Click to expand...
Click to collapse
dropbox has been the easiest, havent hit a limit yet, except storage space..... which i upgraded to eliminate that problem, all the others i have tried i cant upload anything because they limit file sizes that you can upload, where as dropbox just syncs with your desktop, takes awhile but works.
just tried it to make a flashable zip and it did the same thing as other guy, flashed the cmd prompt super quick, no zip created.....
edit:
wait i just checked windows update and it has 2 updates for net framework 4 lol
nice i was using the copy paste way. i use one like this for the 3d(that was made by triscuit1983.
still didnt work for me, oh well back to m10 editor... thanx anyways
did you put it on your c drive i had that problem on the one for the 3d
I will try again tomorrow, work in the morning
Sent from my PC36100 using xda premium
life_420 said:
just tried it to make a flashable zip and it did the same thing as other guy, flashed the cmd prompt super quick, no zip created.....
Click to expand...
Click to collapse
dased14 said:
did you put it on your c drive i had that problem on the one for the 3d
Click to expand...
Click to collapse
Make sure that you unzip the files to C:\Lock_Ring_Kit. When I install them somewhere else ("C:\Lock_Ring_Kit______"), I get the same error you do. However, the BATCH file did what it was supposed to do. Since C:\Lock_Ring_Kit did not exist, it created it, and there is a "Working" folder as well as a "Flashable.zip" there. But, since the original files were not in the right place, it is useless.
When the command prompt just flashes, what that means is that M10Tools are not having a chance to run. The only explanation I have for that as of right now is that the files are not in the right location. Also make sure that you named the image LockRing.png.
I'll see about making the batch file spit out an error code, but it might be a few days before I can get around to it. I'll keep yall posted.

Porting ICS Transition Animation

I found this when I was surfing the net:
http://www.techofweb.com/technology/port-ics-android.html
When I saw the "Porting" in the title I thought it needs a dev, but it was easier than I thought, except some steps which I don't get.
In step 23 it says:
"Go to apk-manager folder. Go to Projects/framework-res.apk/res/anim/"
and in step 24 it says:
"Open xml file integers with any Editor."
The problem is there isn't such xml file as "integers" in that folder. So we should add those lines, mentioned in step 26, in which xml?
Any idea?
sohrab1985 said:
I found this when I was surfing the net:
http://www.techofweb.com/technology/port-ics-android.html
When I saw the "Porting" in the title I thought it needs a dev, but it was easier than I thought, except some steps which I don't get.
In step 23 it says:
"Go to apk-manager folder. Go to Projects/framework-res.apk/res/anim/"
and in step 24 it says:
"Open xml file integers with any Editor."
The problem is there isn't such xml file as "integers" in that folder. So we should add those lines, mentioned in step 26, in which xml?
Any idea?
Click to expand...
Click to collapse
Take a look at this post here http://forum.xda-developers.com/showpost.php?p=19262568&postcount=13 your looking into the wrong directory
acubens said:
Take a look at this post here http://forum.xda-developers.com/showpost.php?p=19262568&postcount=13 your looking into the wrong directory
Click to expand...
Click to collapse
Thanks, mate.
I think it was a mistake of whoever who wrote that.
Anyway, thank you.
sohrab1985 said:
Thanks, mate.
I think it was a mistake of whoever who wrote that.
Anyway, thank you.
Click to expand...
Click to collapse
NP, btw it will not work on Gingerbread JQ3,4 and 5 as i have tried that already as soon as you unlock your screen the system hangs, but if you try it yourself my advice is to make a backup, so you can replace the framework in recovery and continue using you system instead of reflashing it.
GL
acubens said:
NP, btw it will not work on Gingerbread JQ3,4 and 5 as i have tried that already as soon as you unlock your screen the system hangs, but if you try it yourself my advice is to make a backup, so you can replace the framework in recovery and continue using you system instead of reflashing it.
GL
Click to expand...
Click to collapse
I tried it on MIUI 1.11.12 and it works fine. The thing is first time I tried it, the same thing happend, I mean right away after unlocking the screen it hung up and I couldn't do any thing. But when I tried for the second time it worked just fine. Maybe you should try it one more time. I hope it works this time.
sohrab1985 said:
I tried it on MIUI 1.11.12 and it works fine. The thing is first time I tried it, the same thing happend, I mean right away after unlocking the screen it hung up and I couldn't do any thing. But when I tried for the second time it worked just fine. Maybe you should try it one more time. I hope it works this time.
Click to expand...
Click to collapse
Nice to hear it works, i will try again maybe i made an error.
Cheers
I have gotten the ICS transitions to build from source into my BOCA rom.
(2.3.7)
I do it basically the same way, just at a source code level.
and I don't have an "integers.XML" in source code it is in "config.XML"
I will post a "cyanogen" how to tomorrow
Thanks
-diz
dizgustipated said:
I have gotten the ICS transitions to build from source into my BOCA rom.
(2.3.7)
I do it basically the same way, just at a source code level.
and I don't have an "integers.XML" in source code it is in "config.XML"
I will post a "cyanogen" how to tomorrow
Thanks
-diz
Click to expand...
Click to collapse
Nice to bad i dont use your firmware, how is it on cyanogen any lag?
acubens said:
Nice to bad i dont use your firmware, how is it on cyanogen any lag?
Click to expand...
Click to collapse
After a few adjustments and some minor wierdness;
It is pretty smooth.
I like it.
dizgustipated said:
After a few adjustments and some minor wierdness;
It is pretty smooth.
I like it.
Click to expand...
Click to collapse
Cool, i tried it on several firmwares jq2,3 and 4 but it does not work, hangs just after unlocking the screen. As previous said that i maybe made an error but i tried again and checked it 10 times but no luck and i am pretty sure i did it correctly.
Who knows i will try your firmware and enjoy the new transitions
Cheers mate, and thank you for your input.
acubens said:
... i tried it on several firmwares jq2,3 and 4 but it does not work, hangs just after unlocking the screen. As previous said that i maybe made an error but i tried again and checked it 10 times but no luck and i am pretty sure i did it correctly.
Click to expand...
Click to collapse
I use "Apk Manager" for editing apk files so I decompiled the "framework", copied files from "anims" folder and "other" folder, which I'd downloaded before, to "anim" folder of the "framework", then I typed 11 in "Apk Manager" for compiling the "framework", after that it asked two question and as always I typed "y" (yes), then in the "keep" folder I deleted "resources.arsc" and all the .xml file in "anim" folder which I'd replaced, and finally when "Apk Manger" finished it's work I pushed the framework.
Is this the same way you use to edit the "framework"?
I just want to make sure it's the roms' problem (which you mentioned before) not the way we use to edit the file.
sohrab1985 said:
I use "Apk Manager" for editing apk files so I decompiled the "framework", copied files from "anims" folder and "other" folder, which I'd downloaded before, to "anim" folder of the "framework", then I typed 11 in "Apk Manager" for compiling the "framework", after that it asked two question and as always I typed "y" (yes), then in the "keep" folder I deleted "resources.arsc" and all the .xml file in "anim" folder which I'd replaced, and finally when "Apk Manger" finished it's work I pushed the framework.
Is this the same way you use to edit the "framework"?
I just want to make sure it's the roms' problem (which you mentioned before) not the way we use to edit the file.
Click to expand...
Click to collapse
Yes i use also apk manager, and the same procedure as you did but no go. If you read the thread from the post i have giving you, there are several users that have the same issue on jq3 ect.
Cheers
acubens said:
Yes i use also apk manager, and the same procedure as you did but no go. If you read the thread from the post i have giving you, there are several users that have the same issue on jq3 ect.
Cheers
Click to expand...
Click to collapse
So, like you said before it's not compatible with those roms.
Let's hope the ICS developers get the rom ready asap, so we all can have it on our tabs.
UOT Kitchen , they have add ICS windows animations, tried it and it works fine with 2.3.5
af974 said:
UOT Kitchen , they have add ICS windows animations, tried it and it works fine with 2.3.5
Click to expand...
Click to collapse
Thanks for the tip, i tried the kitchen and can confirm that it works on jq3 too and that it is very smooth with the new transitions.
Cheers
acubens said:
Thanks for the tip, i tried the kitchen and can confirm that it works on jq3 too and that it is very smooth with the new transitions.
Cheers
Click to expand...
Click to collapse
Glad to hear it.
It will be nice if we can combine this with ICS Alpha Rom..
sopormenmalaya said:
It will be nice if we can combine this with ICS Alpha Rom..
Click to expand...
Click to collapse
Dosen't it have those animation?
That's funny because I just flashed back from ICS alpha and I didn't notice if it has those animation.

[TUT] So you want to start themeing in Windows?

Hey guys! Someone recently posted that they wanted to start to making their own themes and I posted a very long reply and figured, might as well post a "somewhat easy to understand" tutorial here for everyone.
So you want to make your own themes?
First off, it is important to know that if you plan on porting any themes over and releasing it to the masses, that you get permission from the theme owner first!!
DISCLAIMER: I AM NOT RESPONSIBLE IF YOUR PHONE EXPLODES OR MELT! lol
NOTE: IF YOU'RE A NOOB (you know if you are) DO NOT MESS WITH ANY IMAGE THAT ENDS IN ".9" UNTIL YOU READ UP ON THEM.......A LOT! IF YOU'RE JUST REPLACING AN IMAGE, THEN READ ON.
A good write up on .9 (9 patch) images can be found here:
http://developer.android.com/guide/developing/tools/draw9patch.html
What you will need:
Apkmanager: http://forum.xda-developers.com/showthread.php?t=695701
7zip: http://www.7-zip.org/download.html
An empty flashable zip: http://www.multiupload.com/DBEMBUOCND
Lot's of time on your hands!
GETTING STARTED:
Apkmanager is going to be your "all-in-one" tool for making a theme in Windows.
(I'll go into all the options of apkmanager a little later)
The process you need to follow is actually kind of simple. It's just very time consuming.
First you will need to make the images that you want (unless you are porting a theme).
Now what you need to do is one way or another, get the framework-res.apk and the SystemUI.apk from your phone, if you want to theme the launcher then you need to get the TouchWiz30Launcher.apk as well. (If you don't want to mess with using adb, use Root Explorer, just copy the apk then paste on your sdcard, then copy and paste from your sdcard onto your pc.)
Extract apkmanager to somewhere easy like the desktop and you should end up with a folder named "apkmanager" or whatever.
Inside that folder, you should have the following folders:
Other
place-apk-here-for-modding
place-apk-here-for-signing
place-apk-here-to-batch-optimize
place-ogg-here
projects
Then the following files:
log
Script
DO NOT MODIFY THE NAMES OF ANY OF THESE FILES OR FOLDERS OR NOTHING WILL WORK!
Take the 3 files that you got from your phone and place them in the "place apk here for modding" folder.
Double click to open the "Script" file
Press "22" and hit enter to set your current job
Select either 1,2 or 3 for whichever apk you want to start on first
Select "9" to decompile
Once decompile is done, go inside the "projects" folder and now you have a folder inside there with whatever the name is of the apk you just decompiled.
Inside that folder are the images and XML files you need to replace (you might not have to edit any of the XML files, that's a little more advanced unless you already know how to.)
Most of the images you will need to edit will be in the following folders of each apk:
res>drawable
res>drawable-hdpi
You can look around in there and see what all needs to be done. I will get into themeing the contacts and phone and all that a little later.
Once you get everything done and you're ready to test it out, you need to go back to that "Script" file in apkmanager and open it back up. Now you're going to do pretty much the same stuff you did when you were decompiling the apk, in order to compile the apk.
In the Script for apkmanager, you're going to press "22" and hit enter, then select which file you want to compile first by either pressing 1,2 or 3.
Select the file and hit enter, then press "11" and press enter to compile the apk. As long as you didn't mess anything up during the process of changing stuff, you shouldn't receive any errors. If you do, you need to figure out what it was you messed up on and fix it.
Go through and compile the apks that you edited. Once that is done, you will go to your "place apk here for modding" folder again and you will notice that you have 3 new files in there:
unsignedframework-res.apk
unsignedSystemUI.apk
unsignedTouchWiz30Launcher.apk
Remember that empty flashable zip you downloaded earlier? Now you need it.
Right click on the flashable zip and mouse over "7zip" and click on "Open Archive"
Take the unsignedSystemUI.apk and the unsignedTouchWiz30Launcher.apk and place them in the "app" folder. Now rename those to their original names:
SystemUI.apk
TouchWiz30Launcher.apk
Now take that unsignedframework-res.apk and place it in the "framework" folder of the flashable zip. Rename that one to "framework-res.apk."
Now you can close out of the flashable zip file and place it on your sdcard.
Reboot into recovery, wipe cache partition, wipe dalvik, now go to "mounts and storage" and mount /system.
Now go back and flash the zip file you just put on your sdcard.
Since you wiped your cache and your dalvik, the reboot will take a little while. You should now be good to go!
NOTE: Since I did not create apkmanager, I will not be able to answer many questions about it but feel free to ask. If I don't have an answer for you, Just go back to the post above where you downloaded it, and post your question there.
As stated earlier in my post, I will get more in depth about all this stuff as soon as I have a little more time to post everything.
Please enjoy and happy themeing!!!!!!
Thank you for this spc.
wampuscat said:
Thank you for this spc.
Click to expand...
Click to collapse
Not a problem! I'm going to add more stuff as soon as I get more time. Also, if there are any other themers that want to contribute like ForeverSupra or Endless or Stranula. Please send me a PM and I'll add your stuff to the OP as well!
spc_hicks09 said:
Not a problem! I'm going to add more stuff as soon as I get more time. Also, if there are any other themers that want to contribute like ForeverSupra or Endless or Stranula. Please send me a PM and I'll add your stuff to the OP as well!
Click to expand...
Click to collapse
Ima be all over this. 12 hr nightshift coupled with a mild case of OCD=awesome sauce ....you da man
In ApkManager you don't need to decompile the apk's. You just need to extract them because all you're doing is messing with the images.
wyllic said:
In ApkManager you don't need to decompile the apk's. You just need to extract them because all you're doing is messing with the images.
Click to expand...
Click to collapse
True but might as well get people used to it.
Sent from my SCH-I510 using Tapatalk
Spc. There is an ultimate draw 9 patch out that makes editing the .9's so much easier once you have patched them. You may want to add that to the op, Stoney from BadSeed showed it to me and its so easy now, no need for eclipse.
Sent from my SCH-I510 using xda premium
thanks for this man i have been wanting to get intto developing but i figure i would stick with something a bit more simplier... plus once i learn i can develop a theme for my wifes epic not many options for g.b. overthere glad this got stickied or at least it seems that way.... hit the thanks button on my o.p in general thanks...
Wow is it seriously that easy???? Well I guess I'm starting to theme then. I'm going to start asap. I can't thank you enough btw this is really a good thing here.
Cool! I didn't even know about that. Is there any way you could possibly find a link so I can add it?
cbrown245 said:
Spc. There is an ultimate draw 9 patch out that makes editing the .9's so much easier once you have patched them. You may want to add that to the op, Stoney from BadSeed showed it to me and its so easy now, no need for eclipse.
Sent from my SCH-I510 using xda premium
Click to expand...
Click to collapse
Going to look for it now!
bfitzpatrickd2d said:
thanks for this man i have been wanting to get intto developing but i figure i would stick with something a bit more simplier... plus once i learn i can develop a theme for my wifes epic not many options for g.b. overthere glad this got stickied or at least it seems that way.... hit the thanks button on my o.p in general thanks...
Click to expand...
Click to collapse
Just so everyone knows, here soon I'm also going to be posting a tutorial on how to center the clock and move around your icons and stuff in the statusbar!
I had all the knowledge in the OP and decided I was going to start theming. Then I saw the literally hundreds of PNG's i would have to edit and decided it isn't for me lol. I get bored too easily to spend that much time in photoshop/gimp haha.
That said, I really appreciate what themers do.
skydeaner said:
I had all the knowledge in the OP and decided I was going to start theming. Then I saw the literally hundreds of PNG's i would have to edit and decided it isn't for me lol. I get bored too easily to spend that much time in photoshop/gimp haha.
That said, I really appreciate what themers do.
Click to expand...
Click to collapse
same here, wish I had the time lol and that's why I try and do what I can i.e. donating, testing, helping out here...
doesn't mean I don't know my way around in the internals of roms/themes though haha
sent from my Acer Iconia A500 tablet via XDA app
spc_hicks09 said:
Cool! I didn't even know about that. Is there any way you could possibly find a link so I can add it?
http://forum.xda-developers.com/showpost.php?p=19215317&postcount=595
Here is the link to the op Papa Smurf151 so all thanks to him.
Sent from my SCH-I510 using xda premium
Click to expand...
Click to collapse
cbrown245 said:
spc_hicks09 said:
Cool! I didn't even know about that. Is there any way you could possibly find a link so I can add it?
http://forum.xda-developers.com/showpost.php?p=19215317&postcount=595
Here is the link to the op Papa Smurf151 so all thanks to him.
Sent from my SCH-I510 using xda premium
Click to expand...
Click to collapse
Thanks man!
P.S.
I got a really good theme coming up very soon that will flash over Stock EP4D....stay tuned kids!!!
Once I get the main stuff done (framework, systemUI, settings.apk) I will release it then will add more stuff as I go.
Click to expand...
Click to collapse
spc_hicks09 said:
cbrown245 said:
Thanks man!
P.S.
I got a really good theme coming up very soon that will flash over Stock EP4D....stay tuned kids!!!
Once I get the main stuff done (framework, systemUI, settings.apk) I will release it then will add more stuff as I go.
Click to expand...
Click to collapse
Lol so do I. I have been testing on my phone for about 2 weeks just adding as I go along.
Sent from my SCH-I510 using xda premium
Click to expand...
Click to collapse
I might give it a shot but yeah just for the battery there is like, umm never mind alot of files. I sure I will have alot of questions and ask people to use stuff of course with credit due to them.
blueis300 said:
I might give it a shot but yeah just for the battery there is like, umm never mind alot of files. I sure I will have alot of questions and ask people to use stuff of course with credit due to them.
Click to expand...
Click to collapse
Just now kind of finished one for EP4D, getting ready to post it soon.
When flashing with the zip you provide it says place your txt here. How do you find where to place my txt? I would like to add my txt.
Sent from my SCH-I510 using xda premium
cbrown245 said:
When flashing with the zip you provide it says place your txt here. How do you find where to place my txt? I would like to add my txt.
Sent from my SCH-I510 using xda premium
Click to expand...
Click to collapse
It's the "updater-script"
To get to the updater script, of the zip file. Open the zip file with 7zip and go to:
META-INF>com>google>android
Open the updater script with Notepad++ or whatever text editor you use. Only the edit the text that says "place your text here" or you can mess up the entire zip file and it won't flash.
spc_hicks09 said:
It's the "updater-script"
To get to the updater script, of the zip file. Open the zip file with 7zip and go to:
META-INF>com>google>android
Open the updater script with Notepad++ or whatever text editor you use. Only the edit the text that says "place your text here" or you can mess up the entire zip file and it won't flash.
Click to expand...
Click to collapse
Once I open it with ++ it will not slow to edit anything. ???
Sent from my SCH-I510 using xda premium

[Q] How to make a zip to install apk on recovery mod?

Hi there, i read some thread about this, but really i dont understand what to do for make a flasheable zip...
Can someone take a moment for this request...
Thnx in advanced for read this
blackgf said:
Hi there, i read some thread about this, but really i dont understand what to do for make a flasheable zip...
Can someone take a moment for this request...
Thnx in advanced for read this
Click to expand...
Click to collapse
wassup, well i think your talking about different things. The apks can be installed any time in the system. the files for a flashable system in recovery mode are system.img.
Now some apks can be intalled by comand promp pushing by code but i really dont remember the exact code lol. But i think is over here in the xoom forum.
now some apks in zip mode just need to be stored no zipped, instead of check the option "compress" look for the one named "Store" that makes a file zip but the files are inside uncompresed, that why most of people can't install apks at first.
hope this helps in something.
See ya!
I think you are looking at how to make your own flashable zips for CWM.
This link here from MODACO was like the first result in google.:
http://android.modaco.com/topic/344906-how-to-create-a-flashable-zip-for-cwm/
It's a pretty decent guide, and it will allow you to install apk's from CWM if you don't want to install them normally.
not too sure but...
I think there is a new program in the Dev. board called fruitcake maker. Says it backs open boot.img and system.img and rolls it into an update.zip . I don't know if that's what you're really looking for.
intensus said:
wassup, well i think your talking about different things. The apks can be installed any time in the system. the files for a flashable system in recovery mode are system.img.
Now some apks can be intalled by comand promp pushing by code but i really dont remember the exact code lol. But i think is over here in the xoom forum.
now some apks in zip mode just need to be stored no zipped, instead of check the option "compress" look for the one named "Store" that makes a file zip but the files are inside uncompresed, that why most of people can't install apks at first.
hope this helps in something.
See ya!
Click to expand...
Click to collapse
Thnx for your replay, yes, i see the adb commands in some threads but i really want to do my flashable zips for CWM.
Delgoth said:
I think you are looking at how to make your own flashable zips for CWM.
This link here from MODACO was like the first result in google.:
http://android.modaco.com/topic/344906-how-to-create-a-flashable-zip-for-cwm/
It's a pretty decent guide, and it will allow you to install apk's from CWM if you don't want to install them normally.
Click to expand...
Click to collapse
Thnx man this is what i need! i try to search in some threads and forums but i didnt know how to search.

Categories

Resources