yashsingh1/xdaforums huggingface dataset:
[Asus Transformer TF700] sbdags:
CROMI 4.0 for the TF300 is already out.:o I've been moonlighting. Not bad going since I don't actually have a TF300. :D

Been a long week :)
[Asus Transformer TF700] Moscow Desire:
Thread Temp Stickied as possible Warning

In light of what happened in the 300 forums as of late, I will temporarily Stick this as a Notice to 700 users.

Remember folks, don't be so quick to start flashing away with new updates. You never know what can happen.

MD's Rule #1 - NEVER take an OTA on a rooted device with unlocked Bootloader. Just asking for trouble. (yes, some people have been lucky)

Give the Dev's a chance to look things over first before you just "assume" everything is OK.

MD
[Asus Transformer TF700] MartyHulskemper:
Redditor? ;) I saw what you did there. Hehehe.
[Asus Transformer TF700] dady613:
hi to poster number one every time i do a full system update with asus full firmware via TWRP ir deletes TWRP will that make a difference?
[Asus Transformer TF700] buhohitr:
If you flash a full Asus firmware, it will remove your custom recovery (twrp). You need to reflash twrp again.
[Asus Transformer TF700] rlm0n0:
Good looking out dudes.....
[Asus Transformer TF700] ronniereiff:
Added a warning to my signature, others should do the same! I would hate for this to happen to any tf700 owners.
[Asus Transformer TF700] Ali I Hagen:
"Once you go CHROMI, you never go back to stock"

- Unknown
[Asus Transformer TF700] Tylorw1:
Something similar :p

Also will add a link to this thread in the coming days into my signature.

Tylor
[Asus Transformer TF700] sbdags:
Another 5+ people bricked today. It's like a horrible car crash :(
[Asus Transformer TF700] Thats OK:
:eek: Wowch...Is there a stickied warning thread on the TF300 forum?
[Asus Transformer TF700] sbdags:
Yep people don't read though. In my CROMI 4.0 thread for the TF300 I posted in RED CAPTALS BIG SIZE that you must be on Stock Asus JB 4.2.1, latest bootloader & TWRP 2.4.4.0 before attempting to flash the rom. Already had 2 people ignore this today. One installed straight over 4.1.1. Luckily you can't brick ths way as I do not incude the new bootloader. Another installed from CWM and now has a brick.

Others are bricking because they either flash the bootloader from a previous custom recovery or they install a previous recovery after going to 4.2.1 Currently both are perma-bricks.
[Asus Transformer TF700] sbdags:
There seems to be a general feeling amongst the TF300 users that nvflash no longer restores on the new bootloader..... Let's hope not. I have asked for some confirmation on that one.

I wonder if Asus has completely messed up with this new bootloader?
[Asus Transformer TF700] Tylorw1:
I pray people that have the tf300 are gonna get more cautious. And that people who have the tf700 when the new rom comes out reads. It is a terrible thing that people are bricking their tablets people they are not following proper procedure.

Tylor

Rom: CleanRom Inheritance 3.4.6 Odex

Kernal: _That's Stock V4 Kernal

Theme: Timberwolf's Blues & Jazz Theme V1.9
[Asus Transformer TF700] FordPrefect:
Sorry if that sounds nitpicking ... but in theory, if someone installed the stock Asus v4.2.1 ROM, wouldn't he then have the "latest bootloader" automatically? I was under the impression, Asus stock firmware comes bundled with bootloader and ROM.

Just want to be very exact to be prepared properly for the day "our" v4.2. ROM is unveiled :)
[T-Mobile, Samsung Galaxy SIII] Jamison904:
Developer's Work shop​

How to setup a development environment for nOobs, How to make a basic ROM from Samsung's stock firmware, how to setup and use the apktool, how to compile AOKP for the d2tmo (T-Mobile S3), how to port to an unsupported device for AOSP/CM/AOKP coming....

Table of contents

Setting up Linux and a developers environment how to for Linux - post 2

Android Kitchen how to for Linux - post 3

Apktool how to for Linux - post 4

Manually decompile and recompile smali, jar's and even apks' how to for Linux - post 4

How to compile AOKP for d2tmo (T-mobile S3) - post 5

How to cherry pick - post 5 Thanks to Midnight_Rider - post 5

How to compile a kernel for d2tmo (T-mobile S3) - post 6

#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/

By using these guides you agree with the above terms!

​
[T-Mobile, Samsung Galaxy SIII] Jamison904:
Done with the setup. Now a quick how to use it

First off, huge shout out and thanks to Jesusfreke!!! Without him none of this would be possible.

First head over to download section and download

baksmali-1.4.2.jar
smali-1.4.2.jar

then rename them to

baksmali.jar
smali.jar

Now make a new folder. I named mine smali. Place both into the new folder.​

Next go to Ubuntu software center and download 7zip.

Lets use the android.policy.jar as an example for this part of the guide.

Take the android.policy.jar and place it into the new folder (smali)

double click on the android.policy.jar to open the archive. Then click on the class.dex and drag it and drop into the folder (smali)

​

Now for the fun part.

Right click and open terminal here inside the folder. (If you haven't got it yet please do. Go to Ubuntu software center and download right click terminal.)

Now you type this or copy and paste:

java -jar baksmali.jar -o classout/ classes.dex

this will decompile the class.dex to a folder named class. Make your changes then continue.
​

Now to recompile you will type or copy and paste:

java -Xmx512M -jar smali.jar classout/ -o new-classes.dex

This will give you the output of new-classes.dex. If you get any errors or don't get a "new-classes.dex" then you had an error. Copy what the terminal says and paste it here and I will help you figure it out. If it is long please paste it over at pastebin.com and post a link here. Trying to keep it clean in here. Thanks!

You will want to copy the android.policy.jar and the new-classes.dex to a new folder inside the folder you have been working. I name this folder Test1. This way you don't overwrite the stock ones. Plus makes it easiser to keep track of what worked and what did not.
​

Now all you need to to is double click on the android.policy.jar to open the archive again. Now since you are in the Test1 folder rename new-classes.dex to

classes.dex. Last just drag classes.dex to the archive and drop it. It will add the new classes.dex to the archive. Once it is done close the archive and test to see if your chages worked.

I have attached a test zip for you to use. Just place the apk or jar where it goes. ie...SystemUI.apk goes into system/app and framework-res.apk goes into system/framework. Just double click the zip and go to the folder the apk or jar goes to and drag and drop it in then just close the archive. No signing needed this way. :cool:
​
[T-Mobile, Samsung Galaxy SIII] Jamison904:
another. . . . .. . . ..
[T-Mobile, Samsung Galaxy SIII] Jamison904:
Last one I think. . . . .
[T-Mobile, Samsung Galaxy SIII] gypsy214:
Awesome man. A million+ thanks. by the way you couldnt make it any simpler. It is very understandable. A have a little bit of knowledge but this clear up all my questions.
[T-Mobile, Samsung Galaxy SIII] myowin:
Re: [Guide][How-to's]Rom's, Smali, code. Links to all S3 MODs and Tweaks!

Way to step up man! Not only developing the ROMs but also developers. You just redefined the meaning of development. Truly appreciated.
[T-Mobile, Samsung Galaxy SIII] aaldiar:
Hardcore man, I was just thinking of attempting making my own ROM sets my way. installed Linux Mint and working on getting this going.
[T-Mobile, Samsung Galaxy SIII] famandeggs:
Re: [Guide][How-to's]Rom's, Smali, code. Links to all S3 MODs and Tweaks!

Indeed, there is a wealth of information scattered all over. It's nice to have everything neatly organized and in a clear concise format, that's easy to understand :) thx for this Jamison, will be looking forward to the additional information you add to this!
[T-Mobile, Samsung Galaxy SIII] bikrame:
Re: [Guide][How-to's]Rom's, Smali, code. Links to all S3 MODs and Tweaks!

Waiting for this guide so long. Thanks a lot man.
[T-Mobile, Samsung Galaxy SIII] ticojpunk:
Re: [Guide][How-to's]Rom's, Smali, code. Links to all S3 MODs and Tweaks!

This thread is inspiring me to finally get another Linux box running... and finally get to work building my own ROMs instead of bugging developers for simple stuff I know I could probably do myself.

Great thread!
[T-Mobile, Samsung Galaxy SIII] neuropass:
I couldn't have said it better. :cool:
[T-Mobile, Samsung Galaxy SIII] jovy23:
Re: [Guide][How-to's]Rom's, Smali, code. Links to all S3 MODs and Tweaks!

Great job man on this guide! This will definitely inspire users to become developers and finally contribute something to the community! :cool:
[T-Mobile, Samsung Galaxy SIII] Jamison904:
Thanks bro! And thanks guys! This stuff isn't hard at all, you just have to know where to find your answers. When I was learning all this the hard way I always thought, "man it would be nice if someone put a basic all in one guide." Well that is my plans here. Also I will do my best to help with any issues and/or error you might encounter as well as I am sure Jovy wouldn't mind helping you guys out as well. Dude is a stand up guy! :cool: That is why I love the Android community, everyone help each other!
[T-Mobile, Samsung Galaxy SIII] myowin:
And let me help you what I can.. Confirmation # 25913992HP008102C

I am a family man like you. I am sure you are good or better than me on balancing between work and life. Kudos my friend. :good:
[T-Mobile, Samsung Galaxy SIII] Jamison904:
Re: [Guide][How-to's]Rom's, Smali, code. Links to all S3 MODs and Tweaks!

Bro thank you! Really helps and I really appreciate it! Paypal is going to think something is up with all these donations from you buddy lol! You rock man.

Yeah I try to keep a good balance. I have been doing OK, just haven't been sleeping lately. Have a lot planned here and hope this turns into a one stop developers how to and help thread, also this way we can all work towards a common goal: To make these awesome devices into the super phones they are and how Samsung should of released them.

Sent from my dark hole called an office.
[T-Mobile, Samsung Galaxy SIII] mgbotoe:
Is there a compile list somewhere with different mods? I have been searching for a while on this forum and can't seem to locate...

I am not looking into building a rom for the public just wanted to tweak a bit to make something descent for myself...I love doing this kind of things, more of a hubby...something to do my spare time .
[T-Mobile, Samsung Galaxy SIII] BlownFuze:
Ready Captain!
[T-Mobile, Samsung Galaxy SIII] TomTcom:
Your guides also give me a great understanding of the structure and code base for roms. You are an awesome dude Jamison.

I found out my kernel compile guide for armhf using Ubuntu on my tf101 is nearly identical to your kernel guide. Thanks again!
[T-Mobile, Samsung Galaxy SIII] BlownFuze:
I have some questions about building a kernel. I've been building aokp for my Samsung Note, and the ROM build is great - the kernel is crap though.

I've taken the source for the kernel from Samsung's zip, and can build that fine as well, but it doesn't work with the ROM - the 2 don't meet in the middle. Lol

Is there something special I need to do, to build a kernel for aosp/aokp, from Samsung's source zip? I'm assuming that the kernel I build with that source is only good for a stock TW ROM, so how can I build for a ROM without TW?

All of this is because most of the repos for quincyatt are really generic msm8660 board stuff, and not specific for the note I717. I can't drop the source kernel files in the kernel directory for aokp, because it just errors out when making calls to other qcomm build files. I've been working on this for a few weeks now, tried a lot of things, but I'm kind of stuck. I'm hoping that I can build a kernel that will work and give me the stability of the stock kernel.
[T-Mobile, Samsung Galaxy SIII] Jamison904:
There are a lot of differences, but you can use the same source just make a new branch. I will look for some commits to show you what will be needed to make it AOSP/AOKP/CM compatible.

Sent from my dark hole called an office.
[T-Mobile, Samsung Galaxy SIII] BlownFuze:
Awesome - thanks bro!

I just posted my first ROM n the dev section for I717 - I gave thanks to you guys because I couldn't have done it without your help. hanks again.
[T-Mobile, Samsung Galaxy SIII] TechMitchell:
Hey guys, I'm installing Ubuntu now as a dual boot and I'm at the partition section, I clicked something else option but how do I partition it properly? I currently have two partitions, both are Windows,.one is the actual boot sda 2 and the other a recovery sda 1. There is a free space option at the bottom, how do I partition this properly for development? Thanks.
[T-Mobile, Samsung Galaxy SIII] Jamison904:
That is awesome man! Congrats and let us know if you need anything!

Don't mess with the recover partition or you will be sorry later. How big is you main partition (C drive) ? I would suggest using disk management in windows to shrink your largest (C drive most likely) to make room for your Ubuntu partition. It all depends on what you plan on doing but at minimum you should give yourself 50 gigs plus at least 2 gigs for a swap partition. Personally I have 200 gigs for my Ubuntu partition... But might be redoing and bumping it to 500 gigs. I have a 1T hard drive in my laptop. If you are going to build AOKP or CM, one build folder needs at least 50 gigs.

Sent from my dark hole called an office.
[T-Mobile, Samsung Galaxy SIII] TechMitchell:
I have 320 GB off free space for Ubuntu, I Judd need to know which options to use.

---------- Post added at 03:04 PM ---------- Previous post was at 03:01 PM ----------

I have 320 GB of space for Ubuntu , I just need someone to walk me through the partitioning process :)
[T-Mobile, Samsung Galaxy SIII] Jamison904:
If you have the free space that is not allocated then just install Ubuntu. It will see this and install there and setup everything for you. I still suggest using 12.04 LTS and not the newer ones also.

Sent from my dark hole called an office.
[T-Mobile, Samsung Galaxy SIII] TechMitchell:
Don't I need a swap partition?
[T-Mobile, Samsung Galaxy SIII] DsturbD:
when you boot off the ubuntu dvd go into Try Ubuntu and not Install. this will load the GUI for it and run it off of the dvd. once its loaded open a terminal and type sudo apt-get install gparted and hit enter (it will tell you if its already installed or not, cant remember off hand).

when that is done, press the Windows key on your keyboard and type gparted, click the icon that shows up and enter your password. it will show your drives and partitions, right click on the drive you want and click unmount if its not grayed out, then right click again and select resize/move

this will open a new window and you can use the sliders on the left and right to resize your partition. it will only let you resize it to the amount you have available

what i would do is shrink your windows partition (leaving it as much free space as you want it to have) and then create a new partition in the free space (right click the free space to create)

dont worry about formatting it or anything right now, you will do that during the install. but make a note of what the partition is when you create it, you'll need that later too

i have three main partitions, 200mb /boot, 16gb swap, and 215gb /. that is all on a 250gb drive. you do not have to have to have a separate /boot partition, i just do that out of an old habit and your swap doesnt have to be that big either. i have 8gb of ram so i know my swap is way more than i need, but im good

hope that helps and if you need more info on gparted, go here http://gparted.sourceforge.net/display-doc.php?name=help-manual
[T-Mobile, Samsung Galaxy SIII] TechMitchell:
Lol, I hate being a noon but I'm in gparted and there's 298 GB of unallocated space. I right clicked on it and picket new, do I set it as ext2 or what and should I set it as a primary partition? And the. What options do I select for the swap? Thanks

---------- Post added at 04:04 PM ---------- Previous post was at 03:38 PM ----------

Never mind, took the plunge and installed Ubuntu on a 270 GB partition formatted as ext4 mounted as "/". Then set a swap partition at 10 GB , will this turn out ok?
[T-Mobile, Samsung Galaxy SIII] Jamison904:
Yep. That will work. Have fun man

Sent from my dark hole called an office.
[T-Mobile, Samsung Galaxy SIII] TechMitchell:
Thanks dude, I really appreciate the help :)
[T-Mobile, Samsung Galaxy SIII] BlownFuze:
I should just ask if I can become an apprentice dev for team infamous. Lol

So far my ROM thread has grown multiple pages and is a success! I'm working on more updates for my little following now. Lol

Ok, couple of questions..

First, may I use your super wipe and cache wipe scripts? - Of course with all credits to team infamous in the post and the updater script. I've modified it for personal use, and I think it will benefit my users.

I know you're busy like crazy... buuuut, hopefully soon you can point me in the direction on how to build Samsung source into an AOKP kernel? Itching for that. Lol

Thanks again for everything!
[T-Mobile, Samsung Galaxy SIII] Jamison904:
I will talk to the guys, but I don't see why not. Just need to see who has time to mentor. I'll would but super busy right now and don't want to half ass it. :cool: And sure man you can use the scripts. Enjoy bro!

Sent from my dark hole called an office.
[T-Mobile, Samsung Galaxy SIII] TechMitchell:
Sorry, guys, another question. When I turn on my computer, it brings me to Windows boot manager with 2 options , Windows and Linux, if I select Windows, I go to Windows, but if I select Linux , it brings me to grub manager where I have to select Linux again, how do I disabled boot manager and just go to grub?
[T-Mobile, Samsung Galaxy SIII] TechMitchell:
Lol, sorry again but when I click 4 in terminal, I just doesn't work, 4 won't run for me, what did I do wrong? 1,2 and 3 all worked.
[T-Mobile, Samsung Galaxy SIII] DsturbD:
not exactly sure on that one as i dont have windows on my pc, but basically you now have two boot loaders (one for windows and one for linux)

let's say you are in windows and it crashes or it looses power. normally when you reboot it a menu will come up asking if you want to go into safe mode or if you want recovery or just boot normally. with your dual boot menu, you would still see that after you select windows, so in a sense there are two menus with windows as well

in the case of linux, the boot loader is pointing to the ubuntu grub menu which is on a different partition. once you get to that point, grub loads and shows you that menu

usually grub will time out to the default menu item so you should just let it boot. look at /etc/default/grub and look for the line GRUB_TIMEOUT=. mine is set to 10 which means boot the default OS in 10 seconds. you can set that to 0 to boot immediately, but i wouldn't do that, leave it at 5 or 10 (seconds)

for that one, just go into your home directory and make a .gnome2 folder there, open a terminal and type mkdir -p ~/.gnome2/nautilus-scripts and then run step 4 again
[T-Mobile, Samsung Galaxy SIII] TechMitchell:
It says the item could not be made as there is already an item with the name.
[T-Mobile, Samsung Galaxy SIII] DsturbD:
open nautilus and hit ctrl-h to show hidden files and look for the .gnome2 folder and inside there for the nautilus-scripts folder. if it is empty, try running step 4 again

if those folders dont exist, make sure you use the -p option with mkdir as that will make all the directories recursively
[T-Mobile, Samsung Galaxy SIII] TechMitchell:
I have no idea what you mean by nautilus but I typed it in the applications and it took me to the home folder, and I saw the hidden files, opened the .gnome2 folder and inside the nautilus scripts folder had 7 scripts, so did I do it right after all? Oh and another question, when I installed android sdk and ndk in the terminal, where can I access them now as I plan to develop apps and roms, thanks.:sly:
[T-Mobile, Samsung Galaxy SIII] DsturbD:
sorry, yeah Nautilus is the file manager for ubuntu and yeah those are the files you are looking for so it worked. when you run that script and do a step, when it finishes you can scroll up to see what happened

they are in /usr/local
[T-Mobile, Samsung Galaxy SIII] TechMitchell:
Ok, thanks, and last questions. 1) How do I open the sick to install the tools and crap to develop 2) That will probably involve terminal so is there any way I can save a shortcut?

Thanks man, for everything, hopefully that's it, for now :)
[T-Mobile, Samsung Galaxy SIII] DsturbD:
ok first you will need the right click terminal app. open a terminal and run sudo apt-get install nautilus-open-terminal

when that is installed, when you open your home folder (nautilus) and you are in any directory, you can right click in that window and the pop-up menu will have an entry called Open In Terminal. this makes it super easy to start a terminal

to start the SDK go to /usr/local/android-sdk/tools and at that prompt type ./android

or just type in the whole path /usr/local/android-sdk/tools/.android
[T-Mobile, Samsung Galaxy SIII] PMDColeslaw:
What size should I allocate for a dual boot linux system? I tried 10gb and ran out of space before the adb and sdk finished intalling. I have access to the rest of my drive/win7 partition (listed as a removable drive) however the script installs to the Linux OS partition by default. Is there a way to have it use the win7/storage partition or do I need to redo the linux install with more space?
[T-Mobile, Samsung Galaxy SIII] DsturbD:
you will need more space. the sdk installs to /usr/local and not sure if you can move it or change that easily

one way though would be to mount your left over windows drive space in your fstab to /usr/local and see if that helps. how much extra space does it have?
[T-Mobile, Samsung Galaxy SIII] Jamison904:
You will need to redo the whole thing. If you plan on doing any kind of development you will need at least 50 gigs. I use 200gigs but am about to redo mine and setup for 500. You can't install Linux tools on windows or even store them in that partition.

Sent from my dark hole called an office.
[T-Mobile, Samsung Galaxy SIII] Jamison904:
Also you will need to set the path for the SDK / NDK. One of the options in the setup script will do this for you. The manual way is easy but more chances of breaking something important then have to redo everything from scratch...

Anyways, once your path is setup you can pull up a terminal anywhere and use adb. Also if you setup your apktool per my guide you will be able to access the apktool anywhere as well. Makes life SO much easier!

Sent from my dark hole called an office.
[T-Mobile, Samsung Galaxy SIII] TechMitchell:
What setup script? The one I downloaded? And by options, which one? I'm slightly confused?
[T-Mobile, Samsung Galaxy SIII] PMDColeslaw:
Ok thanks, and just to verify there is no way to increase the linux partition without formatting it correct?
[T-Mobile, Samsung Galaxy SIII] Jamison904:
The attachment on the first post. Check it out. Download and open terminal in the download folder and type . andadb.sh

Sent from my dark hole called an office.
[T-Mobile, Samsung Galaxy SIII] Jamison904:
I think Gparted will allow you to expand without reformatting. But I haven't used it in a while so don't quote me...lol

Sent from my dark hole called an office.
[T-Mobile, Samsung Galaxy SIII] DsturbD:
yeah it will, you can shrink and grow a partition without reformatting, you can even move the partition on the drive. it takes some time depending on how much data you have, but it can be done