Deodexed I5800XXJPQ - Galaxy 3 Android Development

Hi all,
Here is the deodexed stock ROM from the XXJPQ version, with original Maps.apk replaced by maps5.6.0-ownhere-resign.apk.
Aditional package with last version of QuickPic, Superuser, maps (again, for those who don't want to download the full above stock ROM), Android Terminal emulator, and a Gingerbread keyboard working (the one from Kyrillos wasn't working on JPQ). All these apps can be put in /system.
[!! EDIT !!: To be able to run QuickPic, GingerKbd and TermEmulator placed in /system, put these libraries in /system/bin (or extract each lib file that are in the apk files and put them in /system/lib)]
[EDIT2 : Before installing maps5.6.0 in /system, you have to follow these instructions ]
hope it will be useful for someones !

Link doesn't works.
Anyway, thanks for that, i think i will post a deodexed XWJPI too tomorrow ^^
EDIT : Link are available now ^^ good

I've just clicked the link now and it works ...
perhaps megaupload need some time to be ready ...

Yeah yeah, its good, i have edit my first post ^^
Check your MP

Is CWM on it ?
If not how to apply it...I don't understand ?

no, its' just a package with all the apps from JPQ that have been deodexed; it's not a ROM.
To apply CWM you have to PM it's creator (in my signature).

Related

[I9003] [How-To] Easily adding Arabic Patch to a Custom Rom

Hey to all,
this is a short tutorial how Devs but also "normal user" can add Arabic Support to a Custom Rom. (This process is usable for other Samsung smartphones, too).
1) Requirements
2) Downloads
3) How to apply Patch...
3.1) ...with Root Explorer
3.2) ...with a .zip Rom
1) Requirements
1. Your device needs to be rooted. (If you use the Root Explorer method)
2. Your Android version is 2.1 or newer
3. Your ROM needs to be deodexed. To find out if your installed ROM is deodexed, navigate to /system/framework on your phone. If you see a file called framework.odex then this patch will NOT work for you.
4. Your rom is NOT based on MIUI.
2) Downloads
1. Arabic Patcher (requires Windows)
2. If you use the Root Explorer method you will need Root Explorer (available in Market) or something comparable
If something goes wrong using this method reply and i´ll help you
Author of this tool is madmack! Link to his homepage
3) HowTo apply the patch
3.1) ...with Root Explorer
1. Download Arabic Patcher and extract it
2. Pull /system/framework/framework.jar from your phone and place it in the subfolder called "input" that you extracted in step 1. If you’re not using a CyanogenMod ROM (like Stock I9003 Roms), then you’ll also need to pull /system/lib/libandroid_runtime.so from your phone and place it in subfolder input that you extracted in step 1
! If you’re interested in getting arabic shaping in the Browser, pull file /system/lib/libwebcore.so from your phone and place it in subfolder input as well !
3. Double click on commands.exe. Do not close the black cmd screens that will pop up. Once the patch is done, you should get a patched framework.jar in the subfolder output.
4. Put file output/framework.jar in your phone at /system/framework/
5. Put file output/libandroid_runtime.so in your phone at /system/lib/
6. Put file output/libicuuc-arabic.so in your phone at /system/lib/ This is extremely important, failing to place this file will result in a boot loop of your deivce
7. If file exists: Place file output/libwebcore.so in your phone at /system/lib/
8. If file exists: Place file output/lib__bcore.so in your phone at /system/lib/
Also included, the Aljazeera fonts in fonts. You can place these in /system/fonts and reboot Sometimes permissions and xml data doesn’t get updated correctly resulting in corrupted data entries. If you receive a bunch of Force Closes after a reboot, you’ll need to Factory Reset.
3) HowTo apply the patch
3.2) ...with a .zip Rom
1. Download Arabic Patcher and extract it
1.1 Download the Rom you want to patch
2. Extract the .zip of your Rom and search for /system/framework/framework.jar. Pull it and place it in the subfolder called "input" that you extracted in step 1. If you’re not using a CyanogenMod ROM (like Stock I9003 Roms), then you’ll also need to pull /system/lib/libandroid_runtime.so from your phone and place it in subfolder input that you extracted in step 1
! If you’re interested in getting arabic shaping in the Browser, pull file /system/lib/libwebcore.so and place it in subfolder input as well !
3. Double click on commands.exe. Do not close the black cmd screens that will pop up. Once the patch is done, you should get a patched framework.jar in the subfolder output.
4. Put file output/framework.jar in .zip at /system/framework/
5. Put file output/libandroid_runtime.so in .zip at /system/lib/
6. Put file output/libicuuc-arabic.so in .zip at /system/lib/ This is extremely important, failing to place this file will result in a boot loop of your deivce
7. If file exists: Place file output/libwebcore.so in .zip at /system/lib/
8. If file exists: Place file output/lib__bcore.so in .zip at /system/lib/
Also included, the Aljazeera fonts in fonts. You can place these in /system/fonts and reboot Sometimes permissions and xml data doesn’t get updated correctly resulting in corrupted data entries. If you receive a bunch of Force Closes after a reboot, you’ll need to Factory Reset.
nice info dude
How about Asian language? Eg. Chinese? Any method to make a patch?
Sent from my GT-I9003 using XDA Premium App
Nice One dude as many are requesting for that...
I'll try it man... but if this works then you are officially my new Hero !!!
Ok it works Fine man you r a genius !!! i used it on Cranium.zip & then i flashed it & it now can read Arabic fonts Properly, but Arabic is not included in the Local settings therefore no Arabic Keyboard...
but i have one more Question though... if i used a theme & replaced Framework.jar file do i have to patch it again ?!
iceman-x9 said:
Ok it works Fine man you r a genius !!! i used it on Cranium.zip & then i flashed it & it now can read Arabic fonts Properly, but Arabic is not included in the Local settings therefore no Arabic Keyboard...
but i have one more Question though... if i used a theme & replaced Framework.jar file do i have to patch it again ?!
Click to expand...
Click to collapse
Yes, you have to apply the path again.
See attachement for an arabic keyboard, install it and then under "language in and output" (or sth like that) aktivate it. (I idon´t tested it, but it should work)
PS: Press thanks button
Thanks fuss132 Nice tutorial it will help a lot
thanx man realy>>ur my hero
thanks fuss.....i had already found this,but the whole page was in arabic and translate sucks
Thanks for the Info
you are my hero
it works like charm
Only works on custom ROM's, meaning I can only use it if i have Cranium or CM7 when they make it right?
Baladya said:
Only works on custom ROM's, meaning I can only use it if i have Cranium or CM7 when they make it right?
Click to expand...
Click to collapse
thats not true i'm using it in XXKPM without any problems
thx... work fine in my xxkpm...
does any one test it on XXKB3 ?
nimafire said:
does any one test it on XXKB3 ?
Click to expand...
Click to collapse
It´s working on Froyo, too.
Only requires Android 2.1+
problem in messages
thanks for the big efforts , but i have problem when sending messages from my i9003 2.3.6 custom rom ,the recipient have squares instead from arabic letters.
could you help please....

manoo's addon for Cranium RC7 (now containg xperia launcer)

this addon contains
1 Samsung weather widget (like in galaxy s2)
2 Digital clock two version (samsung s2 version and xepria arc version)
3 social hub and reader hub
4 xepria arc launcher
5 Genie widget
there are no changes in boot.img and superuser.apk
Installation guide
1 install Cranium RC7. (if u already have it then skip this step)
2install the zip file using CMW recovery.
Download link
http://www.multiupload.com/I8QCKA5QRU
thanks..... i will try it..
I think you can call this an addon for Cranium v7, or is it really a ROM?
*Cranium ROm
Well,its not a ROM,its an Addon
alrigth i will rename it as a addon
manoo2 said:
alrigth i will rename it as a addon
Click to expand...
Click to collapse
Change the topic too (no offense)
Hi Manoo,
Thanks for sharing, always good to see addons, tweaks and new ROMs.
Nevertheless, some questions:
Isn't this just a set of apk's? Why use the whole RC7u1 script for this?
Also, what did you change in the following components (they are all different than the ones included in RC7u1):
boot.img
superuser.apk
su
I don't think any of these new apk's need other boot.img, superuser or su, right?
Regards,
Nika.
Idd, I think nikagl is right, what does boot.img and su.apk do there?
Also you should do the following stuff to make this post more attractive:
1. Add tags [ADDON] or [MOD] to the title. like: [ADDON][CRANIUM] - Manoo's addon for Cranium v7 -
2. Use some formatting for your post, like this:
Manoo's addon for Cranium v7
Description here Description here Description here Description here Description here
Features:
Feature 1
Feature 2
Feature 3
Feature 4
...
Click to expand...
Click to collapse
Installation Instructions
1. ...
2. ...
3. ...
Download
http://....
I think you can figure out the rest yourself
nikagl said:
Hi Manoo,
Thanks for sharing, always good to see addons, tweaks and new ROMs.
Nevertheless, some questions:
Isn't this just a set of apk's? Why use the whole RC7u1 script for this?
Also, what did you change in the following components (they are all different than the ones included in RC7u1):
boot.img
superuser.apk
su
I don't think any of these new apk's need other boot.img, superuser or su, right?
Regards,
Nika.
Click to expand...
Click to collapse
i had to make a flashable zip since the some of the apks (live weather widget from samsung and digital clock) could not be simiply installed or even by placing it in the system/apps so i made this flashable zip
As for the components i did not change any of them
Can other rom use this addon too?
1)R u sure Polaris Office works?its depends on a specific library,which u haven't included.
2)*Launcher
U didnt add IncrediControl and No-Frills CPU control!They are a must
i will add that in my next release and also i will include the lib files for polarises office also i will include lp sense in it and some screenshot but i have exams coming up so i will make a release sometime later
manoo2 said:
i will add that in my next release and also i will include the lib files for polarises office also i will include lp sense in it and some screenshot but i have exams coming up so i will make a release sometime later
Click to expand...
Click to collapse
before you do that please give your main post some formatting, it looks really messy tbh.
http://forum.xda-developers.com/showpost.php?p=21108852&postcount=8
I already posted an example
manoo2 said:
i had to make a flashable zip since the some of the apks (live weather widget from samsung and digital clock) could not be simiply installed or even by placing it in the system/apps so i made this flashable zip
As for the components i did not change any of them
Click to expand...
Click to collapse
Can you wirte how you make this flashable zip?
I need install few apps, eg. gtalk
piotrsiem said:
Can you wirte how you make this flashable zip?
I need install few apps, eg. gtalk
Click to expand...
Click to collapse
To make flashable zip files u need the following things
1 An unmodified flashable zip ( http://sakindia123.prophecy.li/downloads/RC7/RC7_Update1_CWM.zip) u can get it from here
2 Winrar
follow hese steps
1 open the the zip file in winrar.
2 Click on system directory. then click on the app directory
3 now drag and drop those apks in here and once winrar is done compressing them. copy the zip file into ur sd card and flash with cmw recovery
what in the case when some application is not in the system directory?
manoo2 said:
i will add that in my next release and also i will include the lib files for polarises office also i will include lp sense in it and some screenshot but i have exams coming up so i will make a release sometime later
Click to expand...
Click to collapse
does this MOD modify the status bar also?I don`t wanna change the 14 buttons I have atm?
no i does not have the status bar mod
piotrsiem just simply drag and drop the apk file u are having into the directory. if still u need help then give me the apk file links and i will make a flashable zip for u and upload that file here
I understood, if I had trouble with this I will ask you for help

[Q] Structure of .deodex files

Hi,
Since non of links in the Team Lamber Corrosion does works (only main download link), I would like to know, what is structure of .deodex files used in your program.
I've got stock JPU right now, and I would like to deodex it using Team Lambert app.
I got a little concept - it's .zip file inside of wich are deodexed .apk without .odex files, and then the name is changed to .deodex
PROGRAM LINK: http://forum.xda-developers.com/showthread.php?t=1161176
I have deodexed the XXJPU by myself with xUltimate
takes a lot of time
why dont you save your time and use an already deodexed XXJPU ROM?
-> http://forum.xda-developers.com/showpost.php?p=18894408&postcount=78
Install the deodexed ROM and use UOT Kitchen for pimping.
Cheers
qaysed
Well, it says "Wrong sim card", common error with JPU modifications,
doesn't appear in stock JPU.
And as far as i know, it only appears with my operator (never seen someone's post about similar bug)
Well, if you have flashed it with xUltimate, maybe you know the answer to my friends topic (we are both trying to deodex our phones, we both have G3)
http://forum.xda-developers.com/showthread.php?t=1376985
it´s late right now, checking sekhargreen´s commands... on the first sight.. great, but not checked in detail
I have found a script in a german forum which was concepted for i9000, I just took it and modded it for G3 needs.
heres the link for the complete update*.zip which I used for deodexing my XXJPU.
http://www.mediafire.com/?6h5u6157yh402nf
Well...
1. install stock xxjpu
2. install G3 Mod kernel (to use CWM)
I have installed G3mod Kernel 2.3 NON OC
-boot into cwm
-update zip
-choose update file )or something like that, not only update.zip)
toggle for it, agreem, wait for copying the files
have fun!
or take the easy way and use the already deodexed ROM, link given above...
the deodexed ROM above is already rooted... very comfortable way
The choice is up to you both.
Cheers
qaysed
qaysedcftgb said:
i-boot into cwm
-update zip
-choose update file )or something like that, not only update.zip)
toggle for it, agreem, wait for copying the files
Click to expand...
Click to collapse
Could you please explain more about above?
to use CWM (clockworkmod) you need a kernel which supports cwm
->I have G3Mod Kernel running
http://forum.xda-developers.com/showthread.php?t=1252698
The way is described in the first posting:
3.2) Select .zip from sdcard
Stock kernel doesnt have CWM.
Just flash the non OC kernel and you have cwm without overclocking. Runs like stock kernel.

Modyfying existing ROM

Hi,
I decided to try to make a modification of an existing ROM which would suit me better right after flashing. Nothing large, only adding some apps and stuff. But Ive got a couple of questions:
1) Ive read some apps cant run from /system partition. Looks like that (at least) one of mine is one of them - it FCs when in /system/apps or /system/priv-apps. Is there any workaround to make this work? I dont want to lose it when doing factory reset (or to flash the ROM again after every factory reset).
2) I wanted to add langunages (http://forum.xda-developers.com/showthread.php?t=2602704) but according to forums those files are odexed. How could I deodex them to make them run on an deodexed ROM?
3) I want to include the faux kernel but Im not sure if simply copying those files into the ROM would do ... in the other cases it went ok but Im not sure about the kernel - Im afraid I could break something.
4) Can I also use the ROM file to store other files? I mean - if I put files into the ROM in /data/media/0/ would it simply appear in my home directory or could this break anything - by which I mean to destroy my existing files?
Thanks for any leads!
michalurban said:
Hi,
I decided to try to make a modification of an existing ROM which would suit me better right after flashing. Nothing large, only adding some apps and stuff. But Ive got a couple of questions:
1) Ive read some apps cant run from /system partition. Looks like that (at least) one of mine is one of them - it FCs when in /system/apps or /system/priv-apps. Is there any workaround to make this work? I dont want to lose it when doing factory reset (or to flash the ROM again after every factory reset).
2) I wanted to add langunages (http://forum.xda-developers.com/showthread.php?t=2602704) but according to forums those files are odexed. How could I deodex them to make them run on an deodexed ROM?
3) I want to include the faux kernel but Im not sure if simply copying those files into the ROM would do ... in the other cases it went ok but Im not sure about the kernel - Im afraid I could break something.
4) Can I also use the ROM file to store other files? I mean - if I put files into the ROM in /data/media/0/ would it simply appear in my home directory or could this break anything - by which I mean to destroy my existing files?
Thanks for any leads!
Click to expand...
Click to collapse
1) What is the app? on system/app they should work fine since kitkat update, i think
2) To deodex i used a kitchen i got out of foro nexus (cant get the link atm) that only worked on linux. If you want to translate things in your rom, i think it can be done without deodexing, im not sure.
3) Copy paste should work fine but if you take a look at faux's meta inf, see what's there, merge it with your rom's meta inf. But it should work with cp
4) You can use the meta inf to link files to storage like your sdcard, yes. However, if you try to put a wallpaper somewhere inside the rom it wont show up
anerik said:
1) What is the app? on system/app they should work fine since kitkat update, i think
2) To deodex i used a kitchen i got out of foro nexus (cant get the link atm) that only worked on linux. If you want to translate things in your rom, i think it can be done without deodexing, im not sure.
3) Copy paste should work fine but if you take a look at faux's meta inf, see what's there, merge it with your rom's meta inf. But it should work with cp
4) You can use the meta inf to link files to storage like your sdcard, yes. However, if you try to put a wallpaper somewhere inside the rom it wont show up
Click to expand...
Click to collapse
Thanks very much for your reply! Now:
1) The app is a game, Traffic Racer. When I flash a ROM where this app has been put in /data/app it runs fine. In /system/app or /system/priv-app it FCs. As you say it should work Ill try to do it again - but I tried it twice in /system/priv-app and once in /system/app already so I dont believe it would work. BTW I use APKs from update.zip created by TiBa if it could be relevant.
2) Linux is not a problem so Ill try to find the link here.
3) Ill try only to copy the files first before messing with meta files.
4) I only want to store some apps config backup files (for Apex launcher and Agenda widget mainly).
michalurban said:
Thanks very much for your reply! Now:
1) The app is a game, Traffic Racer. When I flash a ROM where this app has been put in /data/app it runs fine. In /system/app or /system/priv-app it FCs. As you say it should work Ill try to do it again - but I tried it twice in /system/priv-app and once in /system/app already so I dont believe it would work. BTW I use APKs from update.zip created by TiBa if it could be relevant.
2) Linux is not a problem so Ill try to find the link here.
3) Ill try only to copy the files first before messing with meta files.
4) I only want to store some apps config backup files (for Apex launcher and Agenda widget mainly).
Click to expand...
Click to collapse
Oh, games could cause issues, yes. Better leave it on data app. Messing with meta inf is totally easier than it sounds anyways and could help fixing any possible bugs, you gotta try it. Backup files i dont think they'll work on the rom but you can store them into storage/emulated/legacy which is the storage, though you could do this any other easier way
anerik said:
Oh, games could cause issues, yes. Better leave it on data app. Messing with meta inf is totally easier than it sounds anyways and could help fixing any possible bugs, you gotta try it. Backup files i dont think they'll work on the rom but you can store them into storage/emulated/legacy which is the storage, though you could do this any other easier way
Click to expand...
Click to collapse
Thanks again! Ive got one more question about including the faux kernel. The updater-script is supposed to run this command during the installation in CWM:
Code:
package_extract_file("boot.img", "/dev/block/platform/msm_sdcc.1/by-name/boot");
... which I dont know how to implement. If I would only copy all files it would overwrite the original boot.img (Kitkat+ 1.1 original anyway) - which im not sure is the same. So Im not sure if it wont screw something up ...
Or is this extraction the same as copying it? Does the "/dev/block/platform/msm_sdcc.1/by-name/boot" just mean - "its a block device on first SD, partition name boot"?
michalurban said:
Thanks again! Ive got one more question about including the faux kernel. The updater-script is supposed to run this command during the installation in CWM:
Code:
package_extract_file("boot.img", "/dev/block/platform/msm_sdcc.1/by-name/boot");
... which I dont know how to implement. If I would only copy all files it would overwrite the original boot.img (Kitkat+ 1.1 original anyway) - which im not sure is the same. So Im not sure if it wont screw something up ...
Or is this extraction the same as copying it? Does the "/dev/block/platform/msm_sdcc.1/by-name/boot" just mean - "its a block device on first SD, partition name boot"?
Click to expand...
Click to collapse
Put faux's boot.img on the rom first, then on updater script go to the line that refers to extracting boot.img (should be like the last one) and replace that with the command on faux's updater script. That means it will extract it in that directory, nothing else. Be sure to copy modules aswell and set the perms
Q&A threads should be created in the Q&A forum... not the Development forum.
Thread moved.
One more question - is there a special way how to pack the ZIP file? Cause I unpacked a ROM, added some apks, packed it but it didnt work (no error, just ended at "opening rom" or what the CWM message is) ... but when I modified existing ZIP it went fine ...

Need some help regarding Odex Files and corresponding apks

Hi guys, I got this problem in my odexed stock rom, I have this problem in sysui, gallery and calculator.
I downloaded 4.2.2 style sysUI, pushed it in the respective folder by replacing with its stock sysUI.
I rebooted my core, the statusbar was gone, so I deleted 'SystemUI.odex" file, then rebooted it worked!
In the same way, I replaced stock gallery with note3 gallery, and stock SecCalculator2
Luckily note3 gallery worked, but it doesn't support Sim2 so I can't change Sim2's wallpaper or make it same as Sim1's.
In the statusbar, I can't see most notification cuz its completely transparent, and also its a bit laggy.
Calculator never worked
So I wanted to replace these with stock, when I pushed it in system>apps> I noticed that there were no .odex files for .apks
I replaced them with their stock odex files, none of 'em worked, I guess cuz of the odex thing, so I again deleted odex files and rebooted, nothing worked..
Now, I need some developer's advice, plz don't tell me to "Flash Stock Rom via Odin" I can't do it...
Is there any other left way to make them work plz I need help..
You are saying 'in my deodexed rom' and then you said 'deleted. Odex file for systemUI'
How could this be possible?
If you have .Odex files in system/apps folder then your ROM is not odexed.
Deodex it first using xUltimate tool
And yup Don't forget to set permissions = rw--r--r--
M_E_G_A_T_R_O_N said:
You are saying 'in my deodexed rom' and then you said 'deleted. Odex file for systemUI'
How could this be possible?
If you have .Odex files in system/apps folder then your ROM is not odexed.
Deodex it first using xUltimate tool
And yup Don't forget to set permissions = rw--r--r--
Click to expand...
Click to collapse
Sorry bro, huge typo. I meant in my odex rom and yes I set the proper permissions...
Well, it seems to me that you have messed up your phone alot.. Flashing stock rom via odin would've been the correct solution to this problem. It's not as difficult as you think, and you're capable of doing it. Follow thecoreguy's tutorial for that.
CoreGuy said:
Sorry bro, huge typo. I meant in my odex rom and yes I set the proper permissions...
Click to expand...
Click to collapse
Then you have done wrong.
Not every apk can be used by just deleting the .odex file.
You need to deodex the apps in system/app and system/framework folder then you can easily replace the apks.
1.First restore back to any working backup.
2.Download xUltimate Tool.
3. Run it.
4. Then just run commands with options 1,2,3,4 (You just need to type 1 and then enter, then 2 and then enter, so on upto option 4.)
5. Exit after executing 4th option.
6. Download ADB tool(don't download the complete package, you will get a 1-2MB ADB.exe from the from itself) - Use it to push the deodexed files made from xultimate.
---------- Post added at 09:47 AM ---------- Previous post was at 09:22 AM ----------
If you find it difficult then Better you upload the apks with their respective odex file. I will deodex those apks
M_E_G_A_T_R_O_N said:
Not every apk can be used by just deleting the .odex file.
Click to expand...
Click to collapse
Not even the stock apks? I want to replace the ported/modded apks with the stock ones..
No you can't because almost all stock apks have their respective odex files and every odex file contains resources that are needed to run those apks. Also there exists dependencies in system/framework folder. So just deleting odex file won't work all time.
Finally got it! Special thanks to megatron
Solution if u r screwed in my situation: don't panic, what I found why I cant do it was bcuz my phone has dat "newest" update of samsung ota. So b4 u take someone's apk and odex file always cross check this(image)
And then you are gud to go!!! U wont even need to restart it'll come automatically(my dad has same phone and same updated version as mine so I copied everything needed frm his phone to mine) @AnsleyC at times, the answer should not be "flash stock rom via ODIN" if u have a crappy pc, u can either repair faulty parts(easier and efficient) or buy a new one(bullcrap)
Have fun everyone!
Sent from my GT-I8262 using XDA Premium 4 mobile app

Categories

Resources