Uncapped/Unthrottled data for Incredibly Re-Engineered - Droid Incredible Android Development

I have done the steps below and have created the services.jar with the uncapped data mod. I used the steps given by BThomas22x.
First make sure you do a nandroid backup!
Flash the zip in recovery and then all should be well.
I have done this and works perfectly for me. Let me know your results.
Note: You do this at your own risk
Read disclaimers at bottom before continuing on with this if you do not know what any of this means.
Incredibly Re-Engineered Version 2.xx
http://www.megaupload.com/?d=0HDXJX85
So far this will work for 2.00 up to 2.20
Originally Posted by BThomas22x
Ok first things first... I just came to the EVO from the Epic, so I'm gonna join this community now .
..::..Disclaimer..::..
You are voluntarily flashing this at your own risk. I can not be held accountable for anything you choose to do on your own. If you try to blame me, I will laugh at you. ....While pointing.
..::..Data Service Governer Killer..::..
1. What does this do?
This is a modification to the services.jar framework file, that allows you to have an un-throttled internet.
2. Will this make my internet faster?
Yes and No. This will not "Upgrade" your internet. This only takes the trottle off, so you can download, or play games and not have to worry about it hitting a certain peak and lagging from that point on. It doesn't provide you with a new internet, only a warm fuzzy feeling from knowing you don't have to worry about it capping off.
3. If I flash this, will it break my phone?
If it did, yours would be the first case I heard of. I've personally flashed it NUMEROUS times.
4. Will this work on any ROM?
Yes. This is not based off a particular ROM, and can be used with ANY EVO ROM. ALTHOUGH If you're Dev has made changes to the services.jar file, this could wipe those changes out. If you are unsure, send me your services.jar file, and i will look for you. Hopefully, i'll be able to make a download list in a couple days with all the Dev's services.jar files, so you can download that specific one. You can always ask your Dev.
5. Do I have to be rooted?
Yes. In order to be able to flash this, you are going to need to have root with a custom recovery. I.E. Amon_Ra.
..::..Install Instructions..::..
Simply download, and place on the root of your sdcard. Then go into recovery and flash it as you would a ROM. Done.
..::..Download..::..
Data Service Governer Killer
..::ALTERNATIVELY::..
You can follow this method if you're Services.jar framework is already modified, or if you aren't sure.
1. Download these 2 files:
Smali_Baksmali
2. Create 2 folders on your C: Drive labeled "Smali" and "Baksmali". (This is for easy access to the folders when being cd'd)
3. Place the 2 downloaded files in the C: Drive folders accordingly. (I.E. Smali.jar in "Smali" folder, and Baksmali.jar in "Baksmali" folder.)
4. Using 7zip or WinRAR (or any other zip program) open the services.jar file that you pulled from your phone. Copy the "classes.dex" file and paste it into the "Baksmali" folder.
5. Open your command prompt and type the following:
cd C:/Baksmali
java -Xmx512M -jar baksmali.jar -o classes/ classes.dex
6. Open the newly created "classes" folder (its inside your Baksmali folder that you should already be in) and navigate through "/com/android/server/". Scroll down till you see the 6 or 7 "Throttle" files. They will be located between "TelephonyRegistry" and "TVCableObserver$1$1". DELETE ONLY THE "THROTTLE" FILES.
7. Back out of the folders until you are in the "Baksmali" folder again. Now open the "Smali" folder you created earlier. Place the "classes" FOLDER in the "Smali" folder.
8. Return to your command prompt and type this:
cd C:/Smali
java -Xmx512M -jar smali.jar -o classes.dex classes/
9. You should now see a "classes.dex" file in your "Smali" folder. This is the NEW compiled services.jar classes.dex file. Pull up the 7zip or WinRAR file you had open earlier, delete the current classes.dex file from the services.jar, and place the newly compiled one in it's place.
10. Place the services.jar file back into your ROM, and boot up. You are now running Unthrottled.
11. If you do not see the "Throttle" files, don't complain they're not there, your Dev may have already taken them out.
What this mod will do for you:
Originally Posted by gmichaelow
I think a bit of clarity is needed here. This mod will only stop Verizon from slowing down your data speeds.
It will NOT help you avoid overage charges.
For example let's say you're on a 250mb a month plan. This mod only ensures that you will get 250mb at unrestrcited speeds. Going over 250mb will still result in an overage charge.
Also, the reason people keep referring to 5gb on their "unlimited" plan is because Verizon starts to throttle data speeds after 5gb of data. That doesn't mean you get charged more, Verizon just slows you down. This mod will prevent that, and only that.
I hope that clears things up.
Click to expand...
Click to collapse

Worked over 2.1 just fine. Thanks!
sent from my Incredible using Tapa Talk

This also work for 2.20?

thanks for doing this dude- waiting for 2.2

aslong as u use the service.jar from incredibly reengineered it will work on any of its versions.

mikesincredible said:
aslong as u use the service.jar from incredibly reengineered it will work on any of its versions.
Click to expand...
Click to collapse
nice work man. gonna add this to the thread. the services wasnt changed from2.00 to 2.20 so it will still work.

chingy51o said:
nice work man. gonna add this to the thread. the services wasnt changed from2.00 to 2.20 so it will still work.
Click to expand...
Click to collapse
Alright cool. Saves the time then. Thanks for the notice

chingy51o said:
nice work man. gonna add this to the thread. the services wasnt changed from2.00 to 2.20 so it will still work.
Click to expand...
Click to collapse
so does this mean that 2.XX's are not "uncapped"

I don't know how everyone else feels but I don't think these data throttle mods deserve separate threads. They are very simple mods and take about two minutes to make. I feel these mods should be posted in the thread for whatever ROM is applied to.

nbanicholas said:
so does this mean that 2.XX's are not "uncapped"
Click to expand...
Click to collapse
by default no. i dont think to highly of it breaking a menu in the settings.. not to mention all this capped data is just speculations..

IHTFP came up with a way to do this without the FC's. You also modify the phone apk. Magnolia ROM has done this as well.

spence341 said:
IHTFP came up with a way to do this without the FC's. You also modify the phone apk. Magnolia ROM has done this as well.
Click to expand...
Click to collapse
I will look into that. Thanks
Sent from my ADR6300 using XDA App

scuccia said:
I don't know how everyone else feels but I don't think these data throttle mods deserve separate threads. They are very simple mods and take about two minutes to make. I feel these mods should be posted in the thread for whatever ROM is applied to.
Click to expand...
Click to collapse
The reason I made it was for people would couldn't make it or wanted to attempt making it. And whether it should be included the rom forum or not. I didn't want questions people had over this to flood the ROMs thread.
Sent from my ADR6300 using XDA App

Hey let me know if you figure out how to do this mod without the force closes. That would be awesome-

Quick question for those who have flashed this. Has anyone noticed less battery life?

josiahb217 said:
Quick question for those who have flashed this. Has anyone noticed less battery life?
Click to expand...
Click to collapse
didn't notice anythign to heavy?

Related

[GUIDE] How to make mymode themes

Well I haven't had much time lately to make themes but I figured i got enough time to explain how. This is how i do it in windows 7.
1) First thing i assume that you already have androidsdk on the root of your C drive. Lets go ahead and add it to your system path. If it's not called androidsdk go ahead and change it to that. Now open up your startmenu, right click computer, click properties, then click advanced system settings, in the advance system settings select environment variables. In the second box down look for path select it and choose edit. copy and paste this
Code:
;C:\androidsdk\tools
in there. Click okay.
2) download the jre and jdk from here and install them. Now you need to add them to your system path so copy paste this
Code:
;C:\Program Files (x86)\Java\jre6\bin;C:\Program Files (x86)\Java\jdk1.6.0_20\bin
to your system path just like you did in the first step.
3) Download apk manager from here. Now run it and when it says clean out all current projects click yes. Now thats ready to go.
4) Download an image editing program. I use gimp. Also if you don't have it 7-zip
your all set to go now so lets start over with the numbers
1) choose a mymode apk and extract it with 7-zip. Open up the res folder select a png that you want to change and change it with the image editor you chose.
2) when you've changed the images you want open up the original apk as an archive with 7zip. Then place the res folder of the modified unzipped apk into the archive and close the archive.
3) Now open up apk manager and place the mymode apk into the place here for signing folder click script batch choose no then type 15.
4) Now put the newly signed apk into your androidsdk/tools folder and close apk manager.
5) open command prompt and type this
Code:
cd\
cd androidsdk/tools
adb install whatever.apk
I'll update this with pics a more thorough guide.
Thanks to everyone that made this easy
reserved for themes to come
Thanks been waiting for a thread like this.
thanks, if i ever get any free-time between jobs and kid and fiancee i will look into this a little more
This is an awesome guide! I messed around with theming mytouch/g1 back when I had one.. so this will be great to make some themes for the slide..
One question though.. let's say you pull the nest theme.. theme it and re install it.. will it just override the nest theme or in the theme listing will it appear as a new theme and still allow you to have the original theme?
Sent from my T-Mobile myTouch 3G Slide using XDA App
ryanolson7 said:
One question though.. let's say you pull the nest theme.. theme it and re install it.. will it just override the nest theme or in the theme listing will it appear as a new theme and still allow you to have the original theme?
Sent from my T-Mobile myTouch 3G Slide using XDA App
Click to expand...
Click to collapse
The nest theme is in the framework, its not an .apk like the rest, its built into the system. The rest of the mymodes themes are .apks and if you edit those they will override the stock "nest" theme. The only way it will show up different in the theme chooser is if you edit the preview snapshot to be a preview of your theme. If you wanna keep the original theme, the nest theme is it and you should edit a different theme .apk...
-BMFC
Sent from my ROOTED MyTouch3G Slide
Okay so I got the next three days off and I already got two mymode themes pretty much done well their done but I just learned of a way to change the name so they are there own standalone apk instead of using another apk name. I've been using puppypride (which by the way isn't puppies those are full grown dogs) and switching out the pngs and you couldn't have the regular puppypride now you can have both
hope you don't mind but I did a mod of your themes and took out the bubbles since some people always create threads about it
Help with following guide
I am a newb at this so please don't attack me if I am doing something wrong. I have been struggling with following the guide posted to make mymode themes. I have successfully got up to the step of signing the apk file. I modified the files in the free_kick.apk. When I try to use APK Manager 4.8 and using the directions given the file just gets erased and nothing happens. My log file just shows errors. Any help with a more detailed directions one what to do in APK manager as I am trying different things and not getting anywhere. I use the option 15 like told in the guide. I can send my modified apk file to anyone if they can get this to work and get it installed that would be appreciated so much. I hope I can figure this out my own but thought I would try get help from the forums. Thanks in advance.
impimms said:
I am a newb at this so please don't attack me if I am doing something wrong. I have been struggling with following the guide posted to make mymode themes. I have successfully got up to the step of signing the apk file. I modified the files in the free_kick.apk. When I try to use APK Manager 4.8 and using the directions given the file just gets erased and nothing happens. My log file just shows errors. Any help with a more detailed directions one what to do in APK manager as I am trying different things and not getting anywhere. I use the option 15 like told in the guide. I can send my modified apk file to anyone if they can get this to work and get it installed that would be appreciated so much. I hope I can figure this out my own but thought I would try get help from the forums. Thanks in advance.
Click to expand...
Click to collapse
Actually the guide needs to be fixed a little because i'm guessing your getting compiling errors when using apk manager? But the best way to do this is to open up the mymode theme (using 7zip) as an archive delete meta-inf folder then replace the pngs with ones of your choice as long as they are the same scale. Then resign. and install
totally lost
I've followed these directions to a T and when it comes to using the apk manager i am getting nothing, please help
You guys that are having trouble with apk manager...its honestly not necessary to use Apk Manager for this. Mymodes themes are system .apks and shouldn't be re-signed. What you need to do is forget about apk manager (for now) and drop the UNsigned .apk into the ROM update you are using, and resign the whole ROM using the autosign tool created by jesusfreke. Or just adbpush the .apk. but don't resign the .apk.
Here's the link for the autosign tool to sign ROM updates. its in the THIRD POST and its auto-sign .zip, NOT the signing.zip in the first post. you can put it anywhere you want and you just drop (a copy of) your ROM update in the autosign folder, rename it update.zip, then run the sign.bat to sign. it will create another file, update-signed.zip. you shouldnt need to wipe when flashing the same ROM over itself, but i cant guarantee this is true for all ROMs.
you can also make an update that will only flash the .apk to /system/app, and nothing else will be changed. basically just make a copy of the update for the ROM youre using, then delete everything but the /system directory from the zip. then go into that /system directory and delete everything but the /app directory, then go into it and delete all the .apks and odex file or whatevers in there. ALL OF IT. when you are finished you should have an update with nothing in it but a /system/app directory. you put your modded .apk in there in /system/app, and thats it for that.
then you must edit the update script and remove MOST of its contents so that it only does what you want it to. THIS IS IMPORTANT! Go here to learn how to create an update script. what youll need is way simpler than the examples, youll want it to look basically like this...
Code:
assert compatible_with("0.2") == "true"
show_progress 0.1 0
copy_dir PACKAGE:system SYSTEM:
show_progress 0.1 10
this update script will copy ANYTHING in the /system directory to /system on your device, regardless of subdirectories. that means anything in /system will go in /system, anything in /system/app will go to /system/app, etc. but since you only have one .apk in there it wont mess with anything but what you put in there. this way, you have a NOWIPE update for...well, whatever you want to put in it.
so you just drop the new shortened update-script in /META-INF/com/google/android/
and then use the autosign tool to resign your new update then flash away! This also takes less time cus its only flashing one file instead of flashing a whole ROM just to replace that one file...
hope this helps...
-BMFC
Sent from my T-Mobile myTouch 3G Slide using XDA App
So you cannot do this on t-mobile's rom which is 2.1 right now? I'm leery of rooting in case they ever release froyo
Tbrewer80 said:
So you cannot do this on t-mobile's rom which is 2.1 right now? I'm leery of rooting in case they ever release froyo
Click to expand...
Click to collapse
I'm having issues with this as well... After I do the whole signing apk thing, it installs fine, but when I go to MyModes, the preview is black and when I select it, the MyModes app force closes. I don't get it.

[REQ] Accurate Battery Mod/Theme

This would be AMAZING to see on the fascinate!
http://forum.xda-developers.com/showthread.php?t=756441
taypotts said:
This would be AMAZING to see on the fascinate!
http://forum.xda-developers.com/showthread.php?t=756441
Click to expand...
Click to collapse
im looking into it... ill see what i can do.
Sweet!! I know it has something to do with the .xml files. Look into a guy named Eugene he was the creator of this I believe..
taypotts said:
Sweet!! I know it has something to do with the .xml files. Look into a guy named Eugene he was the creator of this I believe..
Click to expand...
Click to collapse
yeah... i dont know xml though.... we need to find someone who does xml..
We found anyone that knows XML yet?? I'm really really wanting this!! Lol
As I said before it got lost in the forum crash, I'm pretty sure you just need to copy files from the Captivate version (thread 756627) or original Desire version (thread 756627) into the Fascinate's framework-res.apk and then reinstall that. Will work on it when my phone arrives.
s44 said:
As I said before it got lost in the forum crash, I'm pretty sure you just need to copy files from the Captivate version (thread 756627) or original Desire version (thread 756627) into the Fascinate's framework-res.apk and then reinstall that. Will work on it when my phone arrives.
Click to expand...
Click to collapse
nah already tried that... you have to exit the .xml to update that there is new images for the battery too.... we need an xml person, i promise.
Hello,
I too was interested in this mod so I went ahead and ported it to the Fascinate.
My framework-res.apk is from dh12 I am unsure if this works with the update. There is a readme in the zip file that explains how to install. This is not an update.zip you must push my framework-res.apk using adb or some other method.
I take no responsibility if you brick your phone with this. Make a backup and follow the directions in the readme file. It seems to work ok on my phone, but I'm not going to sit there and watch it drain every percentage point
I take no credit for this I just modified what I found on the OP's linked thread. What I implemented was the battery with the number inside, but you can use any of the other types by replacing the pngs in my framework-res.apk with 7-zip.
If there are any problems let me know.
Enjoy.
Threax said:
Hello,
I too was interested in this mod so I went ahead and ported it to the Fascinate.
My framework-res.apk is from dh12 I am unsure if this works with the update. There is a readme in the zip file that explains how to install. This is not an update.zip you must push my framework-res.apk using adb or some other method.
I take no responsibility if you brick your phone with this. Make a backup and follow the directions in the readme file. It seems to work ok on my phone, but I'm not going to sit there and watch it drain every percentage point
I take no credit for this I just modified what I found on the OP's linked thread. What I implemented was the battery with the number inside, but you can use any of the other types by replacing the pngs in my framework-res.apk with 7-zip.
If there are any problems let me know.
Enjoy.
Click to expand...
Click to collapse
Excellent, yea that framework should work, I have switched from both systems without doing the full update and my phone has been fine.
May I ask the names of the xmls you edited, so I can manually pull them, I don't want to retheme the whole framework-res lol.
EDIT: Nevermind just downloaded and saw that you included the files you edited separately too.
My hero right here!! I'm going to have some fun with themes now!! Lol
Threax said:
Hello,
I too was interested in this mod so I went ahead and ported it to the Fascinate.
My framework-res.apk is from dh12 I am unsure if this works with the update. There is a readme in the zip file that explains how to install. This is not an update.zip you must push my framework-res.apk using adb or some other method.
I take no responsibility if you brick your phone with this. Make a backup and follow the directions in the readme file. It seems to work ok on my phone, but I'm not going to sit there and watch it drain every percentage point
I take no credit for this I just modified what I found on the OP's linked thread. What I implemented was the battery with the number inside, but you can use any of the other types by replacing the pngs in my framework-res.apk with 7-zip.
If there are any problems let me know.
Enjoy.
Click to expand...
Click to collapse
yes! Thanks so much, just got it on my phone and so far so good
is it possible to make the battery the stock blue color?
betostunts said:
yes! Thanks so much, just got it on my phone and so far so good
is it possible to make the battery the stock blue color?
Click to expand...
Click to collapse
I will be working with this tonight and hopefully coming out with a flashable version as well..
Yes implementing this into my remix nextheme as we speak.
Problem is I am making each image one by one lol.
What did you use to decompile and rebuild your apk? I'm just getting android developement/themeing and I noticed there seem to be a couple tools.
Thanks,
Dan
It doesn't seem to change the battery charge images...
(Working on this)
Yeah I keep changing the images and try to put them in a update.zip but I fail.. it doesn't keep up with the actual charge of the battery.
I used apk manager 4.9. You will need to get adb and java for it to work. Also I can't get this program to push the modded apks, but I just do it manually. The program is nice because it kind of guides you through what you need to do.
Also I did not modify the charge icons just the battery drain.
Sent from my SCH-I500 using XDA App
Is apk manager's advice that you don't sign system apks correct?
Threax said:
I used apk manager 4.9. You will need to get adb and java for it to work. Also I can't get this program to push the modded apks, but I just do it manually. The program is nice because it kind of guides you through what you need to do.
Also I did not modify the charge icons just the battery drain.
Sent from my SCH-I500 using XDA App
Click to expand...
Click to collapse
Thanks - I had seen that but was just apkTool 1.2. I have been using adb and have been successful in making some small tweaks to verify what I am doing.
Regarding signing - it was my understanding that the apks should always be signed to ensure the system doesn't run into problems. I have not proofed how not signing effects things or if there are any side effects to now signing or if an app looks for a specific signature.
References for anyone following this thread...(http removed as I'm a new member and cannot post links yet)
APK Manager --> forum.xda-developers.com/showthread.php?t=695701
apkTool --> forum.xda-developers.com/showthread.php?t=707189
dashultz said:
Thanks - I had seen that but was just apkTool 1.2. I have been using adb and have been successful in making some small tweaks to verify what I am doing.
Regarding signing - it was my understanding that the apks should always be signed to ensure the system doesn't run into problems. I have not proofed how not signing effects things or if there are any side effects to now signing or if an app looks for a specific signature.
References for anyone following this thread...(http removed as I'm a new member and cannot post links yet)
APK Manager --> forum.xda-developers.com/showthread.php?t=695701
apkTool --> forum.xda-developers.com/showthread.php?t=707189
Click to expand...
Click to collapse
You don't want to sign the system apks. It is my understanding that it somehow reuses the old signature. This is what is nice about Apk Manager as it will prompt you with this information so you don't have to guess when you are first learning. It also nicely organizes your projects and allows you to easily zip everything back up.
It also has a nice feature when recompiling a system apk to allow you to copy files from the original apk if unmodified (you delete what you have changed from a directory it created). I needed to do this because when I was first modifying framework-res.apk I would get a blank screen when rebooting my phone. When I had apk manager keep most of the old files it worked perfectly, so if you are having problems with modded xml files try using this feature. It will prompt you when you are recompiling the apk.
Sorry to turn this into the noob apk packaging thread, but I am new to this as well and am happy to share what I've picked up to save any other people some time.

[Q] Kitchen - problem flashing

i have tried to modify the froyobylaszlo by removing a couple of system/app
and put my own apps
after that i tried to flash it but i had some errors im not familiar with
hope someone could help me out
im attaching the recovery.log files
EDIT: btw im a complete idiot hahaha... im just starting out
marchking said:
i have tried to modify the froyobylaszlo by removing a couple of system/app
and put my own apps
after that i tried to flash it but i had some errors im not familiar with
hope someone could help me out
im attaching the recovery.log files
EDIT: btw im a complete idiot hahaha... im just starting out
Click to expand...
Click to collapse
which apps did u place in system apps?
did u remove the apps fromm data/app as well?
maximo360 said:
which apps did u place in system apps?
did u remove the apps fromm data/app as well?
Click to expand...
Click to collapse
yeah i think only 1 app is there in data/app = gallery i think i removed that thinking that it was the gallery3d
i changed the launcher and a couple of things in the system/app
are there limitations of which apps that i could put there...
btw is it ok if i change the updater-script to update-script?
or i shouldnt have change that... the kitchen was requesting to change it
hey if you are only removing some apk's you dont need kitchen.. just unzip file.. take out what you want than re-zip and than Sign it! should be able to flash no problem
marchking said:
yeah i think only 1 app is there in data/app = gallery i think i removed that thinking that it was the gallery3d
i changed the launcher and a couple of things in the system/app
are there limitations of which apps that i could put there...
btw is it ok if i change the updater-script to update-script?
or i shouldnt have change that... the kitchen was requesting to change it
Click to expand...
Click to collapse
You should just do what LDrifta said if your still having problems.
OH and regarding the update-script, heres your answer straight from the op of the kitchen:
QUESTION: Why do I need to convert the ROM's updater-script to an update-script when using the kitchen?
The kitchen can only perform operations on an update-script. UpdateR-scripts are too complicated to check because there are so many combinations of parameters for every command and for different devices; plus they can be written in different formatting styles. Thus the kitchen converts them to update-script so that there is one universal method to modify any device's configuration. If we didn't convert the updater-script then it would take months of work to overhaul the dozens of scripts (plus doubling my work) to accept updater-scripts, which would really NOT make a difference in the end anyway and would likely slow down the kitchen due to extra checks made in the updater-script. So please do not request this again and again, there is no gain in doing it (I also don't have that much free time ...).
When you build the ROM you have the option of converting it back to an updater-script, or the kitchen will convert it automatically if it decides it's necessary. The conversion back to the original updater-script is near-perfect, as I have already spent months on the implementation to get it right.
QUESTION: I have converted my update-script to an updater-script, but after flashing I still have the original ROM on the device.
That means your updater-script did not have the proper mount points defined for the system (and/or data) partition. Refer to this post for more info.
QUESTION: My device only supports ROMs with the updater-script/update-binary files but not the update-script
If you extract a ROM that contains an updater-script, then the kitchen will ask you if it should convert it to an update-script. You *must* use an update-script while customizing the ROM, as the kitchen is not capable of modifying updater-scripts. When you are ready to build the ROM, though, you will need to convert it back to an updater-script if the device requires it. Use the option in the Advanced menu to convert update-script to updater-script, or else the kitchen will ask you to convert it while building the ROM.
Click to expand...
Click to collapse
ldrifta said:
hey if you are only removing some apk's you dont need kitchen.. just unzip file.. take out what you want than re-zip and than Sign it! should be able to flash no problem
Click to expand...
Click to collapse
ok... so im also adding a few apks at the system/app what you suggested will that still work?
btw
just to clarify, i unzip, then remove the apks
then zip it again
then i put it in the kitchen to get signed?
marchking said:
ok... so im also adding a few apks at the system/app what you suggested will that still work?
btw
just to clarify, i unzip, then remove the apks
then zip it again
then i put it in the kitchen to get signed?
Click to expand...
Click to collapse
ok well depending on what apk's you are putting in.. if they are system required like a sense app.. it wont work on a froyo base rom.. but if its something like superuser or mail or something and is compatible with your rom than put it in system/app folder.. if its something that you want the choice to uninstall later on like a 'task killer' apk or something, place it in data/app folder..
and to sign it you dont need kitchen, you can download an auto-sign.zip file for windows here on xda.. all you do is unzip it directly to C: drive, place zip file in filder rename it to 'update.zip' than run the 'sign.bat' and it will sign the zip file. than you can flash it
marchking said:
ok... so im also adding a few apks at the system/app what you suggested will that still work?
btw
just to clarify, i unzip, then remove the apks
then zip it again
then i put it in the kitchen to get signed?
Click to expand...
Click to collapse
did u do this on Kitchen?
If you want to add Market or non-stock apps (*.apk) to your ROM (which can be uninstalled or updated from your device later) then select the kitchen's menu option that adds "/data/app functionality". Afterwards you can copy these .apk files to the new /data/app folder of your working folder.
EDIT; After your done adding/deleting all the apps, dont forget to use the sign apk command to sign.
maximo360 said:
did u do this on Kitchen?
If you want to add Market or non-stock apps (*.apk) to your ROM (which can be uninstalled or updated from your device later) then select the kitchen's menu option that adds "/data/app functionality". Afterwards you can copy these .apk files to the new /data/app folder of your working folder.
EDIT; After your done adding/deleting all the apps, dont forget to use the sign apk command to sign.
Click to expand...
Click to collapse
would apps from a 2.2 hero would work? they have a mdpi format???
or do you think i will encounter lots of problems? ^_^
marchking said:
would apps from a 2.2 hero would work? they have a mdpi format???
or do you think i will encounter lots of problems? ^_^
Click to expand...
Click to collapse
Which kind of apps? Like sense apps? I guess they might work, try it out, make a nand backup first tho.
Sent from my COS-DS using XDA App
maximo360 said:
Which kind of apps? Like sense apps? I guess they might work, try it out, make a nand backup first tho.
Sent from my COS-DS using XDA App
Click to expand...
Click to collapse
its actually system/app from miui ported to mdpi...
i was able to flash it but its going into a bootloop...
im not sure how to gather logcat... i dont use adb hahaha...
i only use droid explorer... anyways
i checked the logcat console while it was on the bootloop
it appears to me that the apps that i used is not signed...
any suggestions?
marchking said:
its actually system/app from miui ported to mdpi...
i was able to flash it but its going into a bootloop...
im not sure how to gather logcat... i dont use adb hahaha...
i only use droid explorer... anyways
i checked the logcat console while it was on the bootloop
it appears to me that the apps that i used is not signed...
any suggestions?
Click to expand...
Click to collapse
sign them using the sign apk/zip command in the kitchen
maximo360 said:
sign them using the sign apk/zip command in the kitchen
Click to expand...
Click to collapse
i signed them that seemed to be one problem... based on what im seeing on the logcat it seems now its having lots of problems while installing... FYI im trying to make a miui ported from nexus 1 to hero... trying to make it run on froyo by laszlo... i think there is much more complications here not as easy as i think it would be... but i like challenges ^_^ do you have any idea how we could do this maximo? try checking this link http://forum.xda-developers.com/showthread.php?t=858935
marchking said:
i signed them that seemed to be one problem... based on what im seeing on the logcat it seems now its having lots of problems while installing... FYI im trying to make a miui ported from nexus 1 to hero... trying to make it run on froyo by laszlo... i think there is much more complications here not as easy as i think it would be... but i like challenges ^_^ do you have any idea how we could do this maximo? try checking this link http://forum.xda-developers.com/showthread.php?t=858935
Click to expand...
Click to collapse
I read the thread, and he said he dropped some of the phones he was porting miui for, he was still doing the eris/hero. So seems to me he maybe dropped the g1, not sure tho. I guess you're gonna have to wait til either delsa is done porting it to the g1 or drakko.
Sent from my COS-DS using XDA App

★wildstang83's Guide For Basic Porting★

★wildstang83's Guide For Basic Porting★
You could always go to the TEAM REVERSE website and read the same guide, lol​
Disclaimer​It should be known that there is some risk involved when performing the porting method described below. If you still wish to continue on and follow this guide you are doing so at your own risk. Of course, I will not be held liable for what you do to your device on your own. I will say, use extreme caution and follow every step to its tiniest detail.​
Click to expand...
Click to collapse
Hey guys, I have had a few new users come to me wanting to learn how to port. So I have decided to take a little time and write up a guide for this subject. With this guide we will achieve at minimum a first time boot with Screen load and sound. This will not go into details of fixing G Sensor, MMS, eMMC, Cam or Netflix.​
NEEDED ITEMS:
Windows- Either 32 or 64 bit is fine. Ubuntu will work but is more complex.
7Zip
Notepad++
Android SDK
Android Kitchen
Our most recent Ginger Sense Leak ROM 4.01.605.0
Any Sense 1.0 or 2.1 ROM from the EVO Shift 4G, EVO 4G, HTC Desire. These 3 devices are the easiest to port from. Personally I find that the --EVO 4G is the easiest out of these three and is usually where I port from. Whatever ROM you choose must be deodexed for this guide.
A generic updater-script, update-binary and build.prop. I'll provide those in a link below.
From here on each rom will be refered to in this guide as such:
HTC Droid Incredible GingerSense Leak= Leak
Whatever ROM you choose to port= Port
Ok lets get it.
First things first. Take some measurements of file size.
Take the following size readings:
Ports zipped file size on disk:
Ports unzipped file size on disk:
Ports "system" folder size on disk after extraction: <---This is important!!!
Click to expand...
Click to collapse
We need to know the pre and post system folder size because the system has a max usage space of 250 MB. So in your final rom a system folder size that is below 250 is good. For example, in my latest build of my Pure Speed ROM I was able to achieve a system folder size of 163MB.
Phase One- Start with the Android Kitchen
Open the Android Kitchen and place your port into the original_update folder. Run the kitchen and go through the steps to make your working folder. Just hit enter whenever it asks any questions even when it asks about updater conversion. Once complete, choose the Option 2- Add root permissions. It may say 'su' already present just over ride it and choose option "f" ChainsDD's version. That will complete and go back to the main menu. Select option 3. Add Busy Box. Do the same thing. Now select option 0 for advanced options. In advanced options select option 17 to install busy box runparts. Once that finishes we can build the ROM. Select option 99, let it run then select option 1 for interactive mode, let it run, Then select "y" to zipalign the apks. it will run for awhile and then ask to convert back to updater-script. just hit enter for yes. hit enter to sign the rom. It will ask about renaming, just hit enter to by pass this. We will rename it later. It will say congratulations your rom is done or whatever. just hit enter and then close completely out of the kitchen. Go to where your kitchen is set-up and find a folder called OUTPUT_ZIP. Grab your rom out of there and place it on your desktop.
Phase Two- The actual porting operations
For good measure create two folders on your desktop. One called "Backup" and the other called "Dump". Both the leak and the port should now be on your desktop. Select them both and copy them to your backup folder you just created. Now open your port by right clicking it and navigating to 7Zip and clicking "open archive". Drag it to the edge of your screen. Open the dump folder so that it is side by side with the port. Now in the port navigate to the system folder. Select the "customize, lib and media" folders and drag them to your dump folder. Now delete them from your port along with the "usr" folder as well. You will see a folder in system named "etc". Open that folder and inside you will see a folder called "firmware". Delete the firmware folder. Also delete the "wimax" folder. We do not need it. Now open the Leak. navigate to system/etc and drag the firmware folder from leak to the port. Also drag AudioBTID.csv and vold.fstab from the leak to the port. Close the leak for now. In the port back up to the system folder. Open the bin folder and delete EVERYTHING with "a2sd, apps2sd or wimax" in its name. If there isn't any such things in there then don't worry about it. Now back up to system and go into "xbin". Do the same thing here. Once complete grab the "su" and "busybox" files and drag them to your dump folder on your desktop. Back up to system. Open bin. Drag those two files su and busybox from your dump folder to your ports bin folder. You should now have "su" and "busybox" in both of your ports bin and xbin folders. Now in the port back all the way to the root of the ports zip. You may see a folder called "data". Delete that folder and recreate it. just do it. Now open the data folder. In the dump folder on your desktop create a new folder called 'sysusr". Rename the "customize, lib and media" folders so they are "syscustomize, syslib and sysmedia" These folders are named so because they will be symlinked. Now drag these four folders to the data folder of the port. You can now delete the dump folder from your desktop. We don't need it anymore. Close everything thats open right now. Reopen both the leak and the port side by side. Of the leak navigate to system/usr. Of the port navigate to data/sysusr. Drag the contents only of the leaks usr folder to your ports sysusr folder. Navigate to system/lib of the leak. Navigate to data/syslib of the port. In the syslib folder of the port find the three folders called "egl, hw and modules" Delete them. Drag those same folders over from the leak to the port. Now in the leak system/lib folder find these files: libaudio.so, libaudioalsa.so, libaudioeffect_jni.so, libaudioflinger.so, libaudiopolicy.so, libAudioTrimmer.so, libEGL.so, libgsl.so, libhtc_ril.so and libhtc_ril_switch.so. Drag them to your ports data/syslib folder. Just drag and drop. Close everything on your screen. Reopen both the leak and the port side by side. In the port delete the boot.img and drag the boot.img from the leak over. Close the leak. navigate to "META-INF\com\google\android" of the port and drag and drop in the update-binary and updater-script that I have provided below. Navigate to system of the port and drag and drop the build.prop that I have provided below. one last thing. navigate to system/etc and drop in the apns-conf.xml that I have provided below. Close the port.
Porting is now complete​
We should now be ready to boot. Rename the ports zip if you like and drop it on your sd card, wipe and flash. If it boots, has sound and is somewhat usable pat your self on the back. You've just took the second step to becoming a great dev in the Android world. The first step was having the guts to even attempt this.
Here are those parts you need: wildstang83's Porting Parts​
Guide- How to customize your 2.1/3.0 Hybrid or 3.0 ROM lockring: http://forum.xda-developers.com/showthread.php?p=15681779#post15681779
Click to expand...
Click to collapse
If you run into any trouble while using my guide or notice anything that needs to be updated or added please feel free to PM me.
Credits:
PonsAsinorem- For giving me the idea to write this guide.
newtoroot- I'll never forget who took the time to teach me how to port.
joelZ9614- Allways being supportive especially when times were tuff and no one else was around.
wdfowty
NilsP
Conap
gnarlyc
Man the list goes on so really just a huge thank you to everybody!
Click to expand...
Click to collapse
Thanks! Been wanting to do this for a bit.
lol
10 characters
Guide made me 'lol'.
Alright guys, enough goofing around, lol
I added the whole guide for yall.
Sorry for those trying to read this in the xda app. It gets cut off around where it talks about the system size. You can just hit menu/browser and read it that way.
Porting a HTC Desire ROM tomorrow morning Thank you!
cbren said:
Porting a HTC Desire ROM tomorrow morning Thank you!
Click to expand...
Click to collapse
Good luck buddy. Let me know how it goes or if you need help.
Thanks stang
Sent from my ADR6300 using XDA Premium App
Thanks stang
Youre looking at a crackflashing troll with ORD
WoZZeR999 said:
Guide made me 'lol'.
Click to expand...
Click to collapse
The disclaimer made me lol
Wow this is great bro. I have to try this out!
When I try and flash my port, I get
Finding update package...
Opening update package...
Installing update...
Installation aborted.
It's an evo port and Android 2.3.3 Htc sense 2.1 I think.
http://forum.xda-developers.com/showthread.php?t=1046622
Same one I used and it worked perfectly just try again... follow stangs directions exactly as they're written..
Sent from my ADR6300 using XDA Premium App
Guys, if you are gonna report errors here please provide the error status as well.
It will make it easier for me and everyone else to see what you did wrong(not saying anything bad here) and to know what to look for next time.
A lot of problems can be solved by mounting usb through recovery and then transfering your ports over.
What do we use the OUTPUT_ZIP ROM for? Is that the "port" that we should be messing with?
cbren said:
What do we use the OUTPUT_ZIP ROM for? Is that the "port" that we should be messing with?
Click to expand...
Click to collapse
Yes thats the final rom that you zipaligned and rooted in the kitchen. Now take that and put it on your desktop and build it exactly as my instructions say and you should be good.
Will there be an " Advanced Porting " Thread? If so can you shed some light on github?
hightech316 said:
Will there be an " Advanced Porting " Thread? If so can you shed some light on github?
Click to expand...
Click to collapse
Im not a compiler. Im a porter. I'm sure we could get some info in here though.
hightech316 said:
Will there be an " Advanced Porting " Thread? If so can you shed some light on github?
Click to expand...
Click to collapse
What kind of github info do you need? I'm no where near an expert, but I know how to sync a repo from github to my computer. That's all I've ever needed to do, at least so far.

[guide]easy apk modding (linux)

Most of the guides ive read on XDA say you have to decompile and recompile APKS just to make a couple of modifications to the images. Well I dont believe this to be true. I have tested my method on ubuntu 14.10 and with my nexus 5.
This guide is specifically for modifying images inside of the apks, not the code, or xml itself.
- ADB pull the APK file you want to modify (i chose SystemUI.apk)
- Double click it in File Manager on ubuntu, this should open it up in the archive manager. If not, manually open it up in archive manager
- Click on the "Add Files" button and select which files you want to replace. It will automatically overwrite the current ones.
- Make sure that you are keeping the proper directory structure and are putting the images in the proper place with proper names.
- Copy the new APK file back to your device on /sdcard/file.apk
Then, to get the APK file back on your system without causing problems, I rebooted into TWRP, mounted system and went into the file manager and copy/pasted the APK in the appropriate folder. When you get back into android, chmod 644 new-file.apk. I would not suggest trying to copy the modified APK file into your system while android is running live. Thats why I did it in TWRP. It could cause system unstability, crashing, etc... Im sure that I am not the first person to realize this could be done, but I did discover this on my own because I like to try things. PLEASE, make a backup in case something doesnt work correctly after your mod. Good luck!
bynarie said:
Most of the guides ive read on XDA say you have to decompile and recompile APKS just to make a couple of modifications to the images.
Click to expand...
Click to collapse
Mine doesn't.
XperienceD said:
Mine doesn't.
Click to expand...
Click to collapse
Um, not to be rude but the guide on your signature shows using apktool to decompile and recompile. Soo....? Unless its another guide. And Im not saying ALL guides are, but some, and thats ok. Could you link me to your guide please? I would love to take a look at it. Thanks
EDIT - woops im sorry i didnt really read it... i do see where it says drag and drop the images... good deal. sorry
bynarie said:
Um, not to be rude but the guide on your signature shows using apktool to decompile and recompile. Soo....?
Click to expand...
Click to collapse
Edit: No need for my original reply as you found it.
XperienceD said:
Edit: No need for my original reply as you found it.
Click to expand...
Click to collapse
Yes, and your guide is very good. Thank you for that.

Categories

Resources