Cant find any free slot machine API's on the net.
Decided to make my own and this is what ive came up with.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
If anyone knows of an api or source code for a slot machine please let me know, at the moment the pay table ive had to generate just for a win(per line) is about 150 lines of code.
not posting the source code or any images i have used, this is just a basic build or Aristocrats Big Red machine.
can guarantee a law suit against me if i did.
Progress is on youtube - Big Red by Aristocrat for PC
Here is my current code to generate tokens per win for only 1 line
Id also love suggestions to try, example a much more simple way of generating a win.
Code:
if (bet >= 1)
{
// WIN LINE 1
// GET RESULTS FROM PAYTABLE
// CHECK IF 1, 2, 3, 4 OR 5 OCCURANCES
if (p6 == 2) total = total + 2;
if (p6 == 3) total = total + 2;
if (p6 == 2 & p7 == 2) total = total + 12;
if (p6 == 3 & p7 == 3) total = total + 10;
if (p6 == 4 & p7 == 4) total = total + 3;
if (p6 == 5 & p7 == 5) total = total + 2;
if (p6 == 11 & p7 == 11) total = total + 2;
if (p6 == 2 & p7 == 2 & p8 == 2) total = total + 150;
if (p6 == 3 & p7 == 3 & p8 == 3) total = total + 100;
if (p6 == 4 & p7 == 4 & p8 == 4) total = total + 50;
if (p6 == 5 & p7 == 5 & p8 == 5) total = total + 25;
if (p6 == 6 & p7 == 6 & p8 == 6) total = total + 15;
if (p6 == 7 & p7 == 7 & p8 == 7) total = total + 15;
if (p6 == 8 & p7 == 8 & p8 == 8) total = total + 10;
if (p6 == 9 & p7 == 9 & p8 == 9) total = total + 5;
if (p6 == 10 & p7 == 10 & p8 == 10) total = total + 5;
if (p6 == 11 & p7 == 11 & p8 == 11) total = total + 5;
if (p6 == 2 & p7 == 2 & p8 == 2 & p9 == 2) total = total + 600;
if (p6 == 3 & p7 == 3 & p8 == 3 & p9 == 3) total = total + 250;
if (p6 == 4 & p7 == 4 & p8 == 4 & p9 == 4) total = total + 150;
if (p6 == 5 & p7 == 5 & p8 == 5 & p9 == 5) total = total + 100;
if (p6 == 6 & p7 == 6 & p8 == 6 & p9 == 6) total = total + 50;
if (p6 == 7 & p7 == 7 & p8 == 7 & p9 == 7) total = total + 50;
if (p6 == 8 & p7 == 8 & p8 == 8 & p9 == 8) total = total + 30;
if (p6 == 9 & p7 == 9 & p8 == 9 & p9 == 9) total = total + 20;
if (p6 == 10 & p7 == 10 & p8 == 10 & p9 == 10) total = total + 20;
if (p6 == 11 & p7 == 11 & p8 == 11 & p9 == 11) total = total + 20;
if (p6 == 2 & p7 == 2 & p8 == 2 & p9 == 2 & p10 == 2) total = total + 1250;
if (p6 == 3 & p7 == 3 & p8 == 3 & p9 == 3 & p10 == 3) total = total + 1000;
if (p6 == 4 & p7 == 4 & p8 == 4 & p9 == 4 & p10 == 4) total = total + 600;
if (p6 == 5 & p7 == 5 & p8 == 5 & p9 == 5 & p10 == 5) total = total + 400;
if (p6 == 5 & p7 == 6 & p8 == 6 & p9 == 6 & p10 == 6) total = total + 300;
if (p6 == 5 & p7 == 7 & p8 == 7 & p9 == 7 & p10 == 7) total = total + 300;
if (p6 == 5 & p7 == 8 & p8 == 8 & p9 == 8 & p10 == 8) total = total + 250;
if (p6 == 5 & p7 == 9 & p8 == 9 & p9 == 9 & p10 == 9) total = total + 150;
if (p6 == 5 & p7 == 10 & p8 == 10 & p9 == 10 & p10 == 10) total = total + 150;
if (p6 == 5 & p7 == 11 & p8 == 11 & p9 == 11 & p10 == 11) total = total + 50;
// big red combos
// 1 combo
if (p6 == 2 & p7 == 2 & p8 == 1) total = total + 150;
if (p6 == 3 & p7 == 3 & p8 == 1) total = total + 100;
if (p6 == 4 & p7 == 4 & p8 == 1) total = total + 50;
if (p6 == 5 & p7 == 5 & p8 == 1) total = total + 25;
if (p6 == 6 & p7 == 5 & p8 == 1) total = total + 15;
if (p6 == 7 & p7 == 5 & p8 == 1) total = total + 15;
if (p6 == 8 & p7 == 5 & p8 == 1) total = total + 10;
if (p6 == 9 & p7 == 5 & p8 == 1) total = total + 5;
if (p6 == 10 & p7 == 5 & p8 == 1) total = total + 5;
// 3 combos
if (p6 == 2 & p7 == 2 & p8 == 1 & p9 == 2) total = total + 600;
if (p6 == 3 & p7 == 3 & p8 == 1 & p9 == 3) total = total + 250;
if (p6 == 4 & p7 == 4 & p8 == 1 & p9 == 4) total = total + 150;
if (p6 == 5 & p7 == 5 & p8 == 1 & p9 == 5) total = total + 100;
if (p6 == 6 & p7 == 6 & p8 == 1 & p9 == 6) total = total + 50;
if (p6 == 7 & p7 == 7 & p8 == 1 & p9 == 7) total = total + 50;
if (p6 == 8 & p7 == 8 & p8 == 1 & p9 == 8) total = total + 30;
if (p6 == 9 & p7 == 9 & p8 == 1 & p9 == 9) total = total + 20;
if (p6 == 10 & p7 == 10 & p8 == 1 & p9 == 10) total = total + 20;
if (p6 == 2 & p7 == 2 & p8 == 2 & p9 == 1) total = total + 600;
if (p6 == 3 & p7 == 3 & p8 == 3 & p9 == 1) total = total + 250;
if (p6 == 4 & p7 == 4 & p8 == 4 & p9 == 1) total = total + 150;
if (p6 == 5 & p7 == 5 & p8 == 5 & p9 == 1) total = total + 100;
if (p6 == 6 & p7 == 6 & p8 == 6 & p9 == 1) total = total + 50;
if (p6 == 7 & p7 == 7 & p8 == 7 & p9 == 1) total = total + 50;
if (p6 == 8 & p7 == 8 & p8 == 8 & p9 == 1) total = total + 30;
if (p6 == 9 & p7 == 9 & p8 == 9 & p9 == 1) total = total + 20;
if (p6 == 10 & p7 == 10 & p8 == 10 & p9 == 1) total = total + 20;
if (p6 == 2 & p7 == 2 & p8 == 1 & p9 == 1) total = total + 600;
if (p6 == 3 & p7 == 3 & p8 == 1 & p9 == 1) total = total + 250;
if (p6 == 4 & p7 == 4 & p8 == 1 & p9 == 1) total = total + 150;
if (p6 == 5 & p7 == 5 & p8 == 1 & p9 == 1) total = total + 100;
if (p6 == 6 & p7 == 6 & p8 == 1 & p9 == 1) total = total + 50;
if (p6 == 7 & p7 == 7 & p8 == 1 & p9 == 1) total = total + 50;
if (p6 == 8 & p7 == 8 & p8 == 1 & p9 == 1) total = total + 30;
if (p6 == 9 & p7 == 9 & p8 == 1 & p9 == 1) total = total + 20;
if (p6 == 10 & p7 == 10 & p8 == 1 & p9 == 1) total = total + 20;
// 8 combos
if (p6 == 2 & p7 == 2 & p8 == 1 & p9 == 2 & p10 == 2) total = total + 1250;
if (p6 == 3 & p7 == 3 & p8 == 1 & p9 == 3 & p10 == 3) total = total + 1000;
if (p6 == 4 & p7 == 4 & p8 == 1 & p9 == 4 & p10 == 4) total = total + 600;
if (p6 == 5 & p7 == 5 & p8 == 1 & p9 == 5 & p10 == 5) total = total + 400;
if (p6 == 6 & p7 == 6 & p8 == 1 & p9 == 6 & p10 == 6) total = total + 300;
if (p6 == 7 & p7 == 7 & p8 == 1 & p9 == 7 & p10 == 7) total = total + 300;
if (p6 == 8 & p7 == 8 & p8 == 1 & p9 == 8 & p10 == 8) total = total + 250;
if (p6 == 9 & p7 == 9 & p8 == 1 & p9 == 9 & p10 == 9) total = total + 150;
if (p6 == 10 & p7 == 10 & p8 == 1 & p9 == 10 & p10 == 10) total = total + 150;
if (p6 == 2 & p7 == 2 & p8 == 2 & p9 == 1 & p10 == 2) total = total + 1250;
if (p6 == 3 & p7 == 3 & p8 == 3 & p9 == 1 & p10 == 3) total = total + 1000;
if (p6 == 4 & p7 == 4 & p8 == 4 & p9 == 1 & p10 == 4) total = total + 600;
if (p6 == 5 & p7 == 5 & p8 == 5 & p9 == 1 & p10 == 5) total = total + 400;
if (p6 == 6 & p7 == 6 & p8 == 6 & p9 == 1 & p10 == 6) total = total + 300;
if (p6 == 7 & p7 == 7 & p8 == 7 & p9 == 1 & p10 == 7) total = total + 300;
if (p6 == 8 & p7 == 8 & p8 == 8 & p9 == 1 & p10 == 8) total = total + 250;
if (p6 == 9 & p7 == 9 & p8 == 9 & p9 == 1 & p10 == 9) total = total + 150;
if (p6 == 10 & p7 == 10 & p8 == 10 & p9 == 1 & p10 == 10) total = total + 150;
if (p6 == 2 & p7 == 2 & p8 == 2 & p9 == 2 & p10 == 1) total = total + 1250;
if (p6 == 3 & p7 == 3 & p8 == 3 & p9 == 3 & p10 == 1) total = total + 1000;
if (p6 == 4 & p7 == 4 & p8 == 4 & p9 == 4 & p10 == 1) total = total + 600;
if (p6 == 5 & p7 == 5 & p8 == 5 & p9 == 5 & p10 == 1) total = total + 400;
if (p6 == 6 & p7 == 6 & p8 == 6 & p9 == 6 & p10 == 1) total = total + 300;
if (p6 == 7 & p7 == 7 & p8 == 7 & p9 == 7 & p10 == 1) total = total + 300;
if (p6 == 8 & p7 == 8 & p8 == 8 & p9 == 8 & p10 == 1) total = total + 250;
if (p6 == 9 & p7 == 9 & p8 == 9 & p9 == 9 & p10 == 1) total = total + 150;
if (p6 == 10 & p7 == 10 & p8 == 10 & p9 == 10 & p10 == 1) total = total + 150;
if (p6 == 2 & p7 == 2 & p8 == 1 & p9 == 1 & p10 == 2) total = total + 1250;
if (p6 == 3 & p7 == 3 & p8 == 1 & p9 == 1 & p10 == 3) total = total + 1000;
if (p6 == 4 & p7 == 4 & p8 == 1 & p9 == 1 & p10 == 4) total = total + 600;
if (p6 == 5 & p7 == 5 & p8 == 1 & p9 == 1 & p10 == 1) total = total + 400;
if (p6 == 6 & p7 == 6 & p8 == 1 & p9 == 1 & p10 == 1) total = total + 300;
if (p6 == 7 & p7 == 7 & p8 == 1 & p9 == 1 & p10 == 1) total = total + 300;
if (p6 == 8 & p7 == 8 & p8 == 1 & p9 == 1 & p10 == 1) total = total + 250;
if (p6 == 9 & p7 == 9 & p8 == 1 & p9 == 1 & p10 == 1) total = total + 150;
if (p6 == 10 & p7 == 10 & p8 == 1 & p9 == 1 & p10 == 1) total = total + 150;
if (p6 == 2 & p7 == 2 & p8 == 2 & p9 == 1 & p10 == 1) total = total + 1250;
if (p6 == 3 & p7 == 3 & p8 == 3 & p9 == 1 & p10 == 1) total = total + 1000;
if (p6 == 4 & p7 == 4 & p8 == 4 & p9 == 1 & p10 == 1) total = total + 600;
if (p6 == 5 & p7 == 5 & p8 == 5 & p9 == 1 & p10 == 1) total = total + 400;
if (p6 == 6 & p7 == 6 & p8 == 6 & p9 == 1 & p10 == 1) total = total + 300;
if (p6 == 7 & p7 == 7 & p8 == 7 & p9 == 1 & p10 == 1) total = total + 300;
if (p6 == 8 & p7 == 8 & p8 == 8 & p9 == 1 & p10 == 1) total = total + 250;
if (p6 == 9 & p7 == 9 & p8 == 9 & p9 == 1 & p10 == 1) total = total + 150;
if (p6 == 10 & p7 == 10 & p8 == 10 & p9 == 1 & p10 == 1) total = total + 150;
if (p6 == 2 & p7 == 2 & p8 == 1 & p9 == 2 & p10 == 1) total = total + 1250;
if (p6 == 3 & p7 == 3 & p8 == 1 & p9 == 3 & p10 == 1) total = total + 1000;
if (p6 == 4 & p7 == 4 & p8 == 1 & p9 == 4 & p10 == 1) total = total + 600;
if (p6 == 5 & p7 == 5 & p8 == 1 & p9 == 5 & p10 == 1) total = total + 400;
if (p6 == 6 & p7 == 6 & p8 == 1 & p9 == 6 & p10 == 1) total = total + 300;
if (p6 == 7 & p7 == 7 & p8 == 1 & p9 == 7 & p10 == 1) total = total + 300;
if (p6 == 8 & p7 == 8 & p8 == 1 & p9 == 8 & p10 == 1) total = total + 250;
if (p6 == 9 & p7 == 9 & p8 == 1 & p9 == 9 & p10 == 1) total = total + 150;
if (p6 == 10 & p7 == 10 & p8 == 1 & p9 == 10 & p10 == 1) total = total + 150;
if (p6 == 2 & p7 == 2 & p8 == 1 & p9 == 1 & p10 == 1) total = total + 1250;
if (p6 == 3 & p7 == 3 & p8 == 1 & p9 == 1 & p10 == 1) total = total + 1000;
if (p6 == 4 & p7 == 4 & p8 == 1 & p9 == 1 & p10 == 1) total = total + 600;
if (p6 == 5 & p7 == 5 & p8 == 1 & p9 == 1 & p10 == 1) total = total + 400;
if (p6 == 6 & p7 == 6 & p8 == 1 & p9 == 1 & p10 == 1) total = total + 300;
if (p6 == 7 & p7 == 7 & p8 == 1 & p9 == 1 & p10 == 1) total = total + 300;
if (p6 == 8 & p7 == 8 & p8 == 1 & p9 == 1 & p10 == 1) total = total + 250;
if (p6 == 9 & p7 == 9 & p8 == 1 & p9 == 1 & p10 == 1) total = total + 150;
if (p6 == 10 & p7 == 10 & p8 == 1 & p9 == 1 & p10 == 1) total = total + 150;
}
so this is a question but will be converted to a project soon.
please let me know if there are any API's known.
Related
Hy,
yesterday i tried to apply the lates OTA Update for my desire Z (rooted, s-off, OC Kernel), but Clockwork Recovery only says "Signature verification failed".
Can anyone help me?
(sorry for my english...)
Stock updates will not work with a custom recovery. You either have to flash back to stock and sacrifice root or find a custom ROM based on the newest build.
I don't have a G2, I'm just browsing through this section reading about it, but that's the way it works on my Nexus with clockwork. Flashing back to stock might be dangerous if the newest build hasn't been exploited and rooted.
Also, make sure you post in the correct section next time. This doesn't belong in development; it should be in Q&A. I'm sure a mod will move it for you this time though.
Instaling OTA = error
I had the same problem S-OFF and 1,42 GHz, no way to install that update. I had to flash stock ROM and then it worked fine. Now running 1.72.405.2 no overclock
Sorry for posting in the wrong section
How can i revert to complete stock? (No overclock, no clockwork recovery)
Martin_F said:
I had the same problem S-OFF and 1,42 GHz, no way to install that update. I had to flash stock ROM and then it worked fine. Now running 1.72.405.2 no overclock
Click to expand...
Click to collapse
After you upgrade was it possible to root the device?
buzmay said:
After you upgrade was it possible to root the device?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=886023
TheSilence said:
Sorry for posting in the wrong section
How can i revert to complete stock? (No overclock, no clockwork recovery)
Click to expand...
Click to collapse
Maybe when applying the update you need to in clockworkmod turn sing verification off and after that select update.zip
when i turn signature verification off i get the following error:
script aborted: assert failed: getprop("ro.cid") == "00000000" ||
getprop("ro.cid") == "11111111" || getprop("ro.cid") == "22222222" ||
getprop("ro.cid") == "33333333" || getprop("ro.cid") == "44444444" ||
getprop("ro.cid") == "55555555" || getprop("ro.cid") == "66666666" ||
getprop("ro.cid") == "77777777" || getprop("ro.cid") == "88888888" ||
getprop("ro.cid") == "99999999" || getprop("ro.cid") == "HTC__001" ||
getprop("ro.cid") == "HTC__032" || getprop("ro.cid") == "HTC__E11" ||
getprop("ro.cid") == "HTC__203" || getprop("ro.cid") == "HTC__Y13" ||
getprop("ro.cid") == "HTC__102" || getprop("ro.cid") == "HTC__405" ||
getprop("ro.cid") == "HTC__304" || getprop("ro.cid") == "HTC__A07" ||
getprop("ro.cid") == "HTC__N34" || getprop("ro.cid") == "HTC__J15" ||
getprop("ro.cid") == "HTC__001" || getprop("ro.cid") == "HTC__E11" ||
getprop("ro.cid") == "HTC__Y13" || getprop("ro.cid") == "HTC__405" ||
getprop("ro.cid") == "HTC__A07" ||
getprop("ro.cid") == "HTC__J15"
assert failed: getprop("ro.cid") == "00000000" || getprop("ro.cid") == "11111111" || getprop("ro.cid") == "22222222" || getprop("ro.cid") == "33333333" || getprop("ro.cid") == "44444444" || getprop("ro.cid") == "55555555" || getprop("ro.cid") == "66666666" || getprop("ro.cid") == "77777777" || getprop("ro.cid") == "88888888" || getprop("ro.cid") == "99999999" || getprop("ro.cid") == "HTC__001" || getprop("ro.cid") == "HTC__032" || getprop("ro.cid") == "HTC__E11" || getprop("ro.cid") == "HTC__203" || getprop("ro.cid") == "HTC__Y13" || getprop("ro.cid") == "HTC__102" || getprop("ro.cid") == "HTC__405" || getprop("ro.cid") == "HTC__304" || getprop("ro.cid") == "HTC__A07" || getprop("ro.cid") == "HTC__N34" || getprop("ro.cid") == "HTC__J15" || getprop("ro.cid") == "HTC__001" || getprop("ro.cid") == "HTC__E11" || getprop("ro.cid") == "HTC__Y13" || getprop("ro.cid") == "HTC__405" || getprop("ro.cid") == "HTC__A07" || getprop("ro.cid") == "HTC__J15"
E:Error in /sdcard/download/OTA_Vision_HTC_WWE_1_72_405_2_R-1_34_405_5_P_release_163499w0m1z3ghgttstsll.zip
(Status 7)
Installation aborted.
Failure at line 3:
install_zip SDCARD:/download/OTA_Vision_HTC_WWE_1_72_405_2_R-1_34_405_5_P_release_163499w0m1z3ghgttstsll.zip
TheSilence said:
when i turn signature verification off i get the following error:
script aborted: assert failed: getprop("ro.cid") == "00000000" ||
Click to expand...
Click to collapse
Same error but with Desire HD. I've replaced stock rom, update still not possible
I agree.. stock ota updates are hardly ever good. Cyanogenmod and others will be updated WAY before 2.3 gingerbread will be pushed ota. Most uptates my ota verizon friends get take superuser from them. Making them reroot all over again. Big brother bad.... sorry.
Sent from my HTC G2 CM6.1.1 free your phone
I have a S3 with Virgin Canada,I747-baseband "I747MVLLH1" , currently running 4.1.2 CM nightly. I went to update to the CM 10.1 d2att stable today and it gives me error 7 ro.bootloader .I have the most updated recovery.So I opened the rom and in the check sequence my baseband is not there ?
assert(getprop("ro.product.device") == "d2att" || getprop("ro.build.product") == "d2att");
assert(getprop("ro.bootloader") == "I747UCDLK3" ||
getprop("ro.bootloader") == "I747MVLDLK4" ||
getprop("ro.bootloader") == "I747MUMBLK3" ||
getprop("ro.bootloader") == "I747MUMBLL1");
So does that mean d2att is no longer good for my phone,,thats the last rom I used was the d2att? or could I edit it to put my baseband in?
Thanks alot
Flash the latest jb stock rooted Rom for your phone ( I747M, right?). Use Rom manager or goo manager to install recovery. Flash cm.
I already have a recovery on and I'm running CM 10. The problem is when I try to update to the 10.1 Stable that just came out I get an Error 7 because my baseband is not in the status check before it loads the rom,what I would like to know could I just add the line
"getprop("ro.bootloader") == "I747MVLLH1" || into the below code? thanks
assert(getprop("ro.product.device") == "d2att" || getprop("ro.build.product") == "d2att");
assert(getprop("ro.bootloader") == "I747UCDLK3" ||
getprop("ro.bootloader") == "I747MVLDLK4" ||
getprop("ro.bootloader") == "I747MUMBLK3" ||
getprop("ro.bootloader") == "I747MUMBLL1");
Frost5555 said:
I already have a recovery on and I'm running CM 10. The problem is when I try to update to the 10.1 Stable that just came out I get an Error 7 because my baseband is not in the status check before it loads the rom,what I would like to know could I just add the line
"getprop("ro.bootloader") == "I747MVLLH1" || into the below code? thanks
assert(getprop("ro.product.device") == "d2att" || getprop("ro.build.product") == "d2att");
assert(getprop("ro.bootloader") == "I747UCDLK3" ||
getprop("ro.bootloader") == "I747MVLDLK4" ||
getprop("ro.bootloader") == "I747MUMBLK3" ||
getprop("ro.bootloader") == "I747MUMBLL1");
Click to expand...
Click to collapse
Your bootloader is out of date.
There are multiple threads on how to do it and will have the necessary files.
Sent from my SGH-I747M using xda app-developers app
Thanks KorGuy123, I'll read up on updating the bootloaderu
I've tried flashing with CWM and TWRP and I systematically get this error:
Installing '/external_sdcard/cm-10.2-20131119-NIGHTLY-n5100.zip'...
Checking for MD5 file...
I:Cannot find file /external_sdcard/cm-10.2-20131119-NIGHTLY-n5100.zip.md5
Skipping MD5 check: no MD5 file found.
Warning: No file_contexts
script aborted: assert failed: getprop("ro.product.device") == "kona3gxx" || getprop("ro.build.product") == "kona3gxx" ||
getprop("ro.product.device") == "n5100" || getprop("ro.build.product") == "n5100" ||
getprop("ro.product.device") == "GT-N5100" || getprop("ro.build.product") == "GT-N5100" ||
getprop("ro.product.device") == "kona3g" || getprop("ro.build.product") == "kona3g"
assert failed: getprop("ro.product.device") == "kona3gxx" || getprop("ro.build.product") == "kona3gxx" || getprop("ro.product.device") == "n5100" || getprop("ro.build.product") == "n5100" || getprop("ro.product.device") == "GT-N5100" || getprop("ro.build.product") == "GT-N5100" || getprop("ro.product.device") == "kona3g" || getprop("ro.build.product") == "kona3g"
E:Error executing updater binary in zip '/external_sdcard/cm-10.2-20131119-NIGHTLY-n5100.zip'
Error flashing zip '/external_sdcard/cm-10.2-20131119-NIGHTLY-n5100.zip'
Click to expand...
Click to collapse
Any help?
Solved.
I followed these steps: http://forums.androidcentral.com/optimus-v-rooting-roms-hacks/182438-solved-assert-failed.html
I basically deleted the assert lines from the rom and reflashed. Worked.
Hi,
Got a weird problem with my Note 2 GT-N7105 when trying to install the latest AGNI kernel (version 4.3.7) as it's coming up with an assert error when trying to detect my device. I have tried this from both philz and mobile odin both do the same thing. I studied the error message and it seemed it wasn't able to detect my device as an N7105 when that is exactly what I have.
I have attached a screenshot of my about page to show that's what I have.
So I edited the updater-script file first by removing the assert statement which also didn't work it just failed later on, and then by adding the following code to the beginning of the file so it would output what it's detecting my device as:
Code:
ui_print("ro.product.device is: ", getprop("ro.product.device"));
ui_print("ro.build.product is: ", getprop("ro.build.product"));
Strangely it detected my device as t03g which of course isn't in the assert list:
Code:
AROMA Installer version 2.70RC2
(c) 2013 by amarullz xda-developers
ROM Name : AGNi pureSTOCK Kernel
ROM Version : v4.3.7 (STOCK 4.4.x)
ROM Author : [email protected]
Device : GT-N7105 SAMSUNG Galaxy Note II
Start at : Fri Feb 6 00:36:58 2015
Warning: No file_contexts
ro.product.device is: t03g
ro.build.product is: t03g
script aborted: assert failed: getprop("ro.product.device") == "t0lte" || getprop("ro.build.product") == "t0lte" ||
getprop("ro.product.device") == "t0ltexx" || getprop("ro.build.product") == "t0ltexx" ||
getprop("ro.product.device") == "GT-N7105" || getprop("ro.build.product") == "GT-N7105" ||
getprop("ro.product.device") == "t0ltedv" || getprop("ro.build.product") == "t0ltedv" ||
getprop("ro.product.device") == "GT-N7105T" || getprop("ro.build.product") == "GT-N7105T" ||
getprop("ro.product.device") == "t0lteatt" || getprop("ro.build.product") == "t0lteatt" ||
getprop("ro.product.device") == "SGH-I317" || getprop("ro.build.product") == "SGH-I317" ||
getprop("ro.product.device") == "t0ltetmo" || getprop("ro.build.product") == "t0ltetmo" ||
getprop("ro.product.device") == "SGH-T889" || getprop("ro.build.product") == "SGH-T889" ||
getprop("ro.product.device") == "t0ltecan" || getprop("ro.build.product") == "t0ltecan" ||
getprop("ro.product.device") == "t0ltevl" || getprop("ro.build.product") == "t0ltevl" ||
getprop("ro.product.device") == "t0ltevzw" || getprop("ro.build.product") == "t0ltevzw" ||
getprop("ro.product.device") == "SCH-I605" || getprop("ro.build.product") == "SCH-I605" ||
getprop("ro.product.device") == "SGH-I317M" || getprop("ro.build.product") == "SGH-I317M"
assert failed: getprop("ro.product.device") == "t0lte" || getprop("ro.build.product") == "t0lte" ||
getprop("ro.product.device") == "t0ltexx" || getprop("ro.build.product") == "t0ltexx" ||
getprop("ro.product.device") == "GT-N7105" || getprop("ro.build.product") == "GT-N7105" ||
getprop("ro.product.device") == "t0ltedv" || getprop("ro.build.product") == "t0ltedv" ||
getprop("ro.product.device") == "GT-N7105T" || getprop("ro.build.product") == "GT-N7105T" ||
getprop("ro.product.device") == "t0lteatt" || getprop("ro.build.product") == "t0lteatt" ||
getprop("ro.product.device") == "SGH-I317" || getprop("ro.build.product") == "SGH-I317" ||
getprop("ro.product.device") == "t0ltetmo" || getprop("ro.build.product") == "t0ltetmo" ||
getprop("ro.product.device") == "SGH-T889" || getprop("ro.build.product") == "SGH-T889" ||
getprop("ro.product.device") == "t0ltecan" || getprop("ro.build.product") == "t0ltecan" ||
getprop("ro.product.device") == "t0ltevl" || getprop("ro.build.product") == "t0ltevl" ||
getprop("ro.product.device") == "t0ltevzw" || getprop("ro.build.product") == "t0ltevzw" ||
getprop("ro.product.device") == "SCH-I605" || getprop("ro.build.product") == "SCH-I605" ||
getprop("ro.product.device") == "SGH-I317M" || getprop("ro.build.product") == "SGH-I317M"
Installer Error (Status 7)
End at : Fri Feb 6 00:36:58 2015
Can anyone explain what's going on? How is it my device being an N7105 is showing up as an N7100 from that script? I'm assuming I can just install AGNI over the top of the samsung stock rom? (I don't want a custom rom, I only really want the boefla sound enhancements provided by that kernel so I can increase the headphone volume). Or do I need a custom rom before this will work? Or is it something else entirely?
Thanks
Hi!
I just aquired a Samsung Galaxy S4 Mini GT-9195 this week and got stuck at installing CyanogenMod 12.1.
TWRP 2.8.7.0 samsunggalaxys4mini64bit is up and running.
Next i tried to install the official builds serranoltexx (first stable, then nightly) and i got this error message:
This package is for device: serranolte,serranoltebmc,serranoltektt,serranoltexx; this device is serranoveltexx.
E: Error flashing zip 'cm-12.1-*.zip'
I'm not quite sure what is going on right now. Did the devs just forget to add this deviceName to their updater-script, or is there a reason for this?
assert(getprop("ro.product.device") == "serranolte" || getprop("ro.build.product") == "serranolte" || getprop("ro.product.device") == "serranoltebmc" || getprop("ro.build.product") == "serranoltebmc" || getprop("ro.product.device") == "serranoltektt" || getprop("ro.build.product") == "serranoltektt" || getprop("ro.product.device") == "serranoltexx" || getprop("ro.build.product") == "serranoltexx" || abort("This package is for device: serranolte,serranoltebmc,serranoltektt,serranoltexx; this device is " + getprop("ro.product.device") + ".");
If there's no chance or it's at least veary unlikle the smartphone gets damaged i'll just try to add this rule manually.
Any help appreciated
Nuke
Nukesor said:
Hi!
I just aquired a Samsung Galaxy S4 Mini GT-9195 this week and got stuck at installing CyanogenMod 12.1.
TWRP 2.8.7.0 samsunggalaxys4mini64bit is up and running.
Next i tried to install the official builds serranoltexx (first stable, then nightly) and i got this error message:
This package is for device: serranolte,serranoltebmc,serranoltektt,serranoltexx; this device is serranoveltexx.
E: Error flashing zip 'cm-12.1-*.zip'
I'm not quite sure what is going on right now. Did the devs just forget to add this deviceName to their updater-script, or is there a reason for this?
assert(getprop("ro.product.device") == "serranolte" || getprop("ro.build.product") == "serranolte" || getprop("ro.product.device") == "serranoltebmc" || getprop("ro.build.product") == "serranoltebmc" || getprop("ro.product.device") == "serranoltektt" || getprop("ro.build.product") == "serranoltektt" || getprop("ro.product.device") == "serranoltexx" || getprop("ro.build.product") == "serranoltexx" || abort("This package is for device: serranolte,serranoltebmc,serranoltektt,serranoltexx; this device is " + getprop("ro.product.device") + ".");
If there's no chance or it's at least veary unlikle the smartphone gets damaged i'll just try to add this rule manually.
Any help appreciated
Nuke
Click to expand...
Click to collapse
Your phone is the new GT-I9195I ''serranoveltexx''
Currently, there is no custom ROMs for this device because of its different specs.
Please refer to this thread for more explanations : http://forum.xda-developers.com/galaxy-s4-mini/general/galaxy-s4-mini-plus-t3041208