yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] ziggy471:
If you use loki_tool instead of loki_patch/flash, you can unlok an image:

> Revert Loki patching:

loki_tool [unlok] [in.lok] [out.img]

If the boot/recovery is not lokied, then it will do nothing more than copy the first image to the second. For patching, if you check /proc/cmdline against loki required bootloaders, like the first line of loki.sh in most AOSP ROMs:

egrep -q -f /system/etc/loki_bootloaders /proc/cmdline

Then you can determine if you need to use loki_tool to do the flash, unsure if loki_tool flash with flash a boot img to a device that doesn't require loki patched images, never tested that, but I can look through the code if need be.

As for unpacking, I've been using loki_tool to unlok the boot.img, abootimg to update it with a new kernel, then loki_tool to patch then flash. Very similar to how I used to distribute my kernels, just added in the loki_tool part for the S4. This works great, at least for me, since I'm the only one using them. ;)

If you need help with the loki stuff for VZW, hit me up, PM or GTalk might be better.

Z
[Galaxy S 4 i9505 Original Android Development] S4rr4cino:
Guys I can not download the kernel Alucard 1.4f tells me that the file does not exist, you can restore? Thanks.
[Galaxy S 4 i9505 Original Android Development] AntaresOne:
Restored and updated to 1.4h. :)

Inviato dal mio GT-I9505
[Galaxy S 4 i9505 Original Android Development] cantenna:
Can some please advise which TW ROM they used to install as secondary? I have tried (I think) every available TW ROM and none will boot as secondary.
[Galaxy S 4 i9505 Original Android Development] davidwilson83:
This is from the 4th post:

You may not have enough memory to do it?
[Galaxy S 4 i9505 Original Android Development] cantenna:
Thanks. I should because I have installed a very lean ASOP as primary. I have tried to install TW as secondary on both internal and external. Can only get it to work with touch wiz as primary ASOP secondary. If someone has managed to get tw to run as primary ASOP secondary id love to know which roms were used with links. Cheers!

Edit: anyways, I'm back to my working setup for the time being ie TW primary, asop secondary.

Another not so advertised benefit of using multirom; secondary ROMs internal storage can be limitless it seems (depending on the size of the secondary ext4 partition) Very useful for galaxy s4 users who don't feel they have enough internal storage. My daily driver secondary ROM is a nearly 10gigs! That's a lot of games and apps!
[Galaxy S 4 i9505 Original Android Development] Newbie F:
I have read everything you write on the post very carefully but can you be more specific plz concerning the files we should download? I mean for ppl who are not very familiar with these procedures there are many files on every link given. Which files should i download :|

Thank you in advance
[Galaxy S 4 i9505 Original Android Development] cantenna:
1) Install twrp recovery for your device from the twrp website via odin. I think you can also use an app called flashify from Play store to flash twrp but I haven't tried this method. If you already have twrp installed then skip!

2) follow op instructions.
[Galaxy S 4 i9505 Original Android Development] Lanin Khan:
Hi guys, sorry for the noobish question: I am now on stock TW 4.2.2 unrooted & non knox. Can i just root, install recovery and this mod without touching my current rom and kernel ?

ty in advance
[Galaxy S 4 i9505 Original Android Development] cantenna:
Why are you on 4.2.2 when 4.4.2 is out for TW?
[Galaxy S 4 i9505 Original Android Development] Lanin Khan:
I dont wanna deal with the damn KNOX stuff. The last time i check'd ( idk how many months ago ) was a real pain in the a$$, but i assume that's much easier now to " bypass"
[Galaxy S 4 i9505 Original Android Development] Newbie F:
I tried to install the multirom zip but when i am installing from TWRP it says failed. Why is that?
[Galaxy S 4 i9505 Original Android Development] davidwilson83:
Does it say anything about the error?

MultiROM dual booted Dirty Unicorns v8.0 I9505
[Galaxy S 4 i9505 Original Android Development] Newbie F:
I dont have the modified version i have the normal version 2.8.0.1

It says let me write it cause i dont know how to paste.

Checking for MD5 file...

Skipping MD5 check: no MD5 file found

Error flashing zip '/external_sd/multirom-master.zip'

Updating partition details.....

And from below says Failed with red letters.
[Galaxy S 4 i9505 Original Android Development] davidwilson83:
Try to move or copy it to internal Sd card? Have you got latest busybox by Stericson installed?

MultiROM dual booted Dirty Unicorns v8.0 I9505
[Galaxy S 4 i9505 Original Android Development] Newbie F:
I dont know what busybox is. So i do not know.

I moved to internal memory tried to install and the same thing failed. :(
[Galaxy S 4 i9505 Original Android Development] davidwilson83:
Bad download? Try downloading again?

MultiROM dual booted Dirty Unicorns v8.0 I9505
[Galaxy S 4 i9505 Original Android Development] Newbie F:
Maybe the downloads are bad from the links? Cause trying to install modified recovery that says but same thing. Failed. Can i find these files uploaded anywhere else?

* Downloaded again from the site but still same problem. And i am flashing things with recovery so i dont think that is problem of recovery. Is there any problem that i have imperium rom installed and thats why i cannot install the multirom?

---------- Post added at 03:01 PM ---------- Previous post was at 02:37 PM ----------

also when I check the zip verification at the error saying zip verification failed with red letters. Please does anyone know to help me?!
[Galaxy S 4 i9505 Original Android Development] Newbie F:
Plz can the creator post again links of the files? Because i tried everything but i think the files have problem and everytime i am getting fail. I already flashed two roms without any problem. Only these files i cannot download
[Galaxy S 4 i9505 Original Android Development] cantenna:
Skyfall NI1 ROM is 4.4.2 and has Knox removed
[Galaxy S 4 i9505 Original Android Development] Newbie F:
So i did a lot of reasearch about the multirom and on this thread i think that the links are not for i9505 but maybe for nexus. I tried from other sites and the files that linked really worked for the multirom but the problem is that are not updated, So is there a possibility to fix the files here?
[Galaxy S 4 i9505 Original Android Development] davidwilson83:
All the files you need to download are in the 3rd post and they're all for I9505.
[General Questions and Answers] Roblewis17:
I Was Wondering what exactly is a Kernel code? I have a kyocera hydro elite and I have the kernel code for it. Only thing I know is that its for Android development, So I was thing if I can develop a custom ROM for this Device? Is this possible? And What else would I need
[ONE Q&A, Help & Troubleshooting] cyablo:
Has anyone also Problems with the inbuilt Compass of the One? Lately I wanted to use Google Maps while walking and discovered the Compass is working within Google Maps. So i tried a few other Compass Apps, where some do work and others dont.

I did create a Issue on this, but it seems I'm the only one with this Issue so far: https://jira.cyanogenmod.org/browse/BACON-731

Im on stock CM11S, so it cant be any Mod / Custom Rom / Kernel Problems.

Greets

Daniel
[ONE Q&A, Help & Troubleshooting] Till604:
Compass issue related to encryption

Hi,

I have the exact same problem. At first, I thought it might be a hardware defect, but that isn't the case.

Is you phone encrypted?

As bizarre as it sounds, it seems like the compass stops working as soon as the phone is encrypted. I did a factory reset - compass started working again. Encrypted phone again - compass no longer working.

Daniel, if your phone is encrypted as well, please update the jira ticket - it will help the developers reproduce / fix the issue.

Bye,

Till
[ONE Q&A, Help & Troubleshooting] c_belda:
Same problem here, but not encrypted
[ONE Q&A, Help & Troubleshooting] cyablo:
My Phone is encrypted NOW, but I really dont know if it was back when I encoutered that the Compass does not work with Google Maps.

I will try to Factory Reset if Ive got the Time and see if this does something to Google Maps. I wanted to try CM11 (without S) anyway.
[ONE Q&A, Help & Troubleshooting] stewa2jm:
Prior to encryption, my compass was just way off. Generally around 25 degrees counter clockwise. Now that the phone is encrypted, the compass doesn't work at all.
[ONE Q&A, Help & Troubleshooting] stewa2jm:
Anyone know if these issues are present on the "Vanilla" CM11 snapshot and/or nightly roms direct download from the CM site?
[ONE Q&A, Help & Troubleshooting] cyablo:
According to the Jira Ticket, this also does not work on CM11 nightlys.
[ONE Q&A, Help & Troubleshooting] kolyan:
Compass was always broken even on Nexus 5. I was hoping it would be fixed in 1+1 and so many Google Maps updates and yet this is still an issue.
[ONE Q&A, Help & Troubleshooting] cyablo:
It doesnt even work on N5 when encryption is enabled? really?
[ONE Q&A, Help & Troubleshooting] kolyan:
havent used encryption, it just didnt work in maps
[ONE Q&A, Help & Troubleshooting] cyablo:
Thats weird. but I dont see the connection to the OPO then, Compass is fine when Phone is not encrypted.
[ONE Q&A, Help & Troubleshooting] ek69:
My compass works but it's just way off lol

//edit

Actually I just tried it now since maps got updates recently and now it's kinda right and isn't off by much :confused:

Phone isn't encrypted
[ONE Q&A, Help & Troubleshooting] 1%Walker:
cm11 night 20150105 ,not encrypted.

Compass only worked in notification drawer widget,all other apps didn't work.
[ONE Q&A, Help & Troubleshooting] Salty Wagyu:
My compass was 90 degrees off in Google Maps earlier today. It was 180 degrees off a couple weeks ago too. What causes this?
[ONE Q&A, Help & Troubleshooting] xflowy:
Same problems here. Anyone an idea?
[ONE Q&A, Help & Troubleshooting] Ok_Kaleidoscope5109:
Compass works on my end but the orientation is off 90 degrees in CM11 I believe. It really throws off walking directions but driving seems ok
[ONE Q&A, Help & Troubleshooting] xflowy:
try this. download GPS Status & Toolbox @ playstore. calibrate the compass, like here https://www.youtube.com/watch?v=Rak2xhnk0qE

couldn't test it myself yet.
[Xperia Z Q&A, Help & Troubleshooting] adamkm:
Hi Guys

Does anyone know of an app that will let you lock the screen of your phone but still leave it playing and showing what it was before, like vide?

Example:

I have an "ABC song and video" I downloaded for my 16 month old son. He loves he, it keeps him happy and entertained for 10 mins at a time (Which is a long long time at that age ha), the trouble is, in that 10 mins he inevitably gets a bit excited and pokes the screen, or picks it up. This pauses the video and ofc he doesnt know how to resume. I need an app that would like float over the top or something that makes it so if he presses the screen nothing happens. Functionally, to unlock it it'd be nice to press the lock button (Which would cause the phone to lock fully) and then be unlocked normally.

Anyone know if that is possible, or if it already exists?

Thanks

Adam
[Xperia Z Q&A, Help & Troubleshooting] Zewarxx:
??

https://play.google.com/store/apps/details?id=com.mxtech.videoplayer.ad
[Xperia Z Q&A, Help & Troubleshooting] adamkm:
Thank you very much :) I had MX player already but I didnt know about the kids lock plugin app.

That was only an example though, there's other things like watching random stuff on youtube, or general gallery video's which would be nice to lock too.

If someone would want to make 1, there isnt anything like it and I would pay £5 for it if i could lock any app working like the kids lock on MX player does.

Thanks

Adam
[Xperia Z Q&A, Help & Troubleshooting] Zewarxx:
you can try this one to play the video in floating mod but i dont know if it woks while the screen is locked :D
[Xperia Z Q&A, Help & Troubleshooting] zviki:
https://play.google.com/store/apps/details?id=com.argotronic.touchblocker

or Touch blocker or... The key word for search is "touch",not "screen" ;)
[Xperia Z Q&A, Help & Troubleshooting] Ticklefish:
MX Player has a kids lock option.. And I think you can put videos onto loop as well.. ;)

Be warned though, you will soon regret it. My eldest son is a big fan of the CBeebies app and I swear I now know every word by heart...
[Xperia Z Q&A, Help & Troubleshooting] gregbradley:
Please post questions in the Q&A section

Thread moved
[Verizon Samsung Galaxy Note II] Madison Hughes:
I have verizon note 2 flashed to page plus, will unlocking the sim allow me to use t-mobile network even though its been flashed to pageplus
[Moto G Q&A, Help & Troubleshooting] Ferguson35000:
Hello,

I have followed the tutorials to unlock the bootloader of my moto G 4G : the bootloader is unlocked and I have removed the message when starting the phone with this tutorial : xdaforums.com/moto-g/4g-development/logo-remove-bootloader-unlocked-warning-t2794104

Anyway, I would like now to install a recovery CWM with this tutorial :

http://xdaforums.com/moto-g/4g-development/recovery-unofficial-cwm-6-0-5-0-t2818161

But when I do so, I have the following message on the screen of my phone : "Mismatch partition size (recovery)"

And when I boot on the bootloader then select recovery but nothing appears, just a black screen.

The status code of my bootloader is : 3 and it says "Device is unlocked".

I can boot to CWM from the computer with : fastboot boot recovery.img

but when I type : fastboot flash recovery CWM-6.0.5.0-peregrine.img I get this error.

Can someone help me please ?

Thank you in advance.
[Moto G Q&A, Help & Troubleshooting] Ferguson35000:
I'm stil stuck.

Is there anybody able to help me ?

Thank you.
[Moto G Q&A, Help & Troubleshooting] UncolourTV:
I got this problem when installing CWM too. I believed the problem is in this line:

instead, you could try this:

fastboot boot flash recovery CWM-6.0.5.0-peregrine.img

When I did this, it worked. Give it a try. You could also try this little program, I changed CWM to TWRP with it.

http://xdaforums.com/moto-g/4g-development/moto-g-4g-easyrecovery-toolkit-t2856710
[Moto G Q&A, Help & Troubleshooting] Ferguson35000:
Hello Hello,

Thank you for answering.

The command : fastboot boot flash recovery CWM-6.0.5.0-peregrine.img doesn't work because there is too much arguments. It gives me that answer :

cannot load 'flash': No such file or directory

I retried the right command but still the same problem.

I also tried the small program given by this URL on linux : http://xdaforums.com/moto-g/4g-development/moto-g-4g-easyrecovery-toolkit-t2856710

My computer under Ubuntu fails to recognize the device. The device shown is empty.

I will try it on windows then come back here to tell you what happened.
[Moto G Q&A, Help & Troubleshooting] Ferguson35000:
I have the same issue with this program under linux or windows, it doesn't recognize my device. I have activated USB debug, tried under bootloader or with the phone normally started but nothing better.

only fastboot boot recovery.img works. :(
[Moto G Q&A, Help & Troubleshooting] hacktrix2006:
You have to flash the recovery with mfastboot from motorola when flashing partitions else you will get the size mismatched error.

Standard fastboot is only good for basic things such as getvar etc.

Always flash with mfastboot and it will not error out.

So the command will then be mfastboot flash recovery CWM-6.0.5.0-peregrine.img which should then work without issues
[Moto G Q&A, Help & Troubleshooting] Ferguson35000:
Thank you for answering.

I will try this then come back.
[Moto G Q&A, Help & Troubleshooting] Ferguson35000:
Same error :

I still have the mismatch thing with mfastboot ... :(
[Moto G Q&A, Help & Troubleshooting] hacktrix2006:
Have you tried going back to a stock 4.4.4 if you have ota'd to 4.4.4 you need 4.4.4 stock image.
[Moto G Q&A, Help & Troubleshooting] Ferguson35000:
Hello, I have bought the phone less than one month ago.

It was directly on 4.4.4 after unpacking.

I have tried both and they both have the same problem :/ CWM as well as TWRP...

Still no idea what happens.
[Moto G Q&A, Help & Troubleshooting] kosamuky:
same problem

I got the same problem using mac..

Impossible to install cwm or twrp also.. i cannot enter in the recovery mode any more

the boot loader is unlocked. I don't know whats going on
[Moto G Q&A, Help & Troubleshooting] Ferguson35000:
Did you find any solutions for this ?

I'm still stuck :(

Is it normal when entering the bootloader to have the message :

"Device is UNLOCKED. Status code: 3 "

Is it the right status code ?

Thank you :)
[Moto G Q&A, Help & Troubleshooting] bennythedip:
Back to stock

Yes its normal if you have unlocked your bootloader

To get back to stock, download a stock Fw for your device model and region, you can find a link for one if you enter the moto g section of this site and head to moto 4g lte android development section (only section specifically for peregrine model) unpack the fw files into your fastboot directory (windows) reboot your phone to fastboot mode (where u saw the status code) then press control + shift + right click to launch a command prompt window here (from within fastboot directory in windows) then copy and paste these fastboot commands 1 by 1 pressing enter each time until compete.

mfastboot flash partition gpt.bin

mfastboot flash motoboot motoboot.img

mfastboot flash logo logo.bin

mfastboot flash boot boot.img

mfastboot flash recovery recovery.img

mfastboot flash system system.img_sparsechunk.0

mfastboot flash system system.img_sparsechunk.1

mfastboot flash system system.img_sparsechunk.2

mfastboot flash system system.img_sparsechunk.3

mfastboot flash modem NON-HLOS.bin

mfastboot erase modemst1

mfastboot erase modemst2

mfastboot flash fsg fsg.mbn

mfastboot erase cache

mfastboot erase userdata

mfastboot reboot
[Moto G Q&A, Help & Troubleshooting] Ferguson35000:
So you mean, it is compulsory to have stock ROM in order to install the recovery ?

Because my problem is not to return to stock, it is to install a proper recovery (CWM or TWRP) in order to boot on it without my computer.

Thanks for your help :)
[Moto G Q&A, Help & Troubleshooting] bennythedip:
No but I think your problem is you have corrupt the recovery partition size maybe through bad flash or something so ur unable now to flash a recovery as the partition size is for different device or damaged and flashing cwm will no longer work as the cwm image is too big or too small for the allocation assigned to it as the devices core partition table has changed (can happen when u flash something for the falcon when you have a peregrine), I would flash back to stock via that method to restore to stock partition sizes and then reroot and flash cwm again after, just a guess from my own understanding.
[Moto G Q&A, Help & Troubleshooting] cd492:
Guys I had the same trouble installing the recovery with the mismatched partition size message. This message is normal and the recovery is already installed on your device. The problem i had when selecting the recovery with the following black screen was that I used the Power Button instead of the up Button. :eek:

5) using volume down scroll to recovery and then use volume up to select
[Verizon Samsung Galaxy S III] enoxos:
I got the verizon S3 almost 2 years ago and I rooted it back then. The version that I have now is 4.1.1, but the phone is acting up with constant shut down. I have read that it may be the power button, but it does it only when I am outside or driving, the phone does not reboot when at work or home.

Anyway, I decided to update the android to the official verizon latest version, but I am not sure what to do. There are so many links and different options that I am afraid I will brick the phone and then have a very expensive paper weight.

Will it be possible to update to the latest and still keep the apps?

Any help please?

thank you in advance
[Verizon Samsung Galaxy S III] cindylike24:
What links and options are you afraid will brick the phone?

Cindy
[Verizon Samsung Galaxy S III] enoxos:
I am just not sure how to proceed, can i just download the latest official verizon update from xda (i think it is the 4.4.4) and install it?

thanks
[Verizon Samsung Galaxy S III] schwinn8:
Generally, you have to run the verizon OTA upgrades in order. This means you need to run 4.1.2, then the others before you can get to 4.4. Running the OTA upgrade should preserve your apps along the way. However, note that anything after 4.1.2 (aka MF1) will lock the bootloader, which will prevent you from running any custom ROMs and kernels in the future. Also note that there have been reports of battery life issues with the Verizon version of KitKat... take that with a grain of salt, but be aware of it.

For what it's worth, I'm still running 4.1.2 unlocked and rooted... there are no TW KK ROMs available yet for this phone, but you can run AOSP or other KK versions.
[Verizon Samsung Galaxy S III] enoxos:
what is TW stand for? sorry for the ignorance.

Do you recommend a good kit kat rom for this phone? I am correct to assume that installing a new rom will require to re-install all the apps? maybe there is an easier way to do this.

thanks
[Verizon Samsung Galaxy S III] sthpaw01:
TW = touch wiz, KK = kit kat (just in case you didn't know) ?
[Verizon Samsung Galaxy S III] schwinn8:
enoxos: Given your question about TW (and other questions) I suggest you do a lot more reading on XDA before jumping into any upgrades. It's not always easy to "jump in" and just apply updates or ROMs. That's not to say it's hard, but I find it's better to read a LOT and know all the pitfalls before performing any update. Granted, I may take it to another extreme, but it's better to know what you're getting into rather than asking for "emergency help" after the fact. It also allows you to be prepared for anything that happens with the necessary downloads and such... that way you don't have to go hunting around for them later.

Regarding the question about which KK ROM to use, unfortunately there is no easy answer there. While I think it's a legitimate question, XDA frowns upon it and tells you to just "try it out" on your own. I feel there should be some way to determine what most people are using, or ask accordingly... but people still complain at the question... I wish there were a better way to get this answered!
[Verizon Samsung Galaxy S III] enoxos:
thanks guys,I have alerady tried 2 kik kat ROMs and I am trying another one as we speak until I find what I want. Of-course these are not official Verizon ones, which I guess I am fine with now.

I am also going to use Titanium backup to restore all my apps in the new ROM. Is this something that is recommended?
[Verizon Samsung Galaxy S III] ShapesBlue:
Noooo. It's ok to restore apk files but it's never recommended to restore the data from the apps. I'd suggest keeping your unlocked bootloader and not bothering to take the OTAs or anyone for that matter. I've seen the newest ota to kk, 4.4.2 and honestly unrooted it doesn't look all that much different.

My gf also has an S3, mine is unlocked where as she never rooted hers so it's stuck forever on a locked bootloader running kk. It's truly your own decision on which rom to run, compare what features they have and go from there.

From my Wicked S3 running MIUI
[Verizon Samsung Galaxy S III] enoxos:
I have already installed the slim kat 4.4.4 ROM. So I am playing around with the apps now, will see if Titanium works or not lol

On another note, when I installed the slim kat ROM (or 2 other previous ones-trying to figure out which one is for me), the free internal memory on the phone was only 5 gB while I have the 32 gB S3. Any advise as to why so little internal storage left?

thanks
[Verizon Samsung Galaxy S III] ShapesBlue:
Unsure without seeing it. Try using a free app on the play store, there are two I recommend. Either SD maid or Cachecleaner NG, either should free up junk you have. Also do you have any backups on Internal? After the rom essentials it should be down to about 28gb or so

From my Wicked S3 running MIUI