Help
when I'm trying to recompile the systemui.apk, it's fail and I got this message:
CANNOT LINK EXECUTABLE: cannot locate symbol "_ZN7android12AssetManager12addAssetPathERKNS_7String8EPi" referenced by "/data/data/per.pqy.apktool/apktool/openjdk/bin/aapt5.1"...
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/apktool/openjdk/bin/aapt5.1, p, --min-sdk-version, 22, --target-sdk-version, 22, --version-code, 22, --version-name, 5.1.1-G531HDXU0AOK2, -F, /data/data/per.pqy.apktool/APKTOOL1125076432107735080.tmp, -0, arsc, -I, /data/data/per.pqy.apktool/1.apk, -S, /sdcard/SpeedSoftware/Extracted/SystemUI_src/res, -M, /sdcard/SpeedSoftware/Extracted/SystemUI_src/AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:458)
at brut.androlib.Androlib.buildResources(Androlib.java:396)
at brut.androlib.Androlib.build(Androlib.java:285)
at brut.androlib.Androlib.build(Androlib.java:256)
at brut.apktool.Main.cmdBuild(Main.java:225)
at brut.apktool.Main.main(Main.java:84)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/apktool/openjdk/bin/aapt5.1, p, --min-sdk-version, 22, --target-sdk-version, 22, --version-code, 22, --version-name, 5.1.1-G531HDXU0AOK2, -F, /data/data/per.pqy.apktool/APKTOOL1125076432107735080.tmp, -0, arsc, -I, /data/data/per.pqy.apktool/1.apk, -S, /sdcard/SpeedSoftware/Extracted/SystemUI_src/res, -M, /sdcard/SpeedSoftware/Extracted/SystemUI_src/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:419)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:444)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/apktool/openjdk/bin/aapt5.1, p, --min-sdk-version, 22, --target-sdk-version, 22, --version-code, 22, --version-name, 5.1.1-G531HDXU0AOK2, -F, /data/data/per.pqy.apktool/APKTOOL1125076432107735080.tmp, -0, arsc, -I, /data/data/per.pqy.apktool/1.apk, -S, /sdcard/SpeedSoftware/Extracted/SystemUI_src/res, -M, /sdcard/SpeedSoftware/Extracted/SystemUI_src/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:413)
... 6 more
I: Using Apktool 2.0.0-07ea41-SNAPSHOT
I: Smaling smali folder into classes.dex...
I: Building resources...
Why does it happen? I don't know what the mean....
Please help me
thanks
(sorry bad english)
Here's the SystemUi which I tried to modify it (I want change the lockscreen icon to s7 style) but I fail for recompile it....
https://drive.google.com/file/d/0Bww_NBK_PaX0X09zdEtHWU1kQjA/view?usp=docslist_api
Sent from my SM-G531H using XDA-Developers mobile app
any screenshot?
Hmm...I tried for modifying this ui by changing the old lockscreen icon with the new icon,
so I decompile the systemui and replace the old icon to the new one
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Old icon...
New icon....
but after change it, I want to recompile it...and I got log and said "Fail"
Sent from my SM-G531H using XDA-Developers mobile app
Hey can you give me a link for that apktool ? Thanks
Don't forget to press the thanks button if i helped ?
Related
Hi all, I'm doing sth. to O2 XDA Stealth rom.
But I found that the "files" (not "modules") in XIP are all compressed, boot.hv looks just like this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I compared the file with some other compressed files, and considered that the file was probabily compressed by LZX arithmetic.
So I tried to decompress the file with cecompr_nt.dll, and here is some codes:
Code:
HMODULE hDll= LoadLibrary(_T("G:\\Projects\\TestCompCE\\cecompr_nt.dll"));
if (hDll==NULL || hDll==INVALID_HANDLE_VALUE) {
printf("ERROR - Can not load the cecompr_nt library\n");
return -1;
}
FILE * hTest = NULL;
_tfopen_s(&hTest,_T("boot.hv"),_T("rb"));
int iSize =0;
fseek(hTest,0,SEEK_END);
iSize = ftell(hTest);
fseek(hTest,0,SEEK_SET);
BYTE * pBuf1 = (BYTE *)malloc(iSize);
BYTE * pBuf2 = (BYTE *)malloc(iSize);
fread_s(pBuf1,iSize,iSize,1,hTest);
fclose(hTest);
ZeroMemory(pBuf2,iSize);
FNCompressOpen CompressOpen= NULL;
FNCompressConvert CompressConvert= NULL;
FNCompressClose CompressClose= NULL;
CompressOpen= (FNCompressOpen)GetProcAddress(hDll, ("LZX_DecompressOpen"));
CompressConvert= (FNCompressConvert)GetProcAddress(hDll, ("LZX_DecompressDecode"));
CompressClose= (FNCompressClose)GetProcAddress(hDll, ("LZX_DecompressClose"));
if (CompressOpen==NULL || CompressConvert==NULL || CompressClose==NULL) {
printf("ERROR - Can not find the compression functions in the library\n");
FreeLibrary(hDll);
return -2;
}
DWORD stream = CompressOpen(0x10000, iSize, Compress_AllocFunc, Compress_FreeFunc, 0);
if (stream == NULL || stream==0xFFFFFFFF) {
printf("ERROR - CompressOpen");
return 14;
}
DWORD res=CompressConvert( stream, pBuf1,0x1AFF,pBuf2,iSize);//Compressed size of boot.hv is 0x1AFF
return 0;
But the CompressConvert function always returns 0 or -1 (i.e. failed)
So can anyone please tell me what's wrong with it? Is it not a LZX compressed file? Does I use wrong decompress function? Or there is no way to decompress it at all?
I found quite a number of ROMs have compressed files in XIP, such as O2 XDA Stealth, ASUS P525, ASUS P535 etc... So if we can decompress it, we should have much more stable and useful ROMs.
Thanks for your help and reading my post, and I appologize for my poor English.
PDA: I8150JPLB1
PHONE: I8150XXLB4
CSC: I8150OJPLB1
Code:
# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=GINGERBREAD
ro.build.display.id=GINGERBREAD.JPLB1
ro.build.version.incremental=JPLB1
ro.build.version.sdk=10
ro.build.version.codename=REL
ro.build.version.release=2.3.6
ro.build.date=Thu Feb 23 15:28:52 KST 2012
ro.build.date.utc=1329978532
ro.build.type=user
ro.build.user=dpi
ro.build.host=DELL136
ro.build.tags=release-keys
ro.product.model=GT-I8150
ro.product.brand=samsung
ro.product.name=GT-I8150
ro.product.device=GT-I8150
ro.product.board=GT-I8150
ro.product.cpu.abi=armeabi-v7a
# Samsung Specific Properties
ro.build.PDA=I8150JPLB1
ro.build.hidden_ver=I8150JPLB1
ro.build.changelist=987894
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=samsung
ro.product.locale.language=ar
ro.product.locale.region=AE
ro.wifi.channels=
ro.board.platform=msm7k
# ro.build.product is obsolete; use ro.product.device
ro.build.product=GT-I8150
# Do not try to parse ro.build.description or .fingerprint
ro.build.description=GT-I8150-user 2.3.6 GINGERBREAD JPLB1 release-keys
ro.build.fingerprint=samsung/GT-I8150/GT-I8150:2.3.6/GINGERBREAD/JPLB1:user/release-keys
# Samsung Specific Properties
ro.build.PDA=I8150JPLB1
ro.build.hidden_ver=I8150JPLB1
ro.build.changelist=987894
ro.tether.denied=false
ro.flash.resolution=1080
# end build properties
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
CSC = MID - UNITED ARAB EMIRAT
http://hotfile.com/dl/149010931/69afad5/GT-I8150_MID__I8150JPLB1_I8150OJPLB1_I8150XXLB4.zip.html
Is there tutorial guide us to use odin for galaxy w ?
Thank you so much
---------- Post added at 04:02 AM ---------- Previous post was at 03:15 AM ----------
Installation guide
1- download odin it is include ancora.ops from here
2- download latest official rom form here
3- open Odin and select Ops choose ancora.ops
4- Mark on One Package and select rom
5- hit Start it will take around 5 min.
Special Thanks to:
Przekret to offer rom
fender90 to offer odin link
Enjoy
My original thread
Here
Hi guys,
! If you know where my topic will have more success, please tell me, there are too many forums on XDA !
I have a Jiayu S2 MT6592. I wanted to make a full backup of my rom. (system + cache + user data etc..)
With the new version of SP Flashtool ( SP_Flash_Tool_exe_Windows_v5.1416.00 ), I did it !
I also made files for SP Flashtool thanks to MTKDroidtool.
You can find the full scatter here : http://pastebin.com/vBP89vjB
For the backup, I stopped to FAT partition.
Code:
for userdata
linear_start_addr: 0x 4580 0000
physical_start_addr: 0x 4580 0000
partition_size: 0x1 0000 0000
FAT
linear_start_addr: 0x 1 4580 0000
My files :
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
You see, I have every files and the scatter is correct.
But when I load the scatter into SP Flashtool, Flashtool isnt able to load my data.img with correct adresses ...
I already tried to load manually but it doesnt work.
I think it's because of the length of the address (9digits, 0x 1 0000 0000) instead of 8 for other partitions/blocks.
SPFT cant load the data.img with a size > 4GB maybe...
I can't contact the developers then I post here.
Could you help me ?
I really would like to backup and restore my whole phone with all data. ( really FULL backup )
Thank you very much.
Download latest Material album app...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Download:
https://drive.google.com/folder/d/0B-1jQJcHSJqaX3R5N1dxdWJJVU0/edit
hi all
somebody help, why can't decompile this app. i'm using latest apktool_2.0.0rc4 and 4.4.4 framework but error.
Code:
C:\apktool4.3>apktool.bat d SemcAlbum_7.0.A.0.24.apk
I: Using Apktool 2.0.0-RC4 on SemcAlbum_7.0.A.0.24.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Administrator\apktool\framework\1.apk
I: Regular manifest package...
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=touchscreenBlocksFocus, value=0xffffffff
I: Decoding values */* XMLs...
I: Loading resource table from file: C:\Users\Administrator\apktool\framework\2.apk
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x0101048f
at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:59)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:57)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:53)
at brut.androlib.res.decoder.ResAttrDecoder.decode(ResAttrDecoder.java:36)
at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(AXmlResourceParser.java:369)
at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValue(XmlPullParserDelegate.java:69)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartTag(StaticXmlSerializerWrapper.java:267)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(StaticXmlSerializerWrapper.java:211)
at brut.androlib.res.decoder.XmlPullStreamDecoder$1.event(XmlPullStreamDecoder.java:83)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDecoder.java:141)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamDecoderContainer.java:33)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:114)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:99)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:339)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:133)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:104)
at brut.apktool.Main.cmdDecode(Main.java:165)
at brut.apktool.Main.main(Main.java:81)
thanks for any helps
thanks bro
Need Lollipop Framework?
dkionline said:
Need Lollipop Framework?
Click to expand...
Click to collapse
Yes,I got lollipop framework from nexus 5 and SemcGenericUxpRes.apk from Kitkat and it worked
It's working on Note4...
Tnx for sharing...
Can't wait Z4 and the point where I'll throw Note 4 and come back to Sony...
See ya all guys in a few months in a new theme or mod thread..
hi all
i add Rotate Left to menu dropdown and it worked flawlessly but there was a problem when i want to Unhide a picture in Hidden tab it dont unhide but rotate left. Someone expert can help me, before i can make it work with SemcAlbum_6.3.A.0.12 no problem at all.
Finally I did it, working now
Y own a lumia 640 xl and a bluetooth media button.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
It have theese actions:
Volume up has key code 0xAF (175 decimal);
in Microsoft Windows this corresponds to VK_VOLUME_UP
‘Play/Pause’ has key code 0xB3 (179 decimal);
in Microsoft Windows this corresponds to VK_MEDIA_PLAY_PAUSE
‘Previous track/Rewind’ has key code 0xB1 (177 decimal);
in Microsoft Windows this corresponds to VK_MEDIA_PREV_TRACK
‘Next track/Fast’ forward has key code 0xB0 (176 decimal);
in Microsoft Windows this corresponds to VK_MEDIA_NEXT_TRACK
‘Volume down’ has key code 0xAE (174 decimal);
in Microsoft Windows this corresponds to VK_VOLUME_DOWN
‘ Home’ has key code 0xAC (172 decimal);
in Microsoft Windows this corresponds to Volume up has key code 0xAF (175 decimal);
in Microsoft Windows this corresponds to VK_VOLUME_UP
‘Play/Pause’ has key code 0xB3 (179 decimal);
in Microsoft Windows this corresponds to VK_MEDIA_PLAY_PAUSE
‘Previous track/Rewind’ has key code 0xB1 (177 decimal);
in Microsoft Windows this corresponds to VK_MEDIA_PREV_TRACK
‘Next track/Fast’ forward has key code 0xB0 (176 decimal);
in Microsoft Windows this corresponds to VK_MEDIA_NEXT_TRACK
‘Volume down’ has key code 0xAE (174 decimal);
in Microsoft Windows this corresponds to VK_VOLUME_DOWN
‘ Home’ has key code 0xAC (172 decimal);
in Microsoft Windows this corresponds to VK_BROWSER_HOME
I want to swap VK_BROWSER_HOME to something else, to start Cortana.
Can be made? Some app, bluetooth listener?
Or a change in file system ?
I didit on my tablet with full windows, now my bluetooth media button can open cortana
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AppKey]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AppKey\7]
"ShellExecute"="ms-cortana://Reactive/?StartMode=Reactive&ListeningMode=True"
Im trying to do.it on the phone, but shell32.dll is missing from system32 folder.