Lite Germany oktober 2013 [ROM][STOCK][4.2.2][N5100] XXCMI1 | Deodexed + Rooted - Galaxy Note 8.0 (Tablet) Android Development

~ deodexed
~ rooted
~ busybox installed
~ zipaligned
~ /data/app functionality
~ /etc/init.d scripts support
download https://disk.yandex.ru/public/?hash=G+3i54DXDybMBZHbZgHqTTm9vK8AOHvp8PJLddrPXRw=&locale=ru
delete files https://disk.yandex.ru/public/?hash=DntUP1qRYuLdkvvTxrXjIKIQLefqcbM6QM52U7onkS0=&locale=ru
More RAM

Related

[script] Theme Loader - Theme installer for all devices

Use at your own risk! I am not responsible for any bricked devices. You have been warned.
I have only tested this on a droid 1 so if any brave soul uses it shoot me some feedback.
Theme Loader is a script that installs custom themes for any rooted device. I wrote it because I saw some terrible instructions on how to load themes for devices that didn't have a custom recovery yet. This script should work on any device and I hope it's useful for those who do not yet have a custom recovery or who just choose to use this.
Theme Loader Script:
----------------------
----------------------
(right click and save)
Install the script:
** note: must have busybox installed **
1. Download load_theme
2. Place load_theme on the root of your sdcard
3. Download a terminal emulator app from the market
4. Open terminal and type:
PHP:
su
** mount system read/write here (need command for specific device) **
cp -f /sdcard/load_theme /system/xbin
chmod 0755 /system/xbin/load_theme
Load a theme:
1. Place all the files you want to install in a directory called "new_theme"
** for a template of how it should look like download the zip below **
2. Place the directory new_theme on the root of your sdcard
3. In terminal or adb shell type:
PHP:
su
load_theme [options]
4. Watch as your new theme installs.
load_theme options:
PHP:
Usage: load_theme [-a|-b|-c|-f|-fs|-m|-l|-r|-z|-v|-h]
Options:
-a | --apps Installs themed apps
-b | --backup Backs up current system settings
-c | --complete Installs full theme
-f | --framework Installs framework
-fs | --fonts Installs fonts
-l | --logging Disable logging for this run
-m | --media Installs media files
-r | --restore Restores system backup
-z | --zipalign Zipaligns all apks
-v | --version Print version
-h | --help This help
Always specify options as separate words
e.g. -a -f instead of -af. Its required!
Examples:
This will install the full theme and turn off logging:
PHP:
su
load_theme -l -c
This will zipalign all your apps and backup your system:
PHP:
su
load_theme -z -b
Well, I followed the directions and had a successful backup. Worked perfectly. Excellent job!
Now I just need a theme. Has anyone seen any for the rooted droid 2?????
Droid 2
OS 2.2.20
Rooted following directions in XDA thread
rummy, is does this just copy a framework or copy all images from one into the other? (in other words, does this require a droid 2 specific theme?)
I got this when I tried to load a theme, the only file in the theme was /sdcard/new_theme/framework/framework-res.apk:
Code:
# load_theme -c
load_theme -c
Zipaligning all apks...
find: not found
No themed apps found. Skipping...
No custom fonts found. Skipping...
Media not found. Skipping...
wc: not found
find: not found
-gt: unexpected operatorNo framework found. Skipping...
------------------------------------
___
| |_ _ ._ _ _ | _ _. _| _ ._
| | |(/_| | |(/_ |_(_)(_|(_|(/_|
-JRummy16
------------------------------------
Changes were made to your system requiring a reboot.
Your device will reboot in 5 seconds...
KalenXI said:
I got this when I tried to load a theme, the only file in the theme was /sdcard/new_theme/framework/framework-res.apk:
Code:
# load_theme -c
load_theme -c
Zipaligning all apks...
find: not found
No themed apps found. Skipping...
No custom fonts found. Skipping...
Media not found. Skipping...
wc: not found
find: not found
-gt: unexpected operatorNo framework found. Skipping...
------------------------------------
___
| |_ _ ._ _ _ | _ _. _| _ ._
| | |(/_| | |(/_ |_(_)(_|(_|(/_|
-JRummy16
------------------------------------
Changes were made to your system requiring a reboot.
Your device will reboot in 5 seconds...
Click to expand...
Click to collapse
odd... Looks like you don't have busybox installed because those are all busybox commands that look to be missing. But.... I put a pre-req check in the script to check for busybox so that's weird. Do you have busybox installed?
JRummy, I am getting the same errors and as far as I know busy box is installed. (all the cp commands worked fine as did titanium backup
I was experimenting with bgill55's black ice. unzipped and put each of the components in the appropriate New_theme directory.
Thanks for your help.
marsha12151 said:
JRummy, I am getting the same errors and as far as I know busy box is installed. (all the cp commands worked fine as did titanium backup
I was experimenting with bgill55's black ice. unzipped and put each of the components in the appropriate New_theme directory.
Thanks for your help.
Click to expand...
Click to collapse
ok.. I know what's going on.. Since busybox isn't symlinked it won't work properly because I forget a couple variables in spots. I'll fix it and upload tomorrow.

[TOOL] - Supercharger ICS 4.1.B.0.431 - services.odex

Hi,
I modified the official nordic ICS 4.1.B.0.431 services.odex to use the supercharger script.
The zip is not a CWM install zip !!
Extract, SAVE and replace the services.odex in : /system/framework and execute in terminal :
cd /system/framework
chown 0.0 services.odex
chmod 644 services.odex
reboot and Supercharge...
Didnt work.. went into bootloop...
I use it and 100 % supercharged !! and I don't have bootloop...
I use official Nordic ICS 4.0.4
Check the file permission, please !

How to install Busybox for deodexed zipaligned rom

If i deodexed and zipaligned a new rom. Then I copied the xbin folder, inside the folder is busybox, dexdump and su and copied the superuser.apk to the system/app folder and created a flashable zip. Does it mean when I flash the zip file I already have a rom with busybox and rooted with super user?

Deodex

As of now I have all of the sys apps deodexed and about half of the framework deodexed. I'm working to find out why i cannot complete the framework deodex. I will edit this post with downloads as I go. The first edit will be the deodexed apk's and the partial on the framework. just need to get them uploaded first.
Current thanks list is:
abcdjdj- Universal Deodexer V4
Alokbina- Universal Deodexer V4
framework- http://www.androidfilehost.com/?fid=23134718111253137
apps- http://www.androidfilehost.com/?fid=23134718111253138
xkwr27 said:
As of now I have all of the sys apps deodexed and about half of the framework deodexed. I'm working to find out why i cannot complete the framework deodex. I will edit this post with downloads as I go. The first edit will be the deodexed apk's and the partial on the framework. just need to get them uploaded first.
Current thanks list is:
abcdjdj- Universal Deodexer V4
Alokbina- Universal Deodexer V4
framework- http://www.androidfilehost.com/?fid=23134718111253137
apps- http://www.androidfilehost.com/?fid=23134718111253138
Click to expand...
Click to collapse
I managed to fully deodex this ROM: P5200XXUAMG7_P5200OXXAMG4_XEH.zip (it's for P5200 3G model)
Here is the script I wrote for deodexing:
Code:
#!/bin/bash
for f in *.odex; do
no_ext=`echo $f | sed 's/.odex//'`
echo "deodexing $no_ext"
java -Xmx512m -jar /home/android/bin/baksmali-2.0b6.jar -a 17 -d ../system/framework -x $no_ext.odex
java -Xmx512m -jar /home/android/bin/smali-2.0b6.jar -a 17 -o classes.dex out
rm -rf out
if [ -e $no_ext.apk ]
then
zip -r -q $no_ext.apk classes.dex
fi
if [ -e $no_ext.jar ]
then
zip -r -q $no_ext.jar classes.dex
fi
rm -rf classes.dex
done
I used the latest baksmali and smali. It showed some error messages for Dropbox.odex and Magazines.odex files, but these two can be deodexed as well if you remove the -a switch from baksmali and smali lines.
Hope this helps.
Thanks if you have it linked anywhere on here I'll have to look at it to make sure I am not trying to do the same work twice. but in the mean time I'll give that script a try.
I have all deodexed...
But I have a update-binary issue that lets me not install a custom rom.
Status 7
set_perm issue
or
set_symlink issue
xkwr27 said:
As of now I have all of the sys apps deodexed and about half of the framework deodexed. I'm working to find out why i cannot complete the framework deodex. I will edit this post with downloads as I go. The first edit will be the deodexed apk's and the partial on the framework. just need to get them uploaded first.
Current thanks list is:
abcdjdj- Universal Deodexer V4
Alokbina- Universal Deodexer V4
framework- http://www.androidfilehost.com/?fid=23134718111253137
apps- http://www.androidfilehost.com/?fid=23134718111253138
Click to expand...
Click to collapse
i was looking for this.. but i cant downlaod it its telling me " no mirror found" but only with this file
framework- http://www.androidfilehost.com/?fid=23134718111253137
johnso said:
i was looking for this.. but i cant downlaod it its telling me " no mirror found" but only with this file
framework- http://www.androidfilehost.com/?fid=23134718111253137
Click to expand...
Click to collapse
Well I've deleted them now... Dutch dany has them completed up in a post anyway, that's why I never bothered finishing.
Oohh to bad because the one you hsve is for p5200and the one from dutchdanny is for p5210
I just need the framework data ..
Sent from my GT-P5200 using xda app-developers app
xmaczi123 said:
I managed to fully deodex this ROM: P5200XXUAMG7_P5200OXXAMG4_XEH.zip (it's for P5200 3G model)
Here is the script I wrote for deodexing:
Code:
#!/bin/bash
for f in *.odex; do
no_ext=`echo $f | sed 's/.odex//'`
echo "deodexing $no_ext"
java -Xmx512m -jar /home/android/bin/baksmali-2.0b6.jar -a 17 -d ../system/framework -x $no_ext.odex
java -Xmx512m -jar /home/android/bin/smali-2.0b6.jar -a 17 -o classes.dex out
rm -rf out
if [ -e $no_ext.apk ]
then
zip -r -q $no_ext.apk classes.dex
fi
if [ -e $no_ext.jar ]
then
zip -r -q $no_ext.jar classes.dex
fi
rm -rf classes.dex
done
I used the latest baksmali and smali. It showed some error messages for Dropbox.odex and Magazines.odex files, but these two can be deodexed as well if you remove the -a switch from baksmali and smali lines.
Hope this helps.
Click to expand...
Click to collapse
Thanks for the info about the "a" option. Ran in to this dilemma earlier.

[bin][aarch64] Busybox 1.27.0

Fresh build of busybox master version
https://github.com/ParseThisCode/aarch64-binaries.git
Master version is the always latest build.
More info https://git.busybox.net/busybox/tree/?h=master
Additional: bash 4.4
Just replace the old one or place to /system/xbin and set permissions to: rwx-r-x-r-x root:root.
Busybox has been updated to 1.28.0.git

Categories

Resources