yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] dav1dde:
Hello,

I think this is a hard one for you.

My unrooted Nexus 4 (Android 4.3) worked perfectly fine until the day I (randomly?) lost the signal (couldn't make phone calls or browse the internet ). I thought, hey that's not too bad, make a restart and it will work again.

Well instead of booting again it was stuck in a bootloop. So I reflashed stock 4.3, again bootloop, I tried to flash CM, bootloop, I cleared caches/wiped files constantly with twrp and CWM. Then finally I flashed stock 4.2, hey it booted!

But I had no IMEI number, nor a baseband version! So I flashed several baseband versions, neither worked (the bootloader-start screen showed the flashed versions though!).

So far I am searching for a solution all over the internet on how to restore the IMEI without a backup! Is there any hope for me? I have the IMEI number and tbh from my understanding this number has to be saved somewhere in hardware as well.

Any help appreciated!

- David

Btw. update from 4.2 to 4.3 -> Bootloop.
[Android Q&A, Help & Troubleshooting] dav1dde:
Just flashed 4.4 and it bootloops.
[Android Q&A, Help & Troubleshooting] dav1dde:
Ok, new idea, but I need your help for it.

What if I can restore my IMEI based on one of your "m9kefs1.img"? Can anyone provide me a working image of "m9kefs1.img", "m9kefs2.img" and "m9kefs3.img", this would be awesome!
[Android Q&A, Help & Troubleshooting] cvidal80:
hi...im having the same issue ...i tried almost everything without luck... i was thinking why google developers wont give us a solution for those who are outside the U.S. ...cause its real pain in the a** trying to send it to their service.
[Android Q&A, Help & Troubleshooting] FordFiestaMK7:
Same problem

What you have in "/dev/block" ?

This is mine:

~ # cd dev/block

cd dev/block

/dev/block # ls

ls

loop0 mmcblk0 mmcblk0p16 mmcblk0p23 mmcblk0p8 ram13 ram7

loop1 mmcblk0p1 mmcblk0p17 mmcblk0p24 mmcblk0p9 ram14 ram8

loop2 mmcblk0p10 mmcblk0p18 mmcblk0p25 platform ram15 ram9

loop3 mmcblk0p11 mmcblk0p19 mmcblk0p3 ram0 ram2 vold

loop4 mmcblk0p12 mmcblk0p2 mmcblk0p4 ram1 ram3

loop5 mmcblk0p13 mmcblk0p20 mmcblk0p5 ram10 ram4

loop6 mmcblk0p14 mmcblk0p21 mmcblk0p6 ram11 ram5

loop7 mmcblk0p15 mmcblk0p22 mmcblk0p7 ram12 ram6
[Android Q&A, Help & Troubleshooting] FordFiestaMK7:
News

I saved my "m9kefs1.img" & "m9kefs2.img"!

They are 2 files of 780KB with a lot of information, are they corrupted?
[Android Q&A, Help & Troubleshooting] dav1dde:
The problem are not the "files" in /dev/block but the contents of these 2 files:

m9kefs1 (/dev/block/mmcblk0p8)
m9kefs2 (/dev/block/mmcblk0p9)

I don't know if they are corrupted, because I can't compare them to mine, which are definitly broken.
[Android Q&A, Help & Troubleshooting] PN.ItalyGirl:
News? On eBay I found an engineering sample with a "Repair EFS" program, where can I download it?

Thanks!
[Android Q&A, Help & Troubleshooting] PN.ItalyGirl:
Help me! :banghead:
[Android Q&A, Help & Troubleshooting] PN.ItalyGirl:
Android 4.4.1

Anyone have tried if Android 4.4.1 have bugfixed this problem?
[Android Q&A, Help & Troubleshooting] ushiyama:
neither 4.4.1 or 4.4.2 factory images solve this unknow baseband / imei problem
[Networking] pogi:
Hi,

1. Just received an O2 XDA II, however:

a) "XDA II" is what is printed on the phone (Silver) case but when I

turned it on "XDA IIs" is shows up during the phone start up.

For info,

O/S is WinMobile 2003 2nd Ed., Ver. 4.21.1088.

Processor is Intel PXA263

ROM Version / Date is 2.06.00WWE / 06-14-04

Radio Version: 1.18.00

So what does this make my phone, an XDA II or XDA IIs?

b) In the [Programs] menu window, there is a folder:

"Communications/WiFi Tools/WLAN Tools (Mobile Edition)"

The WLAN program is from "www.socketcom.com" - (Utility Version

2.0 and a Build Date of Jan 20, 2005)

Does this mean I can WIFi? And do I still need to get a WiFi Card or

the phone itself is already WiFi capable?

2. I also have an O2 XDA II Mini which I have been using for the past year. So far I have already sync the "Contacts" and the other files from my Mini to the XDA II.

However, is there a way to copy/sync its "Messages" folders to my O2 XDA II? I have saved a lot of important texts and made numerous subfolders, and thus really need to duplicate the existing format to my other unit. So far using Active Sync and Microsoft Outlook has not worked for me.

Appreciate any advise you can give.

Thanks, Pogi
[Networking] zoidster:
Does it have a slide out keyboard at the bottom ?

the XDA IIs is supposed to !
[Networking] pogi:
Nope. The unit itself is XDA II. However, when I trun on the phone, the start up displays "XDA IIs". Plus there is a WLAN program (XDA II does not usually have this). Tx
[Networking] Melty:
The XDA 2i looks like and XDA 2 and has built-in WiFi. Does yours actually have WiFi, or just a program (which doesn't actually do anything)?
[Networking] pogi:
Mine has the WLAN program and just needs a Wi-Fi Card to run.

Thanks
[Networking] wsabido168:
Pare, what you have over there is an XDAII but with software upgraded to WM2003 Second Edition giving it the same software as the XDAIIs so the only difference that I know of between the XDAII (upgraded) and the XDAIIs is the keyboard (XDAIIs has a builtin one), WLAN (XDAIIs has it builtin) and the larger memory and faster chip on the XDAIIs. :)
[Networking] pogi:
Maraming salamat for the info. So does this mean ... all I need is to buy a Wi-Fi card? What brand to you suggest besides Sundisk?

Also, is there a way I can copy the messages (especially those in my folders) from my XDA II Mini to my XDA II?

Thanks again, pre
[Networking] wsabido168:
to be honest, I haven't really tried the wifi on the XDAII at all though the specs on the official website says it'll work. :)
[Networking] pogi:
Ok, thanks again sa tulong
[Networking] xda2me:
XDA ii Format

Is anoyone know how i can format my XDA ii and istall again.

Thanks

mumin@westnet.com.au
[Galaxy Note 3 Q&A, Help & Troubleshooting] VodkaPlease:
hey.

i bought my note 3 rooted already and when i trying to software update i am getting the message

"Q] Your device has been modified. Software updates are not available"...the knox is 0x1..

what do i have to do?do i have to flash roms now?
[Galaxy Note 3 Q&A, Help & Troubleshooting] jaythenut:
yeah thats what happens when your rooted ,you can flash a rom or download firmware from www.sammobile.com and flash with odin ,you will lose root
[Galaxy Note 3 Q&A, Help & Troubleshooting] VodkaPlease:
i want to install custom rom..so just download a rom that i like for n9005 load it via odin and flash it?or i have to install recovery first and etc?
[Galaxy Note 3 Q&A, Help & Troubleshooting] sriram231092:
you can't install a custom rom via odin! you need to have custom recovery like CWM and then flash the custom rom.zip file from that recovery mode.
[Galaxy Note 3 Q&A, Help & Troubleshooting] VodkaPlease:
so if my device has been rooted already i just have to install CWM and put the rom file inside the SD card and flash via recovery?and how do i flash the recovery?
[Galaxy Note 3 Q&A, Help & Troubleshooting] jaythenut:
best way is install cmw or twrp then flash a rom

---------- Post added at 08:25 PM ---------- Previous post was at 08:24 PM ----------

with odin
[Galaxy Note 3 Q&A, Help & Troubleshooting] VodkaPlease:
So just enter to download mode go to odin press PDA load the recovery file and flash thats it right?
[Galaxy Note 3 Q&A, Help & Troubleshooting] VodkaPlease:
i see one more question if you dont mind even if i install any rom my device will always remain as sim free right?it has nothing to do with region lock or sim right?
[Galaxy Note 3 Q&A, Help & Troubleshooting] jaythenut:
yes mine stayed unlocked mines a n9005

but if it does lock go here http://xdaforums.com/showthread.php?t=2470551
[Galaxy Note 3 Q&A, Help & Troubleshooting] VodkaPlease:
so it can happen if i install any other rom?but my main question if if i install a custom rom my device will still remain as sim free right?
[Galaxy Note 3 Q&A, Help & Troubleshooting] jaythenut:
should mine did :D
[Galaxy Note 3 Q&A, Help & Troubleshooting] VodkaPlease:
i see..which rom do you recommend so far?
[Galaxy Note 3 Q&A, Help & Troubleshooting] jaythenut:
i like note x thats what im on at the mo
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] hishamzaki:
Hi

I have problem on my device with asphalt 8 airborn

I downloaded all the required files from apkmania and do the instructions exactly

When i open the game it say 8 mega bytes required for the game to word

And it start to download the 7.80 mb file but when reach 6 mega it stop suddenly saying there's a problem preventing downloading

I repeat the process and the same occur every time
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] ATrueJesusFreak:
Kinda sounds like you might be trying to download the game illegally..in which case, you are not allowed to post on XDA about such activities. I would suggest sucking it up and paying the 99 cents on the Play Store. It's a good game and a dollar isn't much. I've found that generally "legit" downloads of apps tend to work better.
[Verizon HTC Droid Incredible 4G LTE] j13smiley:
i'm running viper... which still has the sense lock screen with the ring you need to pull. is there any way to disable the lock screen?

i'd like to replace it with this "invisible lockscreen"...

http://xdaforums.com/showthread.php?p=47419188

it works - but i have to pull the sense lock ring before this one takes affect. i think it's a nice way to see you widgets on the lockscreen ;)
[Verizon HTC Droid Incredible 4G LTE] xdadevelopers-user:
I just tried renaming /system/app/HtcLockScreen.apk and that seemed to work.

You'll need to mount /system rw (I used adb remount).

Now, instead of the HTC lockscreen I have, what looks to me, like the standard Android lock screen (dunno what that's called).

-xdadevelopers-user
[Verizon HTC Droid Incredible 4G LTE] j13smiley:
Really! Wow... I may try that!

I don't even know what the standard android lock screen looks like...
[Verizon HTC Droid Incredible 4G LTE] j13smiley:
thanks that worked! now my invisible lock in my OP works ;)

thanks!
[Android Development on Bada] darklight2k2:
THIS IS A SCRIPT TO HAVE SWAP AND NOT A ROM!

I tested the swap on "CM10.x" by volk204 but there isn't a reason it shouldn't work on other rom versions.

version 1.0 13/11/2013 18:29 GMT+2

I experienced some lag with my wave due to its low ram memory. So after testing a few things i found myself more comfortable with setting up swapfile on sd card(NAND memory); after few minutes this terminal becomes really smooth. (It strangely is faster than setting it up on the phone memory, atleast for me)

The idea is mine, but checking around i found that many other script were made. I got the sleep line to boot part idea from "Defiant07 @ XDA" (http://xdaforums.com/showthread.php?t=2359182). Everything else (as simple it is it's all mine)

Swap is the *nix term for virtual memory, that maybe many are familiar with on windows.

You set up a partition/file and use that as virtual memory. It will be much slower than real ram, but it will be much faster than reloading everything from disk everytime.

#!/system/bin/sh
# This script was authored by Defiant07 @ XDA. If you use/redistribute it, eve$
# Thanks to zeppelinrox most of all, but also many thanks to dk_zero-cool & gu5$
# Much thanks to pikachu01 @ XDA for permission to use the sysctl tweaks from T$
# Read Karl Marx!
# Nearly entirely modified by skyglow
swapfile="/storage/sdcard0/swapfile"
#swapsize in KB
swapsize=524288
swappiness=90
vfs_cache_pressure=100
dirty_background_ratio=5
dirty_ratio=20
dirty_writeback_centisecs=500
dirty_expire_centisecs=200
while [ ! "`ps | grep -m 1 [a]ndroid`" ]; do sleep 10; done
if [ ! -f "$swapfile" ]; then
dd if=/dev/zero of=$swapfile bs=1024 count=$swapsize
mkswap $swapfile
fi
# sleep 30
# mkswap $swapfile
swapon $swapfile
busybox sysctl -e -w vm.swappiness=$swappiness
busybox sysctl -e -w vm.vfs_cache_pressure=$vfs_cache_pressure
busybox sysctl -e -w vm.dirty_background_ratio=$dirty_background_ratio
busybox sysctl -e -w vm.dirty_ratio=$dirty_ratio
busybox sysctl -e -w vm.dirty_writeback_centisecs=$dirty_writeback_centisecs
busybox sysctl -e -w vm.dirty_expire_centisecs=$dirty_expire_centisecs
exit 0

Requirements

Superuser rights on terminal to change permission and copy this file

Configuration

1) set up "swapfile" field to where you want your swap

2) set up "swapsize" field to an appropriate value in KB! ( i think you should try values over 307200 => 300MB to have performance improvements)

(SD or NAND version)

SD version

size=512 MB

position=sdcard root

NAND version

size=300MB

position=bada application partition

How to install

1) Download the right zip from this page

2) Extract the file from the zip

3) Upload the file in some way on the phone

4) Become superuser

5) move it to "/system/etc/init.d"

6) this file should keep hits name "99myswap"

7) change permissions of "99myswap" to 755

8) change its rights to "root:shell"

9) done, next reboot your swap will be set up automatically

P.S.

How to check if swap is activated:

Open terminal

cat /proc/swaps

Swap filename should be displayed with the right size

[ADDED DEBUG SCRIPT]
[Android Development on Bada] darklight2k2:
Possible problems

1) System hangs on cyanogen loading screen ( rotating circle)

INVESTIGATING

2) Battery charge lasts less.

Any kind of virtual memory use more electrical power to perform write/read on disk (SD). This is a side effect of swap.

3) File format

*NIX file format is LF and not CR-LF (for reference why this happens http://en.wikipedia.org/wiki/Newline#Representations)

You can't edit the file with windows notepad, but use something else such as notepad++ and save it in LF coding.

4) System is slower

Possible causes are:

a) you have applications on the same filesystem where you placed the swap

b) your memory (such as SD card) is too slow. Swap will work, it will just go much slower. Try it with a better sd. I tested it with a class 4 and class 10 sdcard and they both speed up. I don't have any possibility at the moment to test a class 2. (reference http://en.wikipedia.org/wiki/Secure_Digital#Speeds)

5) How to change permissions (thanks Eltjo for copy paste from your answer)

Open terminal

Type: su

Type: cd /system/etc/init.d

Type: chmod 0755 99myswap

Type: chown root:shell 99myswap

6) zRam

On my mobile it's faster if i disable zRam from Settings > Performance > Memory Management > zRam .

Anyway i think outcome may change. Try both solutions.
[Android Development on Bada] cfernr:
could be possible to use free nand memory as swap instead of sd card?
[Android Development on Bada] darklight2k2:
I added the NAND version that installs itself in the bada partition. If you installed the sd version remember to remove the swapfile.
[Android Development on Bada] cfernr:
lets try both, thank you very much
[Android Development on Bada] darklight2k2:
no problem.

DEBUG REQUEST

Who had the loading screen on cyanogen circle may tell me which sd card class have?

The following procedure do not install the script, it just will work till reboot.

may them try to upload the script in a generic directory such as /storage/sdcard0 and execute it with

su

cd /storage/sdcard0

sh ./99myswap

I'd like the output of that command and the resulting /proc/swaps

then use the phone, (play/call/charge/reboot)

next boot start the script again please and tell me the resulting /proc/swaps again

Thank you for the help
[Android Development on Bada] cfernr:
seems work on my phone.

installed swapfile on nand and ram increased 30mb, but low improvement in real performance.

need to change zram options, but cant find this on my phone, maybe due to language discrepancy. can you explain better?

thank you a lot
[Android Development on Bada] saltcushy:
I also cannot find zram a options under B.U.X V3.1 (4.3.1 CM10.2) by Tigrouzen
[Android Development on Bada] darklight2k2:
If you don't have the menu for zRam it's disabled by default. To see it you should enable all developer settings.

Settings > About phone > Build number (tap 7 times)

Some more tweaks will unlock.

Unfortunally i didn't test that rom yet but i think the procedure above will work.
[Android Development on Bada] cfernr:
tested and I have to say this is necessary if you want to enjoy a few extra mb in this phone.

I recommend nand swap because everybody have 300-400 unused mb in bada apps partition.

disabling zRAM seems also recommendable.

I hope everybody take care of this script for future ROM releases

*** I will decrease swappiness to 70 or 60, I think it is enough.
[Android Development on Bada] JonasVFC:
i've a samsung class 10 32gb.

i've not run the script with sh command, just copied it to /system/etc/init.d (aplied chmod and chown) and reboot the phone. after that it hangs on CM circle on first boot and have to re-install the rom. wipe data/factory reset didn't help.

best regards
[Android Development on Bada] darklight2k2:
To try to solve it i need to know what happens when executed with the sh command
[Android Development on Bada] JonasVFC:
after installing the rom again it can boot the first time but hangs on the second like everybody else

running with sh it runs ok
[Android Development on Bada] darklight2k2:
that's why i said not install in the problem request
[Android Development on Bada] JonasVFC:
problem is with chown, just run the chmod 755. didn't run chown command last time and it booted second and third time

edit: nevermind, it hanged again
[Android Development on Bada] JonasVFC:
i did it with 2 different ways....with a fresh install between and both hang
[Android Development on Bada] darklight2k2:
You're just posting and posting what happens but not what i asked you to do to five me information.
[Android Development on Bada] JonasVFC:
i did what you asked, read again, i ran it with sh: it runs fine!! creates the swapfile and outputs some parameters that are in the script like swapiness and others....
[Android Development on Bada] chapito:
Hi, [MENTION=2037815]JonasVFC[/MENTION].

I understand you've been running the Swap version of Android v2.1 Volk204. How do you get it?.

Yo, if I install the file in the directory 99myswap indicating the first page, but I get that the system does not start, stays on constantly CM logo.

A greeting.
[Android Development on Bada] darklight2k2:
May you guys try the following attached file please?

when it hangs may you post the logfile created in the phone directory ( you can get it from bada)
[Android Development on Bada] chapito:
Hi [MENTION=5417898]darklight2k2[/MENTION].

What is the way forward.

Did you install the attached file in /system /etc/init.d?.

I delete the file 99myswap?

Change, permissions and root: shell of this attachment?

thanks
[Android Development on Bada] darklight2k2:
I'm asking you guys to do the test because i do not have such bug. So if you can attach in this forum the related logfile produced by the debug script. This script should be installed like the original one.
[Android Development on Bada] darkvier:
Not enough space for swap file or bad location?
[Android Development on Bada] darklight2k2:
That's what i'm wondering :\

debug script updated
[Android Development on Bada] AurimasZ:
After typing cd /system/etc/init.d it says file not found. I am using 4.4 version of android.
[Android Development on Bada] JonasVFC:
my hint is that /storage/sdcard* is not mounted when the script runs
[Android Development on Bada] darklight2k2:
i'd already know the answer about every suggestion if any of you tryed the debug script. Since it logs the system status before the script is actually executed.
[Android Development on Bada] darklight2k2:
i have the same move error. i just copied the file and then deleted the unwanted copy.

It seems few user have your issue. I'd appreciate if you could test the debug script above and post me the log outputs.
[Android Development on Bada] JonasVFC:
there you have it https://dl.dropboxusercontent.com/u/315266/myswap.log :good:
[Android Development on Bada] ptmax13:
First of all, thanks darklight2k2 for your hard work.

I have the same issue as with the people above.

I freshly installed CM 2.1 today. I did the steps correctly I think.

I cannot test your debug script, and to be honest, noone will, as we are stuck in a bootloop.

I could re-install the whole thing again, but that means I will lost some hours of setting things up and apps downloading. So I will wait for a better solution.

I copied your script and only changed the swap size to 1048576 (1 GB), since I have threw in a 8GB class 10 sdcard, which is nearly empty.

Maybe the file "swapfile="/storage/sdcard0/swapfile"" is the problem. That file doesn't exist at first, and when the script tries to create it, it might not have the right permissions. I'm not an expert, just a guess.

If it helps, after the hang and the bootloop, I loaded bada and took a look at the sdcard in mass storage mode.

The folders ".android_secure" and "LOST.DIR" were created during the bootloop. Both of them are empty.

Give me your thoughts, and if there is anything I could try for you.

Thanks...
[Android Development on Bada] darklight2k2:
Thank you. I think i need further information to try out the solution. I updated the debug script. I'm sorry i need more of your efforts :\

Meanwhile may you confirm that you create a swapfile of around 135MB?

From what i saw it actually create and activates the swapfile. So it really should be related to the system mounts.

Unfortunally i need someone that make those tests for me, reinstalling android every debug-release, since i do not have this issue. ( Meaning having a working android version, installing the debug script then giving me the log of when it hangs)

The script should have the permission since every script in /etc/init.d/ should be executed as root.

Those folders are automatically created by the Android system and are indipendent from my script.
[Android Development on Bada] JonasVFC:
i runned the script as it was, with 512MB (i think).

i think you know that every time i run your script i've to reflash the whole rom again, dont you?

like i said early
[Android Development on Bada] darklight2k2:
Unfortunally i do and i thank you for your tests.

I have no idea why those things happen.

If you didn't test the last script yet wait a moment. I'll try something on my own
[Android Development on Bada] ptmax13:
Is it possible for you to create a flashable .zip file, so we can flash the new scripts from CWM recovery and not having to do a fresh install?

I would have taken a backup if I knew that the script has those issues. Of course, this is my fault. Everything could go wrong when messing with scripts.
[Android Development on Bada] darklight2k2:
Nice idea! sorry i didn't think about before, but i'm quite new of android packaging system.

So apologies again to JonasVFC.

And you can find the flashable zip for the debug on first page (myswapdebug.zip).

just use CWM recovery to install it.

The other solution will be converted to the same system too as soon we solve this issue
[Android Development on Bada] ptmax13:
OK, I flashed the .zip. It went OK with no errors.

Next time I booted, I got a bootloop like before. Rebooted to Bada, but I could't find the log anywhere.

After a little investigation, I think I found the problem to all this...

You must be like this:

internal memory --> sdcard1

external sd card --> sdcard0

We are having bootloops because we are like this:

internal memory --> sdcard0

external sd card --> sdcard1

I am 99% certain of this. Why?

When I was booted in Bada, I connected in normal USB mode. I couldn't find the log. Then I connected in mass storage. I found that in my sd card there was a folder structure like this: "etc/init.d/" and inside were the two files I flashed with your zip. So, CWM flashed the .zip into the sd card instead of the internal android system.

So, if you haven't made any mistakes with the zip, that means that we are having problems because our mounting is different than yours.

Which is very strange since I have the same CM 2.1 as you have...

Let me hear your thoughts...