[Workaround] XDA/Tapatalk App - JIT (Updated 06/22/10) - Droid Eris Android Development

After reading many posts about not being able to the XDA App with JIT enabled… I decided to post this…
Here’s something I happened to “stumble” upon while playing around with ROMs with JIT-enabled. Hopefully this will help some others enjoy the XDA/Tapatalk App from their phones with JIT-enabled
I have done this on two (2) Cyanogen based ROMs (CELB2.4 and CE1.1). Both had JIT enabled by default.
In any case, I love being able to use the XDA App from my phone to feed my addiction However, I also enjoy having JIT and the goodness that comes along with it! So… I was playing with CELB2.4 and testing some battery life. After disabling JIT, I instantly started up XDA (as I was unable to use due to FC’s with JIT enabled). I logged in and browsed around. However, disabling JIT had no effect on my battery life, so I decided to re-enable. Later, without thinking, I started up XDA and browsed around some more. It didn’t hit me until a few minutes later that JIT was enabled and I was able to use XDA.
In any case, I loaded up a NAND of CE1.1 and did the same thing, with the same result. XDA app worked perfectly… and I’m still getting over 5.3 mflops
I think there are other apps that have issues with JIT, however, I personally don’t use them. Hope this helps others! Would love to know what ROMs this “trick” works with, and/or which it doesn’t.
------------------------------------------------------------------------------------
I highly recommend doing a NAND backup before doing anything. It's just good practice!
There are a few methods to enable/disable JIT... here's what I did (using a Windows machine):
Disable JIT via adb:
adb remount
abd pull /system/build.prop build.prop
Open build.prop in Notepad/Wordpad or favorite text editor (file will be in the working directory)
find the line:
dalvik.vm.execution-mode=int:jit
replace with:
dalvik.vm.execution-mode=int:fast
SAVE
adb push build.prop /system/
Reboot Phone
------------------------------------------------------------------------------------
After disabling JIT, reboot, open up XDA App, login and browse around (as a side note, I created a favorite to the Eris Forums). Then, close out of XDA App, and then re-enable JIT and reboot.
------------------------------------------------------------------------------------
Enable JIT via adb:
adb remount
abd pull /system/build.prop build.prop
Open build.prop in Notepad/Wordpad or favorite text editor (file will be in working directory)
find the line:
dalvik.vm.execution-mode=int:fast
replace with:
dalvik.vm.execution-mode=int:jit
SAVE
adb push build.prop /system/
Reboot Phone
------------------------------------------------------------------------------------
Alternatively you can also use a program like Root Explorer to find the build.prop file in the /system/ folder and edit/save/reboot.
Again, would love to know the results this has for others!
------------------------------------------------------------------------------------
Thanks to a post from thenestor, it's been discovered that version 0.9 of the XDA/Tapatalk app works just fine with JIT (regardless if an AOSP or other ROM). I'm currently using version 0.9 on xtrROM and it works great. I have attached the zip with the 0.9 apk. It has a "funky" name... and I didn't rename... I simply used Astro to install the apk. works great!
MODS: if for any reason I am NOT allowed to have version 0.9 posted, please let me know, and I will take the attachment down ASAP.

I vote for a toggle app/widget

Root Explorer
It works! Used root explorer...nor really that hard to do. Thanks for sharing your discovery.

didnt work with Aloysius v12. Oh well.

paintguy said:
It works! Used root explorer...nor really that hard to do. Thanks for sharing your discovery.
Click to expand...
Click to collapse
which ROM where you using?
I have not had time to try on my ROM but would love to know if it is a viable work around to try and incorporate...

zach.xtr said:
which ROM where you using?
I have not had time to try on my ROM but would love to know if it is a viable work around to try and incorporate...
Click to expand...
Click to collapse
I was using Eris Lightening Bolt 2.5.

When I loaded the app the first time on my ELB install, it crashed. However, I reloaded it straight away and it worked. I did not disable JIT or do anything else to make it work, just restarted the app. It hasn't crashed since. I have, however, had it sit and spin on "Processing".

Didn't work on latest ErisLightningBolt 1.4.
1. XDA didn't work w/stock config.
2. Changed int:jit to int:fast.
3. Rebooted.
4. XDA worked! Signed in, created some favorites.
5. Changed int:fast back to int:jit.
6. Rebooted.
7. XDA FCs.

I can confirm that it works.
Eris Lightning Bold 2.5
Thanks!

Disable JIT via adb:
adb remount
abd pull /system/build.prop build.prop
------------------------------------------------------------------------------------
Enable JIT via adb:
adb remount
abd pull /system/build.prop build.prop
Open build.prop in Notepad/Wordpad or favorite text editor (file will be in working directory)
find the line:
dalvik.vm.execution-mode=int:fast
replace with:
dalvik.vm.execution-mode=int:jit
SAVE
adb push build.prop /system/
Reboot Phone
------------------------------------------------------------------------------------
Click to expand...
Click to collapse
I'm running CM:E 1.1, and can't seem to find how to disable jit. Framework43's rom. I miss my xda time saver tapatalk. If anyone can help. I would appreciate it, greatly. Thank you much.

Re: [Workaround] XDA/Tapatalk App - JIT
From my testing seem to work only for AOSP based builds. .. must be something in the HTC framework causing interference
-------------------------------------
Sent via the XDA Tapatalk App

zach.xtr said:
From my testing seem to work only for AOSP based builds. .. must be something in the HTC framework causing interference
-------------------------------------
Sent via the XDA Tapatalk App
Click to expand...
Click to collapse
Thank you for the response. Ill message framework43 about it to see if he can help me further into this issue of mine.

Confirm Also
I confirm that this worked on CELB v2.5
Turnyface said:
I can confirm that it works.
Eris Lightning Bold 2.5
Thanks!
Click to expand...
Click to collapse

Re: [Workaround] XDA/Tapatalk App - JIT
@zach.xtr
I found out that all I had to do was add the string to build.prop
I followed a POST on "Jcase's Universal JIT Update"
I added these two strings at the bottom of build.prop
dalvik.vm.execution-mode=int:fast
dalvik.vm.heapsize=38m
That fixed the issue with xda tapatalk closing randomly. I still have yet to re-enable "jit" to see if the workaround works.
Thank you for the help and replies.
-------------------------------------
Sent via the XDA Tapatalk App
Edit: I can confirm that the work around does NOT work on CyanogenEris v1.1 (jit enabled)
(Above shows what to add if missing.)
P.S.
It did NOT work for me, can't confirm it overall.
@someone who can help.
How would I go about fixing the market issues?
Can't install apps, I can only push the ones I have backed up.

jetmclean said:
I confirm that this worked on CELB v2.5
Click to expand...
Click to collapse
I can confirm this as well

If you don't want to disable JIT, or if you're on a ROM where disabling and re-enabling doesn't work, just downgrade to "xda-developers app v0.9" (not sure which version of the real Tapatalk) and it works with JIT.

is 0.9 a google apk search?
have a link?

sweet! found it! much like thenestor, i had to find it using some "crafty" methods! lacks some of the "favorites" w/sub-forums... but works VERY nicely with JIT.
thanks for the tip thenestor... good stuff!
if i'm allowed to post 0.9 version, i will gladly do so! (nothing wrong with it, i hope?).

tenzomonk said:
sweet! found it! much like thenestor, i had to find it using some "crafty" methods! lacks some of the "favorites" w/sub-forums... but works VERY nicely with JIT.
thanks for the tip thenestor... good stuff!
if i'm allowed to post 0.9 version, i will gladly do so! (nothing wrong with it, i hope?).
Click to expand...
Click to collapse
Can you share some of the craft involved in finding this? Thanks!!
Cary

Re: [Workaround] XDA/Tapatalk App - JIT
@zach.xtr
I found out that all I had to do was add the string to build.prop
I followed a POST on "Jcase's Universal JIT Update"
I added these two strings at the bottom of build.prop
dalvik.vm.execution-mode=int:fast
dalvik.vm.heapsize=38m
That fixed the issue with xda tapatalk closing randomly. I still have yet to re-enable "jit" to see if the workaround works.
Thank you for the help and replies.
-------------------------------------
Sent via the XDA Tapatalk App
Edit: I can confirm that the work around does NOT work on CyanogenEris v1.1 (jit enabled)
(Above shows what to add if missing.)
P.S.
It did NOT work for me, can't confirm it overall.
@someone who can help.
How would I go about fixing the market issues?
Can't install apps, I can only push the ones I have backed up.
Click to expand...
Click to collapse
Thanks for this! I can confirm it works on white widow 3.2. I play toss it quite a bit so downgrading xda wasn't a
complete fix for me.
-------------------------------------
Sent via the XDA Tapatalk App

Related

{ROM}White Widow 4.0b3{ROM}(5-29)~DarchDroid Port~ Beta3 Rereleased!

CLOSED
I'm proud to present a CyanogenMod Rom on the Eris, White Widow, ported from DarchDroid by Darchstar.
Cant shut me down
This is only a beta, and therefore has a few issues to work out. the main one is the boot. As of beta 3, you have to flash it over either a nand backup of 3.1 or the actual flash of 3.1. I am not allowed to distribute 3.1 anymore, so for those of you who didnt get it earlier im sorry, do not flash as it will bootloop your phone. also to those who do have 3.1, DO NOT WIPE! Wiping will also cause a bootloop.
To fix the no service bug, download the attatched zip, and exctact the build.prop to your sdk/tools
run these command to pop it back into place
Code:
adb remount
adb push build.prop /system
then reboot
Beta 3 Rereleased!
Limited Time Release, 4.0 beta3
Stripped down,very limited release. Just wanted to give you a small taste of what I've been working on. This is far from being the final release, but I promised a sneak peek. So far it is functioning and stable.
WORKING FB INTEGRATION
GPS
You must install googleshits to use anything than the other basic functions. Save the file to your SD card, boot to recovery and flash the googleshits .zip file like you would flash anything else. it is an update script.
For those interested in DarchStars new kernel with BrainFuck Scheduler- First Ever Release On Eris! -download and flash the update zip included at the bottom. No wipe needed.
I encourage you to look through the settings for all the new options, things like integrated wired tethering, setting custom messages on your lock screen, and 360 degree rotation are all under there, theres too many new things to post though so take a look and see what you find.
Thanks To
Punk.Koas for his kernel
-thanks to him we have OC and multitouch
Hero CDMA Devs for getting this on the Hero
Mak and Zippy-Man for the MMS fix
Anderwebs for his ADW Launcher
Conap for hosting!
Jamezelle for putting up with my dumb questions
Cornbreadfarts for alpha testing
Special Thanks to
Darchstar for the initial port
Changelog
3.1
-wifi tethering
-replaced browser with DolphinHD
-zip aligned apps for better memory usage
-removed bug report
3.0
-added Kaos's new kernel, OC and multi-touch now supported
2.0
-set ADW Launcher as the default launcher
-Wifi now works!
1.4
-Removed Open GL patch
-Removed extra Setup option
-Removed Nexus Launcher
1.3
-Added googleshits. no need to manually flash
-Removed apps such as DSUPDATE and Bug Report
-Removed both gallery apps and replaced with working version
-Removed toggle to switch between Camera and Video in the Camera app, was only causing FCs
-Added GL Patch for LWP-removing in the next update, causes transparency issues with gallery
what no mms, no wifi. no lwp, no o/c. i call that broke. default win goes to framework...
no im jsut kidding, for getting the core of hte rom done, nice work. lets see how it boots.
OC and LWP. had to check
Good job to everyone!!
Nice, will be using after wifi and mms work. Good work andrizoid, you do contribute a lot, will at least on android forums(bluedc2 btw).
nice work, no win declared until wifi and mms working!
thanks
i have a buddy working on the wlan.ko so wifi will be up half an hour.
google ****s is not installing right at the moment. getting a fix for it right now.
well, its nice and clean, but a little laggy at points.
for those that dont want to download rom for that link in OP, i have uploaded it to android.grdlock.net in my folder. here is direct link to folder: http://goo.gl/b7gd
i provided credit and backlink to this thread. andrizoid, if you want me to remove the rom from there, let me know and i will do so.
Re: {ROM}White Widow_v1{ROM}(5-23)DarchDroid Port
Will this work on 2.1 leak?
-------------------------------------
Sent via the XDA Tapatalk App
billakid said:
Will this work on 2.1 leak?
-------------------------------------
Sent via the XDA Tapatalk App
Click to expand...
Click to collapse
really, you had to ask that. no this is for root only
when there is something for those on leak, you will be told about it. it will be plastered on the front page of this section with a million links from others like you asking.
and no, there is still no root for leakers.
ECLIPS3 said:
well, its nice and clean, but a little laggy at points.
for those that dont want to download rom for that link in OP, i have uploaded it to android.grdlock.net in my folder. here is direct link to folder: http://goo.gl/b7gd
i provided credit and backlink to this thread. andrizoid, if you want me to remove the rom from there, let me know and i will do so.
Click to expand...
Click to collapse
Yay 4 minute download. Thanks for that lol
changed meta inf in google ****s to point it to the desire. now fully working
Waiting for WiFi.. super excited.
ECLIPS3 said:
well, its nice and clean, but a little laggy at points.
for those that dont want to download rom for that link in OP, i have uploaded it to android.grdlock.net in my folder. here is direct link to folder: http://goo.gl/b7gd
i provided credit and backlink to this thread. andrizoid, if you want me to remove the rom from there, let me know and i will do so.
Click to expand...
Click to collapse
would you mind setting me up a folder?
give me a while for the wifi, gotta finish compling the kernel and test it before i release it
will be up tonight though, no worries
i dont have privavleges to make you a folder. ask jcase or zifnab or jamezelle in the irc server. info at bottom of sig.
ECLIPS3 said:
i dont have privavleges to make you a folder. ask jcase or zifnab or jamezelle in the irc server. info at bottom of sig.
Click to expand...
Click to collapse
ehh. just keep it there and ill link it to your folder
testing wifi fix!
Running cyanogen on my droid, wont give up for nothing (but froyo). If you guys want to test a rom, try one based on cyanogen (wait for wifi fix)

[MOD] JI6/JJ4/2.2/Froyo Mods - Lock Screen Mods, Battery Indicators (Update 11/06)

JI6 Mods
What are these?
Stock Lock
-Modifies your lock screen to re-enable the stock android lock screen.
-This INCLUDES the "disable menu button" fix (so you can't unlock with the menu button).
-This will REMOVE the current glass/puzzle lock screen, to restore glass, put your old android.policy.odex back!
Circle Battery Indicators
-This changes the battery indicator to a different theme.
-See Fightspit's thread for screenshots: http://forum.xda-developers.com/showthread.php?t=724778
-Your background will default to the Cognition background since that's which APK I started from. (just change it)
Removed links since they've been down forever. I have no intention of continuing doing these mods for individual ROMs any longer. Way too many ROMs out there! If you want battery mods, the procedure is pretty simple. See http://forum.xda-developers.com/showthread.php?t=724778 for more info.
Changelog
Update 11/16:
Confirmed battery/lock screens are working on 2.3b4 (I'm using it myself).
Update 11/06:
Added Cognition v2.3b3 versions of mods. Removed old versions due to confusion/etc.
Update 11/03:
Added Cognition v2.3b versions of all mods.
Update 10/29:
By popular request, update.zip versions of the lock screen mods. I haven't got around to doing all the versions of the battery indicators yet.
Update 10/26:
Updated battery mods to be compatible with cognition 8.1.
Update 10/22:
Cleaned up some old stuff in my dropbox, also added Cog 2.2b8.1 compatible Tap Lock.
No longer providing stock versions, make backups if you need them.
Update 10/21:
Added deodexed version with taplock / stock lock screen and reboot option in power menu.
Update 10/12:
Added Version Z / Guage indicator.
Added original android.policy.odex from JI6 for those who don't like Cog using mine as default.
Update 10/5 Again:
Added Circle battery indicators (valid for all 2.2 JI6)
Update 10/5:
Added Deodexed version to work with Cognition 2.2 Beta 2
v1 -> v2:
Fixed bug with text/missed calls allowing puzzle lock to return.
Credits:
-Ateisti for original thread: http://forum.xda-developers.com/showthread.php?t=779803
-thE_29 for batch file / easy method (in original thread)
-uiskibum for testing theories with me on IRC
-Fightspit for original circle battery indicator thread / instructions
-Designgears for help with APK manager on IRC and the Cognition framework-res.apk
-shad0wf0x for testing battery indicators
Thank you! Downloading now
Awesome! I was hoping this was going to come out soon. Only thing left to do as far as im concerned is the multi touch keyboard. The Samsung keyboard sucks! thanks. Will be trying the lock screen soon.
Sent from my SAMSUNG-SGH-I897 using XDA App
I don't have a system folder...
Dl'ing now... will update
Thank you!!
mojonation1487 said:
I don't have a system folder...
Click to expand...
Click to collapse
You have to be rooted... and use an app like rootexplorer or astro file manager
Just did it, confirmed. Working great!. Thanks for this!
so far working great!
brandonb81 said:
Awesome! I was hoping this was going to come out soon. Only thing left to do as far as im concerned is the multi touch keyboard. The Samsung keyboard sucks! thanks. Will be trying the lock screen soon.
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=744373 you can get the Andoid keyboard here and push it using ADB or sideload it using Sideload Wonder Machine. I am using it and I prefer it to Samsung's crappy keyboard.
Rhiannon224 said:
http://forum.xda-developers.com/showthread.php?t=744373 you can get the Andoid keyboard here and push it using ADB or sideload it using Sideload Wonder Machine. I am using it and I prefer it to Samsung's crappy keyboard.
Click to expand...
Click to collapse
I use that one as well once I moved to Froyo, it's quite nice.
still using swiftkey. kicks the poo out of any other IMO
Working great without Cog.
keyboards are nice, but let's keep this on topic.
edit: question answered
Rhiannon224 said:
http://forum.xda-developers.com/showthread.php?t=744373 you can get the Andoid keyboard here and push it using ADB or sideload it using Sideload Wonder Machine. I am using it and I prefer it to Samsung's crappy keyboard.
Click to expand...
Click to collapse
Excellent, thanks! The Samsung keyboard is terrible. Sorry for semi hijacking. I appreciate the answer though. Won't mention the keyboard again. Let's keep this on topic.
Awesome job bringing the stock lock screen. I am looking forward to installing it. I am installing Cog 2.2 now (as opposed to the straight 2.2 kernal)
Omg thank you. Awesome job (find) easy install through root explorer. Thank you was like the one thing I felt like I was missing. Now don't have to do a full corner to corner swype
Cognition Froyo 2.2 Rooted-Sideloaded-RyanZA's OCLF and Screaming Fast
Sent from my SAMSUNG - Cognition using Tapatalk
Back on topic, I am not running Cog 2.2, just the Froyo 2.2 beta, rooted, sideloading enabled, etc. I am assuming this will work with my setup as well. I would love to try this out.
Thank you guys so much for the work you put into this stuff. Im on Cog 2.2 and used root explorer to copy and paste the file into system/framework and then rebooted and I have the stock lockscreen. Working perfectly
Posted from my Captivate
Rhiannon224 said:
Back on topic, I am not running Cog 2.2, just the Froyo 2.2 beta, rooted, sideloading enabled, etc. I am assuming this will work with my setup as well. I would love to try this out.
Click to expand...
Click to collapse
EDIT: id10terrordfw confirmed above. Should work fine!

270 rotation

I'm a noob when it comes to coding and I need help. Not sure where this goes forum wise but can anyone help me remove the 270 rotation and just have the normal 180? Move me if this is general, I just can't stand the 270 anymore. I'm running baked snack 1.4 with acs 1.6 kernel and the frost remix theme. Help!
Sent from my SPH-D700 using XDA App
I would instead like to use this on a stock ROM, so any insight on this would be equally helpful for the opposite
In your build.prop file, change this line...
windowsmgr.support_rotation_270=true
to
windowsmgr.support_rotation_270=false
And how would we go about adding it? I mean, I know it's in the framework, so it means decompiling, right?
Sent from my SPH-D700
Forcystos said:
And how would we go about adding it? I mean, I know it's in the framework, so it means decompiling, right?
Sent from my SPH-D700
Click to expand...
Click to collapse
Its not in the framework, its just part of the build.prop file, thats it (sounds wayyy too simple, I know).
So basically just do the opposite, change false to true. Normally I'd use something like "Root Explorer" and edit the build.prop file in the text edit mode.
schizopunk said:
Its not in the framework, its just part of the build.prop file, thats it (sounds wayyy too simple, I know).
So basically just do the opposite, change false to true. Normally I'd use something like "Root Explorer" and edit the build.prop file in the text edit mode.
Click to expand...
Click to collapse
yup, just checked this out after reading ur first post in here, nice, and way too simple
thanks for the info
And this works on stock ROM? Not baked snack?
Sent from my SPH-D700
Forcystos said:
And this works on stock ROM? Not baked snack?
Sent from my SPH-D700
Click to expand...
Click to collapse
Works on any rooted rom
Just tested, and it worked. I just found it strange that it worked out of the box, since I hadn't seen this on any stock phone.
Sent from my SPH-D700
any froyo fix
Has anyone come up with a froyo fix for the 270° rotation? It used to be an easy fix, but with the froyo I can't find it in the build prop. Any ideas?
easiest way I know...
dl terminal from the market
open up and type "su" and then hit the enter button
then type "180forme.sh" and then hit the enter button
then reboot
Sent through the Matrix
Cool thanks for the lead.
Well no luck with the 180forme.sh in terminal
Any other thoughts?
Did you change directory to the one with the 180 degree script command?
Epic Experience 1.2.0.8/Phoenix 1.49s/Elegant Steel .02
make sure its "terminal emulator" that you downloaded. "su" allows superuser to let terminal make changes. "180forme.sh" should work. its what hero suggested when asked how to go back to 180 rotation. and make sure that you reboot your phone after. it worked perfectly for me. maybe try reflashing and then using terminal.
Sent through the Matrix
fromchaos0646 said:
make sure its "terminal emulator" that you downloaded. "su" allows superuser to let terminal make changes. "180forme.sh" should work. its what hero suggested when asked how to go back to 180 rotation. and make sure that you reboot your phone after. it worked perfectly for me. maybe try reflashing and then using terminal.
Sent through the Matrix
Click to expand...
Click to collapse
That was a custom script that hero wrote for his rom. Its not going to work on anything else as its not included in anything other than baked snack
Sent from my SPH-D700 using XDA App
Thanks for the info, will bide my time. Once the super-customs start rolling, there will be a fix. Thanks
Sent from my brain
Bored at work so take this with a grain of salt. Anyone try and add the line from eclairs build prop to their froyo build prop? Might not work but like I said I'm bored here...
sent from an Epic4g through the cosmos
Edit: added that line with root explorer and cleared dalvik and no go...was worth a try I guess
idkwhothatis123 said:
That was a custom script that hero wrote for his rom. Its not going to work on anything else as its not included in anything other than baked snack
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
thank you for that info. I did not know that. so in that case, disregard my previous posts if your not using baked snack.
Sent through the Matrix
raiderep said:
Bored at work so take this with a grain of salt. Anyone try and add the line from eclairs build prop to their froyo build prop? Might not work but like I said I'm bored here...
sent from an Epic4g through the cosmos
Edit: added that line with root explorer and cleared dalvik and no go...was worth a try I guess
Click to expand...
Click to collapse
Doesn't work bro. I've tried

[DUALBOOT MOD] Shared Apps

Hello everyone!
First of all, I am posting here as I am not able to post in the Development Forum. If a moderator sees this fit could he/she please move this thread to the Development forum.
This is a mod to Siyah's Kernel which allows Dual Booting.
Currently you are unable to share apps between your two ROM's and to me that is really annoying.
WELL, after much research and testing I have devised a script to allow sharing of apps between ROM's.
WARNING: Should only be used on freshly flashed 2nd ROM's otherwise you will lose all your downloaded apps for your 2nd ROM!!!
They way this works is to mount the data from your 1st ROM in your 2nd ROM, then symbolic link the app folder.
Now for all you people that are going to nag saying it has issues, stop it! If it has issues fix it yourself! I tested this on Omega ROM and ParanoidAndroid and it works fine.
First go through the process of flashing your 2nd ROM. Once that is completely boot into your 1st ROM again and download the attached file and extract its contents to "/data/media" otherwise known as the root of your internal SD Card.
Once completed, reboot into your 2nd ROM and download/open your Terminal app and type in the following commands
(lines starting with # are comments so don't type those into your terminal, also hit enter at the end of each line):
Code:
# Escalate to root (hit grant if a dialog pops up)
su
# Remount the system so you can write to it
mount -o rw,remount /system
# Now copy the file from your SD Card to /system/etc/init.d
cp /data/media/01userinit.sh /system/etc/init.d/01userinit.sh
# Change working directory to /system/etc/init.d
cd /system/etc/init.d
# Rename the 01userinit.sh to 01userinit
# If 01 is already used then choose the next lowest number e.g. 01banner so choose 02
rename 01userinit.sh 01userinit
# Change permissions just to make sure (remember to use your number if you changed the 01 part)
chmod 771 01userinit
After doing this close the terminal and reboot the phone into the 2nd ROM again. This time it should take a little longer and might say its upgrading a few apps.
This is largely untested so there is no guarantee it will work.
WARNING!!!! MUST READ THIS WARNING!!!!
Uninstalling an application from either ROM WILL uninstall it from the other ROM as well!!!
You are sharing apps directly, no mimics or anything!!!
Thanks for reading! Feedback is much appreciated, if there are issues I will be glad to listen and see if I can fix them but I make no promises. :silly:
charsleysa said:
Hello everyone!
First of all, I am posting here as I am not able to post in the Development Forum. If a moderator sees this fit could he/she please move this thread to the Development forum.
***deleted**
Thanks for reading! Feedback is much appreciated, if there are issues I will be glad to listen and see if I can fix them but I make no promises. :silly:
Click to expand...
Click to collapse
Good work keep it up!
Exactly what I was looking for! Will try this when I'm home, will give feedback then! Thanks
Sent from my GT-I9300 using xda app-developers app
Good works.
this method run with the contact and message also???
very thanks for this.
I will try.
gazou_hb said:
Good works.
this method run with the contact and message also???
very thanks for this.
I will try.
Click to expand...
Click to collapse
This script won't do that. I can create a script to do that if I have time but first I need to work on assignments.
Looks like good work, will give it a go later and/maybe congratulations
Sent from my GT-I9300 using xda premium
I try this with Samsung ROM xxdlib ans cm10 ROM. All application have present.
Your method and file work perfectly.
I thinks that it's better to make a recoevry install for easy method. If it's possible.
Good works.
Sorry for my bad english.
For my request concerning the same method for the contact and messages (SMS) talk me when i test...
Sent from my GT-I9300 using xda premium
Nice mod! It is worth noting that the script only links the apps (APKs) between ROMs. It does not link the data (databases/preferences) used by these apps.
I'm trying to link the sms messages across ROMs but the db seems to be different between Samsung and CM ROMs. I would like to see what would you do here
Sent from my GT-I9300 using Tapatalk 2
I would like to have the data linked to, any way to do that?
Sent from my GT-I9300 using xda app-developers app
lightning18 said:
Nice mod! It is worth noting that the script only links the apps (APKs) between ROMs. It does not link the data (databases/preferences) used by these apps.
I'm trying to link the sms messages across ROMs but the db seems to be different between Samsung and CM ROMs. I would like to see what would you do here
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
I just tried linking contacts, sms and calendar and I managed to corrupt my entire 2nd ROM so I don't think it's possible without providing a 3rd app to run in the background.
Interesting, will give it a try
Great! Just waiting to full sync between ROMS
I love the concept but cannot get this to work. No matter what I do it won't work
Drew071
Sent from my GT-I9300 using xda app-developers app
it is not working... initially the app dir was loaded as /data/app/app tweaked the script to load the app directory ( dataapp ) .. still i am not able to see the apps in the launcher .. .
drew071 said:
I love the concept but cannot get this to work. No matter what I do it won't work
Drew071
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
smartvinu said:
it is not working... initially the app dir was loaded as /data/app/app tweaked the script to load the app directory ( dataapp ) .. still i am not able to see the apps in the launcher .. .
Click to expand...
Click to collapse
Could you please tell me what ROM's you are using and whether or not they are fresh installs.
Just tried this with Omega v28 and PA 2.2 as 2nd, didn't work but not a fresh install. I'm swapping then backing up PA to try again now and see if it works.
Edit: Just formatted 2nd rom and reinstalled as per OP's instructions and it worked. So that's the key I guess Awesome work OP!!
Tried this and didn't work, tried numerous times.
1st ROM: Paranoid
2nd ROM: Omega 28 (did a fresh install)
Does not show any of my apps in omega ROM from paranoid ROM.
I did encounter a problem in the terminal stage, on the moving file part its says can not find the file, I have to do it manually.
Sent from my GT-I9300 using xda app-developers app
jayc1980 said:
Tried this and didn't work, tried numerous times.
1st ROM: Paranoid
2nd ROM: Omega 28 (did a fresh install)
Does not show any of my apps in omega ROM from paranoid ROM.
I did encounter a problem in the terminal stage, on the moving file part its says can not find the file, I have to do it manually.
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
Perhaps it's related to that? Make sure you put it in the right spot and have the permissions right.
Sent from my GT-I9300 using xda premium
Its very strange, all else seems fine.
Just that one error, all else is fine. Moved to the location stated but still nothing??
Sent from my GT-I9300 using xda app-developers app
---------- Post added at 07:10 PM ---------- Previous post was at 06:57 PM ----------
If I set the permissions manually what's the correct set up, currently it's:
These parts are ticked -
User: read, write, execute
Group: read, write, execute
Other: execute
jayc1980 said:
Its very strange, all else seems fine.
Just that one error, all else is fine. Moved to the location stated but still nothing??
Sent from my GT-I9300 using xda app-developers app
---------- Post added at 07:10 PM ---------- Previous post was at 06:57 PM ----------
If I set the permissions manually what's the correct set up, currently it's:
These parts are ticked -
User: read, write, execute
Group: read, write, execute
Other: execute
Click to expand...
Click to collapse
Yeah the permissions are the same as mine. Hmm bit weird
Sent from my GT-I9300 using xda premium

[Q&A] MIUI V5 Question and Answer thread

The purpose of this thread is to help people to solve their problems using the new MIUI ROM. By using this thread, we will keep the other thread clean and let developers work calmly, and more efectively.
So let's go, I will try to stay here, to see if I can help people solving their MIUI related problems.
Thank u everybody!!!
The pin bug
Any helper could verify that this bug is solved with:
Code:
adb shell
cd data/system
rm password.key
I understand that Franco's kernel was adapted to work with MIUI. Would you mind telling me how this was done? I would like to use these Franco kernel builds: http://forum.xda-developers.com/showthread.php?t=2307463 as well as (possibly) bricked kernel, and trinity kernel.
Thank you for your time,
Connor Baker
Connor Baker said:
I understand that Franco's kernel was adapted to work with MIUI. Would you mind telling me how this was done? I would like to use these Franco kernel builds: http://forum.xda-developers.com/showthread.php?t=2307463 as well as (possibly) bricked kernel, and trinity kernel.
Thank you for your time,
Connor Baker
Click to expand...
Click to collapse
I did not port it, dude, I am really sorry, I don't know how to do it..
Connor Baker said:
I understand that Franco's kernel was adapted to work with MIUI. Would you mind telling me how this was done? I would like to use these Franco kernel builds: http://forum.xda-developers.com/showthread.php?t=2307463 as well as (possibly) bricked kernel, and trinity kernel.
Thank you for your time,
Connor Baker
Click to expand...
Click to collapse
need edit boot.img, bricked kernel, moley kernel, faux kernel can use miui, i using faux kernel
Sent from my Nexus 4 using Tapatalk 2
luiseteyo said:
The pin bug
Any helper could verify that this bug is solved with:
Code:
adb shell
cd data/system
rm password.key
Click to expand...
Click to collapse
I can't confirm if this works or not but if you want to shorten it down you can run the single line to get the same effect
adb shell rm /data/system/password.key
Sent from my Nexus 4 using xda app-developers app
tathanhlam66 said:
need edit boot.img, bricked kernel, moley kernel, faux kernel can use miui, i using faux kernel
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
So they naturally have support for MIUI? Or do you still have to edit the boot.img to get them to work? If so, do you know of a guide that I could use?
Connor Baker
Any kernel that is modded to work with MIUI needs to have a link to the source code posted with all changes properly documented,
I've been messing with it for a bit now and here are some glaring issues I see off the bat that I haven't solved yet.
1) Gallery issues. Not only are there two of them, but neither of them is reading my old pictures.
2) The popular browser bug. FCs every time you open it, even if you follow a link.
3) Does not properly mount as storage when connected via USB.
Other than that the battery life seems to be alright, not a whole lot that isn't working that they already don't know about either.
EDIT: So just to give an update.
1) I'm able to remove the extra gallery via root uninstall. And by manually initiating the media scanner you can get your pictures to reappear. There is an app called rescan media in the market that will do this for you.
2) Other browsers from the market work fine. So not a huge deal to work around while they fix it.
3) Still can't solve the mounting problem. I couldn't mess with it too much because it wasnt my PC.
Sent from my Nexus 4 using XDA Premium HD app
Chomanator said:
I've been messing with it for a bit now and here are some glaring issues I see off the bat that I haven't solved yet.
1) Gallery issues. Not only are there two of them, but neither of them is reading my old pictures.
2) The popular browser bug. FCs every time you open it, even if you follow a link.
3) Does not properly mount as storage when connected via USB.
Other than that the battery life seems to be alright, not a whole lot that isn't working that they already don't know about either.
EDIT: So just to give an update.
1) I'm able to remove the extra gallery via root uninstall. And by manually initiating the media scanner you can get your pictures to reappear. There is an app called rescan media in the market that will do this for you.
2) Other browsers from the market work fine. So not a huge deal to work around while they fix it.
3) Still can't solve the mounting problem. I couldn't mess with it too much because it wasnt my PC.
Sent from my Nexus 4 using XDA Premium HD app
Click to expand...
Click to collapse
1. Install gapps.Both gallery working fine for me
2. Use some other browser
3.Again working absolutely fine for me
I flashed the russian MIUI Rom yesterday and let it charge whole night but now my n4 has only 25% battery and is extremely hot, Battery solo widget says 39°C.
anyone knows about any wake locks in this rom?
How i can change chrome's icon and how can i set chrome as default browser
Sorry for bad English
safademirel said:
How i can change chrome's icon and how can i set chrome as default browser
Sorry for bad English
Click to expand...
Click to collapse
I just deleted the miui browser apk
Sent from my Nexus⁴
Any one have any luck changing launcher DPI
Sent from my Nexus 4 using xda premium
Re : Miui rom
So far just having minor bug only..
Browser FC, hopefully next update Fix ..
PlayStore old version but can manually install new version..
About phone show 1.2 quad core , it should be 1.5 quad core..
Anyway pretty like MIUI rom.. Using stock MIUI kernel so far no problem with battery life..
1st release sure have a bit bug..
so we just waiting for better relase in feature..
I'm using the miui android version with there slim gapps and so far everything I use has worked. No FC's of any kind.
Sent from my Nexus 4 using xda premium

Resources