Hi everyone,
I wanna build old version of Xposed, for Android SDK 16-19, then have tried to compile Xposed fw for hundreds time but still failed.
Environment: Ubuntu 15.10 x64 | tools: JDK 1.6, libc6 ....
AOSP: JZO54L / android-4.1.2_r2 /Jelly Bean ("make app_process" have been run successfully).
My steps:
- Download AOSP into /opt/android/aosp
- XposedBridge.jar: Download Xposed Installer here repo[dot]xposed[dot]info/module/de.robv.android.xposed.installer and detach jar from apk. Put it to /opt/out/java
- Download XposedTools source from github into /opt/xposed/ then make build.conf file:
Quote:
[General]
outdir = /opt/out
[Build]
# Please keep the base version number and add your custom suffix
version = 58
# makeflags = -j4
[GPG]
sign = release
user = 852109AA!
# Root directories of the AOSP source tree per SDK version
[AospDir]
16 = /opt/android/aosp
# SDKs to be used for compiling BusyBox
# Needs github[dot]com/rovo89/android_external_busybox
[BusyBox]
- To integrate Xposed to AOSP, I tried following 2 ways in the instruction (local manifest and manual cloning)
+ local manifest: link [XposedTools]/local_manifests/xposed_sdk16.xml to [aosp]/.repo/local_manifests/ then run repo sync.
+ manual cloning: remove [aosp]/build; clone github[dot]com/rovo89/platform_build/ to replace; clone github[dot]com/rovo89/Xposed into [aosp]/framework/base/cmds/xposed
- Go back to [XposedTools] and run ./build -t x86:16
>>output: cd /opt/android/aosp && . build/envsetup.sh >/dev/null && lunch full_x86-user >/dev/null && make -j4 TARGET_CPU_SMP=true xposed
The result I received is a big "app_process_xposed" file (~ 270-350 KBs), it size is as many times as the origin app_process file (~20 KBs). I think there are somethings wrong. I open them by 7z and see some differences:
{
"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 may did some mistakes in these steps. Could you please give me any advice?
Thank so much!
Related
Does anyone know what the files from http://opensource.samsung.com/ are?
Can you build the stock rom that way? It doesn't seem like you can, i downloaded it and tried to build it following the instructions but i didn't have much luck
did anyone else try to compile it?
the readme file
Code:
1. Get android open source.
: version info - Android gingerbread 2.3.3
( Download site : http://source.android.com )
2. Overwrite files that you want to build.
[...]
3. Add the following lines at the end of build/target/board/generic/BoardConfig.mk
[...]
4. make
- ./build.sh user
First of all, you are in the wrong section. All questions should go to Q&A section.
Secondly, that site is only for Kernel Source codes I believe (Correct me if I'm wrong) and I guess, you won't get their ROM source codes.
sorry for posting in the wrong section
i'm not sure it's just the kernel, there;s also a platform archive there
{
"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"
}
the platform folder contains convincing folders
The platform folder contains a small subset of the ROM, in fact the instructions instruct you to download the official source code from source.android.com. There isn't any proprietary Samsung software (i.e.: Touchwiz).
With those files you should be able to compile a pure AOSP ROM without Google proprietary apps (Play Store, GTalk, ...).
hrk said:
The platform folder contains a small subset of the ROM, in fact the instructions instruct you to download the official source code from source.android.com. There isn't any proprietary Samsung software (i.e.: Touchwiz).
With those files you should be able to compile a pure AOSP ROM without Google proprietary apps (Play Store, GTalk, ...).
Click to expand...
Click to collapse
well i am definitely interested in compiling a pure aosp rom that will run on my samsung, i tried it multiple times by those instructions but haven't had much luck
Hi! All This is androarchive with a most Easy and Cool Way To Make Your Very Own Boot-Animations....
For Any One Who Want To Make His Boot-Animation. Check Out This Guide....
First Of All You Require:
Install Microsoft .NET Framework 4 - Click Here
Boot-Animation Factory - Click Here
For Porting From A Video To Image - Click Here
FotoSizer For Resizing Image - Click Here
Steps For Making Your Boot-Animation:
Create A Folder Named bootanimation- Like In The Image
{
"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"
}
Convert Video To Images As Per Frames Required.
Resize The Images Using FotoSizer
Check Any Of Image Whether They Are Properly Resized
Now Follow These Steps:
Now To The Device
Using Copy/Paste Method
Code:
[LIST=1]
[*]Copy To SDcard
[*]Move it to system/media
[*]Set Permission 644:-
[*]✓ ✓
[*]✓
[*]✓
[*]Reboot!
[/LIST]
Using ADB Method
Code:
[LIST=1]
[*]Use APKMultiTool
[*]Select ADB Push to system/media
[*]Drag The File And Press Enter
[*]Reboot!
[/LIST]
Enjoy!
thanx.
im running windows 8. but when i checked system requirement for .net framework then windows 8 is not in conpatibility list. so how i can get win8 version ?
4Shaggyy4 said:
thanx.
im running windows 8. but when i checked system requirement for .net framework then windows 8 is not in conpatibility list. so how i can get win8 version ?
Click to expand...
Click to collapse
Install .Net Framework 4 It works.. I too used....
androarchive said:
Install .Net Framework 4 It works.. I too used....
Click to expand...
Click to collapse
ya i saw that in screenshot ur on win8. but was confused bcoz there are too many versions of .net
Added New Link(A Web Installer)
Hello everyone users, today I want to present my latest creation: MyFirstrom.
Requirements:
Code:
-Microsoft. NET Framework 4.5.1 available: [URL=http://go.microsoft.com/?linkid=9839392] HERE [/URL]
-Java JDK 8 available: [URL=http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html] HERE [/URL]
-Android SDK Tools available: [URL=http://dl.google.com/android/installer_r22.6.2-windows.exe] HERE [/URL]
This tool works on Windows, Linux and Mac OS (linux and mac I have not tested it yet, but to do so would run Wine, as it was developed for Windows, and have the extension *. Exe).
Here are the main features:
Code:
[COLOR="Red"][SIZE="5"]FEATURES:[/SIZE][/COLOR]
-Decompile Apk
-Rebuilding Apk
-Sign Apk
-Create un-sign zip
-Create signed zip
-Edit build.prop
-Edit the Update-Script
-Create tweaks / scripts to be included in the folder init.d
-Add Apk to rom and update.zip
Here are the 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"
}
Set development environment:
JAVA:
Code:
Download and Install the JDK 8 on the link above, open the Control Panel and look for "Advanced System", open it and click on "Environment Variables ..."
find the path variable and add these lines to the end:
"C:\Program Files\Java\jre8\bin;"
[COLOR="Red"][SIZE="5"]WARNING:[/SIZE][/COLOR]
if you have a 32-bit system you will need to change the lines and add these in place of those:
"C:\Program Files (x86)\Java\jre8\bin;"
SDK-PLATFORMS:
Code:
Create a folder in the path "C:\" and call it "Android", install the sdk-platforms and use this folder as the installation folder.
Open the environment variables and add these to the string variable path:
"C:\Android\platform-tools";
without the quotes.
Now that we have set the development environment can run the installer and install the tool.
For those wishing to publish a custom rom created with this tool will add to the post title or the hashtag #myfirstrom #mfr.
I hope this tool will serve to many of you, especially those who are beginners.
Thanks:
Code:
-Abhi922 for the rom base that is the simplicity v5
-The team that created ApkTool and SignApk
-Me for the tool and the GUI
-Benzyniarz1 the inspiration for the design of update zip creator
Here is the download link:
Setup.exe
For anyone wishing to make a donation to allow the tool to move forward with the development please click below:
PS:
This tool was developed for Windows 8 and 7 do not think that they appear fine objects.
On the login screen to access the tool the default username and password are: root.
But you can change to create a new account.
THANKS!!!
Hello!
Good thing for starters (aka noobs/newbies/etc). Maybe there will be danger of ROM flooding in Dev thread, but still good
Best regards.
devloz said:
Hello!
Good thing for starters (aka noobs/newbies/etc). Maybe there will be danger of ROM flooding in Dev thread, but still good
Best regards.
Click to expand...
Click to collapse
Thanks man!!!
In the next version add a new functionality: Download The Rom for a specific device!!!
Since this is a Android Studio specific problem..... I'm posting here....
Just did a first install of Android Studio and cant even open the SDK Manager right off the bat. What gives?
{
"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"
}
In case the above image doesnt show it reads....
Cannot launch SDK manager.
Output:
'"f:\android\sdk\tools\lib\\find_java64.exe" -s' is not recognized as an internal or external command,
operable program or batch file.
ERROR: No suitable Java found. In order to properly use the Android Developer
Tools, you need a suitable version of Java JDK installed on your system.
We recommend that you install the JDK version of JavaSE, available here:
If you already have Java installed, you can define the JAVA_HOME environment
variable in Control Panel / System / Avanced System Settings to point to the
JDK folder.
You can find the complete Android SDK requirements here:
Click to expand...
Click to collapse
Notice the double slashes "\\find_java64.exe". This is an error (invalid path) that it is obviously generated incorrectly.
JAVA_HOME = "C:\Program Files\Java\jdk1.8.0_45"
PATH = "C:\ProgramData\Oracle\Java\javapath;%JAVA_HOME%; ...... etc ..... "
:crying:
fixed temporarily.....
had to make the following changes to android.bat in order to get SDK Manager to start.....
Change:
Code:
rem Check we have a valid Java.exe in the path.
set java_exe=
call lib\find_java.bat
if not defined java_exe goto :EOF
set jar_path=lib\sdkmanager.jar;lib\swtmenubar.jar
rem Set SWT.Jar path based on current architecture (x86 or x86_64)
for /f "delims=" %%a in ('"%java_exe%" -jar lib\archquery.jar') do set swt_path=lib\%%a
To:
Code:
rem Check we have a valid Java.exe in the path.
set java_exe=java.exe
set jar_path=lib\sdkmanager.jar;lib\swtmenubar.jar
rem Set SWT.Jar path based on current architecture (x86 or x86_64)
rem this fails..... for /f "delims=" %%a in ('"%java_exe%" -jar lib\archquery.jar') do set swt_path=lib\%%a
set swt_path=lib\x86_64
..... pathetic ...... its 2015.... no one should have to do this... come on google.
Sounds like the Environment Variable isn't set up yet.
Try Step 2 under 'Set up Android Studios on Windows'
Installing Android Studios
Hey there!
Today I decided to turn an old Raspberry Pi 4B 8GB I had lying around into an Android TV box. I used this guide to install it, and it installed smoothly. There were no apps on it whatsoever, so I wanted to download the Play Store to download at least YouTube. After a bit of searching on the LineageOS website I came across a link to the Android TV 13 GApps (from here). I flashed them as the instructions stated on the website with the image, however after finishing the setup I get a (fairly nice) picture instead of a regular home screen. What gives?! If possible, I would prefer to stay on ATV 13.
{
"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"
}
Exact file I downloaded
Thanks in advance.
EDIT: same issue on adrod 12
EDIT 2: seems to be an issue with the new version of MindTheGapps for ATV. downloading an older version worked perfectly
I have that same problem, anyone has done this right?
kanoeyes said:
I have that same problem, anyone has done this right?
Click to expand...
Click to collapse
see edit of original message
The method provided by TYK can solve this problem for you:
1. Download 7-Zip and Notepad++.
2. Open the MinTheGapps 13.0.0 .zip file with 7-Zip and drag out "update-binary".
3. Use Notepad++ to modify "update-binary" and confirm that it is in UNIX format.
4. Drag "update-binary" back into the .zip file (overwrite it).
Fix "update-binary":
Code:
...
ui_print "Copying files"
cp --preserve=a -r ./system/* "${SYSTEM_OUT}/"
if [ -n "$PRODUCT_BLOCK" ]; then
cp --preserve=a -r ./product/* /product
fi
if [ -n "$SYSTEM_EXT_BLOCK" ]; then
cp --preserve=a -r ./system_ext/* /system_ext
fi
##########
#Add:
##########
ui_print "Copying product files to ${SYSTEM_OUT}/product"
cp --preserve=a -r ./product/* "${SYSTEM_OUT}/product/"
ui_print "Copying system_ext files to ${SYSTEM_OUT}/system_ext"
cp --preserve=a -r ./system_ext/* "${SYSTEM_OUT}/system_ext/"
##########
rm -rf "${SYSTEM_OUT}/product/priv-app/TVLauncherNoGMS"
rm -rf "${SYSTEM_OUT}/product/priv-app/TVRecommendationsNoGMS"
rm -rf "${SYSTEM_OUT}/priv-app/PackageInstaller"
...
Of course, you can also directly use the modified file provided by him:https://disq.us/url?url=https://drive.google.com/file/d/1sVUGlXqF1-DCQg-cyZkSf-XVkIAL9tlB/view?usp=sharing:rgW_nThP7DCNHw3tZ0-5anGky44&cuid=4806155
More processing progress:https://disq.us/url?url=https://forum.xda-developers.com/t/dev-rom-unofficial-lineageos-20-android-13-for-raspberry-pi-4-b.4516545/page-3#post-88042215:ftUqKcH_-Lhh-deaaDACyIjSOdU&cuid=4806155
This may be related to the limitation of lineageos.