[Request] BLU VIVO IV Camera - Nexus 5 Q&A, Help & Troubleshooting

BLU VIVO IV has a nice Camera Stock Camera app, with many configs and modes, I pulled .apk and .odex from my father's phone and installed as system app into my Nexus 5 but I got FC, can anyone port it?? Thanks..
App Download: Dropbox
Screens:
{
"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"
}

rcoliveirajr said:
BLU VIVO IV has a nice Camera Stock Camera app, with many configs and modes, I pulled .apk and .odex from my father's phone and installed as system app into my Nexus 5 but I got FC, can anyone port it?? Thanks..
App Download: Dropbox
Screens:
Click to expand...
Click to collapse
can you get me the folder /system/framework?

opssemnik said:
can you get me the folder /system/framework?
Click to expand...
Click to collapse
Sure!, Click Here to download

rcoliveirajr said:
Sure!, Click Here to download
Click to expand...
Click to collapse
will need one more thing, this device (as all other mediacrap devices) haves a set of modifications to it´s dalvik / framework, these modifications are intended to block dissasembling of the *dex files. in order to bypass that i will need you to the following(it dosen´t require root, however it requires adb and a connection to the pc)
Download this zip:
http://d-h.st/XqG7
extract it to the adb folder, and connect the phone to the pc(with adb already setup on both, phone and pc)
run get_inline.bat(you can right click it -> edit to see the commands if you have any doubts)
after that upload both inline.txt(will be generated by get_inline.bat) and libdvm.so (this one is found at /system/lib) and post the link
or else i can´t decompile it:
Error occurred while disassembling class Lcom.android.camera.gallery3d.common.Ut
ils; - skipping class
java.lang.RuntimeException: Invalid method index: 32
at org.jf.dexlib2.analysis.CustomInlineMethodResolver.resolveExecuteInli
ne(CustomInlineMethodResolver.java:95)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeExecuteInline(MethodAna
lyzer.java:1422)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnaly
zer.java:941)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:20
2)
at org.jf.dexlib2.analysis.MethodAnalyzer.<init>(MethodAnalyzer.java:137
)
at org.jf.baksmali.Adaptors.MethodDefinition.addAnalyzedInstructionMetho
dItems(MethodDefinition.java:462)
at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefini
tion.java:370)
at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.ja
va:238)
at org.jf.baksmali.Adaptors.ClassDefinition.writeDirectMethods(ClassDefi
nition.java:283)
at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java
:112)
at org.jf.baksmali.baksmali.disassembleClass(baksmali.java:226)
at org.jf.baksmali.baksmali.access$000(baksmali.java:56)
at org.jf.baksmali.baksmali$1.call(baksmali.java:150)
at org.jf.baksmali.baksmali$1.call(baksmali.java:148)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

opssemnik said:
will need one more thing, this device (as all other mediacrap devices) haves a set of modifications to it´s dalvik / framework, these modifications are intended to block dissasembling of the *dex files. in order to bypass that i will need you to the following(it dosen´t require root, however it requires adb and a connection to the pc)
Download this zip:
http://d-h.st/XqG7
extract it to the adb folder, and connect the phone to the pc(with adb already setup on both, phone and pc)
run get_inline.bat(you can right click it -> edit to see the commands if you have any doubts)
after that upload both inline.txt(will be generated by get_inline.bat) and libdvm.so (this one is found at /system/lib) and post the link
or else i can´t decompile it:
Error occurred while disassembling class Lcom.android.camera.gallery3d.common.Ut
ils; - skipping class
java.lang.RuntimeException: Invalid method index: 32
at org.jf.dexlib2.analysis.CustomInlineMethodResolver.resolveExecuteInli
ne(CustomInlineMethodResolver.java:95)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeExecuteInline(MethodAna
lyzer.java:1422)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnaly
zer.java:941)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:20
2)
at org.jf.dexlib2.analysis.MethodAnalyzer.<init>(MethodAnalyzer.java:137
)
at org.jf.baksmali.Adaptors.MethodDefinition.addAnalyzedInstructionMetho
dItems(MethodDefinition.java:462)
at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefini
tion.java:370)
at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.ja
va:238)
at org.jf.baksmali.Adaptors.ClassDefinition.writeDirectMethods(ClassDefi
nition.java:283)
at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java
:112)
at org.jf.baksmali.baksmali.disassembleClass(baksmali.java:226)
at org.jf.baksmali.baksmali.access$000(baksmali.java:56)
at org.jf.baksmali.baksmali$1.call(baksmali.java:150)
at org.jf.baksmali.baksmali$1.call(baksmali.java:148)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Click to expand...
Click to collapse
Ok bro, I'm not with the phone right now (i'll get only on the weekend probably..), but I will send you as soon as I can.

opssemnik said:
will need one more thing, this device (as all other mediacrap devices) haves a set of modifications to it´s dalvik / framework, these modifications are intended to block dissasembling of the *dex files. in order to bypass that i will need you to the following(it dosen´t require root, however it requires adb and a connection to the pc)
Download this zip:
http://d-h.st/XqG7
extract it to the adb folder, and connect the phone to the pc(with adb already setup on both, phone and pc)
run get_inline.bat(you can right click it -> edit to see the commands if you have any doubts)
after that upload both inline.txt(will be generated by get_inline.bat) and libdvm.so (this one is found at /system/lib) and post the link
or else i can´t decompile it:
Error occurred while disassembling class Lcom.android.camera.gallery3d.common.Ut
ils; - skipping class
java.lang.RuntimeException: Invalid method index: 32
at org.jf.dexlib2.analysis.CustomInlineMethodResolver.resolveExecuteInli
ne(CustomInlineMethodResolver.java:95)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeExecuteInline(MethodAna
lyzer.java:1422)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnaly
zer.java:941)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:20
2)
at org.jf.dexlib2.analysis.MethodAnalyzer.<init>(MethodAnalyzer.java:137
)
at org.jf.baksmali.Adaptors.MethodDefinition.addAnalyzedInstructionMetho
dItems(MethodDefinition.java:462)
at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefini
tion.java:370)
at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.ja
va:238)
at org.jf.baksmali.Adaptors.ClassDefinition.writeDirectMethods(ClassDefi
nition.java:283)
at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java
:112)
at org.jf.baksmali.baksmali.disassembleClass(baksmali.java:226)
at org.jf.baksmali.baksmali.access$000(baksmali.java:56)
at org.jf.baksmali.baksmali$1.call(baksmali.java:150)
at org.jf.baksmali.baksmali$1.call(baksmali.java:148)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Click to expand...
Click to collapse
Sorry for the long time, I just got the phone right now, Here are the files

Related

[TOOL]QtADB (AndroidManager for Linux, Windows and MacOS)

hello,
QtADB is window app based on adb.it lets you to copy,remove etc your files and apps from PC and Android Phone
This app is under developing so be tolerant for any bug...
visit QtADB website: http://qtadb.wordpress.com/
Features:
1. File manager
-copying files and dirs between phone and computer
-removing files and dirs
-creating new dir
-and other
2. App manager
-installing apps
-removing apps
-creating backup of apps with data
-restoring backups of apps with data
3. Shell
-opens android shell
4. Screenshot
-take screenshot of your device
-save screenshot to png file
5. Fastboot
-flash bootloader, radio and recovery
-boot recovery
6. Recovery
-nandroid backup/restore
-wipe data
-flash rom
-wipe battery stats
-fix uid mismatches
7. Reboot
-to bootloader
-to recovery
-normal reboot
8. Settings
-set font used by app
-set starting paths (or remember paths on exit)
-and other
9. Automatically detects phone (device, fastboot and recovery mode)
it requires installed AndroidSDK and busybox on phone (so and root)
linux and macOS version reguires installed Qt libraries(libqtgui4, libqt4-declarative and libqt4-network 4.7 version)(install it from synaptic or some similar app)
if you have connected phone but the file list is empty run with root permisions:
1)adb kill-server
2)adb start-server
or:
create file:
gksudo gedit /etc/udev/rules.d/51-android.rules
and insert this line:
SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"
Ive got HTC Magic with Cyan6 and im testing everything on this. QtADB should work with every phone with busybox
if you have any suggestions/questions or you found any bug please let me know
{
"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"
}
More screenshots on official site
I am not responsible for damage done to your phone while using QtADB.
DOWNLOAD FROM OFFICIAL SITE
Do You miss fome feature that QtADB doesn't have? please post Your idea here: http://qtadb.uservoice.com/forums/87039-general
[size=+2]DO YOU HAVE SOME PROBLEMS WITH QTADB? PLEASE READ FAQ FIRST[/size]
If You like QtADB please consider donation:
What language is the windows version written in? Are the libraries able to be referenced from VS?
both versions are in c++ and this is the one source code compiled under windows and linux. it requires Qt libraries for VS
ps.i would like to add some screenshots but i have no permissions:/
where do i put the librays stuff?? im confused.... nvm i think i got it...
ok it says my phones connected for like 5seconds.. then it tells me to connect my phone.??
Nice app thanks!
wow this is AWESOME! thank you!
Looking good! Android management apps are really coming out of the woodwork now
I've attached a screenshot of my own Android manager 'Spot'
Crashes when i try to access a directory on the phone. Win 7 x64 and HTC Desire.
At the beginning, it looks great to use, but then I tried to open any directory, it crashed and forced close
it crashes after 2 - 3 seconds after opening
Windows 7 Pro - HTC Magic 1.5 with Sens UI - official
Acidmax: i dont know why you are having this issues.maybe its because you are using 64bit system...(i will support 64bit when app will be done)
cryshop: what phone?what OS?is phone rooted?which dir are you trying to open (on sdcard/in system).give me something information
crysu_x: "it crashes" has many meanings...what do you see?what error is appearing?what busybox do you have?you have to be more specific
the new version with new upgrades and fixes is almost ready so be patient
Works great for what i've used it for so far. Thank you sir.
@7ymekk : I'm using Windows 7 32bit and rooted HTC Legend.
I tried to open /system folder on the phone.
you know what??if you want to use my app please wait couple of days...i will end my new version and if you'll have the same issue i'll investigate it
how do you install it with ubuntu?
download first attach from first post and install libqtgui4 from synaptic
Hi, this is giving me segfault. I have installed both Sdk and libqtgui4. when i run "adb devices" i can see my tattoo attached.
I run the app, it asks me for the sdk path , then i point it to the "tools" subfolder under the sdk folder and then it segfaults.
This occurs even if i run it with root privileges.
Am i doing anything wrong?
Thanks in advance
if you are expecting some help you have to be more specific! what distro, what phone...the more informations-the better
7ymekk said:
if you are expecting some help you have to be more specific! what distro, what phone...the more informations-the better
Click to expand...
Click to collapse
Oops,
I'm working under Ubuntu 10.04 with a htc tattoo phone.
maybe this evening i will upload new version with screenshots and a lot improvements so i recommend to wait a little if you still will have those problems i will look into this

[TOOL][WINDOWS]Sign-em! v2.0 ->Batch sign zip files | No signature verification error

[TOOL][WINDOWS]Sign-em! v2.0 ->Batch sign zip files | No signature verification error
Sign-em! v2.0​
Hi all! As we know, making zip files is a must no matter when we want to flash a new ROM, theme, mods and so on...but at times we need to sign the zip files before flashing them in recovery...especially ROM Makers or Themers, you may find it troublesome to sign your zip files via command prompt...even though there are already other scripts out there that can auto sign the files, but we still need to rename it one by one...and even though the zips are signed, but we still get "signature verification error" (usually in stock recovery)...
And that's what happened to me...so I decided to write a script to automate the whole process! There you have it: Sign-em!
This script will sign all your zip files with test keys. Instructions as below:
1. Download View attachment sign-em.zip.
2. Extract sign-em.zip anywhere on your PC.
3. Put your files in "Input".
4. Execute "sign-em.bat"
5. Your signed files will be in "Output", md5 checksum will be in a file named "md5.txt" in the same folder
**JRE is required
**IMPORTANT: DO NOT leave spaces when you name your zip files, e.g. "123 abc.zip" is a no go, "123abc.zip" is the correct way
Screenies:
{
"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"
}
Planned features:
- Option to set heap size
- Linux version
Changelog:
Code:
[U]v1.0[/U]
-Initial release
[U]v2.0[/U]
- Generates md5 checksum of signed zips
- Files are now properly signed (No more signature verification error)
Credits:
- http://www.pc-tools.net/win32/md5sums for Md5sums v1.2
Hope you will enjoy my work and please do not mirror my work!​
Feedbacks are welcomed too! ​
Good
Sent from my GT-I9100G using Tapatalk 2
Good Tool......... Thanks For It...:good::good:
it just creates an empty update.signed.zip
archacha said:
it just creates an empty update.signed.zip
Click to expand...
Click to collapse
You must have JRE installed and set in your PATH...I have been using it all the while...
Thanks :good:
It works great
Thanks Ryuinferno
Edit : I still get Signature verification Error.
Re: [DEV][TOOL][WINDOWS] Sign-em! v1.0 --> Batch sign zip files!!! No Hassles!!!
Lol...what you used?CWM or stock recovery?CWM zips do not need to be signed...
Ryuinferno said:
Lol...what you used?CWM or stock recovery?CWM zips do not need to be signed...
Click to expand...
Click to collapse
Stock. Trying to get things working on my Mom's Galaxy S Duos
Re: [DEV][TOOL][WINDOWS] Sign-em! v2.0 --> Batch sign zip files!!! No Hassles!!!
Hey guys...I just updated this tool...it now generates md5 checksum of signed zips and files are now properly signed (No more signature verification error)...hope that it helps...
Daaaayyyuum. It DOES really work. I've got no choice but to stay with stock ICS 4.0.4 and flashing CWM recovery will make bootloop. Now I can install some mods thru recovery e3. Man, You're great.
For people out there: if you have installed java jdk and it's not working you've got to make PATH to jdk. [Right click at My Computer and look for ->Environment Variables, under System Variables]
Re: [TOOL][WINDOWS]Sign-em! v2.0 ->Batch sign zip files | No signature verification e
Glad that it worked for you...
java.lang.IllegalArgumentException: MALFORMED
at java.util.zip.ZipCoder.toString(Unknown Source)
at java.util.zip.ZipFile.getZipEntry(Unknown Source)
at java.util.zip.ZipFile.access$900(Unknown Source)
at java.util.zip.ZipFile$1.nextElement(Unknown Source)
at java.util.zip.ZipFile$1.nextElement(Unknown Source)
at java.util.jar.JarFile$1.nextElement(Unknown Source)
at java.util.jar.JarFile$1.nextElement(Unknown Source)
at com.android.signapk.SignApk.addDigestsToManifest(SignApk.java:194)
at com.android.signapk.SignApk.main(SignApk.java:468)
Hello I get this error. I didnt know what is the problem. I am trying to make an update.zip to install all the apps I wanted to install after every flash of new rom.. Can you help me please? Thank you..
The zip file is corrupted...maybe the zip is too large...
I realised if the folder is empty, Im able to signed it. But when I put the .apk into data\app then I couldnt sign it anymore.. The zip file is just 3MB.. Is that consider large??? May I know what is the correct way to do an update.zip? Not placing apk files into data\app, zip it and sign it?? Correct me if Im wrong..
First, do you have a META-INF folder in your zip? If yes, this tool only signs zipped files, it does not zip it for you...if not, Google up on how make an update zip...this tool only gets it signed for you...
I created 2 folders.
First will be data\app and I paste my apk files inside app folder
Second is META-INF/com/google/android with update-script
Inside update-script I wrote:
show_progress 0.1 0
copy_dir PACKAGE:data ROOT:data
show_progress 0.1 10
After that I zip both data and META-INF into Update.zip and sign it. Then that error came out. Can you teach me how to make an update.zip to install apps? Thank you..
p/s: I get all this information from google.. I dont really know whether it works or not because Im not able to sign the file..
It won't work...try another guide...we use updater-script now...those commands are so outdated...and you need an update-binary too...and you need to mount data partition before extracting files...refer this: http://forum.xda-developers.com/showthread.php?t=1611615
Signing - XT_15.zip
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Arrays.java:2271)
at java.io.ByteArrayOutputStream.grow(ByteArrayOutputStream.java:113)
at java.io.ByteArrayOutputStream.ensureCapacity(ByteArrayOutputStream.java:93)
at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:140)
at java.util.zip.DeflaterOutputStream.deflate(DeflaterOutputStream.java:253)
at java.util.zip.DeflaterOutputStream.write(DeflaterOutputStream.java:211)
at java.util.zip.ZipOutputStream.write(ZipOutputStream.java:314)
at com.android.signapk.SignApk.copyFiles(SignApk.java:422)
at com.android.signapk.SignApk.main(SignApk.java:490)
Files signed successfully if no errors above...
Hope you enjoyed my work...
Ryuinferno @ XDA 2013
you can help me dude..??
what's wrong ??
Signing - .ubuntu.zip
Signing - f16ref-ota-eng.ubuntu.zip
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Unknown Source)
at java.io.ByteArrayOutputStream.grow(Unknown Source)
at java.io.ByteArrayOutputStream.ensureCapacity(Unknown Source)
at java.io.ByteArrayOutputStream.write(Unknown Source)
at java.util.zip.DeflaterOutputStream.deflate(Unknown Source)
at java.util.zip.DeflaterOutputStream.write(Unknown Source)
at java.util.zip.ZipOutputStream.write(Unknown Source)
at com.android.signapk.SignApk.copyFiles(SignApk.java:422)
at com.android.signapk.SignApk.main(SignApk.java:490)
Files signed successfully if no errors above...
Hope you enjoyed my work...
Ryuinferno @ XDA 2013
help please

MobyDroid - Android Device Manager (for Linux, Windows and MacOS)

Hello every one,
MobyDroid is a simple and cross-platform Android Devices Manager.
It runs on any operating system with Java support (Mac OS X, Windows, Linux, BSD, Solaris...).
THIS IS JUST A BETA RELEASE !
I have been running linux from while now. And what I noticed is there is no GUI Android Devices Manager until now (QtADB didn't work for me).
Basicly I kept using ADB command line and kept waiting for someone to make something or some alternatives.
Some day a friend of mine kept complaining about the same problem. After that, I decided to make a simple Apk installer with a graphical user interface. And something lead to another.
And I wanted to share it for any one having the same problem.
So here it is !
Prerequisites
Java Runtime Environment (JRE) 1.8 or later
ADB
BETA
THIS IS JUST A BETA RELEASE !
So you should expect a ton of bugs or crash issues.
if you encounter an issue or have a great ideas please file an issue.
Download
You can download from here.
Authors
Bilux ([email protected])
Link
MobyDroid
https://github.com/ibilux/MobyDroid
Screenshots
{
"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"
}
windows
Would love to try this out. Looks very nice. Attempting on Windows 10. I have ADB and Java installed. Getting an error that cannot run adb. Ideas?
Aug 06, 2018 12:39:30 PM Y a
INFO: [Logger] : initialized.
Aug 06, 2018 12:39:30 PM Y a
SEVERE: [JadbLauncher] : java.io.IOException: Cannot run program "adb": CreateProcess error=2, The system cannot find the file specified.
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: 20
at java.lang.String.substring(Unknown Source)
at au.a(Unknown Source)
at java.util.HashMap$Values.forEach(Unknown Source)
at au.b(Unknown Source)
at au.<init>(Unknown Source)
at com.hq.mobydroid.MobyDroid.main(Unknown Source)
sunshynman said:
Would love to try this out. Looks very nice. Attempting on Windows 10. I have ADB and Java installed. Getting an error that cannot run adb. Ideas?
Aug 06, 2018 12:39:30 PM Y a
INFO: [Logger] : initialized.
Aug 06, 2018 12:39:30 PM Y a
SEVERE: [JadbLauncher] : java.io.IOException: Cannot run program "adb": CreateProcess error=2, The system cannot find the file specified.
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: 20
at java.lang.String.substring(Unknown Source)
at au.a(Unknown Source)
at java.util.HashMap$Values.forEach(Unknown Source)
at au.b(Unknown Source)
at au.<init>(Unknown Source)
at com.hq.mobydroid.MobyDroid.main(Unknown Source)
Click to expand...
Click to collapse
Are you sure you have installed adb ?
Are you on windows or linux?
I am using Kubuntu 18.04 LTS and adb has got install. Android studio also has got. MobyDroid does not see my oneplus 3T however at terminal adb devices works well. What else need to be done to see my phone?
Is that any chanche to be able to run from the Terminal this OnePlus3&[email protected]_radaideh toolikit? Unfortunatelly this is an .bat file and i haveto use VirtualBox as on Linux does not work...
Hi, I downloaded the mobydroid_v0.2-1.deb from the github page and tried to install it on Xubuntu 16.04 I get an error from Package Installer:
Dependency is not satisfiable: android-tools
I installed latest platform-tools and is now on
Android Debug Bridge version 1.0.41
Version 29.0.5-5949299
Installed as /usr/local/sbin/platform-tools/adb
So why am I getting this error?
Android Debug Bridge version 1.0.41
Version 29.0.5-5949299
Installed as /usr/local/sbin/platform-tools/adb
Also:
java -jar "mobydroid.jar"
Feb 09, 2020 3:30:57 PM Y a
INFO: [Logger] : initialized.
Feb 09, 2020 3:30:57 PM Y a
INFO: [JadbLauncher] : Launched.
Exception in thread "main" java.lang.NullPointerException
at au.a(Unknown Source)
at java.util.HashMap$Values.forEach(HashMap.java:981)
at au.b(Unknown Source)
at au.<init>(Unknown Source)
at com.hq.mobydroid.MobyDroid.main(Unknown Source)
java -version
openjdk version "1.8.0_242"
OpenJDK Runtime Environment (build 1.8.0_242-8u242-b08-0ubuntu3~16.04-b08)
OpenJDK 64-Bit Server VM (build 25.242-b08, mixed mode)
JBJ
Nice app - suggestion: Phone No Entrys ?
Can a contacts manager list option be added ?

Android is starting/Optimising app issue

Hello I am having an issue with my Samsung Galaxy S6 Edge and wanted to find out if anyone had any advice. Every time I restart the phone I am met with this screen
{
"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 always boots up without further issues but it takes about 15 to 20 minutes for my phone to get passed this screen, which is quite frustrating. Is there any way that I can fix this issue without having to boot into the bootloader and wiping all the data from the phone or is this the only way that I can get rid of this issue.
Thank you in advance
James.​
James10101 said:
Is there any way that I can fix this issue without having to boot into the bootloader and wiping all the data from the phone or is this the only way that I can get rid of this issue.
Click to expand...
Click to collapse
You keep getting that persistent message because the amount of cache files that is present in your phone. Including cache files are unwanted remnants after deleting multiple apps.
Download an app called SD Maid and:
1) Clean your junk files/cache and any other files you consider unwanted
2) Optimize your databases
3) Delete bloatware (If rooted)
4) And plenty of other things the app has to offer.
If that does not work, try doing this https://www.unlockunit.com/blog/how-to-get-rid-of-android-optimizing-apps/
Hope that helps.
Tiqqy said:
You keep getting that persistent message because the amount of cache files that is present in your phone. Including cache files are unwanted remnants after deleting multiple apps.
Download an app called SD Maid and:
1) Clean your junk files/cache and any other files you consider unwanted
2) Optimize your databases
3) Delete bloatware (If rooted)
4) And plenty of other things the app has to offer.
If that does not work, try doing this (had to remove the link because i'm a new member and can't post outside links)
Hope that helps.
Click to expand...
Click to collapse
Thanks for the help, I have used SD Maid and it still brings me to the android is starting screen. I don't know if it could have something to do with the fact that I tried and failed at rooting the device which caused some kind of error, I cant remember what it said now. I'll take a look at the link to see if that helps. Thank you.
James10101 said:
Thanks for the help, I have used SD Maid and it still brings me to the android is starting screen. I don't know if it could have something to do with the fact that I tried and failed at rooting the device which caused some kind of error, I cant remember what it said now. I'll take a look at the link to see if that helps. Thank you.
Click to expand...
Click to collapse
Boot to recovery and wipe the cache partition.
If that doesn't work, boot to recovery and factory reset(do not use factory reset in system settings, do it in recovery).
Sent from my LGL84VL using Tapatalk
This is a bug in dexopt. Sometimes it crashes, not being able to produce the optimized oat file. This causes PackageManager to invoke it again and again on each boot.
For me it happened with the Google Photos app.
To find out for sure, follow these steps:
1. Enable Developer options. Enable USB debugging in Developer options.
2. Install ADB and phone USB drivers.
3. Connect phone to PC, run adb logcat, permanently authorize the PC on the phone. Make sure "adb logcat" succeeds and you can see the logs.
4. Restart the phone.
5. Run adb logcat > log.txt while the phone is booting, wait for the boot to finish.
6. Open log.txt and look for lines containing PackageManager.DexOptimizer. For example:
Code:
03-18 11:24:40.685 4448 4448 I PackageManager.DexOptimizer: Running dexopt (dex2oat) on: /data/app/com.google.android.apps.photos-1/base.apk pkg=com.google.android.apps.photos isa=arm vmSafeMode=false debuggable=false oatDir = /data/app/com.google.android.apps.photos-1/oat bootComplete=false
03-18 11:24:54.555 4921 4928 W dex2oat : No verified method for method calling String.<init>: java.lang.String android.text.TextUtils.substring(java.lang.CharSequence, int, int)
03-18 11:24:55.410 4921 4927 F libc : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 4927 (Compiler driver)
03-18 11:24:55.470 3298 3298 F DEBUG : pid: 4921, tid: 4927, name: Compiler driver >>> /system/bin/dex2oat <<<
03-18 11:24:55.490 3298 3298 F DEBUG : #00 pc 0020f4be /system/lib/libart-compiler.so (_ZN3art8MIRGraph27ComputeTopologicalSortOrderEv+717)
03-18 11:24:55.635 3320 4920 E sdp.engine_list: DexInv: --- END '/data/app/com.google.android.apps.photos-1/base.apk' --- status=0x000b, process failed
7. Delete/disable the mentioned app(s) in Settings > Apps (reinstalling the app won't help, it's a bug in the ROM).
If your log.txt does not start with "---- beginning of main", increase Buffer size for logging in Developer options from 256KB to 1MB and repeat.

[DEV] Thor Flash Utility - The new Samsung flash tool

Thor Flash Utility​This is a flash utility for Samsung devices, made from scratch in C#.
To run this, you must have .NET 7 runtime installed on your computer.
Latest release can be found on GitHub - https://github.com/Samsung-Loki/Thor
This tool was tested and works flawlessly, I'm open for any bug reports.
List of platforms​1) Linux (USB DevFS method)
2) Windows (not implemented)
3) Mac OS (not implemented)
How's it different from Heimdall?​Fun fact: Official Odin for Linux works using DevFS, and people report it working when Heimdall didn't.
1) Is able to do NAND Erase All (aka erase userdata) and erase any partition, given the length.
2) Ability to shutdown and reboot into Odin mode (not supported on every device)
3) Not using a USB transfer library and doing it natively for best results
4) Extended the PIT parser with new information being discovered
5) Can flash directly from an Odin .tar / .tar.md5 archive
6) Works with .lz4 files directly without manual extraction
7) Implemented EFS Clear and Bootloader Update options in Odin
8) Is able to change the sales code of the device
Support me​If you would like to support me and my team, donate here.
We're a team of teens (at age of 14-15) making random projects for fun.
Current list of commands​The up-to-date list of commands can be found here.
Usage guide​A comprehensive usage guide can be found here.
What devices were tested?​1) SM-M205FN/DS from 2019 0x00030000 (Unknown1: 0, Unknown2: 0, Version: 3)
2) SM-G355H/DS from 2014 0x00020000 (Unknown1: 0, Unknown2: 0, Version: 2)
Frequently Asked Questions​1) A fatal error occurred. The required library something could not be found.
This is a Linux Package Mixup, use this as reference.
2) What happened to original Thor (or Hreidmar)
This is a rewrite of Thor written from scratch, so I could implement the native USB communication.
Also, the old codebase was severely flawed in my opinion. I archived it here.
Credits​TheAirBlow for Thor Flash Utility
Benjamin-Dobell for documenting much of the Odin protocol
[reserved]
real
Bro finally revived good old Thor/Hreidmar
@TheAirBlow Thx.
Didn't test it yet but just a hint:
{
"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"
}
Link leeds to wrong version acc to your post #1, or doesn't it?
bmwdroid said:
@TheAirBlow Thx.
Didn't test it yet but just a hint:
View attachment 5938745
Link leeds to wrong version acc to your post #1, or doesn't it?
Click to expand...
Click to collapse
Yeah, that was an accident. It is indeed .NET 7
hello, please help me flash and revive the Samsung a12 (125FN) device.
the fact is that I don 't have a pc (
I only have an arm7 phone )
Heimdall-frontend does not work in Linux Deploy in my device, it cannot flash the super partition.. tell me what else can be done in my situation!??)
ilshatiko1988 said:
hello, please help me flash and revive the Samsung a12 (125FN) device.
the fact is that I don 't have a pc (
I only have an arm7 phone )
Heimdall-frontend does not work in Linux Deploy in my device, it cannot flash the super partition.. tell me what else can be done in my situation!??)
Click to expand...
Click to collapse
This tool could probably be used in Termux or in a root shell if you somehow could install .NET 7 Runtime. But, it does require the phone to be rooted for Thor to be able to access the USB devices connected. And additionally, you need a (first phones USB) to (second phone's USB) cable to connect, or have some adapter to make it work.

Categories

Resources