JIT in roms that already have it - Hero CDMA Q&A, Help & Troubleshooting

I haven't had any luck enabling JIT in ROMs that come with it as an option. The DamageControl ROM as well as the PureROM both have it.
When you check the box to turn on JIT, it pops up a little text bar that says to reboot. I know you have to disable sense and the HTC lockscreen which I have done but my phone always goes to a bootloop.
The only ROM that I have found that doesn't have this issue is the darchdroid rom that has JIT and overclocking already enabled from the start.
Does anyone have any suggestions?
I have tried wiping dalvik after enabling JIT (by enabling, then shutting the phone off and booting to recovery with volume down key on powerup).

Jit can be so fickle sometimes =). try this
1. Download a different launcher(to use in place of Rosie.apk, aka sense launcher), i would recommend Launcher Pro, or ADW launcher from the market.
2. after installing it, hit your home button, and set the new launcher as default.
3. Set your background to an image on your SDcard
4. Open DCconfig, and go into banned apps. Ban SenseUI
5. Uninstall the XDA tapatalk app if you have it installed (if you really want to use it with JIT, search for xda 0.9, it works with jit)
6. reboot
7. Be sure you now have the vanilla lockscreen, and non-rosie launcher. If you have vanilla lock screen move to step 8, if you still have HTC lockscreen perform this code to be sure its gone....
Code:
adb remount
adb shell
cd /system/app
rm Rosie.apk
rm HtcLockScreen.apk
reboot
you should now have the vanilla lockscreen..
8. enable JIT in DConfig and reboot
Can you post a logcat if this gives you bootloops?

Ic3ROM has it, and when enabled, works flawlessly (only in version 2.8, though. I had problems with 2.9)
http://forum.xda-developers.com/showthread.php?t=663366

I'll keep messing with it. I've learned to Nandroid before doing it so I don't have to lose everything I've set up.
I've kinda given up on it for now. Maybe if the Hero gets official 2.2 it won't be such a big deal.
Frankly it'd be nice if ROM makers would enable JIT off the bat so it was on after you installed and then maybe people could go in and turn it off if they don't want it.

Related

[Q] CM6 App Question

I've been running CM6.1 for a while now. For the last few days, I've had awful battery life. So, I decided to recalibrate my battery.
After I wiped my battery stats, I no longer have any apps in my app drawer. They are still installed, as I can find them by looking and opening through the market, or by using my launcher tray. But my app drawer is completely blank.
Any ideas?
TIA
weird..hope you can figure this out. i have never heard of this before tho.
Ideas:
Wipe dalvik from recovery
Fix uid's ->Boot to Recovery>Other>Fix apk uid mismatches (you could also do this using the terminal emulator if you wish, I don't believe there's any difference)
Code:
su
fix_permissions
**If you do this reboot after it finishes up**
Wipe data/cache for the launcher you're using -> Menu>settings>Applications>(launcherNameHere)>wipe data/cache
**note**
Wiping data/cache for your launcher should set it all back to defaults, so if you have a ton of things added onto the screens, shortcuts, etc. make sure you back those up if possible (adw&lp both can).
You could even do a nandroid of what you currently have if you're really worried about losing your launcher configurations.
This is wierd.
kyouko said:
Ideas:
Wipe dalvik from recovery
Click to expand...
Click to collapse
I tried this first. It gave me the icons back for the stock rom and gapps. Nothing else.
kyouko said:
Fix uid's ->Boot to Recovery>Other>Fix apk uid mismatches (you could also do this using the terminal emulator if you wish, I don't believe there's any difference)
Code:
su
fix_permissions
**If you do this reboot after it finishes up**
Click to expand...
Click to collapse
Then tried this (through emulator). Now everything is back to normal without needing reboot.
You are awesome, kyouko.
Rugger15 said:
Then tried this (through emulator). Now everything is back to normal without needing reboot.
You are awesome, kyouko.
Click to expand...
Click to collapse
You're welcome
Also good to know that the reboot wasn't necessary for future reference

[Q] How do I get apps2sd ext 4 working on the Nexus one with the latest Cyanogen Mod?

Hey guys, I'm loving my new N1, but I keep running out of room for applications, and I wanted to know if I could implement Apps2sd ext2/3/4 or w.e to make more room. I like to use Cyanogen Mod, but I'm not sure how to implement it. If someone could help me, that'd be great! Thanks!
Ditto.
Sent from my Nexus One using XDA App
Try S2E or Link2ext in the market, our go look up Darktremors. Depending on what you want, the apps should be more than sufficient...
danger-rat said:
Try S2E or Link2ext in the market, our go look up Darktremors. Depending on what you want, the apps should be more than sufficient...
Click to expand...
Click to collapse
When i use darktremors, it doesn't work, but if I type in a2sd reinstall, it says location is read only
Try to fix permissions via ROM Manager. Also, try flashing DT before you flash gapps...
danger-rat said:
Try to fix permissions via ROM Manager. Also, try flashing DT before you flash gapps...
Click to expand...
Click to collapse
I tried that; it didn't work. Also, when I run a2sd reinstall, and reboot, its stuck on rebooting
Try the DT thread... xD
isikh said:
I tried that; it didn't work. Also, when I run a2sd reinstall, and reboot, its stuck on rebooting
Click to expand...
Click to collapse
Not been my experience. Strange that. What works for me...
Boot to recovery of your choice.
Do multiple wipes, both cache + dalvik-cache. Though just one wipe each is likely enough, IMO. Also wipe sd-ext.
Write your CyanMod of choice.
Write your gapps.
Write your DarkTremors. Go with the latest, OR, as others are insisting, stay away from that and go with the previous stable release. Latest works great for me.
Reboot device.
Wait a good minute after arriving at lockscreen and reboot device from lockscreen, OR find Quick Boot in app drawer if your power button is gorked (you'll need a working power button to reboot from lockscreen).
After reboot, wait a good minute at lockscreen. Then Proceed to open terminal session and start playing with a correctly installed (hopefully for you) DT2ext.
Lots of experts out there, but this has always worked for me. If you still need guidance, search in DarkTremor's thread to be advised about your partitions.
zero2cx said:
Not been my experience. Strange that. What works for me...
Boot to recovery of your choice.
Do multiple wipes, both cache + dalvik-cache. Though just one wipe each is likely enough, IMO. Also wipe sd-ext.
Write your CyanMod of choice.
Write your gapps.
Write your DarkTremors. Go with the latest, OR, as others are insisting, stay away from that and go with the previous stable release. Latest works great for me.
Reboot device.
Wait a good minute after arriving at lockscreen and reboot device from lockscreen, OR find Quick Boot in app drawer if your power button is gorked (you'll need a working power button to reboot from lockscreen).
After reboot, wait a good minute at lockscreen. Then Proceed to open terminal session and start playing with a correctly installed (hopefully for you) DT2ext.
Lots of experts out there, but this has always worked for me. If you still need guidance, search in DarkTremor's thread to be advised about your partitions.
Click to expand...
Click to collapse
Thank you, I figured it out.
DT is the best choice, but S2E is simpler than DT, it's avaliable in market

[Q]SuperCharger V6

Pls have someone of you tried the supercharger v6 script? What was the result? Was it easy to install?
Sent from my LG-P990 using Tapatalk
its great. i installed it when still in stock and still using it with neoblaze kernel.
its already fast even without the oc kernel. you wont see higher number on benchmark apps. but you will feel the difference.
this is from the supercharger thread
http://forum.xda-developers.com/showthread.php?t=991276
Requirements:
1. Rooted Phone....
2. Script Manager or Terminal Emulator to run the script. Stock ROMs can also use SM to load up boot scripts!
3. Busybox 1.18.2 OR LOWER - 1.18.3 or newer are VERY much a hassle with errors that should NOT be errors!
4. AutoStart Script by me - Enables Stock ROMS (Milestone) to utilize etc/init.d for boot scripts.
Installing/Using:
1. Download the attached V6_SuperCharger_for_Android*.txt script and save to your sdcard.
... Do NOT run the V6 SuperCharger install script at boot!
2. Load the script (V6_SuperCharger_for_Android*.txt) into Script Manager and select "Run as Root."
3. Touch the screen for the soft keyboard or slide out the keyboard and get SuperCharged! Just pick an option!
4. READ the script's output!
5. Afterwards, READ the html HELP FILE in the root of your SD Card!
6. Disable "Lock Home in Memory" if your ROM has this option.
7. Optional: For a quick status check, you can put a Script Manager widget for V6 SuperCharger on you desktop
for me, i use the 11th option (oom grouping fixes + hard to kill launcher) then reboot.
cyanogen doesent need the autostarter script ore does it?
Ok,thanks. I am running it now too and it feels really faster
Sent from my LG-P990 using Tapatalk
Hi, may i know which option did you choose? I chose the 8th one(the MAX one) but i don't feel such many differences...
If my memory is correct, i used the option 7, max RAM 512 and hard to kill launcher
It is also for CyanogenMod 7?

Reboot mod?

I know there are ROMs for other phones that add a reboot option to the power menu. Is there a way to do that for the D3?
I can just wait for CM7, but its only in alpha and I won't flash it until its an official release - buggy android drives me crazy.
I too would love an app/mod for this.
you can get a reboot widget in the market for free
toolbox reboot
from a terminal works, set it up with a gscript shortcut.
I use switchpro. Has reboot (reboot bootloader and reboot into recovery, I never tried them assuming they don't work). I been having issues w/ it lately tho on monsterom.
Sent from my DROID3 using XDA App
Use quickboot, launching the app requires two tap to reboot, as a link on the desktop, just one.

[GUIDE][Script][Tweaks] V6 SuperCharger for HTC Desire C

Desire C people!
This stuff is good. Probably you heard about it already, now I tried it and seems to work very well, especially the memory management. Quite a sophisticated tool as far as me noob understand ugh,ugh! :cyclops:
So basically a collection of kernel and memory management tweaks, but has a lot of other like SD card tweaks and maintenance scripts which you can also schedule with SManager. And the download page has some other useful stuff like 3G turbocharger and battery calibrator.
In all it seems like a must have for DC users.
http://forum.xda-developers.com/showthread.php?t=991276
Once you used it a bit it's pretty straight forward and explains everything in details when running the script, and you have the option to "unsupercharge", but have a nandroid backup at hand.
I used two guides, but the first is for Galaxy and the second is less detailed:
http://forum.xda-developers.com/showthread.php?t=1603953
http://forum.xda-developers.com/showthread.php?t=1908505
And for Desire C, check the post below
Many thanks for nikhil16242 for recommending me this, many scripts are in his Customiser already, he would have integrated the whole V6 Supercharger, but Aroma doesn't like it. That would be awesome though!
All credits to zeppelinrox for these truly awesome scripts:good:
One wonders why android doesn't have some of them by default.
V6 Supercharger Install Guide for Desire C
~ v6 supercharger install guide for desire c ~
aka how I have done it, so it's not an absolute one.
zeppelinrox's original thread is here.
Originally Posted by zeppelinrox
What's it do?
It makes your phone FAST... super snappy with better multitasking!
It rearranges and fixes the OOM Groupings and Priorites and lowmemorykiller values.
So basically, it's a COMPLETE MEMORY MANAGEMENT FIX!
It's the ONLY one of it's kind
NO LAUNCHER REDRAWS, faster than ever, multitasking is better... why?
Because it works with the lowmemorykiller and letting it work the way it's meant to work.
Also, because of the rearrangement, it works the same on all roms!
The problem with using minfree tweakers like AMM or AKMO is that it doesn't work the same on all roms.
Secondary apps may be in slot 3 on some roms but in slot 5 in others!
That's why you hear people comment "I tried AKMO but it didn't do anything..."
Most likely it didn't do anything because the apps weren't sitting where they were expected to be.
So fasten your seat belts and enjoy the ride!
Click to expand...
Click to collapse
NOTE: Delete all conflicting scripts from init.d folder, otherwise it will be laggy and annoying!
Conflicting scripts I have found so far:
- all the thunderbolt except miuiCMremount (V6 does most of these like sd card tweaks and zipalign anyway)
- mpengine and laserdroid (also from /system and /xbit)
If you don't know which scripts are from where, unzip nikhil16242's Customiser and check the folders.
Also do not install everything on one breath. Do it gradually (v6 - nullifier - engine flush and so on), test with a demanding game like Temple Run, so you can opt out any possible problems.
What you need:
All V6 scripts are here.
ScriptManager [download]
- If you have stock ROM:
Download Supercharger Starter Kit from the V6 scripts, on the page it's explained how to use it, couldn't be more simple:
Using SuperCharger Starter Kit (Prepares your ROM with the fixed su binary, zipalign binary, sqlite3 binary and busybox v1.19.4... and does NOT include the V6 SuperCharger scipt):
- Extract the zip to the root of the sdcard and it will all be in /sdcard/SuperCharger_Starter_Kit
- With Script Manager, just run StartMeUp.sh to install everything at once.
- Or, in terminal do: su, enter, sh /sdcard/Super*/Start*
Click to expand...
Click to collapse
All the rest is the same as the following:
- If you are on custom ROM:
then busybox is already installed, so you don't need the starter kit.
I. SUPERCHARGER INITIAL SETUP
The script guides you through the process, so watch it closely. In the setup it automatically determines some optimal settings, but you can change them any time.
Step 1. Put the latest V6_SuperCharger_for_Android-UpdateX_XXX (X is the actual version number) on your SD card
Step 2. In SManager:
--- 1. make sure you have granted SuperUser access, and set browse in root (long press recent apps button > Menu > Advanced > Configuration > Browse as root), but if you used before it's already set
--- 2. open the script on your SD card, set the properties to: Favorites (star icon), Root (green android skull icon) and tap Run to execute the script installer.
Step 3. A bunch of text start to come up, watch it closely, it guides you through the installer. Home Locked in Memory? n (No) and press enter and another enter to continue to drivers console.
First it goes to Pit Stop to set Driver Options, where you will be asked for Scroll Speed but also various tweaks which can improve the performance. Go through each and decide if you want them or not (I enabled most of them in he script)
When asks Use Build.Prop? : n (No) to use local.prop - I chose this, it sounds safer.
Step 4. You need to patch services.jar. It can be done automatically or manually (however the script recommends manual, and when I did it automatically for the first time, it did not backup services.jar and could not unsupercharge, only by restoring it from the rom .zip) Don't worry, doing it manually couldn't be easier:
In the Driver's Console choose:
25. Jelly ISCream Parlor {Install services.jar}​Choose manual mode, which will take you to the [RC9] ULTIMATIC RC6! [EXE]-=Ultimate Jar Power Tools=-With Maximum MultiTasking Mods! thread in your default browser, from which the essential instructions are the following:
--- 1. Connect your Android to your PC with Android Debugging ENABLED and Mass Storage DISABLED so your device has access to your sdcard. I just put it in Charge Only mode...
--- 2. Download the latest Ultimatic_Jar_Patcher_Tools_XXX_Windows.exe.zip to your PC - Windows exe is NOT zipped. Just remove the .zip extension!
--- 3. Start the exe and follow the instructions in the script. It will ask you which mode you want to use your Launcher in: Hard To Kill Launcher, Die-Hard Launcher or BulletProof Launcher. Choose Hard to Kill (HK), it is the best for our device.
You can add Maximum Multitasking mod as well, according to tests it works fine, but I did not install it in the beginning, then didn't bother
If follow the instructions in the script till the end, your services.jar should be patched, and the script will confirm this.
--- 4. On your phone in V6 script, you are still in the menu 25., right? Press x (exit), which takes you again to the Driver's Console. Choose: 32. SuperClean & ReStart! (ie. Wipe Dalvik Cache & Reboot)​
Step 5. Press enter to return to Drivers Console. Pressing enter will automatically run Quick V6 Cust-OOMizer and will calculate optimum SuperMinFree values
Apply SuperMinFree Calculator Settings? : y (Yes) to apply calculated MinFree (low memory killer - lmk) values so you don’t need to choose, but you can change it after completing the initial setup and then running the script again in menu point:
10. Quick V6 Cust-OOMizer.​Or if you type n (No), you can choose manually right away, doesn't make a difference. If it was set automatically, go to step 5. and come back later if you want to change it:
For a low memory device like ours, 512 HP recommended, these are the options in menu points:
5. UnLedded (Multitasking) {8,14,40,50,60, 75}
6. Ledded (Balanced) {8,14,55,70,85,100}
7. Super UL (Aggressive) {8,14,75,90,95,125} - it does 130-140MB​
However the best setting recommended me by educated colleague nikhil16242 and I tried is:
10 15 25 45 80 100 (slot1 - slot2 and so on)
with this I always have 120-130MB free RAM and no lag, Temple Run is butter smooth Basically it kills processes below that level (but still prioritises them - really smart script), which means less multitasking, but two-three apps that I needed in multitask were working perfectly, I didn't notice any difference, but snappier phone.
Try whichever suits you best.
Step 6. Press Enter - this action will backup Re-SuperCharger files to SD Card, in case you want to restore your Supercharger settings.
Step 7. SuperClean & ReStart : y (Yes), this will wipe your dalvik-cache so bootup time will take longer this time.
Step 8. After restart, open SManager and:
--- 1. Go to /system/etc/init.d (you can bookmark it for later access)
--- 2. Tap on S99SuperCharger and set the following properties:
------ a. Favorites (star icon)
------ b. Root (green android skull icon)
------ c. Start on Boot (gear icon)
--- 3. Tap on Save, close Script Manager and Restart your phone
NOTE:
If you don’t follow step 8., you will get an error the next time you run the script and it will show you owner’s handbook on your default web browser.
II. OOMIFIER & LAUNCHER
If you patched services.jar and choose SuperMinFree values manually then you have this already. If not, then:
OOM Grouping Fixes will determine which are the more priority apps and keeps them alive better. The Launcher mode determines how easy it will be for the mem killer to kill the launcher in case of low memory. Works flippin good, I'm tellin ya
Step 9. After restart, open SManager and Run V6_SuperCharger_for_AndroidX_XXX script again (make sure you run it in root [skull icon] but not boot [gear icon])
--- 1. SuperCharger will run Test Drive, just wait for it to finish and then continue to the Drivers Console.
During the install it should set the optimal mode automatically, which was BulletProof for me, probably because I chose the aggressive memory kill (sounds convincing lol) mode. Anyway, this means the Launcher will never get killed, about which some say it's not recommended.
--- 2. So on the Drivers Console you can choose between these launcher modes in the menu points, in reverse order of toughness:[/INDENT]
11. OOM Grouping Fixes + Hard To Kill Launcher
12. OOM Grouping Fixes + Die-Hard Launcher
13. OOM Grouping Fixes + BulletProof Launcher​Eventually I changed it to Hard To Kill, but it's up to you.
--- 3. Hard To Kill? : y (Yes) to apply
Press Enter to go back to Drivers Console
III. NITROLAG NULLIFIER
It's an experimental feature, don't know what it does exactly, but I switched it on Everything is flawless for me since, so I say go for it.
Step 10. In the Drivers Console, select:
21. Nitro Lag Nullifier {Experimental}​Enter (N)ullify, (U)n-Nullify, E(X)it: N (Nullify) to apply Nitro Lag Nullifier
After applying Nitro Lag Nullifier, press enter to go back to Drivers Console.
IV. 2 in 1 ENGINE FLUSH
It flushes the RAM cache so the phone doesn't get sluggish after days of usage.
The 2 Modes are: -=Fast Engine Flush=- for instant flush and -=Engine Flush-O-Matic=- for automation.
Step 11. In the Drivers Console, select:
17. Engine Flush-O-Matic {ReCoupe RAM Booster}​Continue and drop all file system caches? : y (Yes) to clear system cache on RAM
It will ask you (gives you 20 s to decide lol) if you want to automate it, so you don't need to schedule it in SManager. If yes, you set an interval between 1-24, which counts as hours, so it determines how frequently flushes the RAM cache. Some people set it for every hour, so why not, I did that too. Hmmm that was good
After Engine Flush, press enter to go back to Drivers Console.
V. SUPERCLEAN AND RESTART
Wipes dalvik and reboots the phone, you need that before you start to using it.
Step 12. In the Drivers Console, select:
30. SuperClean & ReStart {Wipe Dalvik & Reboot}​Do you want to SuperClean & ReStart now? : y (Yes)
VI. VERIFY SUPERCHARGER STATUS
Step 13. After restart, open SManager and run V6 SuperCharger again. You should see Supercharger Level: 100%, then you are good to go.
As the script rolls it indicates your settings so you know what is set and what's not. You can check out the other menu points, and number:
27. Owner's Guide {Open !SuperCharger.html}​This opens the... Owners Guide! ...in the default browser, you can wise yourself up about the different options.
VII. KICKASS KERNELISER
Downolad the script and launch it the same way as V6. Look at the text, wisen up and choose KickAss (k).
It will place S98KickAssKerneliser script in init.d, skull it and gear it, and reboot the phone.
TIPS & TROUBLESHOOTING
If you are only 75% supercharged, that probably means MinFree (the mem killer) settings doesn't stick (so you see you have the usual low amount of free RAM). Check the S99Supercharger script in SManager if it has the root and boot privileges (In /system/etc/init.d or Long pressing recent apps button > Menu > Scripts), set them again if they were not and reboot the phone. If it's not set again, open Owner's Guide to figure out what's next, but if you followed the steps properly, you should be fine.
Check the note in the beginning of the post for deleting conflicting scripts!
All the scripts and backups are in two places:
1. on SD card /V6_SuperCharger folder
2. /data/V6_SuperCharger
and the logs and manuals under them.
When you run a script in SuperCharger, it places a separate one in the folders, so you can make widgets with SManager for fast access:
- Long press home screen, select SManager from widgets, locate the SuperCharger folder and select the script you want to have at hand.
- For example for quick change between MinFree modes, the scripts will be in V6SuperCharger/PowerShift_Scripts (you need to run them in SuperCharger first in order to be created separately, or if you installed the additional V6 scripts (or something like that) in nikhil16242's Customiser before, they will be in init.d already).
You'll know you have chosen a suitable MinFree mode if if you play Temple Run with no lags at all shaboooooom!!!!
See, wasn't too hard and you are SuperCharged now.
Enjoy it like a Boss!
Kudos to CarlDeanCatabay and Androidmarketuser for the guides that helped me and are in the OP.
And most of all to zeppelinrox for V6 SuperCharger :good:
Started reading looks great but by ekk I'm finding it hard to get my old head round some of it. Usually when I'm like this I have to read read read till it starts making sense .So will prolly take me a bit of time.
Re: [Script][TWEAKS] V6 Supercharger
This script is really awesome once you get everything done properly,just takes a while to read the entire OP though .
Ram management is another very essential thing to be done on a low ram device like ours.Stock ram management seems to be poor imo so I use this and the results are truely amazing .
Sent from my HTC Desire C using xda app-developers app
thanks
neoyoli said:
Desire C people!
This stuff is good. Probably you heard about it already, now I tried it and seems to work very well, especially the memory management. Quite a sophisticated tool as far as me noob understand ugh,ugh! :cyclops:
So basically a collection of kernel and memory management tweaks, but has a lot of other like SD card tweaks and maintenance scripts which you can also schedule with SManager. And on the download page has some other useful stuff like 3G turbocharger and battery calibrator.
In all it seems like a must have for DC users.
http://forum.xda-developers.com/showthread.php?t=991276
Once you used it a bit it's pretty straight forward and explains everything in details when running the script, and you have the option to "unsupercharge", but have a nandroid backup at hand.
I used this detailed guide, but it's for Galaxy so use your brain
http://forum.xda-developers.com/showthread.php?t=1603953
Here's is an other one, just in case, but less detailed:
http://forum.xda-developers.com/showthread.php?t=1908505
Many thanks for nikhil16242 for recommending me this, many scripts are in his Customiser already, he would have integrated the whole V6 Supercharger, but Aroma doesn't like it. That would be awesome though!
All credits to zeppelinrox for these truly awesome scripts:good:
One wonders why android doesn't have some of them by default.
Click to expand...
Click to collapse
works great
guide updated
Hey guys, well actually i have an issue while i'm trying to run the v6 supercharger. It succesfully passes the drive test but it gets stuck at the next step. it throws me a lot of lines like 'find system/lost+found/ Too many open files' and i can't get rid of it, please help
this guide is quite old now, supercharger has been updated since numerous times. if you have a nandroid backup restore it, if not then ask zeppelinrox in his original thread. also supercharger does automatic backup before you apply the settings, which can be restored from the menu if something goes wrong, try it.

Categories

Resources