yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] rharshit:
What does script.sh do?

all.sh - It does everything. From installing required packages, to java, to ADB configuration, to repo. ALL

build_environment.sh - It sets up the stuff required for build environment. The packages and the ADB configuration

java.sh - It lets you decide the java to install. It asks if you want to install OpenJDK 6, OpenJDK 7, both or none

repo.sh - It install the repo tool to your system

Note:

If working with Ubuntu 14.04 or higher (or based), you need to install some additional packages. Just enter the following command.

USB configuration is add as ROOT and not as user.

java.sh, when executed, will prompt to install OpenJDK 6 first, then OpenJDK 7. Press 'y' to install the package and 'n' to not install it, according to your choise

You need to set proper execute permissions to for the scripts before executing. And need to execute as root.
[Miscellaneous Android Development] rharshit:
Reserved for thanks :P
[Galaxy Tab 8.9 General] ashik786:
I am using Samsung Galaxy Tab 8.9(P7300). I deleted my android OS accidently when I was trying to install a custom ROM. After that,I downloaded a Custom ROM for my tab. And installed using Odin. It showed pass. After that,when I try to start the tab. Samsung's logo will be showed and got stuck in there.I can't even switch off my tab.If press power button,It again comes to logo screen.I am able to get downloading mod by pressing volume button and power button.Anyone please suggest me a solution to recover from this disaster that I have made.:crying::crying::crying:
[Galaxy Tab 8.9 General] iZLeeP:
Flash stock firmware via Odin.
[Galaxy Tab 8.9 General] ashik786:
I have done that.When Tab is starting,It got stuck at samsung logo.
[Galaxy Tab 8.9 General] graug:
Which recovery are you using? I recommend twrp. See here for installation instructions.

http://xdaforums.com/showthread.php?t=2602188

After that you can try to install a new rom, following these instructions:

http://xdaforums.com/galaxy-tab-8-9/development/roms-kernels-nameless-kasper-kernel-t2937458
[Galaxy Tab 8.9 General] ashik786:
accedently deleted my android OS

The problem is that my tab is not detecting by computer since it doesn't contain any OS. So, anyone please tell me how to transfer downloaded recovery tar file to my tab???
[Galaxy Tab 8.9 General] fabduhameau:
What happens when you push power+volume down? Do you have recovery/download menu? can you access to recovery?
[Galaxy Tab 8.9 General] ashik786:
Recovery Menu

Yes, I can access the recovery menu which showing download or install from SD card options when holding Power button + Volume up key. But, there is nothing in the SD card
[Galaxy Tab 8.9 General] graug:
Did you install a custom recovery before trying to install your custom rom?

If you are able to boot into recovery, then you should be able to connect the tab to your computer and put files onto the tab. You should be able to do this even if there is no custom rom installed. Does odin not detect the tab if it's booted into recovery? If so, you might try pushing files with adb onto the tab. If adb doesn't recognize the tab, then you might need to reinstall the drivers on your computer and/or try with a different cable, if you can get hold of one. It might be helpful to describe in more detail what exactly you did and what is failing.
[Galaxy Tab 8.9 General] librapt:
I did this once, I booted into download mode, flashed an original rom from Odin and then put the zip files from my PC and flashed them. :)
[Nexus 6 Q&A, Help & Troubleshooting] Pl2lNCE:
I recently rooted my Sprint Nexus 6 and everything was going fine. But then I started to run into issues when running the disabling the decryption. I was able to resolve those and install Pure Rom and customize it to my liking before taking a backup. But I logged into my WiFi immediately when setting up that phone. Soon after I turned off the wifi when stepping out, and I saw an Exclamation Point show up next to what was previously a semi full signal strength meter. I tried calling a few numbers and nothing was working.

I updated my PRL to the latest prior to rooting, etc. I know that this is a risk when you root, but does anyone know a possible solution?

My Recovery, ADB, Fastboot and everything works, I just can't get the signal.

I have also tried to update with the factory image from google:

https://developers.google.com/android/nexus/images

It does seem to update the Radio and a few other things, but ultimately fails:

Any help is appreciated, thanks.
[Nexus 6 Q&A, Help & Troubleshooting] Mistertac:
I'm also on Sprint and had the same issue myself, I thinking that since these ROMs are so new that maybe they need our APNs added or something.

Maybe there is another way around this issue for the time being but I didn't investigate it further, I just didn't have time.
[Nexus 6 Q&A, Help & Troubleshooting] Pl2lNCE:
I found a workaround, you can manually flash the images inside image-shamu-lrx21o.zip:

I just flashed the decrypted boot.img, system, userdata, and cache and I was good to go. Fresh install of Stock Rom without Envrcption., and I was able to Update the PRL/Device Config. Now just gotta get it set up and Root again.
[Moto E Q&A, Help & Troubleshooting] kevin_23:
Hi, yesterday unlock the bootloader of my motorola ey so good, but today I went to try reclosing the booloader and besides that I could, my motorola starts with the operating system but puts emergency calls, do not detect the card sim, I'm afraid, someone could help me I can do for you to regain your network? a greeting
[Moto E Q&A, Help & Troubleshooting] kkbs4u:
Check your IMEI No. Using *#06#

Sent from my SM-N910A
[Moto E Q&A, Help & Troubleshooting] kevin_23:
yes i check, the imei number is correct:(
[Moto E Q&A, Help & Troubleshooting] kevin_23:
I cant call... emergency calls only...
[Moto E Q&A, Help & Troubleshooting] kevin_23:
I have already solved the problem my rom flashing with adb commands, greetings
[Moto E Q&A, Help & Troubleshooting] swivels:
Emergency Call Only

Kevin,

I am having the same problem can you please tell me how to fix this issue as well.

I have checked my IMEI number and this seems correct.

I have done a factor reset and still have the same issue.

I have XT1524 4G model.

Regards
[Sony Xperia M] Nicklas Van Dam:
nah i will explain how to deodex stock rom with smali baksmali compiler, it's safe and simple way to deodex your firmware

first of all you must prepare this for your pc

Java JDK

Winrar

Smali Baksmali Compiler

and the last prepare your framework files from your /system/framework

- first make sure the application is already installed java jdk extract the files smali_baksmali anywhere if you've copied the files the framework of the folder system / framework folder into smali_baksmali

[IMG="1"]http://2.bp.blogspot.com/-V2LjLw-72mk/U6bQzlay0-I/AAAAAAAABbg/A-nnT42jflg/s1600/capture-20140622-194843.png[/IMG]

- if it is copy the apk file you want to deodex example odexnya SystemUI.odex SystemUI.apk and its file into the folder smali_baksmali

- after that do simultaneously press the shift key by right-clicking on the smali baksmali folder and select open command window here

- if open cmd like this

[IMG="2"]http://2.bp.blogspot.com/-so6xYvtXAlk/U6bSU1EHo3I/AAAAAAAABbs/ZKnMXIY-4qU/s1600/capture-20140622-195523.png[/IMG]

- enter the following command

java -jar baksmali.jar -x SystemUI.odex

if the above process is successful it will be in accordance with the picture below

[IMG="3"]http://1.bp.blogspot.com/-m0N0lJ5ZgWk/U6bUI_hSrXI/AAAAAAAABb4/6uXU-AGTEP8/s1600/capture-20140622-200216.png[/IMG]

- If you already enter this command again to remove the file classses.dex

******* java -Xmx1024m -jar smali.jar out -o classes.dex

- if the above process is successful it will appear classes.dex file in the folder you smali_baksmali

[IMG="4"]http://3.bp.blogspot.com/-4LiUAPq89pM/U6bVF0IW2mI/AAAAAAAABcE/cNJSDZdW9aI/s1600/capture-20140622-200706.png[/IMG]

- if it is open earlier systemui.apk file using winrar right click and open with winrar until the demolition of the file systemui.apk

[IMG="5"]http://2.bp.blogspot.com/-vLMrevXcuHM/U6bVn_7kEQI/AAAAAAAABcM/3-eyNe_jZUI/s1600/capture-20140622-200928.png[/IMG]

- if it drag classes.dex files into winrar to enter into one piece

completed and congratulations you have an application that is already in the file deodex well now just copy the file into the system / app and set permissions rw-r-r

nah may be that's my way, deodex with smali_baksmali compiler, if you have problem with java just tell me ok;)
[Sony Xperia M] Piravinthb:
Nice tutorial dude
[Sony Xperia M] Nicklas Van Dam:
Yap, but it little complicated but the result it's always working:)
[Sony Xperia M] yashgumaste:
Cant download Smali Baksmali Compiler can you please give any other link :)
[Sony Xperia M] Nicklas Van Dam:
the link is completely working, ok wait i will give you another link:)
[Sony Xperia M] Nicklas Van Dam:
here you go bro http://www.sharebeast.com/xey43d0hzc4i try to disable sharebeast downloader if you want to direct download
[Sony Xperia M] yashgumaste:
:good: downloaded
[Sony Xperia M] Nicklas Van Dam:
Have try :D
[Sony Xperia M] yashgumaste:
First I copied the framework folder into my pc.

Then copied all the jar files from smali_baksmali.rar into framework folder and...

When I typed this commond -

java -jar baksmali.jar -x SystemUI.odex

it said cannot find SystemUI.odex

What to do?

My phone is LG-E455

Do I also have to copy LGSystemUI.apk ?
[Sony Xperia M] Nicklas Van Dam:
Ya you must copy the stock systemui.apk too
[Sony Xperia M] yashgumaste:
I got classes.dex file but did not understand what to do next?
[Sony Xperia M] Nicklas Van Dam:
Next, open your systemui.apk with winrar only select open with and select winrar. After open drag your classes.dex file to your systemui.apk and after complete copy your systemui.apk to your phone and copy to /system/app and set permission to rw-r-r and delete SystemUI.odex file from there, after that reboot your phone and you have systemui app deodexed :D, but if you running on kitkat you must copy to /system/priv-app and do same thing like that
[Sony Xperia M] yashgumaste:
Yup done with it. But how to confirm that rom is deodexed?

Previously when I was using the theme manager in rom tolbox pro, there showed a dialog box that my rom is not deodexed and themes wont apply

and now when I went there the dialog box did not show up but even the was not applied even after rebooting
[Sony Xperia M] Nicklas Van Dam:
just check on your system/app folder in there you will find all your system apps and if deodexed you will not see any .odex file from any app on that folder. and if your system/app folder is deodexed and theme manager still tell you're not deodexed try to deodexed framework files too with this way and all almost same with this :D
[Sony Xperia M] yashgumaste:
The .odex files of other system apps are still there, that means I have to follow the same procedure with all other jars and apks in the framework folder to completely deodex my rom ?
[Sony Xperia M] Nicklas Van Dam:
yap you're all completely deodex your rom bro :o

Have Fun
[Nexus 5 General] PhyscoAssassinx:
Hello all,

I'm running the latest 5.0, LRX21O, and I've noticed that icons tend to get stuck in the status bar. For example I still have the phone icon even though I hung about about an hour and a half ago. (picture 1) Same thing happens work lockscreen notifications but with my Jawbone UP24, even the battery is low out shows a low battery icon and when i charge it and reconnect it still shows on the lockscreen as low battery (sorry no picture yet) where unlocked in the status bar it just shows this (Picture 2)
[Sony Xperia E3] hell_lock:
Root status: Permission Denied

Lets keep this thread reserved only for discussion related to rooting this phone. We haven't achieved root yet but I know the way to do it.

You need to follow this guide in order to root your device: http://whiteboard.ping.se/Android/Rooting

So till now I have been able to:

-Build a new kernel

-Unpacked the kernel using kernel kitchen by championswimmer and flashtool(for the sin file)

-.Made the changes in ramdisk

But the next step requires packing it back again. And for doing that you need the cmdline from the kernel.

Its located in /proc/cmdline.

I tried to view it via adb but obviously the system denied the permission because of no root.

Usually you can easily obtain cmdline parameters from the boot.img itself, but in this case, Sony has done some shizz so that you cant obtain it directly. Plus this is my first Sony device so I dont have much knowledge regarding this..

I wont get much time to work on it becuz of my exams.. that's why this thread is here

If you can help/contribute in any way then you are surely welcome. But no noob posts here.
[Sony Xperia E3] k2wl:
@InfinityShooter use archi's kitchen for unpacking boot.img

first convert stock kernel.sin file to boot.img(by just renaming it)

archi's kitchen will give you the cmdline and other parameters to pack the kernel..
[Sony Xperia E3] hell_lock:
It doesn't work. Sony uses a different kind of boot.img. I have tried dsixda kitchen also, it didnt work out.
[Sony Xperia E3] k2wl:
oh !!! my old sony xperia m used have kernel .sin which used to convert to boot.img by renaming....

Hmmm... how about using a dd command to extract boot.img to sdcard and then unpack it in archi's kitchen????
[Sony Xperia E3] cnagr:
I don't know if this can help at all: http://xdaforums.com/showthread.php?t=1659584.

It's been ages since I gave up on linux, even as an amateur, so my knowledge is quite limited and, to be honest, a lot of hunch is involved. That's why I am so hesitant at trying this myself. :(

Anyway I hope this helps a bit.

Also you can get the latest firmware for D2203 (18.4.C.2.12) from here: https://mega.co.nz/#!bMBg1Rqa!aqGcTv6ved0ifh867pbnVVsc-4t55lR9OOij1iSiNLA, which means that one can probably try without unlocking the bootloader...
[Sony Xperia E3] hell_lock:
I have already made the kernel but needs testing. Anyone here with unlocked bootloader and d2202 can try hotboot this using flash tool.

http://d-h.st/rx7e

Try at your own risk.

There is 0% chance of bricking if you hotboot it.

DO NOT FLASH IT
[Sony Xperia E3] Lionel Nicky:
I've tried the kernel. But I do not know how to enter CWM, whether the kernel already include CWM?
[Sony Xperia E3] vinay:
No it is not cwm you have to use adb to mount /system as read/write then push su to /system/bin and you will get root. All you need is get superuser from playstore.
[Sony Xperia E3] hell_lock:
Report!

The boot.img which I had posted has been confirmed working.

We now have the correct command for packing the boot.img thanks to [MENTION=359497]jerpelea[/MENTION]

I'll be looking forward to making a recovery from source.

If it works then root is not far away
[Sony Xperia E3] vinay:
will, it work on xperia e3 d2212
[Sony Xperia E3] hell_lock:
Not now.. only for d2202.
[Sony Xperia E3] cnagr:
I don't know if this a noob question: in the tutorial InfinityShooter posted earlier it says that the phone must have an unlocked bootloader. Thing is that I am a bit confused in terms of whether the bootloader must be unlocked to obtain the system image or in order to fastboot the insecure image. If it is just to obtain the image then wouldn't it be possible to cook the insecure image using the ROM image that Sony distributed to developers, leading to a solution that doesn't interfere with the bootloader?
[Sony Xperia E3] Lionel Nicky:
after I try the kernel, no bugs are found, everything works fine, like wifi and the other no problem, just given cwm to facilitate root... :)
[Sony Xperia E3] hell_lock:
CWM

Ok this is the second build of the cwm kernel

You can get it here: https://www.androidfilehost.com/?fid=95832962473396055 Doesnt work

You have to HOTBOOT this kernel

Tell me if it works or not.

Troubleshooting:

If you are stuck at black screen then dont worry. Just press and hold power+vol up keys together for 20 seconds to reboot it.

On rebooting the system will automatically revert to stock kernel which you were using earlier.

Congrats! Your phone is working again!
[Sony Xperia E3] adek89:
i must have unlock bl?

Wysyłane z mojego WT19i za pomocą Tapatalk 2
[Sony Xperia E3] cnagr:
Unfortunately yes. Bad thing is that when we unlock the bootloader the TA partition is formatted leading to various problems with Sony apps.
[Sony Xperia E3] hell_lock:
Okay I need help here. My testers report this kernel as working but it fails to work on my device. Please let me know what happens with you..

Link: http://d-h.st/NFR

Here are the EXACT things I do to flash it:

1. Open flashtool

2. Connect my phone

3. I click on thunder icon in flashtool and choose fastboot mode.

4.I click on "Reboot into fastboot mode[adb]"

5.I click on "Select kernel to hotboot" and open the boot.img inside it.

I look at my phone,its all dark. The blue light goes away

6.I click on check current device status and it shows adb connected

7.Orange led comes up as my phone is connected to pc

I see no sony logo or anything like that.

The screen is still BLACK! One thing I notice is that whenever I press the power key, the screen backlight turns on little bit enough for me to notice the varaiation.

Please post your intruction set if it works out for u.
[Sony Xperia E3] cnagr:
I can't test it myself since I have locked bootloader but did you try to get a working adb shell at this state? If shell works then you might be able to push su and supersu to the device.
[Sony Xperia E3] hell_lock:
Dude I cant see anything on screen and you are talking about pushing files -.-
[Sony Xperia E3] cnagr:
Dude you said that the phone appears to be connected to the pc in adb state, regardless of the phone screen state. That's where that big if of my suggestion came from.
[Sony Xperia E3] hell_lock:
First of all, my phone is not booting. I am concerned about making it boot first. Rooting can come later.. whats the use of a phone where there are no visuals?

Or take it this way, you need to check in your app drawer if superuser is there or not, right? I have black screen. My primary issue here is the black screen.
[Sony Xperia E3] Rawerz:
I don't know if this works for you, but the boot.img I made I had to flash it, because hotbooting it gave me a black screen :/
[Sony Xperia E3] hell_lock:
Are you sure about that becuz if it still doesnt work then m gone for good.. there are no stock images I have which have worked with my phone..
[Sony Xperia E3] cnagr:
A non-booted phone can't connect in adb state, right?

Anyway I think I got mixed up from a previous post regarding a guide on how to root any android device (hotboot an insecure kernel -> push su and supersu -> reboot with stock kernel).
[Sony Xperia E3] Rawerz:
How long would it take for you to download the ftf for your phone?
[Sony Xperia E3] cnagr:
Or you can try phone repair through Sony PC Companion...
[Sony Xperia E3] hell_lock:
Kernel booted!

Rooting? I'm on it!
[Sony Xperia E3] hell_lock:
[MENTION=6190558]Rawerz[/MENTION] Sony_RIC module succesfully removed. Nothing exists at /sys/kernel/security/sony_ric now :D

Tell me how you enabled root in adb and we might be succesful in rooting it.

Latest kernel: http://d-h.st/9Rzy
[Sony Xperia E3] Rawerz:
Okay, so now I've disabled RIC, and still, I get "mount: Operation not permitted" a bit confused now, but there's probably something that makes extremely much sense which my brain can't fetch. xD
[Sony Xperia E3] hell_lock:
I'm soon going to compile TWRP for it. Maybe then we can directly root it using flash package method.
[Sony Xperia E3] BJIADOKC:
you need to push su binary to /system/bin for mounting partitions.

I have an idea, what about rebuilded system.sin? I mean we extract system.ext4 from system.sin, push all superuser stuff to it (under linux ofc) and flash our sin via fastboot

fastboot flash system system.sin

I don't know, trat trick work on locked bootloader or not, but we can try.
[Sony Xperia E3] beingakhil:
http://xdaforums.com/xperia-e3/general/root-e3-t2964845

Does this work
[Sony Xperia E3] Tonio78r:
Confirmed working on D2203, should work on D2212 with correct kernel, see proof result below :)
[Sony Xperia E3] vinay:
how did you managed to boot kernel i am also stuck at black screen same way you do
[Sony Xperia E3] adek89:
1 post

Wysyłane z mojego WT19i za pomocą Tapatalk 2

---------- Post added at 12:28 PM ---------- Previous post was at 12:27 PM ----------

here!

b

Wysyłane z mojego WT19i za pomocą Tapatalk 2
[ONE Q&A, Help & Troubleshooting] :
Q&A for [ROM] [4.4.2] OnePlus ONE YunOS 2.9.2 (Stable Release)

Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.

Before posting, please use the forum search and read through the discussion thread for [ROM] [4.4.2] OnePlus ONE YunOS 2.9.2 (Stable Release). If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.

Thanks for understanding and for helping to keep XDA neat and tidy! :)
[ONE Q&A, Help & Troubleshooting] harolete:
Multilang

Nice rom. Is this rom multilang?
[ONE Q&A, Help & Troubleshooting] kbalthom:
Work great but allitle battery drain.

I am successfully flashed this rom to my OPO 64Gb Chines version.

Rom is Ok but i really confuse with some Chines app .

Feel battery is alittle drain.

Anyway good for daily driving.
[ONE Q&A, Help & Troubleshooting] Mirzohid:
Russian languages yes?

Firmware international?
[Xperia Z Q&A, Help & Troubleshooting] BR4DOKYBrazil:
The Return, Home and Tools Keys of my friend Xperia Z stopped working! The most amazing that when you turn the device horizontally, with the power button down, so that these keys are where would be the top of the unit, they work. I tried to format, install new FW with Full Wipe, pass anti-virus and the problem continues! There is no problem in touch because games and apps that use that space usually work!

Has anyone had this problem?
[Xperia Z Q&A, Help & Troubleshooting] lostmymind:
A friend's Xperia Z is showing the exact same symptoms. My first guess was also hardware issue like a defective touchscreen. Right now, I don't have a clue how to solve this problem.
[Xperia Z Q&A, Help & Troubleshooting] BR4DOKYBrazil:
Surely it is no problem on the touch screen, as when I turn the device, that part works normally! Already tested in games and when there those keys, the screen works normally!
[Karbonn Sparkle V] Silver-Hawk:
The proximity sensor seems unreliable, and the screen keeps turning on/off repeatedly, while keeping the device close to any object while mid call. I've had all sorts of things happened to me post call, because aparantly my face/ear keeps touching the screen.

Has anyone else experienced this with this phone?

Also, does anyone know of the "Special Codes" etc for this phone to enter Diagnostic mode (I've used that on Galaxy phones in the past) or something similar so I can more objectively quantify the behavior?
[Karbonn Sparkle V] GokulNC:
You can choose to disable or edit Proximity Sensor Settings using this app.

Try this app from Play Store: Proximity Screen Off Lite

If it is useful and you want Full Version, either google "Proximity Screen Off Pro" or buy it.

Hope this helps :)
[Nexus 6 Q&A, Help & Troubleshooting] inick73376:
http://imgur.com/a/E7wY0 < Pics lol. So My Phone wasn't showing LTE at the top and it's had a "!" with 5/4 bars showing so I panicked thinking I didn't have LTE (Which I did, I don't know why the Symbol went AWOL) so I went into Networks setting and changed Preferred Network Type into LTE (recommended) about 30mins later I got the LTE Symbol back. So Is there anyway I can change it back to "Global" and not LTE (recommended)? I just wanna make sure I can get 3G/2G when needed even tho I normally get 4G LTE everywhere I live hehe. I have bad OCD lol and this is affecting me badly LMAO