yashsingh1/xdaforums huggingface dataset:
[Atrix 4G Android Development] LiorScreamsSandwich:
im getting a black screen after flashing update O-o

all in all it can be awesome if you work on it..
[Atrix 4G Android Development] leonardoaraujo:
tablet UI

I asked the user androidON, to tell me how he did, but he did not even answer me, if you tell me how I could do, but it seems to me that he did not want to teach .. then you can ask him ...

I think some state secret .. lol
[Atrix 4G Android Development] LiorScreamsSandwich:
did what?>
[Atrix 4G Android Development] AndroidON:
Sorry man, I didn't know you wrote that.

(And gone travel for 4 days :D)

Actually, it needs recompile cause this mod have to be modified from source.

But you can do the same thing by decompiling services.jar.

I'll tell you the howto.

1. Download the Nexus S's CM9 services.jar from the link.

http://xdaforums.com/showthread.php?t=1467051

2. Baksmali it.

3. Copy com/android/server/wm/Windowmanagerservice.smali to another folder.

4. Get your phone's services.jar.

5. Baksmali it to separate folder.

6. Go to com/android/server/wm/ and overwrite Windowmanagerservice.smali which you copied before.

7. Smali it.

8. So you have the modified services.jar! :D

I assume you have knowledge about smali/baksmali. :)

PS. I know it would be more reliable to modify the part in smali file instead of just replacing it.

But it is kinda boring.

I think recompiling is more efficient way than that so I decided to replace file.
[Atrix 4G Android Development] leonardoaraujo:
post edited:

androidon, posted together! post deleted! very thankful man, I'll try to do!

---------- Post added at 04:20 PM ---------- Previous post was at 04:03 PM ----------

gone through the link you have instruction for editing service.jar with an observation that calls do not work.

but your update.zip had four files in system / app, they are which device / rom?, were edited by you?

ps excuse my bad English, but trying to understand before making ..;)
[Atrix 4G Android Development] LiorScreamsSandwich:
AndroidON ,I'm not sure but correct me if I'm wrong.

The services.jar. download that you've provided in the installation guide is not compatible with SGS2 devices (As it says Nexus),or/and its not compatible with the newest cm9 version.

I mean,Alpha 7 is old.. so i think its another reason for the wrong resolutions and widgets probs
[Atrix 4G Android Development] Tyrany:
I dont have problems with resolution can you post a pic of your homescreen?
[Atrix 4G Android Development] leonardoaraujo:
turl v8 (service.jar tabletUI)= calls not work!!

I just do the editing in accordance with androidON, okay with service.jar (TURL v8 Atrix), all perfectly in place as before, no more errors with "breach of strikmode .. blah blah blah" .. .

but now calls do not work (again), the link provided says that the app (phone.apk) MIUI the works, maybe someone can try to download the rom and extract the apk for us, my internet is very slow ...

otherwise, the updated service.jar ... (Atrix - Turl V8):

http://www.mediafire.com/?ofkto035jwpr2v4
[Atrix 4G Android Development] LiorScreamsSandwich:
what density you made? 120?
[Atrix 4G Android Development] Tyrany:
Yes but changed letter size to big: )
[Atrix 4G Android Development] LiorScreamsSandwich:
but it still doesnt right, everything else is still small O_o
[Atrix 4G Android Development] leonardoaraujo:
lcd_density

you should put 142 (this is the limit for the system to think that yours is one tablet)!

;)

lcd_density xxx < 142 = tablet

lcd_density xxx > 142 = smartphone
[Atrix 4G Android Development] LiorScreamsSandwich:
142 looks like a small smartphone haha
[Atrix 4G Android Development] Tyrany:
Lior can u post some photos of tablet running on your sgs2?
[Atrix 4G Android Development] Vicious Von:
I so late for the damn party but lml the more the merrier I always say.

ICS gave me cavities
[Atrix 4G Android Development] Vicious Von:
Yea I'd like to see that too

ICS gave me cavities
[Atrix 4G Android Development] leonardoaraujo:
:)

I'm like his he now ... lol, I look at your avatar face, tease me laugh, I love your avatar man!
[Atrix 4G Android Development] LiorScreamsSandwich:
I got rid of it cause launcher's screen size is little bigger than actual screen size

So now i'm about to try a different ,possibly better way to make this mod work on SGS2

This is the code that we need to edit ,and set lcd.density to 120 in build.prop..

--- a/services/java/com/android/server/wm/WindowManagerService.java
+++ b/services/java/com/android/server/wm/WindowManagerService.java
@@ -5962,7 +5962,7 @@ public class WindowManagerService extends IWindowManager.S
unrotDw = dw;
unrotDh = dh;
}
- int sw = reduceConfigWidthSize(unrotDw, Surface.ROTATION_0, density, un
+ int sw = reduceConfigWidthSize((int)(unrotDw / density), Surface.ROTATI
sw = reduceConfigWidthSize(sw, Surface.ROTATION_90, density, unrotDh, u
sw = reduceConfigWidthSize(sw, Surface.ROTATION_180, density, unrotDw,
sw = reduceConfigWidthSize(sw, Surface.ROTATION_270, density, unrotDh,

After i try it and there (i hope) will be no resolution issues i'll keep you updated
[Atrix 4G Android Development] leonardoaraujo:
I love this organization ..

turl V5..:D
[Atrix 4G Android Development] shidoro:
Awesome! =]

Did you guys have any progress on making the phone work with the tablet interface?

Anything you guys need a guinea pig to test? :P
[Atrix 4G Android Development] leonardoaraujo:
phone.apk

I'm in V5, as stated in the post ... it works calls (actually on v5, everything works as a smartphone works in tablet mode, but for some reason the newer versions (V8), the phone.apk does not work more .. behind a few pages I put a link to services.jar has changed to v8 (thanks to androidON that said how to do), but still can not function calls ..

PS: so I will update my Atrix not to another version until this is resolved .. I do not use more in mode smartphone, this is useful, functional (settings, notifications and more accessible) and more beautiful than the version "common"
[Atrix 4G Android Development] shidoro:
You made my day mate! Will try it with V5 as soon as possible too! :)

Edit: Tested. The phone.apk is there. It rings and make calls. But as soon as you attend the call, the phone get stuck and become unresponsive until the person who you called (or called you) hang up. :/

Seems to be related with the screen turning off. If I setup my phone to sleep only after 30 minutes and avoid to cover the proximity sensor (so it won't turn the display off) then it works perfectly. But if the screen goes off during a call by any reason. The phone seems to kill mic and audio threads, making unable to continue the call when you turn the screen back on again.

So as far as I could find out, if you are going to use this mod and want to make/receive calls, you should avoid to make your screen turns off during a call or the phone will hang up and consequently the call as well.

Seems like developing some wakelocks can resolve this, but I don't know anything about it :(

Maybe talking with @turl1 and checking the differences between the versions, we could find out which are the requirements to make the phone works... right?
[Atrix 4G Android Development] Vicious Von:
I'm running Turl1 v8 and I have phone working.

1.I downloaded the update.zip that's in this thread somewhere then extracted it.

2. Copy the build.prop within the update folder and replace your build.prop back up as needed.

3. Copy and paste the service.jar thats needed from here and replace the original one back up as needed

4. Copy the new service.jar and place it in that update folder that was extracted.

5. Zip the update folder and flash it

6. It should work out *fingers crossed* if it **** up its not my fault for I am not a professional.

P.s. it sounds redundant but it worked out for me and I've been running it for a few days now.

ICS gave me brain freeze
[Atrix 4G Android Development] shidoro:
Man, sorry, but I got confused with your instructions. Let me see if I got it:

1. I downloaded the update.zip that's in this thread somewhere then extracted it. (The one that the Korean guy made, right?)

2. Copy the build.prop within the update folder and replace your build.prop back up as needed. (Copy the build.prop from the update.zip to the phone directly as far as I could understand)

3. Copy and paste the service.jar thats needed from here and replace the original one back up as needed (Copy the service.jar from the update.zip file and replace for the one that's on the phone?)

4. Copy the new service.jar and place it in that update folder that was extracted. (Which "new service.jar" is this? Is it the last one built by AndroidON?)

5. Zip the update folder and flash it

6. It should work out *fingers crossed* if it **** up its not my fault for I am not a professional. (It will not borke... I hope :))
[Atrix 4G Android Development] Random Canadian:
Sorry if this has been asked but is there anyway this could eventually be automated to turn on Tab UI when the phone is inserted into the lapdock? with proper resolution for the screen and keyboard support?
[Atrix 4G Android Development] Vicious Von:
Step 3 is the service.jar that u download from this thread. In step 4 you'll be using the same service.jar

ICS gave me brain freeze
[Atrix 4G Android Development] robertoestivill:
i guess what he's trying to say is

1) unzip the update.zip to a new update folder/directory

2) download the services.jar from this thread.

3) replace the services.jar inside the update/system/framework/ with the services.jar downloaded from this thread.

4) zip everything up into a new_update.zip

5) Flash new_update.zip

I tried this and when flashing new_update.zip using CWM, the process gets aborted. I'm guessing it's because i didn't zip it as an update, but with the compress utility in ubuntu.
[Atrix 4G Android Development] JaronBang:
I tried it & get voice calls unsupported.
[Atrix 4G Android Development] Vicious Von:
I've revised the walkthrough because I had to make it clear that I was doing and giving the right directions. I reflashed turl1 v8, reflashed black exodus theme and faux kernel to make sure I was back to square one. I got the phone working again and I'm going to try to give more thorough instructions on how to achieve this.

First download these

https://www.box.com/shared/v6i0ljxxmg7u2r6kq9po

https://www.box.com/shared/bflkaufopgj8vt4gakfk

These are the build prop and service jar, respectively.

1. After downloading place these in the rightful place within the /system and /system/app. Now backup as needed and set permissions. Reboot.

2.download the update.zip that's in this thread (I can't find it at the moment) and extract it.

3. Go to the extracted folder and place the downloaded service.jar and build.prop in the proper place inside the folder replacing the old ones. By doing this you have added the proper files to change to tablet UI inside the update.zip that makes the phone operable.

4. Zip the folder reboot to recovery and flash the new update.zip.

5. Viola! It should work this time and I really hope it does because I wanna be helpful to those who want to try this out.

I am not responsible for you messing up your phone but I don't discourage you from taking the plunge (peer pressure lml)

Let me know how it goes :thumbup:

ICS gave me brain freeze
[Atrix 4G Android Development] leonardoaraujo:
update V8

vinicius hello, your process a little confused .. lol

because copying files and build.prop services.jar (that's what I did to v8)?

then apply them again to update.zip?

I will now try to come back with results ....

update.zip would it???? """page3 ---post # 26"""

not work for me....phone app does not appear in the drawer ..
[Atrix 4G Android Development] shidoro:
Hey Vicious, I tried as well and no go.

To make some testing here's what I've done:

1) Downloaded the files

2) Downloaded the update.zip from Depressed_Megi (http://xdaforums.com/showpost.php?p=22641979&postcount=26)

3) Installed turl1 v8 Rom.

4) Flushed dalvik and partition cache

5) replaced the buld.prop (in /system) and service.jar (/system/framework) [and not "/system/app" as there is no service.jar there]

6) Reboot phone: Call works, but says that "com.android.phone crashed" (or something like that) and I couldn't reach the calling screen to hang up. So if I call someone or someone call me... I can't receive another call later because the service is stuck

7) Reboot phone again: Tried to install update.zip with modified files. Update failed

8) Repacked update.zip with WinRAR and tried again. Update installed. But got "Apk isn't installed" message again :/

Those are my results. And what I conclude is that build.prop and service.jar are ok. There is something wrong with the phone.apk and telephonyprovider.apk... maybe incompatibility with modifications made on V8 ROM.

I'm going to modify the package removing the telephonyprovider.apk or something like that to see what happens and will post the updates as soon as I finish to test.

Update:

After posting this, I came back to V5 rom and the phone is working like a charm. Without wakelock issues and all! :)

The curious thing is that I didn't do anything different. Just entered in recovery, flashed V5 rom and without reboot, flashed the original update.zip from Depressed_Megi.

Now I don't want to go back to V8 anymore... LOL :)
[Atrix 4G Android Development] Vicious Von:
You know what it can possibly be? I have been using this rom since v5 and all I've done was clear dalvik cache I didn't clear user data because I didn't want to reconfigure my phone from scratch. Now by doing that its possible that there are files that carried over making this mod possible for me. My phone works fine and I'm trying to figure if its a step that I missed so later on I'll clear my phone fully and attempt this once more. As my phone is now the mod works with the instructions I gave.

ICS gave me brain freeze
[Atrix 4G Android Development] sublimejosh2000:
Can you explain what changes are made to the build.prop and the Services.jar file... Exactly which changes. I can modify the services.jar from V8 Turl and try that out..
[Atrix 4G Android Development] shidoro:
I agree with you!

So you mean that you didn't clear either cache and dalvik after migrate from V5 to V8?

This could be interesting.

Btw, does anyone remember clearly what changed between V5 and V8? If I'm not wrong, they were trying to fix the bluesleep and other battery drain issues wasn't it?

If is that so, then there is no big deal on stay on V5 to use this mod.
[Atrix 4G Android Development] leonardoaraujo:
service.jar has been modified and posted here by me, is working, the problem is with phone.apk!

pag = 9

post = # 86

==============================================================================================================

someone with knowledge at compile / decompile help me compare the files?

I compared all the XMl's Phone.apk applications (tablet version that works on v5 and the version that comes in the rom), there's different settings in the xml, they are equal, I'm pretty sure that an error of .9 png (paste with different files)

someone with knowledge at compile / desconpile apks ICS?
[Atrix 4G Android Development] Vicious Von:
I tried following my instructions on my backup atrix and I didn't succeed. There was no phone apk like one of you guys said. This may be due to the fact that I've been upgrading without clearing user data from v5 to the latest. I honestly wouldn't know where to look regarding where I went wrong.

ICS gave me brain freeze
[Atrix 4G Android Development] shidoro:
Let's see if I can help with this...

I got the APKTools and was able to unpack the Phone.apk and read all XML and all smali stuff... BUT THERE IS A LOT OF STUFF! :|

Is there any script/tool which I can use to diff the XML and smali files?

This is the first time I do a step deeper into android development, so I'm kinda noob... yet I want this to be working on the latest versions or help to fix it if possible :D

Hope I am doing right :D
[Atrix 4G Android Development] leonardoaraujo:
http://xdaforums.com/showthread.php?p=22916713#post22916713

edit simali = decompile = apktool d arquive.smali

= compile = apktool b arquive.smali

ps:I did not find any difference in xml's, but many different PNG's .9 (just a hint)

and also realized that the four work together apks (phone, telephonyprovider, contacts, contactsprovider) ....

Good luck!
[Atrix 4G Android Development] shidoro:
Only difference I could notice between the versions are the size of the dialpad images... don't know if this could be an issue.

I think the best solution would be to make a diff between every file of both APK...

If someone could point me out a good Windows tool to do that, I would gladly make this for the sake of the mod! :D
[Atrix 4G Android Development] leonardoaraujo:
hi, let's talk the talk tomorrow? We can try to speak Portuguese .. ok? speak for here in the morning ..

leonardoaraujo34@gmail.com
[Atrix 4G Android Development] JaronBang:
Vicious try pulling the 2 contacts apps, and the 2 phone apps and add to the update zip then flash on other atrix. With your instructions I get voice calling not supported and if I push turlV8 apps phone works but I can a a FC. Maybe you retained your system/app phone and contacts apks from v5 and those work.
[Atrix 4G Android Development] Vicious Von:
Good idea! Imma try it tomorrow on my other atrix. By you telling me your progress makes me understand that its not about which version of the rom I have. I'm going to tinker with it tomorrow when I get in front of my PC.

ICS gave me brain freeze
[Atrix 4G Android Development] JaronBang:
Yeah hopefully it works, I pulled the apps from Turl's v5 and zipped and flashed but went back to voice calling unsupported.

However when I was using the apps from v8 it actually gave me com.phone has stopped responding, before it gave me a bunch of random characters for example: !%#$$+#*#+$!? Has stopped responding.

Kinda hard for me to tinker I have to do everything on my phone lol.
[Atrix 4G Android Development] Vicious Von:
I do everything on my phone too so dont worry. Can you your phone back to where your phone gave you the "com.phone has stopped responding" because if I remember correctly I had went through that with my phone and what i did was put the service.jar and build.prop thats already in my /system and copied it into the update.zip and flashed it again. you should try that and let me know. Im going to try myself now also.
[Atrix 4G Android Development] Vicious Von:
I didnt change the service.jar just used the latest one that was posted in the thread and i used the instructions rom the OP for the build.prop. Its possible that i got it working because i haven't cleared my user data since using v5. Lemme be clear that I've updated through v6, and v7 before getting to v8.
[Atrix 4G Android Development] shidoro:
Just for information... there are some notable differences on the Contacts.apk, Phone.apk, TelephonyProvider.apk. Some strings have been modified on those APK XMLs from V5 to V8 when comparing the update.zip agains the turl1 V8 ROM native files.
[Atrix 4G Android Development] leonardoaraujo:
yes, some differences ... and especially in

arrays.xml

strings.xml

android.manifest ---- many differences
[Atrix 4G Android Development] shidoro:
Probably those manifest files should do the work.... at least I think. :)
[Atrix 4G Android Development] Vicious Von:
I know I might be thinking too far ahead but its just a question but is it possible to have this as our notification bar?

ICS gave me brain freeze
[Atrix 4G Android Development] shidoro:
Oh maaan! When I think that my mobile is already awesome, something even greatrr appears!

Which mod is this and where can we find out more about it?
[Atrix 4G Android Development] Vicious Von:
Its not a mod its the Asus padfone. After putting the phone in the tablet shell that's how it looks

ICS gave me brain freeze
[Atrix 4G Android Development] trogdan:
My Asus Transformer has the same UI, I think it's their add-on
[Atrix 4G Android Development] leonardoaraujo:
font

I added some stuff in v5 ..

*Larger fonts :)

*CRT animation :)
[Atrix 4G Android Development] WiKiDCLown:
Where can we find download link for v5 or are you talking about turlv5??

Hit thanks if this was helpful
[Atrix 4G Android Development] WiKiDCLown:
Btw I had complete success with this mode when I flashed my 1st cm9 kang (joker beta1) then I updated to jokers beta2 and the phone stopped working so I did I clean flash of beta2 and same problem Also sead it was violating self strict policy so I clean flashed beta 1 back but again had self strict and no phone so what happened?? Everything was the same

Hit thanks if this was helpful
[Atrix 4G Android Development] Vicious Von:
Can we see some photos?
[Atrix 4G Android Development] Alcapone263:
Update zip from page three works perfect for me on jokers new beta. Phone works and everything
[Atrix 4G Android Development] WiKiDCLown:
Are you using jokers beta 3 or 3.1??? I'm gonna try 3.1 later today

Hit thanks if this was helpful
[Atrix 4G Android Development] Vicious Von:
Can u show some photos

ICS gave me brain freeze
[Atrix 4G Android Development] shidoro:
Jokers 3.1 working with phone! :)

I'm just having issues that whenever the screen goes off during a call... the phobe get stuck until the call ends.

If only I could disable the proximity sensor, this wouldnt be an issue at all :(
[Atrix 4G Android Development] WiKiDCLown:
3.1 is also working for me but with out screen off bug will upload pics in min

Hit thanks if this was helpful
[Atrix 4G Android Development] Neroga:
Pull the Phone.apk from the Atrix Tablet v5 ROM and it should work fine.
[Atrix 4G Android Development] starrwulfe:
A lil OT I guess but how are you dual booting? Point me at the thread where I can learn to do that!
[Atrix 4G Android Development] WiKiDCLown:
On the last of my data so I can't really look for the link today but Google boot manager for atrix the1st link should be to the xda atrix forums with the details on how to do it and some ppl report that the 2nd rom has more fc errors but I haven't had that problem

Hit thanks if this was helpful
[Atrix 4G Android Development] leonardoaraujo:
http://xdaforums.com/showthread.php?t=1532182 :)
[Atrix 4G Android Development] aaron.a:
i don't want to sound harsh but is there any progress as far as enabling it on hdmi connection goes? or maybe even forcing native resolution on hdmi connection? that's the good stuff =) tablet ui is neat but not much more if it can't at least display in a proper resolution during mirroring
[Atrix 4G Android Development] meztizo_kid:
I'm a tad curious myself if anyone has been working on this part and has made any significant progress.

Regardless, I love how people have taken this and have started doing development on it! Thanks again to everyone involved on this (and CM9) project.

MK
[Atrix 4G Android Development] jiggytom:
Same here...getting lapdock soon and would like to run a higher res.
[Atrix 4G Android Development] guidoido004:
Two things, first, not working with the lastest jokersax release, fixes?

Second, works with sensation?
[Atrix 4G Android Development] tasadar:
can you tell me why that tablet mod isnt working on jokersax newer roms beat3/4 etc. ???
[Atrix 4G Android Development] jeanpiere:
Seems that in the newer versions some frameworks/libs were removed as he mentioned that there were "unneccesary files" in earlier builds. Turls' v9 works perfectly with this mod though, including calling etc. So you can give that a try.
[Atrix 4G Android Development] Vicious Von:
Can I download the service.jar from the OP to have turl v9 working?
[Atrix 4G Android Development] jokersax11:
its due to changes in the code. If the op doesn't mind sharing how he modded the services.jar I'll put it in source so every version can use the tablet mod.
[Atrix 4G Android Development] guidoido004:
i think you should ask leonardoaraujo, since he have a working version of the lastest beta with tablet UI.

check his thread if you want to see it