ubuntu flashable zip, beat making software? - Nexus 7 Q&A, Help & Troubleshooting

I have two questions: is there a flashable zip with ubuntu in it, i cant use the ubuntu installer/a script because at the moment, i dont have a laptop/pc, or can i create one? I mean, it is easy to backup ubuntu once its installed, so it should be possible to make a flashable zip?
And my second question is: is there a good beat making software on android or linux working?

Related

Data2system without deleting data

Hi!
I read how to make Data2System rom. (http://forum.xda-developers.com/showpost.php?p=14047481&postcount=14)
I try it and it works so good. I wrote a script which do that steps automatically. There is one more difference. Now the script don't flash your rom, just transform the selected nandroid backup. So you don't lose any of your data.
1. Download this zip, and unpack it to your linux running computer.
2. Backup your rom in recovery, and copy the folder (clockworkmod/backup/<yourbackup>) from your phone to the directory where you unpacked the zip.
3. Rename in data2system <yourbackup> folder to <yournewbackup>. Take care <yournewbackup> don't contain spaces.
4. Open a terminal, and type cd <the unpacked folder> (e.g. /home/user/data2system).
5. Type ./data2system <yournewbackup>, check the output in terminal. It should be something like this:
Extract boot.img
806 blocks
Command line: mem=214M console=ttyMSM2,115200n8 androidboot.hardware=swift
End extract boot.img
Change boot configuration
Pack boot-new.img
Resize boot-new.img
Boot image prepared
System and data images replaced​If you get any errors, try this tutorial again!
6. Done, copy back, and you can make a restore ​It works if:
you have a nandroid backup
your system.img is not bigger than your data partition on your phone
Download zip here: http://dl.dropbox.com/u/18578045/Data2system.zip
If you do it again with the changed backup in practice you'll get your original backup.
Awesome. Gonna try this out.
This doesn't work!!
did you even try it yourself??
i followed everything carefully
data2system is not a recongised command
Because you have to type ./data2system <the name of the folder> and not .\data...
AND check that on your computer is running LINUX
vkrissz said:
Because you have to type ./data2system <the name of the folder> and not .\data...
AND check that on your computer is running LINUX
Click to expand...
Click to collapse
i did that and how do i check if i have linux?
how do i install it?
i am windows 7
Linux is a kind if OS.
Did you heard about Google? You can find for example how to install Ubuntu. Ubuntu is just one of linux OSs. You can run it in virtual machine, or just boot from live cd, or install instead of windows, or install to another partition beside the windows.
androidboss7 said:
i did that and how do i check if i have linux?
how do i install it?
i am windows 7
Click to expand...
Click to collapse
I dont wanna be rude, but I have to ask is this serious?
delsus said:
I dont wanna be rude, but I have to ask is this serious?
Click to expand...
Click to collapse
yes i am being serious!!
I know a little about android and computers!!
androidboss7 said:
yes i am being serious!!
I know a little about android and computers!!
Click to expand...
Click to collapse
Well Linux is an open source operating system, there are alot of differant distributions of it, (infact Android is based on Linux) you can download most distributions of it free, a few are Ubuntu (which I have in a VM) Fedora, Back Track and Red Hat (paid).
It is recommended to either dual boot your PC or run Linux in a virtual machine because program compatibility isnt great with it although you can use emulators to run programs like wine.
The switch from Windows to Linux isnt easy though especially if your not great with computers because there is so much differant.
Here is a download link for ubuntu and VMWare player (both free) for you to try out, and the data2system method in this post will work.
http://www.ubuntu.com/download
http://www.filehippo.com/download_vmware_player/
PM me if you need instructions to install and run them
delsus said:
Well Linux is an open source operating system, there are alot of differant distributions of it, (infact Android is based on Linux) you can download most distributions of it free, a few are Ubuntu (which I have in a VM) Fedora, Back Track and Red Hat (paid).
It is recommended to either dual boot your PC or run Linux in a virtual machine because program compatibility isnt great with it although you can use emulators to run programs like wine.
The switch from Windows to Linux isnt easy though especially if your not great with computers because there is so much differant.
Here is a download link for ubuntu and VMWare player (both free) for you to try out, and the data2system method in this post will work.
http://www.ubuntu.com/download
http://www.filehippo.com/download_vmware_player/
PM me if you need instructions to install and run them
Click to expand...
Click to collapse
thanks bro!!
but i think this is a bit too complicated for me!
but i have 1 question!
if i use mur4iks bootloader to resize my partitions like this (or whatever)
150 system partition and 234 data partition
is that still like data2system??
androidboss7 said:
thanks bro!!
but i think this is a bit too complicated for me!
but i have 1 question!
if i use mur4iks bootloader to resize my partitions like this (or whatever)
150 system partition and 234 data partition
is that still like data2system??
Click to expand...
Click to collapse
Its 2 different things. When you change bootloader it really resize your partitions. It take effect until you change it again.
This script (Data2system) only change one of your nandroid backups. So when you flash a new rom, or restore one of your elder backups the system partition will be the original partition. Its safer then change the bootloader, but it take effect only for one backup.
For you: if your data partition size is 234 and your system is 150 (because you change your bootloader) and then you do Data2system. On that rom you will have only 150 data.
Data2system is for someone, who need more space, but don't want to resize partitions or change bootloader.

[Q] How to create odin-flashable.tar from .img-file

How do i create a tar-file from an img-file? Apparently there is a easy way to do it on linux but im running a windows pc. I wanted to create an odin-flasable img of the recovery which has been released on clockworkmod.com for the i9505. thanks in advance
Perhaps use this instead?: https://play.google.com/store/apps/details?id=nl.bvgemert.flasher

[Q] [SH] Script

Hi,
Is it possible to run .SH file in Android Phone? I am trying to update WiFi driver. I have downloaded this: https://dl.google.com/dl/android/aosp/qcom-mako-kot49h-e7a74920.tgz
Is it even possible to update this driver? You will ask why?
I have some difficulties with connecting N4 to my router and want to check if it will work.
Thanks in advance.
That script is designed to be run on a linux computer it's a self extracting tar.gz file
Should work on an android phone too though, run through terminal emulator or adb shell.
There's a lot of libraries inside it. Don't know enough about it to know what they're for.
The tar.gz file is here if you're interested https://dl.dropboxusercontent.com/u/22080986/extract-qcom-mako.tar.gz
Link to dropbox is not working.
It is now, Pretty sure these are just the binaries for if you're building from source, and already included in latest update.
Not so sure. CM 10.2 is working with my router without aby problem, while stick 4.4.2 is not. :-\

[6045*] [TWRP] custom recovery 2.8.7.0

TWRP 2.8.7.0 custom recovery
thanx to user @Unjustified Dev we have TWRP custom recovery for our phone.
download HERE
So anyone who download the TWRP should send him a dollar for beer or at least thank him!
Of course you do everything on your own!
To test before installation (linux users need sudo before fastboot):
Code:
fastboot -i 0x1bbb boot twrp-2.8.7.0-idol3.img
To install (linux users need sudo before fastboot):
Code:
fastboot -i 0x1bbb flash recovery twrp-2.8.7.0-idol3.img
!BEFORE YOU START, PLEASE READ THIS!
And don´t forget to thank Famewolf for the tutorial, because this could save your phone when something go bad!​
Thanks, tried it. It worked.
I also just installed SU directly, bypassing the previous root thread.
1. Download the .zip package from here: https://download.chainfire.eu/696/SuperSU/UPDATE-SuperSU-v2.46.zip
2. Put it on the root of my SD card.
3. In TWRP click install and find the .zip.
Wonderful. Just a question: is this recovery for Idol 3 4.7 (6039) or 5.5 (6045) ?
Gynoid said:
Wonderful. Just a question: is this recovery for Idol 3 4.7 (6039) or 5.5 (6045) ?
Click to expand...
Click to collapse
It's for 6045. For 4.7 TWRP, see this post: http://forum.xda-developers.com/showpost.php?p=61976520&postcount=18
Thanks!
is it functional for backing up our system in TWRP?
@DallasCZ could you please provide the original link to TWRP. That was a bit unfair to upload it elsewhere as I tend to track the number of downloads.
Sent from my LGMS395 using Tapatalk
gecko702 said:
is it functional for backing up our system in TWRP?
Click to expand...
Click to collapse
Yes although to my knowledge noone has actually done a restore yet. He's fixing some minor bugs and will be releasing a new version at some point.
famewolf said:
Yes although to my knowledge noone has actually done a restore yet. He's fixing some minor bugs and will be releasing a new version at some point.
Click to expand...
Click to collapse
i am in touch with the dev and allready downloading the new build..will be soon on my google drive
Unjustified Dev said:
@DallasCZ could you please provide the original link to TWRP. That was a bit unfair to upload it elsewhere as I tend to track the number of downloads.
Sent from my LGMS395 using Tapatalk
Click to expand...
Click to collapse
sorry, i corrected the link...
Convert TWRP Backup into flashable rom zip
I found these instructions that explain how to take a TWRP backup and turn it into a flashable zip file. This would allow someone to create a "factory" rom pre-rooted to be flashed.
For TWRP Backup
Transfer the TWRP backup from Phone to PC.
You’ll see a file named system.ext4.win which is the System partition backup of your device. Rename it to system.ext4.tar (Changing its extension from .win to .tar)
Extract the system.ext4.tar using an archive software like Winrar or 7zip.
If your TWRP backup is not in compression mode, you will directly get the system folder, else you will get a file named system.ext4, which should be renamed again to system.ext4.tar and extract it to get the system folder.
Take the boot.emmc.win file and rename it to boot.img.
Now collect a META-INF folder from any custom ROM which is made for your device. Make sure you get the correct Meta-Inf folder, else the Zip won’t work and might worsen the condition of your device.
Select the META-INF, System folders and the boot.img and right click your mouse and select add to Archive.
In the Archive settings, choose the extension of the compressed file as Zip (Make sure of this part)
Now you can use this Zip file to flash it on your Custom recovery.
we dont have the meta-inf folder...there is one in the update i got, but i dont know if this id the right one.
and we dont have custom rom to get meta-inf from.
also the main thing is, that i cannot unpack the system win file when renamed to .tar i dunno why (i got latest 7-zip app).
DallasCZ said:
we dont have the meta-inf folder...there is one in the update i got, but i dont know if this id the right one.
and we dont have custom rom to get meta-inf from.
also the main thing is, that i cannot unpack the system win file when renamed to .tar i dunno why (i got latest 7-zip app).
Click to expand...
Click to collapse
What they primarily want is the "update-binary" which is device specific. I don't remember if the update had one....I did take apart an update-supersu.zip and it uses a script as it's update binary...thought about trying to convert that. Theoretically you could take a meta-inf for another device's rom...and use it's meta-inf making sure to replace the update-binary. It also has an installer script that tells it to mount system and data....extract files from the zip and where to put them. I learned a bit when I was trying to make an update.zip to fix my build.prop.
It untar'd fine for me on my linux pc:
[email protected]:/workarea/android/idol3/TWRP/BACKUPS/408adcbe/1970-01-01--22-28-53_LRX22G_release-keys/work > tar -xvf ../system.ext4.win000
tar: Removing leading `/' from member names
/system/app/
/system/app/AntHalService/
/system/app/AntHalService/AntHalService.apk
/system/app/AntHalService/arm64/
/system/app/AntHalService/arm64/AntHalService.odex
/system/app/BasicDreams/
/system/app/BasicDreams/BasicDreams.apk
/system/app/BasicDreams/arm64/
/system/app/BasicDreams/arm64/BasicDreams.odex
/system/app/Bluetooth/
/system/app/Bluetooth/Bluetooth.apk
/system/app/Bluetooth/arm/
/system/app/Bluetooth/arm/Bluetooth.odex
famewolf said:
What they primarily want is the "update-binary" which is device specific. I don't remember if the update had one....I did take apart an update-supersu.zip and it uses a script as it's update binary...thought about trying to convert that. Theoretically you could take a meta-inf for another device's rom...and use it's meta-inf making sure to replace the update-binary. It also has an installer script that tells it to mount system and data....extract files from the zip and where to put them. I learned a bit when I was trying to make an update.zip to fix my build.prop.
It untar'd fine for me on my linux pc:
[email protected]:/workarea/android/idol3/TWRP/BACKUPS/408adcbe/1970-01-01--22-28-53_LRX22G_release-keys/work > tar -xvf ../system.ext4.win000
tar: Removing leading `/' from member names
/system/app/
/system/app/AntHalService/
/system/app/AntHalService/AntHalService.apk
/system/app/AntHalService/arm64/
/system/app/AntHalService/arm64/AntHalService.odex
/system/app/BasicDreams/
/system/app/BasicDreams/BasicDreams.apk
/system/app/BasicDreams/arm64/
/system/app/BasicDreams/arm64/BasicDreams.odex
/system/app/Bluetooth/
/system/app/Bluetooth/Bluetooth.apk
/system/app/Bluetooth/arm/
/system/app/Bluetooth/arm/Bluetooth.odex
Click to expand...
Click to collapse
i allready build some roms for my older device, so i know what it is about.
For the proper rom zip you have to make the updater script with all the simlinks and metadata ...in the latest update there were no simlinks in the updater script...
without them you can brick your phone.
for example simlinks from 4.4.2 Os from zte V5
Code:
symlink("/data/misc/audio/mbhc.bin", "/system/etc/firmware/wcd9306/wcd9306_mbhc.bin");
symlink("/data/misc/audio/wcd9320_anc.bin", "/system/etc/firmware/wcd9306/wcd9306_anc.bin");
symlink("/persist/WCNSS_qcom_cfg.ini", "/system/etc/firmware/wlan/prima/WCNSS_qcom_cfg.ini");
symlink("/persist/WCNSS_qcom_wlan_nv.bin", "/system/etc/firmware/wlan/prima/WCNSS_qcom_wlan_nv.bin");
symlink("/system/lib/modules/pronto/pronto_wlan.ko", "/system/lib/modules/wlan.ko");
symlink("Roboto-Bold.ttf", "/system/fonts/DroidSans-Bold.ttf");
symlink("Roboto-Regular.ttf", "/system/fonts/DroidSans.ttf");
symlink("libGLESv2.so", "/system/lib/libGLESv3.so");
symlink("mksh", "/system/bin/sh");
this you cannot copy from another device....
Never mind. I installed the second build.
How do I boot into the custom recovery? Is it power up + power button on the Idol 3?
Acreo Aeneas said:
Never mind. I installed the second build.
How do I boot into the custom recovery? Is it power up + power button on the Idol 3?
Click to expand...
Click to collapse
Reboot or power on till you see the alcatel screen pop up....right away hold down up arrow and it should go into recovery.
Thank you so much...been waiting for this....
so now let ROM's start pouring in )))))))
Hmm odd. I had to reflash it. For some reason it didn't take the first time I flashed the second build TWRP to my Idol 3.
What partitions should I backup using TWRP? I'd assume: Boot, System, and Data? Should I include System Image too?
Acreo Aeneas said:
Hmm odd. I had to reflash it. For some reason it didn't take the first time I flash the second build TWRP to my Idol 3.
What partitions should I backup using TWRP? I'd assume: Boot, System, and Data? Should I include System Image too?
Click to expand...
Click to collapse
The default of boot, system and data should be fine for personal use however if you have not yet rooted please read here first! http://forum.xda-developers.com/idol-3/help/want-to-able-to-install-ota-updates-t3163745
So Awesome! best looking twrp Ive seen yet xD. Also, works well too. I havent tested backing up data, but I did a successful restore of the system and boot So far so good!

Custom recovery or a way to flash zip files on a px5

I cannot find any info on a custom recovery for the px5, I have searched for hours so I decided to ask to see if I missed something
I have a JY-UM135N2PX5
Im looking for a way to flash zips so any way to accomplish this will work, I would prefer a custom recovery but if there isnt one there isnt much I can do about that
thats simple. there is nothing for the joying PX5.
You have to wait.
See here.
I could not get joying extra tools to work so Im trying to install two things manually I got xposed installed using the xposed installer which seems to have a built in way to flash a zip however the other thing I want to install ViPER4Android doesnt seem to have a way to do this without flashing a zip what I really want is ViPER|Atmos from here https://forum.xda-developers.com/android/software/viperaudio-viperatmos-3-8-sq-driver-t3289075 however I see that it is a modded version of ViPER4Android so while I would like that one any version of ViPER4Android would be ok assuming there is another way to install it that would not install the version I want but I cannot find a way to install it and these two things is why I asked the above question
so since there doesnt seem to be a way to flash a zip on the px5 is there any way to install ViPER4Android without flashing a zip?
stonedhippiecomputerdude said:
I could not get joying extra tools to work so Im trying to install two things manually I got xposed installed using the xposed installer which seems to have a built in way to flash a zip however the other thing I want to install ViPER4Android doesnt seem to have a way to do this without flashing a zip what I really want is ViPER|Atmos from here https://forum.xda-developers.com/android/software/viperaudio-viperatmos-3-8-sq-driver-t3289075 however I see that it is a modded version of ViPER4Android so while I would like that one any version of ViPER4Android would be ok assuming there is another way to install it that would not install the version I want but I cannot find a way to install it and these two things is why I asked the above question
so since there doesnt seem to be a way to flash a zip on the px5 is there any way to install ViPER4Android without flashing a zip?
Click to expand...
Click to collapse
Just a thought (I used this in different contexts, just not for this kind of units; I see however no reason this would not work): Why don't you unzip the zip, copy the files over as appropriate, and run whatever scripts therein by hand if necessary? You would (obviously) need root for that, but since you installed Xposed I would venture to guess that you already have it. Just keep track of what you changed in case you need to revert; better yet, have an image ready for recovery. Oh, and do inspect scripts before installing...
sbruda said:
Just a thought (I used this in different contexts, just not for this kind of units; I see however no reason this would not work): Why don't you unzip the zip, copy the files over as appropriate, and run whatever scripts therein by hand if necessary? You would (obviously) need root for that, but since you installed Xposed I would venture to guess that you already have it. Just keep track of what you changed in case you need to revert; better yet, have an image ready for recovery. Oh, and do inspect scripts before installing...
Click to expand...
Click to collapse
I might do that, I dont see why it wouldnt work ether, Ill update if I do it this way
stonedhippiecomputerdude said:
I might do that, I dont see why it wouldnt work ether, Ill update if I do it this way
Click to expand...
Click to collapse
That's also what my JET apk does for viper4android and Xposed install. Just a few minor changes to paths in the script as the recovery partition can't be used.

Categories

Resources