yashsingh1/xdaforums huggingface dataset:
[Android Software Development] blade22:
oh..so deodex apks of the same rom and install them on same rom..

which means we can't deodex Xperia rom apk and install them in HTC rom :(

so, there is no way we can install odex apk in another roms? (suppose I like an app,which is odexed in stock rom and want to install in my own custom roms (be it any)
[Android Software Development] abcdjdj:
No, that's not possible as deodexing requires you to have the bootclass path files of the exactly same rom. So if you need to deodex a Xperia apk, you will need the entire /system/framework folder of the xperia rom..

Btw, which apk and which device are you trying to deodex? I can help you getting the files:)
[Android Software Development] blade22:
i m using HTC One V and currently installed the Xperia Z 4.1.2 rom...

so wanted to check the teeter app (which comes default with HTC One V stock rom)

so, thought of deodexing the teeter apk (which has odex file) & installing it in the current rom. ;)
[Android Software Development] smokerman:
could be because of windows 8? i redownload and still the same..the rom is ligux for xperia play..you can see it on my sig..and i noticed that it worked on many apks,but it stopped half way. maybe works better when new version of this app is out..

i put all system/apps on apk folder..as you said on 1 post: PLACE AS MANY APKS AS YOU WANT!! maybe its better to divide them and deodex at times..
[Android Software Development] abcdjdj:
Well, the number of apks won't matter. I think that it is because of the api problem. Could you please open deodex_apk.bat with notepad and look for this line -

java -Xmx512m -jar baksmali.jar -x %x%.odex

Now, please add "-a16" at the end so that it looks like this -

java -Xmx512m -jar baksmali.jar -x %x%.odex -a16

I have already added an option for setting in V4 so that users can easily set the api level through the gui. V4 will be released on this weekend. Just a bit more testing is needed.:D
[Android Software Development] abcdjdj:
Hi guys!

Release V4. As promised, it has a very beautiful GUI which has been built using the Java Swing and AWT classes. Here is the changelog -

--->Made the tool a GUI based tool/software!:D

--->Lightweight Java Swing API is being used.

--->Added option to set compression level from the GUI.

--->Added option to set api level from the GUI.

--->Added a debug mode which can be easily enabled from the GUI. Debug mode prevents the deodexing window from closing

automatically so that it is easier to diagnose any errors if present.:)

--->Moved the framework files to a separate "framework" folder. It looks much cleaner now:)

--->Apks/Jars which do not have .odex files are now automatically deleted. No need to manually go through the files and delete anything.

--->Randomly assign a colour to each button on every run.

--->Fixed some other minor bugs.

--->As this has become a big project with a big source code, I will be uploading the source code on Github:D

Please let me know if you experience any problems while using the tool (software now I guess:D). Also, building the GUI has taken lots of time and effort so if you appreciate my work, please encourage me by rating the thread. If you have any suggestions too, please let me know and I will try to include it in the next version.

Enjoy:)

Regards,

abcdjdj
[Android Software Development] abcdjdj:
Hi,

Sorry for the delay. I could not pull the framework files from my father's phone earlier as he was very busy at work. It is from stock Xperia Z 4.1.2 rom [.434]. Here is link - https://www.dropbox.com/s/8o110z71rslb1ng/Xperia Z 4.1.2 Framework.zip

Hope it helped you:)

Regards,

abcdjdj
[Android Software Development] hussain59:
This Update Rocks

I was just wondering how could my apk size became soo low and this update has cleared the doubt cheers mate thanks for this pressed the button though:good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good:
[Android Software Development] blade22:
Thanks for files...but as u have said earlier we can't port apk from one rom to another rom?

the tool u have made is just for deo-dexing the odex apk and using in the same rom if i m not wrong :good:
[Android Software Development] abcdjdj:
Porting and deodexing are different. Deodexing allows you to decompile the apk with apktool and make smali changes too. To port an apk, you need to make some changes in the apk by decompiling it. So, deodexing is the first step:good:
[Android Software Development] mik.y:
lol,not working,stupid java with ugly look
[Android Software Development] ikunalgautam:
Urghhh..Java error !
[Android Software Development] abcdjdj:
I know that Java causes a lot of problems.. Updating to the latest available version of Java should take care of all problems.
[Android Software Development] myfishbear:
this fixed java for me. in environmental variables i added this cuz xcopy wouldn't work.

PATH %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files (x86)\Java\jdk1.7.0_25\bin

CLASSPATH C:\Program Files (x86)\Java\jdk1.7.0_25\bin
[Android Software Development] ZANKRUT.DOSHI:
from where do you have to take apks i took apks for system/app and it says 0 apks deodexed
[Android Software Development] abcdjdj:
You must not have placed the apks in the correct directory. You must place all apks in the "apks" folder and all files from /system/framework in the "framework" folder. If you are trying to deodex your current phone's apks then you can even use the adb pull feature which will directly pull framework files from your phone.
[Android Software Development] alberan:
Thanks [MENTION=4663391]abcdjdj[/MENTION], great work. My GB version is 2.3.5 and I choose 2.3.4, 2.3.3 option, is it ok? or will my app get some error or malfunction after, I mean in use?

And about compression... I left default 5... but I would like to know what are the differences between this values... which is better, more or less compression? Could you explain it please? Thanks in advance.

Cheers
[Android Software Development] abcdjdj:
Hi alberan,

The 2.3.4 option will work for you. As the api level is the same, it won't cause any problems.

When the deodexing is complete, the contents of the apk need to be repacked. 7za allows us to set a compression level from 0-9. The more the compression, lesser the file size, but on some phones too high levels cause force closes. Hence if you experience any force closes, you can reduce the compression level. In case you are not sure, it is better to leave it on the default level (5). If you experience any force closes later then try reducing the level.

Regards,

abcdjdj
[Android Software Development] alberan:
Thanks [MENTION=4663391]abcdjdj[/MENTION]

"When the deodexing is complete, the contents of the apk need to be repacked. 7za allows us to set a compression level from 0-9. The more the compression, lesser the file size, but on some phones too high levels cause force closes."

About the quote: and this repack is done automatically, isn't? or is there something to do in order it do the repack?

And I'll try level 5 compression for first.

Another thing, may I share this post and marvelous tool in the forum movilesdualsim.com (if it's not posted there of course) and if there are some conditions could you please tell me (us)...
[Android Software Development] abcdjdj:
Everything is done automatically. I was just explaining how my tool works.

Sure, you can share it as long as you provide the link to this thread (XDA thread) and even write the credits.

Enjoy:)
[Android Software Development] pemell:
edit: got it working now.

Have a question though: After I had an apk deodexed and made my changes to it do i need to odex it again before I pull it back to the phone?
[Android Software Development] abcdjdj:
No, after you deodex any apk (and make changes if you want) you do not have to re-odex it. Just push it to /system/app and be sure to delete the pre-existing .odex file too. Reboot and enjoy.:)
[Android Software Development] alberan:
[MENTION=4663391]abcdjdj[/MENTION] I am trying to deodex my jar framework files. What I did?

copied files from framework from the device and put them to framework folder in Deodexer.

Then put same files from framework in apks folder in deodexer.

Then apply Deodex All Jars, and finally copied result files from Deodexed folder in Deodexer and put them in system/framework (applying change the ones there for the odexed ones), then deleted .odex files and fixed permissions.

After this I reboot device... but... I get a bootloop...

My question is what I am doing wrong. I now I am doing something wrong but can not see what . Please help. Thanks in advance.

EDIT: Tried with apk of system/app. deodexed and work well.
[Android Software Development] abcdjdj:
Well you have to be very careful with framework files because there are a few apks too in /system/framework. So, when you deodexed all jars, these apks remain odexed. When you copy the deodexed jars to /system/framework and then delete all .odex files, even the .odex files of the apks get deleted. Hence you get a bootloop.

Another possibility could be that the compression level is too high for your phone, but that is unlikely as apks are working fine. I would suggest you to first try deodexing only 2-3 jar files and see if they work properly. Then try deodexing all jars again.
[Xperia Z General] feizylong:
(FTF) C6603 10.1.A.434 Cust ID 1270-1412_R6A Singapore

Flash with latest flashtool ( myself tested OK, YMMV)

[/IMG]

Download link : http://goo.gl/TkkV8
[Xperia Z General] feizylong:
I got my phone from M1.
[Xperia Z General] changkho1908:
What's new?
[Android Themes] mutant13:
10 different Apex Launcher themes !!!

Red Sky, Pink Sky & Donate Versions Here

It includes:

* Icon background that shows up for all stock icons

* Apex Launcher skin

* 4 different Sky wallpapers

* Ubuntu Fonts !

This app will not show up in your app drawer. You need to have Apex Launcher (v1.2.0+) to use this theme.

How to apply

Apex settings > Theme settings > ....Sky_Apex Theme > Apply

If custom icons or skin images fail to load properly, please make sure the app is not moved to SD card.
[Sony Xperia T, TL, TX, V] MaxMouseDLL:
Hello All,

Used the root script from Bin4ry, all went well... except at the end where it informs you "If all goes well, I'll tell you, if not this will run forever" (or words to that effect), well... it ran for a considerable time, so I disconnected everything and messed around with the phone, terminal emulator informed me that I did indeed have root access (PID: 0) I was able to access sbin etc... great I thought, but why didn't SuperUser show a dialogue requesting root access... I assumed maybe a busybox problem so I downloaded that and installed it, it all worked well... still no root dialogue, just to make 100% sure I checked with RootChecker and it confirmed I have root. So I rebooted the phone, now there is no root access and I can't seem to get Bin4ry's script to work again, I'm assuming there are maybe remnant files causing an error of some sort?

Anyway, I'm hoping someone can shed some light on this and maybe provide me with a solution to rooting the thing?!

Info:

Device: Sony Xperia T - LT30P

OS: 4.1.2

Bootloader: Locked (Not unlockable)

Latest from Bin4ry's script:

======================================================================
= This script will root your Android phone with adb restore function =
= Script by Bin4ry (thanks to Goroh_kun and tkymgr for the idea) =
= Idea for Tablet S from Fi01_IS01 =
= (28.03.2013) v25 =
======================================================================

Device type:
1) Normal
2) Special (for example: Sony Tablet S, Medion Lifetab)
3) New Xperia Root by Goroh_kun (Xperia Z, Xperia V [JellyBean] ...)

x) Unroot

Make a choice: 3
Please connect Xperia device with enabled USB-Debugging now to your Computer
Going to copy over some files ...
31 KB/s (442 bytes in 0.013s)
9 KB/s (170 bytes in 0.017s)
3 KB/s (57 bytes in 0.018s)
Starting restore operation, please look on your device and confirm restore!
after that press anykey here in the console
Now unlock your device and confirm the restore operation.
Press any key to continue . . .
After restore is confirmed please look on your device and choose "Service Tests
-> Display" in Service menu and WAIT THERE!"
Starting: Intent { act=android.intent.action.MAIN cmp=com.sonyericsson.android.s
ervicemenu/.ServiceMainMenu }
Warning: Activity not started, its current task has been brought to the front
/data/local/tmp/onload.sh ...
[Sony Xperia T, TL, TX, V] datagubben:
Sv: Bin4ry v25 Issue

I use version 21, anyway this should be in the question section not general.
[Sony Xperia T, TL, TX, V] norti:
v22 and later Bin4ry versions fail on Xperia T JB at the busybox installer, so use v21 instead. If you can't find it, I can upload it to somewhere, please pm.
[Sony Xperia T, TL, TX, V] shadowhunter20:
I think just go to your phone, this line tells you what to do next

After restore is confirmed please look on your device and choose "Service Tests

-> Display" in Service menu and WAIT THERE!"

In your phone, the service menu is displayed, go to "service tests" > "display"

then just touch the screen,the color will change and the rooting process will proceed..
[Sony Xperia T, TL, TX, V] MaxMouseDLL:
Downloaded v21, it still stops here:

Warning: Activity not started, its current task has been brought to the front
/data/local/tmp/onload.sh ...

It flashes up "Restore started", then a couple of seconds later "Restore ended", I'm guessing it doesn't stay in the restore process long enough, any ideas?

Cancel that, reset phone to factory, uninstalled/re-installed Companion, root now works...

Hardware: LT30p

Droid: 4.1.2

Build: 9.1.A.0.489

Bin4ry version: v21

======================================================================
= This script will root your Android phone with adb restore function =
= Script by Bin4ry (thanks to Goroh_kun and tkymgr for the idea) =
= Idea for Tablet S from Fi01_IS01 =
= (11.03.2013) v21 =
======================================================================

Device type:
1) Normal
2) Special (for example: Sony Tablet S, Medion Lifetab)
3) New Xperia Root by Goroh_kun

x) Unroot

Make a choice: 3
Please connect Xperia device with enabled USB-Debugging now to your Computer
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
Going to copy over some files ...
3 KB/s (442 bytes in 0.108s)
11 KB/s (170 bytes in 0.014s)
Starting restore operation, please look on your device and confirm restore!
after that press anykey here in the console
Press any key to continue . . .
After restore is confirmed please look on your device and choose "Service Tests
-> Display" in Service menu and WAIT THERE!"
Starting: Intent { act=android.intent.action.MAIN cmp=com.sonyericsson.android.s
ervicemenu/.ServiceMainMenu }
ÅêùØÆå /data/local/tmp/onload.sh ...
Ok nice ...
570 KB/s (1096224 bytes in 1.875s)
Stopping RIC
2 KB/s (38 bytes in 0.015s)
15 KB/s (1022 bytes in 0.062s)
3 KB/s (151 bytes in 0.046s)
Pushing su ...
699 KB/s (380532 bytes in 0.531s)
Running next steps
intall /system/xbin/busybox ...
2141+1 records in
2141+1 records out
1096224 bytes transferred in 0.048 secs (22838000 bytes/sec)
intall /system/bin/su ...
743+1 records in
743+1 records out
380532 bytes transferred in 0.015 secs (25368800 bytes/sec)
intall /system/etc/install-recovery.sh ...
0+1 records in
0+1 records out
38 bytes transferred in 0.001 secs (38000 bytes/sec)
599 KB/s (1468798 bytes in 2.390s)
pkg: /data/local/tmp/Superuser.apk
Success
Running final step
Cleaning up
Ok rebooting lets hope it worked!
You can close all open command-prompts now!
After reboot all is done! Have fun!
Bin4ry
Press any key to continue . . .
[Sony Xperia T, TL, TX, V] Tinup93:
totaly worked with xperia TX <3 thanks
[Sony Xperia T, TL, TX, V] wednesday13:
Use doom Lord version
[Sony Xperia T, TL, TX, V] MaxMouseDLL:
Why? Binary v21 works very nicely with xperia T... Interestingly, v25 seems to temporarily root it, then on reboot a factory reset is required before v21 will work. Strange.
[Sony Xperia T, TL, TX, V] julianalexander:
v21

u rooted xperia tx with v21 sir?? with the method just pressing 3??
[Sony Xperia T, TL, TX, V] pentaquine:
I'm also stuck at the "/data/local/tmp/onload.sh ... "step

I touched the screen and the color changes, but other than that there's nothing going on... it's been more than 10 minutes now.
[Sony Xperia T, TL, TX, V] MaxMouseDLL:
It would have done it by now, if it hasn't done it's job in 2 minutes, it's not going to... I know it's painful, but.. restore your phone back to factory, uninstall/reinstall the Sony app from your computer and try again, it took me a fair bit of messing around, and ultimately when I got to where you were that's what did the trick.

You're also getting a "Restore started" then straight away "Restore finished" dialogue right? ... that's exactly where I was.

How this works is, the backup restore process is started and data is mounted as r/w the superuser app and busybox are put there during this time (all ninja like), but it seems it can/does fail, I'm sure someone cleverer than us can shed light as to why, but until then... start with a clean slate both on the Xperia and your computer (... a complex version of "Turn it off and turn it back on again")
[Sony Xperia T, TL, TX, V] crazymister:
I once read somewhere you have to keep tapping it every 3 or 4 second.

That's whati always do and it worked for me. I always use v21 though (just because I have it :p)
[Sony Xperia T, TL, TX, V] pentaquine:
Fortunately I didn't have to go through all this. I went through the simple version of "turn it off and on again", and it worked. I simply disconnected my phone, rebooted it, restarted the process (twice), and it just magically worked on the third time.
[Sony Xperia T, TL, TX, V] JJD809:
Try v26 option 3. It worked fine for me. I have the Bond branded phone with locked bootloader.
[Sony Xperia T, TL, TX, V] norti:
v28 with method 3 works also without any problem on Xperia T JB 9.1.A.1.140, finally :)
[Sony Xperia T, TL, TX, V] Pradeep3072:
I'm. Having Xperia T ICS firmware-.195 . I want to root plz help me which version Of Bin4ry Is working.... (Boot loader not unlocked...) . Thanks in advance plz reply
[Sony Xperia T, TL, TX, V] icstm:
I used v11 when I rooted 195, there was a great guide here to root 195 with no problems at all.

I am still searching for v21 for JB, I might have to PM someone for a link...
[Sony Xperia T, TL, TX, V] Pradeep3072:
Thanks u 4 ur reply , can u plz give the link for Bin4ry v11......... It will be very helpful for me...
[HTC Amaze 4G] guatemala84:
i had a htc amaze 4g. and i really like it. i been reading that other phones have better rooms . i was wondering which will be a good option . ill apreaciate all advice . i was thinking htc one x. or maybe stay with amaze. so far i been looking for samsung 2 and 3 but i dont like the plastic, it looks like is going to break. my budget is no more than $300.
[HTC Amaze 4G] Shadow Samurai:
Sticks with the amaze and save the cash. Other phones aren't much better. They just have more people making roms which in the end are VERY similar!!! Just have different tweaks, etc.

Sent from my Jelly Beaned HTC Amaze!
[HTC Amaze 4G] F9zSlavik:
Top 2 choices next month is either the HTC One and the S4. S3 already has awesome !STABLE! fully functional roms, blazing fast, huge community, etc.

You can get a S3 relatively cheap now. I sold my S3, to get either a S4 or the One. Went back to my Amaze 4g and now I remember why I gave it up in the first place.

Just my 2 pennies.
[HTC Amaze 4G] guatemala84:
thanks for the replies. i though about htc one but is going to be expensive. and two questions how cheap did u sold your S3 and what problems you didnt like about amaze. i only had my for a few weeks so i didn't got the time to find something bad.
[HTC Amaze 4G] Hassaan.W:
Your amaze should be good for now especially with fully functional sense 4 and hopefully cm10.1 coming soon. Then get the nexus 5 in october. Itll probably be a better phone those two anyway.
[HTC Amaze 4G] guatemala84:
thanks, since the last post , i been looking at ebay, i saw some gs3 at&t for like $250 (minor glass cracks), price is close to the amaze.

im on tmobil, i read that i could root then i can unlock phone to use with any carrier. is this true and everything works fine?

thanks in advance for your time.
[HTC Amaze 4G] Hassaan.W:
yes you can but ive only seen paid sim unlockers for the s3 about $24. no free ones that are reported working. you could just search you know

---------- Post added at 12:26 AM ---------- Previous post was at 12:20 AM ----------

or at&t give it to you for free if youre willing to put up with their customer service
[HTC Amaze 4G] F9zSlavik:
Are you referring to the Viper rom that has Sense 4?? That I am aware of the following still are not working

Bluetooth

NFC

Wifi Tether

@ OP, the Amaze itself is a great phone but I got tired of dealing with half or almost fully working roms. We have great dedicated developers but our community is small and fixes take time. HTC isn't too community friendly. I am currently using CM10 and I have a bunch of annoying issues. I'm actually thinking of going stock to have all working features with no issues. I just lost faith in the phone and got inpatient. Personally I can't wait to sell it or at the very least have it around til a fully functional modern rom comes out. I'm stuck with it til mid of next month.
[HTC Amaze 4G] Hassaan.W:
i was referring to the viper rom which is why i said fixes coming SOON
[HTC Amaze 4G] Shadow Samurai:
Good luck selling it. Most people haven't even heard of the amaze. The ones on craigslist are going REAL cheap because no one is buying them. I plan on upgrading in the next month or two and have gotten almost no replies asking for the amaze, they all are interested in my jail broken and unlocked 4s.

Sent from my Jelly Beaned HTC Amaze!
[HTC Amaze 4G] F9zSlavik:
I am actually selling my s3 4 500 maybe 600 outside of the country. I'll settle or whatever I can get for my amaze.
[HTC Amaze 4G] guatemala84:
thanks alot for all the help. my amaze is working again (back from the dead) i guess amaze is good for now. i dont know how many phones will work after getting into a soup. ill upgrade it when nexus 5 is out.

btw amaze is not that cheap $250 on craiglist and around $200 on ebay.
[MDA II, XDA II, 2060 ROM Development] deckard:
Hallo,

I want to tune up my german mda2's extended rom also.

But i can't . It's read only!

Can't delete,write,rename.

I only can make it visible thats it.

Please help!

Edit:

It seems that the disk on chip (doc) can be write protect by software.

Look here:

http://www.spezial.ru/products/producer/msystems/pdf/App_Note_011.pdf

There is an entry in the windows registry called TrueFFS.

(True Flash File System).You have too search the registry for trueffs.dll

I would be interested for some dwords values from other people whos rom is not protected.

For instance the key "Ioctl" has an value of 4 in my mda2.

This is my TRUEFFS Registry Area:

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\TrueFFS]

"Profile"="TRUEFFS_DOC"

"Index"=dword:00000001

"Dll"="TrueFFS.dll"

"Prefix"="DSK"

"Order"=dword:00000000

"Ioctl"=dword:00000004

"WindowBase"=dword:04000000

"DeviceArrayIndex"=dword:00000000

"IClass" =hex(7):7B,00,41,00,34,00,45,00,37,00,45,00,44,00,

44,00,41,00,2D,00,45,00,35,\

00,37,00,35,00,2D,00,34,00,32,00,35,00,32,00,2D,00

,39,00,44,00,36,00,42,00,\

2D,00,34,00,31,00,39,00,35,00,44,00,34,00,38,00,42

,00,42,00,38,00,36,00,35,\

00,7D,00,00,00,00,00

Deckard
[MDA II, XDA II, 2060 ROM Development] badman:
I have the same problem, after I used the Extended ROM unlocking tools I can unhide and see the contain of the Extended ROM, when I tried to unlock, it showed me a debug popup window and the content is 'ERROR: FL_IOCTL_BDTL_HW_PROTECTION' , the ROM cannot be unlocked for adding or deleting ?? !!

Anyone can help ??
[Sony Xperia ZL] djruckuss66:
My text to speech stays activated even though I've disabled it. Any ideas how I can permanently disable this? Freezing it in TB doesn't seem to work.